3
votes
1answer
822 views

Is there a way to stop screensaver on keyboard only?

Let's say you have screensaver running. When you move your mouse or hit any key on keyboard screensaver will be stopped. The problem is that with modern, laser based mice, slight vibration of ...
2
votes
1answer
207 views

'who' has no output

I'm new to Arch Linux, and I just built my system up. But when I ran who in urxvt, I got nothing. Anyone know what's going on? BTW. I use Slim + OpenBox. And here are parts of my configure files. ...
3
votes
3answers
620 views

Have to reinstall NVidia driver on every reboot

I am having an issue with my Nvidia driver after the latest update. Now, Every time I reboot the machine there is some conflict between two different version and I have to reinstall the driver before ...
1
vote
2answers
536 views

How do I compile Python 3.2 on NetBSD? Error code 127

I'm getting strange errors when I try to compile Python 3.2 on NetBSD 5.1: python ./Objects/typeslots.py < ./Include/typeslots.h > ./Objects/typeslots.inc python: not found *** Error code 127 ...
3
votes
1answer
631 views

What does this error mean when installing namecoin?

I'm trying to set up namecoin, but I get the following error on running makefile.unix: $ g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -o ...
0
votes
1answer
445 views

Which linux distro is good as a VPS in parallels? [closed]

I will use Parallels Virtuozzo Containers for virtualization and have a good server machine. Which linux distro is good to use? I am new at parallels and vps. I have CentOS 5, Debian 5.0 Lenny and ...
8
votes
3answers
2k views

Process descendants

I'm trying to build a process container. The container will trigger other programs. For example - a bash script that launches running background tasks with '&' usage. The important feature I'm ...
0
votes
2answers
4k views

fedora 15, oracle 11: can't login using sqlplus

So yesterday I was fighting with importing cx_Oracle and it finally worked. However, I could not connect to the database. So I checked sqlplus to find out, whether I can connect to my Oracle database ...
0
votes
1answer
118 views

How to change profile to search current directory?

I would like to change my profile so that I can execute programs in the current directory without ./. In other words: $ foo.sh would accomplish what currently happens with: $ ./foo.sh I'm new ...
3
votes
1answer
3k views

“Error: permission denied” error from Transmission Client

i have done the following on my Asus WL-520gu Installed the dd-wrtv24-sp2 mini svn:13064 Updated for usb support Installed optware package Activated the transmission client but i keep getting a ...
6
votes
5answers
4k views

vim editing/switching between multiple files efficiently in large directory structures

I am by no means a vim power user, I am just beginning to grasp the advanced motions and commands with vim. But there's one drawback that I can't seem to get around. I grew up with graphical ...
2
votes
1answer
828 views

fedora 15, oracle 11, python3: can't find or open libclntsh.so.11.1

I am trying to use cx_Oracle on Fedora 15 with Oracle 11. I have install Oracle and InstantClient rpms and also cx_Oracle rpm for CentOS. I am exporting ORACLE_HOME and other like this: export ...
4
votes
4answers
8k views

What is a command line alternative to top for finding current CPU utilization that isn't dependent on screen width?

If I run top -p <myPID> -n 1 with a terminal that isn't wide enough, the CPU utilization % is omitted from the output. When trying to find a process' cpu utilization via bash scripting, this is ...
1
vote
1answer
498 views

How do I get QEMU to open without a BadWindow error after ssh'ing with X11 forwarding?

After ssh'ing to a machine (with -X) I run qemu and get the following: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource ...
8
votes
3answers
23k views

Recursive chmod only folders or only files via script or nautilus menu?

This has been discussed before here. What I'd like to know is how to turn these: Recursive chmod only files within this folder: find . -type f -exec chmod 0600 {} \; Recursive chmod only folders ...
1
vote
1answer
1k views

Conky buffer too small?

e.g.: my sample conkyrc (the last line is the only important part!): background yes use_xft yes xftfont Terminus:size=8 xftalpha 0.8 update_interval 5.0 total_run_times 0 double_buffer yes own_window ...
1
vote
2answers
2k views

How / where to get sources for kernel-2.6.36-gentoo-r4 in Gentoo Linux distribution?

