We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

Filter by
Sorted by
Tagged with
3
votes
5answers
278 views

all media converter

do you know something which is able to convert almost all media types? from flv to music to wav to mp3?
0
votes
1answer
661 views

Reseting USB for scanner

This is a question on:superuser, since one reply suggested I ask here... My distro does not yet have a backend for my scanner, but the last release of SANE does. So I downloaded the source and ...
10
votes
3answers
2k views

User-local package management system

I need to deploy, manage and run software as a non-privileged user in SuSE (that is, no root access whatsoever, can't use system's package management, etc). What are my options? I'd prefer reusing ...
1
vote
3answers
451 views

How to implement conditional update of deb package

I am creating a deb package of a product which is part open source and part proprietary. In order to reuse the built in functionality of some distributions like Ubuntu to monitor a list of ...
27
votes
6answers
27k views

Getting information on a machine's hardware in Linux

How can I check what hardware I have? (With BIOS version etc.)
1
vote
1answer
196 views

Why am I getting a “Cannot revert to safe mode” error whenever I try to run a game?

I'm using internal VGA these days and I've got a problem: I can't run any games. I always get this errors: --------- [Loading Renderer] --------- Initializing OpenGL display ...setting fullscreen ...
6
votes
4answers
774 views

Is it possible to use pendrive as key for Linux system

I want to give high security for my linux box. So i planed to use my pen drive as key for my linux box. How can i do it ?
2
votes
1answer
3k views

How to reset Linux root and grub passwords?

If we forget our Linux root password, we can change it by changing grub's boot options. But in this case, we also set a grub password and forgot both passwords. How can we recover both?
5
votes
2answers
2k views

How can I simulate keyboard shortcuts in a bash alias?

For example, one of my bash aliases is this alias p='clear;ls -lt;pwd;' clear also clears the history which I don't want. I just want to clear the screen momentarily. Ctrl+L however does exactly ...
5
votes
3answers
7k views

Can the initramfs image use a compression format other than gzip?

Can the initramfs image be compressed by a method other than gzip, such as lzma?
12
votes
3answers
15k views

copy recursively except hidden directory

How do I copy recursively like cp -rf *, but excluding hidden directories (directories starting with .) and their contents?
32
votes
5answers
13k views

Why does Linux use a swap partition rather than a file?

It seems to me a swap file is more flexible.
4
votes
3answers
493 views

Randomise or shred memory of an application

Is it possible to randomise or shred memory of a particular application just after its life ends, or better, whenever it deallocates some memory? A command-line utility like this would be perfect: ...
15
votes
3answers
5k views

Is there something that will generate keyboard's click sounds?

I miss using a clicky keyboard at work. It's a fairly quiet office, so I'm stuck using a nearly silent keyboard. The upshot is that I can wear headphones. Is there something in Linux or X that can ...
2
votes
1answer
1k views

Enable running mono apps by double-clicking on the .exe file

I always wondered if running Mono apps will ever be available for Linux by just double clicking on the .exe. Now, in order to have a launcher on GNOME, the best way is to add a new bash file which ...
5
votes
2answers
575 views

Databases for embedded Linux?

I need to choose a database for an application on an embedded linux platform.
12
votes
1answer
2k views

Permission bits not being enforced on samba share

I have a problem where permission bits are not being enforced on a samba share using a Linux client. I have samba configured on the server to force a certain user, group and permission bits and this ...
2
votes
1answer
380 views

QLogic 42C1831 HBA drivers on RHEL 4.8? Using Kernel 2.6.x

We're trying to get a QLogic 42C1831 HBA installed on a system using RHEL 4.8. We've tried the drivers from QLogic for Linux Kernel 2.6.x (which this system is running) and are getting all sorts of ...
2
votes
1answer
398 views

How to turn off Nautilus autoplay under KDE?

Does anyone have an idea why when I insert a CD/DVD/flash nautilus opens as a default file manager under KDE instead of dolphin krusader? In my system settings krusader is set as the default manager, ...
1
vote
1answer
550 views

Unexplained Log Cruft and Possible Dropped Packets on WPA2-Personal LAN

I've been receiving a LOT of log cruft ever since I installed my Linksys Rangeplus USB WUSB100v2 (using the rt2870sta community driver from the Linux kernel) and was wondering what it all meant. Many ...
15
votes
9answers
20k views

How to flash firmware under Linux in practice?

Well, I am feeling too old for jumping through several burning hoops to upgrade several firmwares via the usual vendor-specific way: Download some DOS tools, waste some time creating a (Free-)DOS boot ...
4
votes
2answers
526 views

Straightforward system and file backup/restore for Linux?

After using an Ubuntu virtual machine for a while, I think I am ready to get a real, physical machine and use Ubuntu on it. Since I am still relatively new to the Linux world, is there a reliable ...
10
votes
3answers
9k views

How do I make my disk unmap pending unreadable sectors

I have a disk with some pending unreadable sectors, according to smartd. What would be the easiest way to make the disk remap them and stop smartd from complaining? Today, I get two of these every ...
25
votes
1answer
25k views

What does libgcc_s.so contain?

I tried running objdump on the lib to figure it out without success. Is there a way to find out what a library does?
7
votes
4answers
2k views

Is there a linux vfs tool that allows bind a directory in different location (like mount --bind) in user space?

For a user process, I want to mount a directory in other location but in user space without root privilieges. Something like mount --bind /origin /dest, but with a vfs wrapper. Like a usermode fine-...
0
votes
0answers
124 views

resource for understanding the kernel and drivers [duplicate]

