3
votes
1answer
506 views

Linux equivalent of GraphClick?

Is there a piece of Linux software that does what GraphClick does in Mac OS X? That is, is there a Linux software that "is a graph digitizer software which allows to automatically retrieve the ...
12
votes
7answers
8k views

What's the best way to format a HDD in Linux in order to leave no trace?

I'm running Debian and need a way to format the entire hdd in order to not leave any trace on it because I want to donate it to a friend. So what will be the best way in order to format it? If I ...
5
votes
4answers
2k views

automatic passwordless ssh at login/restart

I want to have passwordless ssh to persist even after after I restart or logoff and then login. Somehow I have to run ssh-agent and use command ssh-add at login. In a tutorial I read that I should add ...
2
votes
2answers
803 views

How do I add a KVM guest VM to virsh

I followed this guide to create a KVM guest but I didn't pay attention to this line Note: if you want to use Virsh to manage your virtual machines as detailed below, you must add this parameter:1 ...
4
votes
3answers
1k views

Set the key for spanish eñe letter

How can I map the spanish eñe letter to a key combination? What application is suitable for this purpose (xmodmap, xbindkeys, ...)? When I press Caps Lock + n, it should type ñ When I press Caps ...
5
votes
1answer
1k views

pppoe connection keeps disconnecting every 30 seconds

I have hotspot connection. We first connect to wireless and enter a username / password on pppoe connection with windows. When I use the ubuntu (11.04) I have to use pppoeconf module. Today I setup ...
8
votes
1answer
2k views

How can I manage an oversensitive touchpad?

For the most part, I love my new Dell Latitude E6510. However, the touch pad is driving me mad. It's so sensitive that it will respond to my hands being near it, without actually touching it, if ...
1
vote
1answer
540 views

Linux hardware: Apple Magic Track Pad Alternatives

I'm using Linux as my main OS for few years. Before month or so, i tested apple magic track pad and i loved it since i am using laptop touch pad more than a mouse, it requires less movement of hand ...
13
votes
5answers
9k views

In bash, how can I convert a Unicode Codepoint [0-9A-F] into a printable character?

I have a list of Unicode codepoints, but I don't know of a "simple" way to convert these hex values into the actual characters they represent... I've heard that zsh has echo -e '\u0965', but I use ...
0
votes
3answers
11k views

arch installation- startx not working

I went through the Arch installation yesterday, everything seemed to be going fine but when I ran startx it gave an error(in image below)- Is it a problem with the graphics card driver? My laptop ...
8
votes
4answers
315 views

Do you prefer bash scripts or aliases for shortcuts?

I have a ~/bin directory (which is on my PATH) where I store a lot of little 1 or 2 line scripts. Some of them just cd into a directory and run a command on a file, like vim or something. But I also ...
35
votes
4answers
4k views

unix, difference between path starting with '/' and '//'

In unix/linux, any number of consecutive forwardslashes in a path is generally equivalent to a single forwardslash. eg. $ cd /home/shum $ pwd /home/shum $ cd /home//shum $ pwd /home/shum $ cd ...
8
votes
8answers
2k views

Alternatives to FVWM window manager?

I've been using FVWM for over a decade, and for some time I've been concerned that the window manager is dying a slow death. I realize that 2.6.0 just came out a few days ago, and ironically that is ...
10
votes
3answers
28k views

How to encrypt messages/text with RSA? (using openssl?)

I have Alice's public key. I want to send Alice an RSA encrypted message. How can I do it using the openssl command? The message is: Hi Alice! Please bring malacpörkölt for dinner!
4
votes
3answers
9k views

checking an argument to a bash script is a string of all digits

The Bash FAQ says If you're validating a simple "string of digits", you can do it with a glob: # Bash if [[ $foo = *[!0-9]* ]]; then echo "'$foo' has a non-digit somewhere in it" else echo ...
4
votes
4answers
17k views

Linux file access monitoring

Is there any way in unix to find out who accessed certain file in last 1 week? It may be user or some script ftp it to some other place. Can I get a list of user name who accessed certain file? How ...
5
votes
3answers
1k views

