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

1
vote
0answers
2k views

Wget: Name or service not known (Arch Linux x64)

I recently returned to my college campus for classes and brought my desktop computer running 64 bit Arch Linux out of storage. After updating my packages with sudo pacman -Syu, I rebooted and began to ...
4
votes
1answer
118 views

How does a window manager register itself with the X Server?

I was wondering how the window manager registers itself with the X server, and how it knows what process to kill when it goes about replacing the current window manager
1
vote
3answers
3k views

SSH to server without including username in URL on Linux/Unix/Mac

I am trying to ssh into my server from the command-line without including the username in the url. I do not want it to send any username, as it currently takes the active account and sends that as ...
0
votes
2answers
51 views

Changing Hardware - Fresh OS Install?

I am going to be upgrading my motherboard, memory, and processor and currently I am dual booting Win7 and Ubuntu. Will I need to perform a fresh install or should this be plug and play? The processor ...
1
vote
1answer
233 views

Linux swap position on hdd

As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?
2
votes
3answers
664 views

How to tunnel Linux X-Windows over the internet?

I'd like to display GUI apps running on one Linux box on another machine. I already do this with local machines, but how to do this over the internet? Update: I'm already using ssh to access the ...
0
votes
1answer
966 views

Where is and how to install i686-pc-mingw32-c++?

I have a fresh installation of Ubuntu. I try to install i686-pc-mingw32-c++ required by a third-party Makfile by: sudo apt-get install mingw32, sudo apt-get install mingw32-runtime and sudo apt-get ...
2
votes
1answer
355 views

How can I make chrome use gmail with mailto: links in Debian?

I am running Debian Testing and I am trying to make chrome handle links in the (usually opened) gmail, instead of running KMail (which is probably my default mail app atm). I remember that there used ...
1
vote
1answer
518 views

Setting ACL for a temporarily mounted directory

I wanted to set ACL for a directory. For that it is important that the device should be mounted as acl on that directory. But I do not want to add the acl mount in /etc/fstab. So I am tempoararily ...
1
vote
1answer
815 views

How do I remove NetBeans IDE from Fedora 15?

I have two version of NetBeans installed in Fedora 15. I am unable to open them for the past three days. I would like to remove the existing ones completely but they were not installed via yum. How ...
4
votes
1answer
644 views

How to change the GDM default background wallpaper to my customized wallpaper or solid color?

I was trying to change the Ubuntu 11.04 GDM default background wallpaper to solid color such as black. However it's not working; here is what I've tried so far: From the terminal: xsetroot -bg ...
3
votes
2answers
466 views

Firefox freezes for about 10 seconds at startup

Every time I launch Firefox and go visiting some websites, I notice it freezes for about 10 seconds. Not always in the same websites, but it always happens sometime in the first 2 or 3 minutes of ...
1
vote
1answer
3k views

FTP upload & overwrite does NOT overwite, but creates [file.ext].# instead

This question is a duplicate of one in StackOverflow, and I was recommended to ask this question here instead. My apologies if the multi-post is undesirable. I have a very strange issue with FTP that ...
0
votes
5answers
224 views

Installing Linux distro on an unconnected machine, without any removable storage drives

This is a bit of an exercise in doing something for the sake of doing it, so I'm willing to accept that it might not be possible. I've been given a 1996-vintage laptop, with a big enough HDD for a ...
1
vote
1answer
774 views

Samba: How to share a folder using Linux account username and password?

I'm working on sharing a user's home folder using the username and password of the user's lLnux account. I noticed that home folder sharing is quite easy as I just need to change the smb.conf file to ...
34
votes
5answers
4k views

What is the equivalent of Linux's “~” (tilde) in Windows?

In Linux, we can go to the user home by entering the tilde (~) character after cd: cd ~ How to do the same in Windows? Each time, I need to type: cd C:\Document and Settings\freewind That's too ...
0
votes
2answers
5k views

How can I disable the screensaver and lock screen in Ubuntu 11.04?

It's very disturbing when making a Kiosk application, every time the lock screen and screensaver shows up, also many popup + battery or updates shows up. Where and how can I completely disable the ...
8
votes
3answers
361 views

Is it possible to configure the way bash completes directory names?

I'd like to instruct bash to use a special method to perform completion on certain directory names. For example, bash would call a program of mine to perform completion if a path starts with "$$", and ...
1
vote
1answer
231 views

