Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

7
votes
3answers
3k views

Is there any way to execute something when closing the laptop's lid?

I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid. My question aims to be generic, both for Windows and Linux. Something useful ...
1
vote
2answers
3k views

Can't change permission for bash.bashrc file in Ubuntu

I'm trying to change the permission for my .bashrc file in Ubuntu but don't seem to have permission. I've tried following the example here: Open up publicity.html for reading and writing by anyone. ...
1
vote
3answers
656 views

Sharing an Internet connection with VirtualBox

I connect to the Internet using a WiMAX USB dongle. Sadly, the USB doesn't work on Linux. Can I, in principle, use VMWare or Virtualbox to install and run a Windows machine from Linux and connect to ...
5
votes
6answers
15k views

Where is my software installed in Linux?

I use whereis matlab and find: /usr/local/bin/matlab , which is a very long bash file. How can I find where matlab is installed, I mean, its installed folder. EDIT: I used the following method: ...
4
votes
2answers
565 views

Reset user passwd when you don't know it

I have a small problem. I have shared keys setup on my domain, so I never type my password to login anymore. I've forgotten my password now. This is a problem because only my user can sudo. Password ...
1
vote
2answers
370 views

Problems in starting mysql server

I'm trying to start the mysql server on fedora 12. service mysqld start gives me an error: MySQL Daemon failed to start. Starting MySQL: [FAILED] More details ...
-1
votes
3answers
7k views

MySQL server fails to start on Fedora 12

I installed MySQL using yum install mysql on Fedora 12. Now how do I start the server? [root@localhost init.d]# which mysql /usr/bin/mysql [root@localhost init.d]# mysql --version mysql Ver 14.14 ...
23
votes
3answers
19k views

How do I create a relative symbolic link in Linux?

I need a symlink that resolves relative to the directory it is placed in. What command is used to create such a thing?
1
vote
1answer
281 views

How can I automatically start an application after login in Kde4

I am using Kde 4.4 and I would like to start one of the applications automatically after every login to the system. How can I configure it? I remember I managed to find a dialog window in one of the ...
0
votes
2answers
80 views

Getting a joystick's path in Windows

On Linux, I can access my joystick with the following path: /dev/input/js0 Is there a similar way I can access my joystick on Windows?
0
votes
1answer
229 views

How does Azureus get my firewall to open a port (Debian Linux)?

I downloaded Azureus (a bittorrent client) for Debian Linux, and I notice that Azureus got my firewall (a Verizon wireless base station) to open a TCP and UDP port forwarding for it, without my having ...
6
votes
4answers
387 views

Linux distro structure

It seems either I am not looking in the right places or documentation is scarce. Where to find an illustration of a typical Linux distro? Something to say that this is a kernel, these are the ...
6
votes
5answers
6k views

Best linux distro for cuda development [closed]

Can someone suggest the best linux distro for CUDA development. The reason why I'm asking is that I tried installing the latest cuda SDK in Fedora 12, and it was a real pain in the neck. It took me 8 ...
3
votes
4answers
758 views

What percentage of computers today are *nix based? [closed]

Do you know some source that has statistics/estimations about this? Any sound guesses?
0
votes
1answer
2k views

How to add usbnet driver to the Linux kernel?

I want to add usb network support to a real-time Linux distribution we're using at work. USB devices are recognized, but when connecting a usb network adapter no network interface is created. From ...
6
votes
7answers
2k views

Minimal Linux distribution with sshd and apt

When I signed up for my Debian Linux VPS hosting and first logged on and invoked ps, there was the only user process running: sshd. As I can see, this was minimal Linux with only two things installed ...
1
vote
2answers
80 views

Disaster - partitions lost, data seemingly alive, how to recover?

I've used TestDisk and it's written my old partition structure of a ~20GiB partition for Vista, ~25GiB partition for 7 (but it now shows up as unallocated) and a ~400GiB partition for documents. What ...
0
votes
2answers
3k views

Will these instructions work when turning of journaling on an ext4 SSD?