How do I create a virtual secondary screen in X11?

I'm trying to use xvfb as a secondary screen, but I am struggling getting the two screens working together. xvfb does not seem to have the randr extension. So is there another possibility to create a ...
9
votes
1answer
2k views

How can I type Unicode characters into KDE's Konsole terminal from a Gnome desktop?

I use Ubuntu.. In 'gnome-terminal', I can type Unicode Codepoints by first typing Ctrl-Shift-u followed by the Codepoint hex value, eg. C-S-u 2468 produces ⑨ konsole, my preferred terminal, does ...
1
vote
1answer
271 views

erratic keyboard shortcut behavior - gnome debian testing

Sometimes my keyboard shortcuts in gnome do not work (ctrl-alt-right for next desktop, ctrl-alt-m for menu, ctrl-alt-b for browser, et cetera) Sometimes after rebooting they do work. I wish I ...
1
vote
3answers
4k views

How to kill a printing job on centOS

How does one kill a printing job on centOS?
16
votes
5answers
6k views

Best resources to learn bash scripting?

I've programmed in a number of languages for two years now, I mean that I know how to design and implement a decent solution for a given problem. However, bash is being a major headache to me, just ...
1
vote
2answers
162 views

Linux/Firefox- snapping open tab from another machine

Is there a way to snap the currently open tab(s) on Firefox (or any other browser) on Linux? I have full user access to that machine...
6
votes
1answer
314 views

`hostname` - host name or FQDN?

What is the right thing to set a computer's hostname to? (/bin/hostname, /etc/hostname, sethostname(2), etc.) I usually just use the "name" part, and it works perfectly (for me at least), but I've ...
2
votes
3answers
711 views

Batch File Rename Using Mapping File

I have a large collection of image files, for example: a.png, b.png, c.png, etc If I have a file with mappings of filenames to numbers, like so (ignore the format, it could be anything): a=>1 ...
0
votes
1answer
47 views

Configure webserver for compression

Based on this page: http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression I need to enable compression on my website, but I have no idea how to do this. If this is the right ...
2
votes
6answers
374 views

Searching strings on files

I've got a bunch on strings which I need to find in a couple of files, for example: string1 string2 stringn file1.txt file2.txt filen.txt Is there an (easy) way to do that in bash? I need to know, ...
11
votes
4answers
964 views

How exactly do people “crack” Unix/Linux Systems?

No im not looking to become a cracker or something like that, but Im trying to figure out the process (more from a programming perspective). So im assuming (guessing) a cracker's main goal is to gain ...
9
votes
2answers
18k views

“rsync: failed to set permissions on …” error with rsync -a or -p option

When I use the -a option as is asked and answered in Preserve the permissions with rsync, I got a lot of "rsync: failed to set permissions on" errors. rsync: failed to set permissions on ...
10
votes
1answer
23k views

Preserve the permissions with rsync

Let's say I have a file a.txt in LINUX with permission of 0664. When I use rsync to copy the file to my Mac with rsync -r -t -v LINUX MAC, the file's permission becomes 0644. How can I keep the ...
10
votes
5answers
17k views

Syncing directories in both directions with rsync

I happen to know about rsyn, and I use rsync to sync between my mac and a linux server as follows. rsync -r -t -v MAC LINUX rsync -r -t -v LINUX MAC I expected to run the first command to sync, but ...
1
vote
1answer
739 views

Debian (Gnome): unable to login

I am new to Linux, installed Gnome, and unable to login, as only root is set, and disabled, I think after reading on the Internet. Now how do i get back to the command line, at least so I can deal ...
2
votes
1answer
752 views

How can I press key of “keycode 53” every minute in X?

I want to automate my typing. I can use window managers such as gnome and fvwm. I can access to ubuntu and obsd.
15
votes
4answers
13k views

How to avoid being asked passphrase each time I push to Bitbucket

I set up my ssh stuff with the help of this guide, and it used to work well (I could run hg push without being asked for a passphrase). What could have happened between then and now, considering that ...
4
votes
1answer
2k views

How to quit GNOME file copy GUI after it hangs