Sourcing variables from ~/.bash.rc and keeping them across logouts

I've been writing a bunch of bash scripts to make possible non-interactive, secure, cron-based SVN checkouts with CollabNet's SVN client and GNOME Keyring Daemon (aka GKD) and one of the scripts was ...
2
votes
3answers
5k views

Force cloned hard-disk image upon a smaller hard-disk

I have a image which was taken with Clonezilla as SAVEDISK on a 160GB harddrive. Now a newer version of the PC released with a 120GB harddrive, the space in use is just 20GB Is there a way I can ...
3
votes
1answer
632 views

Why are there weird commas in my /etc/passwd file?

There are weird commas after the real-name parameter of some lines in my /etc/passwd file. kye:x:1000:100:Kye,,,:/home/kye:/bin/bash What gives? Why are they there? Can I remove them?
3
votes
3answers
2k views

Unmounting Detachable devices (eSATA,USB storage) in Linux

A detachable device like eSATA, USB drive can be abruptly removed (by simply pulling the plug). If there are open file handles on a partition, then this partitions won't unmount, i.e. the Linux ...
3
votes
2answers
832 views

How large is the performance loss for a 64-bit VirtualBox guest running on a 32-bit host?

I have a 64-bit Virtualbox guest running Gentoo Linux (amd64) and it is currently hosted on a 32-bit Gentoo laptop. I've noticed that the performance of the VM is very slow compared to the ...
1
vote
1answer
630 views

Working example of two-factor authentication using smart card and pcsc-lite?

I have a laptop (Dell) with a smart card reader. I'm trying to get it to do two-factor authentication with Linux. Here's the hardware: $ opensc-tool -n Using reader with a card: Broadcom 5880 ...
9
votes
3answers
25k views

Where is the temporary directory in Linux?

Does Linux have a standard temporary directory for general use, like Windows's C:\Temp folder? If so, where is it located? I found an SO question about finding a tmp directory programmatically, but I ...
15
votes
4answers
21k views

How to transfer my SSH keys to another machine?

I have accounts on two machines: H1 and H2. I created ssh keys on H1 and installed it on S1. I can now ssh to S1 from H1. I want to do the same from H2. How do I install the ssh keys generated on H1 ...
7
votes
1answer
3k views

Linux: What is the best way to copy from a damaged HD?

I get I/O errors from my storage HD when i try to copy files. These are large raw video files, so I can tolerate errors. cp stops on the first read error and scp/rsync complains and deletes the copy. ...
0
votes
4answers
325 views

navigate back and forward using cd

Is it possible to use cd command to navigate back and forward (like browser)?. Something similar to cd - but it only swaps current and last location. I know I can push dir on stack, it would be great ...
2
votes
3answers
756 views

Why is 'grep -i' so slow? How to do it faster for ASCII?

Consider: $ time lzop -d < tvtropes-index.lzo | egrep -B 5 '[Dd][eE][sS][cC][eE][nN][dD] ?[Ff][rR][oO][mM]' real 0m0.438s $ time lzop -d < tvtropes-index.lzo | egrep -B 5 'descend ?from' -i ...
0
votes
1answer
137 views

user not able to access the file which has privilege via group

I am facing the below problem in linux kernel 2.6.18-7.1 I created user "BBC" using adduser -D after this /etc/passwd contains "BBC:x:1010:1010:Linux User,,,:/home/BBC:/bin/sh" I created group ...
3
votes
1answer
13k views

How to detect FireWire interface and Connected device on it, in Ubuntu 11.04?

I have a FireWire camera LifeSize connected to my PC in the FireWire interface. My PC has miniPCI slot and with external converter its having a FireWire interface. Now its Ubuntu who is not showing me ...
2
votes
1answer
857 views

Enable logging for OpenOffice daemon sOffice.bin

We have problems converting a document with the openoffice daemon sOffice.bin. Where can I find / enable logfiles for this process?
3
votes
2answers
3k views

How to make rsync to use relative path?