How can I get (i.e. what command to use) sources for kernel-2.6.36-r4 (uname -a says that it is version 2.6.36-gentoo-r4), or where from I can download it? I want to compile the userside 'perf' ...
0
votes
4answers
576 views

Sed regex - include original matching

INPUT: dsfgsdf8gfsd 2011.06.26. v iudsfg98sdfg sosdufgsdfg 2011.06.27. h 8xdofguiosdfg jdasfhasd89fa 2011.06.28. k ydsfgsdgsdg dsfgdsfzfszgh 2011.06.29. sze ds9fgisdfgsdfg asdfasdfasddf 2011.06.30. ...
3
votes
1answer
4k views

How to fix possibly wiped MBR after centOS install?

I think I have messed this one up royally... I have done a clean install of centOS 5.6 (x86_64) on my system. I got through the installation process successfully and rebooted. Now I am greeted with ...
6
votes
1answer
2k views

Why isn't sed greedy in this simple case?

$echo "foo 65 bar" | sed -n -e 's/.*\([0-9]\+\).*/\1/p' 5 Why is the output not 65? Shouldn't sed greedily match the [0-9]\+ part? How do I tell sed to match all of 65?
2
votes
1answer
516 views

How do I make a droplet/.app in platypus for my unix command?

This is my sample code from the platypus tutorial. I am trying to make it work with a command named pymol, and I want it to open .pdb files or open just pymol. I know nothing about perl, but I have ...
0
votes
1answer
385 views

debug php script and output result and errors to a text file

Can someone tell me how to to run a php script and output content and errors to a text file (using nohup) using csh?
4
votes
2answers
5k views

How to map ALT key in .vimrc?

In order to be able add blank lines without going into insertion mode, I'm trying to map ALT-o and ALT-O to o<ESC> and o<ESC> I've tried the following in my .vimrc map <M-o> ...
2
votes
1answer
562 views

Tutorial about key maping in KSH in EMACS mode

Are there any good tutorial to learn about Key Maping in Korn Shell (AIX) in EMACS mode ?
4
votes
2answers
711 views

Run command when checking for new mail in mutt

I'd like to run a command (specifically imapfilter) whenever Mutt is checking for new email, to avoid getting "wrong" messages about email in =INBOX which hasn't been filtered yet.
2
votes
2answers
2k views

stop parallel processing for a cron triggered process

I have configured my webservers cron jobs to trigger some php script, every 15min, but sometimes the script takes morethan 15 min to complete execution, by the time another process of the same script ...
1
vote
1answer
324 views

What are the Implications of moving to Huge mem kernel on RHEL4

I've been asked to investigate adding extra memory (> 16gb) to a RHEL 4 server and moving to a huge mem kernel. The server is used for Oracle RAC. Is it just a case of installing the hugh mem kernel ...
7
votes
5answers
7k views

vi command for adding blank line?

In vi, I can use o or O to add a blank line and go into insertion mode. But what if I want to stay in command mode, is there a command for this? In googling, I'm seeing suggestions to add stuff to my ...
1
vote
5answers
465 views

Does Fedora play all movie formats out- of-the-box?

Because Ubuntu does not. With Ubuntu it is the greatest of hassles to get certain video formats to play, like mp4 and wmv. With Fedora, does the movie player just play all movie formats ...
71
votes
19answers
12k views

Which GNU/Linux distribution for a 12-year old system?