I have an Acer Aspire One with an SSD for storage. I recently installed Ubuntu on it and chose ext4 for my filesystem. Then I read that journaling on an SSD isn't the best idea, so I will try to ...
7
votes
3answers
31k views

Howto unzip “.xz” file with 7z and lzma

I tried to uncompressed a "*.xz" file with both 7z and lzma. But they gave me such message: $ 7z x myfile.fq.xz 7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06 p7zip Version 4.57 ...
5
votes
4answers
225 views

Simplest way to dual boot Linux on a Vista laptop

I have a 64bit Vista laptop with no CD drive (and no intention of buying one). What is the simplest way (if any) for me to dual boot Linux (I don't care what version as long as it's not too old...and ...
1
vote
1answer
258 views

How to set up an apt repository?

I am interested in setting up an apt repository on my server to host some of my packages. How would I go about doing this? It's a shared server. Basically, I want to do what Google did in regards ...
5
votes
5answers
2k views

Remote edit with local editor (Linux)

I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying ...
3
votes
1answer
78 views

How to report a bug against Ubuntu's upgrade process?

I just upgraded to lucid and discovered a nasty bug. It prevents the system from booting and took me hours to resolve. Now I'd like to report it along with the workaround I found. The only problem is: ...
1
vote
1answer
863 views

Real player plugin for Linux

What is the best way to install a plugin capable of playing real videos for Debian Linux? In particular I want this web page to run correctly under Iceweasel and Chrome: ...
7
votes
1answer
12k views

Redirect input from one terminal to another

I have sshed into a linux box and I'm using dvtm and bash (although I have also tried this with Gnu screen and bash). I have two terminals, current /dev/pts/29 and /dev/pts/130. I want to redirect ...
0
votes
1answer
645 views

Windows Vista not booting after deleting a partition

My cousin just deleted his Linux partition and another smaller partitio nand now Windows is not booting, no he does not have the recovery disc. When Windows tries to boot it goes to "GRUB" and says ...
0
votes
4answers
791 views

How to upload files through VPS to Ubuntu server using PuTTY

I have my VPS pretty much set up now, and want to upload some basic files to the server, which is running Ubuntu 9.10. I am using my home laptop with Windows XP and connecting to the VPS with PuTTY. ...
1
vote
2answers
1k views

Weather Underground widget for Linux?

I'm looking for a Linux gnome widget that can display data from a nearby Weather Undergound station. Does anybody know of something like that? I can program if needed.
5
votes
3answers
3k views

Java sound doesn't work under Linux

I just installed Fedora 12 and after downloading and running the Java Sound Demo I get exceptions. If I run just a vanilla Java program that plays a .wav file it runs silently with no sound and no ...
0
votes
1answer
2k views

Package kernel-package has no installation candidate

I want to install kernel package by this command sudo apt-get install kernel-package but it gives me the error : Package kernel-package has no installation candidate How can I solve this???
3
votes
4answers
909 views

Terminal proxy or screen without terminal emulation

How can I make terminal applications immune to terminal emulator close, but still able to use all virtual terminal features? \begin{UPDATE} I want my terminal application remain alive and accessible ...
3
votes
3answers
5k views

Ubuntu 10.04 freezing and Ctrl + Alt + Backspace does nothing but music keeps playing

I'm having intermittent problems where the screen will freeze in Ubuntu. I've tried using Ctrl + Alt + Backspace to restart the X-server, though this does nothing. When the freeze occurs, there's a ...
2
votes
3answers
492 views

A BASH script that will copy the contents of the directory so long as the average system load is low?

For reasons I won't get into, I need to copy directories so long as the average system load is low. Can someone help me write a BASH script that will copy the contents of a directory, but check to ...
0
votes
2answers
619 views

Is there any way to use the xscreensaver gltext to monitor system information?

I am trying to get the X screensaver gltext to monitor my system temp and maybe some other stats. Writing a script that puts together the stats periodically is no problem, but the main thing I'm ...
3
votes
3answers
2k views

Slowing down cpu speed

How to slow down my laptop cpu so that it does not overheat?
7
votes
6answers
5k views

find command in Linux to locate pdf files

My goal is to find all pdf files on a remote machine, so I resort to the useful command find. So I type find ~ *.pdf or find ~ "*.pdf" and I get nothing. I do the same on my machine and I get nothing. ...
0
votes
1answer
257 views

Improving sound quality with remote ESD server

I'm investigating low-budget ways to get audio from my PC (Ubuntu) to HiFi without wires. I'm currently testing a setup where Asus WL-500gP wireless router runs ESD daemon and has attached USB ...
0
votes
1answer
1k views

How to move the home directory to another partition?

I created a partition in my hard disk for my data (documents, multimedia, etc.). How can I: Move the /home/ directory to the new partition Make the OS (Ubuntu Linux) treat that directory as the ...
0
votes
1answer
243 views

RHEL 4 reboot causes Tomcat process to not be started by non-root account

I have a startup script placed in /etc/init.d wherein I make the following call: nohup sudo -u myuser $CATALINA_HOME/bin/startup.sh 2>&1 This causes Tomcat to be run as myuser, which is ...
1
vote
5answers
1k views

How does copy protection work?

Many programs refuse to go beyond a trial period. Even if they are trashed and then reinstalled, they 'remember' that the trial period has expired. Assuming no contact with a licensing server, what is ...
9
votes
2answers
46k views

How Do I Map a Drive Network Share Using the Linux Terminal?

Still getting used to Linux, and the GUI is great. I have Ubuntu 10 and I can go to Network and see the Windows network. Then double clicking this gets me to the drives that are shared. Then when I ...
1
vote
2answers
624 views

How to unload program built from source in Ubuntu?

I have downloaded the source code of bochs. and I use make install command to install it onto my box. But how could I uninstall it? I run the sudo apt-get remove bochs, but it said I didn't install ...
1
vote
2answers
1k views

Compress, encrypt and upload a directory to an FTP server in Linux

I want to accomplish something rather simple (at least it would seem to be): Compress a directory Encrypt the compressed file Upload the compressed & encrypted file via FTP I also want to ...
0
votes
3answers
4k views

Merge LVM Partition with unallocated Space

I have a linux hard drive with three areas: /dev/hda1 - ext3 boot partition (20 MB) /dev/hda2 - lvm2 main partition (6 GB) unpartitioned space - 12 GB I would like to merge the unpartitioned space ...
3
votes
2answers
2k views

Moving from windows to linux : Understanding - X Window System, X Server, Xorg, Xfree86

I'm a windows developer(Win32api) moving from Windows to Linux. While installing linux there are lot of things to know about X11, X Window System, X Server, Xorg, Xfree86 and what not. How come we ...
4
votes
4answers
2k views

Picking a linux compatible motherboard

Last time I bought a new computer (I build them myself) I got a motherboard that had really poor linux support for a long time. Specifically the audio. I had to wait months before the kernel supported ...
5
votes
4answers
1k views

Deleting all folders and files underneath it in linux with a certain name?

I have the following structure: /.svn /bla/.svn /hello/.svn /bla/bla/bla/.svn ... etc I want to delete all the .svn folders. How do I do it? It's NOT: rm -rf .svn In windows you use the /s ...
3
votes
4answers
32k views

Setting permissions for specific user and groups in Linux

How can I grant permission for files to a specific user or a specific group? We have three groups: "g12" ("u1" and "u2), "g34" and "g56". g12 - should only read the file. g34 - should write and ...
0
votes
1answer
115 views

I install nagois, not showing up on localhost/nagois

I installed nagois on ubuntu. The service is running as nagois3. I am trying to access it via the browser as localhost/nagois/, its giving me a 404. Any ideas. Thanks Jean
17
votes
5answers
67k views

How do I restore the Gnome Panel volume control in Ubuntu?

I use alsa, and I don't have a volume control applet on my Gnome Panel. When I right click and select "add to panel", there is nothing that has to do with "sound", "audio" or "volume" in the list, ...