I want to sync remote database copy using command rsync --relative user@remote:/backup/databases/*.sql /backup/snapshots/ As it's result command creates file ...
0
votes
1answer
959 views

How to download Gmail attachment from linux console?

I've logged into gmail and have link to attachment. I'm logging to remote linux console and need to dowload this attachment, but can't download it by wget. How to do that ?
21
votes
3answers
6k views

In Linux, how do I truncate command-line output?

If I grep -nr sumthin * in my source code directory, it also spews out very long lines from minified JavaScript or CSS files. I want to get just the first 80 characters per line. For example, a ...
0
votes
1answer
571 views

Using wget on a site with cgi

I need to mirror a website. However, each of the links on the site's webpage is actually a 'submit' to a cgi script that shows up the resulting page. AFAIK wget should fail on this since it needs ...
0
votes
5answers
20k views

How to safely use grub rescue> in Fedora 16? System does not boot anymore

When i boot my PC, i get this in my Fedora 16 distro. I have tried as following but none allowing me to boot anymore. Any help please? I am blocked completely. Grub loading. Welcome to GRUB! error: ...
1
vote
1answer
395 views

Easy install of PHP/MySQL/NGINX server on Linux

So I want to get my own server running but before I spend the money for one I want to make sure I can get the stuff I need installed. Is there any packages for linux like there are for windows to ...
0
votes
5answers
382 views

How to install Linux and not break Windows

I'm interesting in installing Linux but I dont want to break my Windows installation. How would one go about doing such a thing?
2
votes
3answers
3k views

Software to easily design electrics / electronics circuits

Does anyone know a software to easily design electronic / electrics circuits (for resistors, capacitors, inductors, sources, transistors, ...) which already has a large and easy-to-use "library" of ...
1
vote
2answers
421 views

open office document conversion uses 100% CPU

When I try to convert a word document using the ooextract python script from open office like /usr/local/bin/ooextract.py myDocument.doc myDocument.pdf the open office deamon (sOffice.bin) takes ...
0
votes
1answer
466 views

How can one get Synergy to share in Fedora 15/Gnome3 with window maximized?

I have my synergy server running on Fedora 15, I'm starting it with "Synergy" in .bash_profile. There's another Fedora 15 client. Sharing normally works fine, given that a window is not maximized. ...
1
vote
1answer
681 views

How to extract image from single-frame h264 mkv file?

ffmpeg -i IMG_9353.JPG -pix_fmt yuv420p -y qqq.y4m x264 qqq.y4m --preset placebo --tune stillimage --crf 33 -o qqq.mkv How to extract the picture now? qqq.mkv is non-empty, size depends on "crf" ...
1
vote
2answers
638 views

Can a hard drive be spinned down when using ext3 filesystem?

Recently a buddy of mine has pointed out in his blog (in Russian) that hard drives that use the ext3 filesystem can not be spun down because of the need to frequently write data. According to him, it ...
0
votes
1answer
475 views

How can I install Ubuntu 11.04 via VNC on my new PC (with no keyboard or mouse)

I have downloaded the latest Ubuntu.iso and extracted it to /tmp/ubuntu/ on my laptop. In the folder isolinux there is an isolinux.cfg file. I am trying to prepare a USB stick by modifying those ...
1
vote
1answer
230 views

How to preserve diacritics when cross-mounting drives to Windows7 and Linux

A friend backed up an in accessible Windows 7 partition to a big (close to 1TB) external USB drive using KNOPIX. Unfortunately the umlauts and accents in the file names of his extensive music ...
2
votes
2answers
392 views

Cannot correctly display memory usage under Linux

I got VPS and have ubuntu on top of it. I have installed apache in worker role (not prefork ) also installed ruby EE 1.8.7 & mysql 5.x Now when I check for memory I see 18.6 % (of 924 MB ) is ...
0
votes
1answer
235 views

Launch process in new window, whether GNU screen session exists or not

I'm having a bit of trouble with GNU's screen. What I want to do is this (from cron): If a screen session named cron exists, add a new window to the session and launch a process in it (but do not ...
1
vote
3answers
563 views

What backup tool should I use for easy incremental backups? [duplicate]

Possible Duplicate: Could you suggest feature-rich disk-based personal backup program for linux (and I've seen a few)? I want to do nightly backups of the whole system and be able to ...
1
vote
0answers
278 views

ATI driver on my Fedora notebook working, but with weird abstract color bugs

I'm running Fedora 15 64-bit on a HP Pavilion dv7. I've installed this driver (AMD Catalyst™ 11.8 Proprietary Linux x86 Display Driver), and here's a screenshot of the info window in CCC: My uname: ...