I have a 12-year old Toshiba Libretto laptop with a Transmeta Crusoe Processor TM 5600 running at about 600 MHz, 128 MB RAM and S3 Savage graphics. Which Ubuntu (or any other GNU/Linux based ...
1
vote
1answer
458 views

Need command-line program to download all of http:// https:// scp:// ftp:// style links (on e.g. ubuntu)

I'm writing a perl program where I want to accept all kinds of "file names" from the user, including /home/foo/bar.txt and scp://server/some/file.txt or whatever. And then I thought that if I can find ...
15
votes
5answers
12k views

view stdout for another pts

Here is the situation. I left my pc at home doing an rsync from a 2TB hard drive to another 2TB hard drive (it's going to take a while since they are both USB 2.0). I am now at work and I have ssh-ed ...
5
votes
1answer
5k views

ls: how do I list directories sorted by timestamps of the files it contains

How do I list directories by their access time in the sense that some new files/directories are created (say, directories containing the most recently created files).
4
votes
2answers
3k views

changing current working dir with a script

I've read this question and answer, but it doesn't quit fit my problem, even tho it's similar. I'm writing a script (called cpj) that will launch one of my current projects. I have about 5 of them. ...
4
votes
3answers
457 views

script to use the output of a command (ls) and use it in another command

I have a collection of pdf files I would like to convert to epub. I know Calibre's command ebook-convert will do the trick (nicely might I add). However I have more than one file. I'd like to be able ...
1
vote
0answers
479 views

ATA_PIIX Driver Source Code

Is it possible to find the source code for the ATA_PIIX Driver outside the linux kernel? I have to install an older version of Linux (SuSE 10) on a brand new laptop and its failing to see the drive. ...
-1
votes
2answers
1k views

Is the linux directory structure obsolete and obtuse? [closed]

I genuinely feel that the Linux directory system presents an obstacle for users migrating from other systems as well as being a bottleneck for the evolution of Linux itself. Rest assured I am not here ...
10
votes
1answer
3k views

The zip format's external file attribute

This is a slightly exotic question, but there doesn't seem to be much information on the net about this. I just added an answer to a question about the zip format's external file attribute. As you can ...
10
votes
3answers
3k views

How can I bind multiple tmux commands to one keystroke?

Specifically I'm trying to give a notification after some command was completed. So, for example, if I reload my configuration file, I'd like to have some confirmation that it worked, which might be ...
4
votes
3answers
833 views

DynDNS alternative for SSH?

I have an server that has a dynamic IP address and is accessible over SSH. On the server, a script uploads a text file containing the server's public IP address to a web location whenever that address ...
2
votes
1answer
6k views

How to setup proxy authentication in the Debian shell?

I think that once I used export http_proxy=http://user:password@address:port/ successfully. But now when I use wget it shows Error parsing proxy URL http://user:passwordaddress:port/: Bad port ...
1
vote
4answers
347 views

Faster delayed execution than 1 minute?

I am working on a program that can "upgrade itself" by install a new package. In order to accomplish this, I am using the at command to specify that a shell script should be run one minute in the ...
6
votes
3answers
530 views

How to jail a fastcgi server (or a web-proxied server)?

If you have a web-server (e.g. nginx) often you use a fast-cgi server or another application-http-server for dynamic content. That means in both cases you have a nice process separation between the ...
2
votes
1answer
4k views

NVIDIA installer can't find kernel source/build files (compiled from kernel.org)

I just compiled and installed the new 3.0-rc2 kernel from kernel.org on my Fedora 15 system. Everything seems to work fine and I can successfully boot into the system. However, this broke my ...
20
votes
6answers
11k views

Removing control chars (including console codes / colours) from script output

I can use the "script" command to record an interactive session at the command line. However, this includes all control characters and colour codes. I can remove control characters (like backspace) ...
0
votes
0answers
111 views

How to use find command with wildcard when current directory contains a match? [duplicate]

Possible Duplicate: find not recursive when file at top I'm having some confusion with the find command. If I type: find . -name *.xml or find ./ -name *.xml I receive a list of all ...
3
votes
4answers
4k views

External hard drive fails to mount

I have an external 2.5" 1TB Samsung hard drive, and it fails mount. Here's what palimpsest says about it: It's even able to do a benchmark on it: When I try to mount it normally, it fails: $ ...
1
vote
2answers
255 views

How can I add a space automatically after every command I type in bash?

Due to some unknown reason I am not able to edit/delete the last character of any bash command from the bash history i.e. when I access last bash command using 'up' arrow I cannot change or delete the ...
0
votes
1answer
332 views

nacl crypto installation on arch

I am trying to install nacl crypto on my system: % uname -a Linux (none) 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 6 22:37:55 CEST 2011 x86_64 Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz GenuineIntel GNU/Linux ...
2
votes
1answer
564 views

Short domain name to FQDN expansion

Is it possible to configure where the system will look for the machine if I enter just a short domain name? I work in a grid environment where the machines are many and spread across multiple ...

15 30 50 per page