Possible Duplicate: Linux Kernel: Good beginners' tutorial What resources are available if I wanted to develop, change and understand device drivers.
4
votes
2answers
869 views

Debian Lenny: Want Splashy to start directly after Grub2

I'm running a GNU/Linux Debian Lenny with an 2.6.26-2-686 kernel. I installed splashy for a bootsplash an updated grub to version 2. Now I want splashy to start directly after the user has selected a ...
3
votes
1answer
1k views

linux static compilation issue

I am building testdisk as static and when i run make static i am getting the following error /usr/bin/ld: cannot find -luuid collect2: ld returned 1 exit status what's the problem? in ...
26
votes
4answers
16k views

How to fix Ctrl + arrows in Vim?

I am using Putty -> Suse box -> vim 7.2 combo for editing and want to remap Ctrl + arrows combo to a particular task. But for some reason, Vim ignores the shortcut and goes into insert mode and ...
10
votes
1answer
11k views

How can i know which unistd.h file is loaded?

I have several unistd.h files in my Ubuntu Linux. I've one on /usr/include/asm/unistd.h. This file has this directives: # ifdef __i386__ # include "unistd_32.h" # else # include "unistd_64.h" # ...
28
votes
2answers
13k views

games directory?

On a standard filesystem, we have: /usr/games /usr/lib/games /usr/local/games /usr/share/games /var/games /var/lib/games Is this a joke, or is there some history behind this? What is it for? Why do ...
12
votes
2answers
6k views

Invoke Syscalls from Java

Is there a way to invoke syscalls directly from Java, or is it necessary to first call a native method?
10
votes
4answers
17k views

using cross-compiled Valgrind

I have downloaded the sources from the Valgrind trunk and built it for using on an embedded Linux system(Montavista Linux) powered by an ARM926(ARMv5t architecture). Everything went well until I tried ...
8
votes
1answer
1k views

Patching Linux kernel on-line (i.e. without rebooting)

Sorry - I don't remember the exact name. I know there is mechanism to patch the kernel at runtime by loading modules without need of the reboot as long as the structures involved are not affected. It ...
4
votes
2answers
1k views

Does the Linux PreemptRT patch benefit desktop users?

Does the PREEMPT_RT patch (real-time kernel) have any benefit for regular desktop users?
4
votes
1answer
463 views

Kernel memory allocator patch

Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?
18
votes
6answers
14k views

Compiling GNU/Linux with -O3 optimization

It's said that compiling GNU tools and Linux kernel with -O3 gcc optimization option will produce weird and funky bugs. Is it true? Has anyone tried it or is it just a hoax?
8
votes
2answers
968 views

Good tutorial for setting up a KVM/Xen box and advice on which would be better

I've got a dual xeon, 2GB, 75GB hd server that I'd like to turn into my dedicated virtual environment. Currently I'm using VirtualBox locally to run a mock cluster for Cassandra and Nginx/Haproxy, ...
12
votes
4answers
28k views

What is sendmail referring to here?

When I install sendmail from the debian repos, I get the following output: Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating /etc/mail/submit....
6
votes
6answers
18k views

Bash eval array variable name

Here is my bash case: First case, this is what I want to do "aliasing" var with myvarA: myvarA="variableA" varname="A" eval varAlias=\$"myvar"$varname echo $varAlias Second case for array variable ...
33
votes
12answers
38k views

Linux replacement for Apple Keynote slideshow software?

I am trying to migrate from Mac OS X to a Linux distribution, maybe/probably Ubuntu. One of my favorite applications for the Mac was Apple Keynote, which makes amazing sideshow presentations. Is ...
18
votes
5answers
7k views

Rock-stable filesystem for large files (backups) for linux

What filesystem would be best for backups? I'm interested primary in stability (especially uncorruptability of files during hard reboots etc.) but how efficiently it handles large (>5GB) files is also ...
60
votes
15answers
7k views

How do you choose a distribution? [closed]

I'm currently looking at putting a Linux (although BSD is still an option) distribution on my old laptop. However, I'm not sure how to wade through all of my options - rolling releases versus not, ...
5
votes
1answer
5k views

What does “Empty print file” mean and how can I diagnose it?

When trying to print I get this error. What does it mean? How can I diagnose it?
4
votes
1answer
2k views

DVD drive constanly spins up/down when idle

DVD drive constantly spins up/down when idle on notebook. I cannot track what is causing it. The process of spinning up/down is quite noisy and disturbing. lsof cannot find anything that have device ...
3
votes
4answers
7k views

Linux partition table

What kind of partition table does Linux create by default? Is it msdos? Is it different depending on the Linux distribution used(I'm using Ubuntu)? Is there any command line utility I could use to ...
23
votes
1answer
24k views

How to test swap partition

I'm trying to diagnose some random segfaults on a headless server and one thing that seems curious is that they only seem to happen under memory pressure and my swap size will not go above 0. How can ...
6
votes
2answers
2k views

Resources for very low-level (board bring-up)

I've worked with a few embedded systems, but now I'd like to make my own piece of hardware and despite a pretty thorough knowledge of Linux, I have no idea how to get Linux up and running on new ...
6
votes
1answer
3k views

Preventing mounting some partition by user (gnome+udisk)

I'd like to prevent automounting one partition (known UUID etc. ) on one external harddrive. Others should be automounted. Distro is 'modern' (uses lots of beta software) and uses udisk+udev for ...
6
votes
1answer
3k views

multigateway routing for specific src port

I have two gateway to access internet, somehow I want to load balancing it, so far its working, but some connection or service need persistent gateway IP to be used, so the client should never change ...