Many times I find GNOME file copy GUI tool (Nautilus) irritating when it stops working. It happens when: I cancel the copy or move I try to copy to blue tooth exchange folder to my friends ...
8
votes
2answers
530 views

Are there any good tools besides SeleniumRC that can fetch webpages including content post-painted by JavaScript?

One major shortcoming of curl is that more and more wepages are having their main piece of content painted by a JavaScript AJAX response that occurs after the initial HTTP response. curl never picks ...
4
votes
3answers
3k views

Gnome Logout from command

How to get logout from Gnome session via command line ? Also Is there any way in GNOME to do "switch user" from command line ?
4
votes
3answers
309 views

Can I insert sudo via the ^ command?

Sorry if this is a yes/no question.. I am reading this unix tutorial and found the following: Repeating and Modifying the Previous Command [..] If you mistype leavenworth as leaveworth ...
1
vote
2answers
804 views

Create url link in menu

How can I create a menu item that points to a URL? I've tried creating a mylink.desktop entry like this: [Desktop Entry] Encoding=UTF-8 Name=My Link Name Icon=my-icon Type=Link Categories=Office; ...
1
vote
1answer
451 views

Queries about top command

top command shows the process cpu utilization, and it when we sum the cpu utilization of all the processes then it goes greater than 100%. And how can it shows the cpu utilization of each process( ...
3
votes
6answers
5k views

ssh user@IP sh <command> missed environment variables

I use an approach ssh user@IP sh [runme.sh] to execute script remotely, this works fine. But I got one problem, that is in runme.sh, I can't get any envirnoment variables which are defined in ...
4
votes
3answers
910 views

slow media - disk cache tuning?

Is there any way to make the system more consistent when using LUKS? (or slow storage in general) as it is everything is snappy until the write buffer is full, then everything grinds to a halt as the ...
4
votes
2answers
928 views

bash script is trying to execute a variable

I have a very short Bash script, like this: variable="3 things" if $(echo $variable|grep "^[0-9]\{1,\}") #if $variable begins with [0-9] then echo $(echo $variable|sed 's/ .*$//') else echo ...
1
vote
1answer
2k views

Install MySQL workbench on ubuntu

I am using Ubuntu 9.10 - the Karmic Koala - released in October 2009 I downloaded mysql-workbench-gpl-5.2.33b-1ubu1004-i386.deb from here But when I run this package it show me following error: ...
4
votes
2answers
5k views

Motd not changing

My /etc/motd file is showing duplicate messages. When I edit it manual, it keeps returning to the messed up version whenever a user logs in. How do I stop this? I'm using Ubuntu 10.04
5
votes
5answers
6k views

Setting a name for a screen session

Is there a way to give a particular name to a unix screen session? For instance, say I'm running the same program multiple times, each with different parameters and I want to tell which one is which.
7
votes
1answer
465 views

Does one alias affect another alias?

I don't have many aliases set up in my .bash_aliases file just yet. Only recently have I discovered how useful they can be. I can see myself getting quite hooked on aliases so before the file gets ...
0
votes
1answer
432 views

Fedora 12 No wireless networks detected

I have just bought a Dell Inspiron 1510 and loaded Fedora 12 along with Windows. I cannot detect any wireless networks through my network applet on the tool bar. $:lscpi 12:00.0 Network controller: ...
2
votes
2answers
1k views

How can I get weechat to signal gnome-terminal on a highlight?

When using a terminal based client like weechat, weechat does not signal the terminal letting the user know that they have been highlighted. How can this be done? I would like my terminal to blink ...
1
vote
2answers
2k views

Several versions of JAVA on one PC

I want to use jre-1_5_0_21 on my Fedora 14 box. Here's whats installed on my PC: $ update-alternatives --config java There are 2 programs which provide 'java'. Selection Command ...
2
votes
3answers
1k views

Unique hardware signatures in BSD?

What unique hardware signatures can you get from, for example, a FreeBSD system? I am right now using the ethernet mac address (getifaddrs(3)) but as we all know this can easily be changed with ...

15 30 50 per page