8
votes
2answers
2k views

Openbox overwrites xmodmap configuration

I am setting up openbox on my laptop running Linux Mint 13. I want my Caps Lock key to act as an additional control key. I put the required settings in my ~/.Xmodmap file and checked it by running ...
11
votes
2answers
3k views

Use find command to convert markdown files to html

Lets suppose I have files on my harddisk having extensions as .md. I want to convert all those files to .html through find and the -exec option. The command to convert a markdown file to html is ...
2
votes
0answers
192 views

When was this vulnerability fixed in Debian? (CVE-2012-2088 affecting libtiff4) [closed]

I have Debian Squeeze installed on my one of my workstation. On my Ubuntu 10.04 workstation there have been two security updates to the libtiff4 package in the last couple of weeks, addressing the ...
0
votes
1answer
109 views

VPN: access subnet of client [closed]

i have VPN setup which is like this: ########### internet ############## internet ############ LAN ############ # macbook # --------> # VPN server #----------># PC A # -------># PC ...
6
votes
5answers
5k views

How to use SOCKS proxy with yum?

The man page to yum.conf describes several proxy related variables: proxy URL to the proxy server that yum should use. proxy_username username to use for proxy ...
2
votes
0answers
77 views

Open Source Politics: How is it produced? Decisions, power and gender [closed]

I hope this is the right forum to ask that question! I think that computer skills and programming knowledge will be THE decisive factor for the generations to come. I think each and every child ...
1
vote
0answers
113 views

Fastest, most consistent booting

I am running an i3 laptop, assembled by Asus. I am running Ubuntu with grub2 and burg boot loader. I would love to have a consistent graphical boot process as with Mac OS X. I don't want the user to ...
9
votes
1answer
1k views

archlinux aif command not found

I`m pretty much a newbie to linux and a complete newbie to archlinux. I started Archlinux after grub and I see a [root@archiso ˜]# command bash. The installation guide tells me to either type ...
1
vote
0answers
337 views

Multiple distros in VM with encrypted disk

I want to have a GNU/Linux setup on my computer, where I could use different distributions and isolated environments inside an operating system-level virtual machine. Then I also want to share my ...
5
votes
1answer
269 views

Can I accelerate swap by using multiple harddrives?

I still have two old ATA drives (one is only 8GB, one is somewhat defect) and I've been thinking about putting them into my PC and activating swap on them, too. What will be effect of this? Will my ...
1
vote
1answer
263 views

Squid transparency except for SSL/HTTPS

How would you set up squid so that everything else is transparent (e.g FTP, HTTP, etc.) except for SSL/HTTPS which needs to be set manually? Will I need to change my firewall rules?
3
votes
1answer
622 views

How to keep upstart installed-always, don't be replaced by sysvinit?

Each time I do apt-get dist-upgrade, the package sysvinit comes back and replaced upstart. Well, I have some scripts written for upstart, and I need to reinstall it every time (typing the annoying ...
3
votes
2answers
1k views

How to change environment variables without re-logging to UI?

How can I change environment variables without re-logging to UI? I want to re/define some variables and want them set on my current logged in shell (including UI). I know logging out and then logging ...
1
vote
2answers
201 views

How do I specify which version of a program to run?

Here's my situation: I have two versions of postgres installed, and with the two versions, come two different psql interactive terminals. One is located at /usr/bin/psql, and starts when I run # ...
2
votes
1answer
94 views

Running a program without the assistance of the system administrator

I have an rpm for a program called KDirStat that I would like to run on a machine where I am not the system administrator. My questions are: Can I install this rpm package without the assistance of ...
0
votes
1answer
96 views

Why does this compound command report errors when copying directories? [duplicate]

Possible Duplicate: Why does this compound command report errors when copying directories? if one executes the following two commands in one line, as follows, rm -rf dir ; cp -r dir2 ...
2
votes
1answer
122 views

determine what is processing command GB_INIT()

debian wheezy (raspbian armhf) and i'm struggling to compile gambas3 from source: pi@raspberrypi ~/gambas-svn $ ./configure checking whether to enable maintainer-specific portions of Makefiles... no ...
4
votes
4answers
8k views

Is there any reason to have ntpd sync to Local(0) if server is not used as a time source?

Running CentOS release 5.8 I had a time drift issue on a server which I fixed - it was not syncing the hwclock so that on a reboot ntp would be more than 1000 seconds off and never sync time. While ...
1
vote
2answers
362 views

How to maintain file ownership when running 'yum update'

I'm running CentOS 6.2 and installed nginx as root. After the install I changed the owner and group of the install to it's own user and group to keep thing a bit more secure. I logged in as root and ...
0
votes
2answers
211 views

Why does this compound command report errors when copying directories?

if one executes the following two commands in one line, as follows, rm -rf dir ; cp -r dir2 dir it may complain that cp can not create directory dir/subdir: File exists but if these two commands ...
2
votes
5answers
3k views

Tools to visualize file size distributions [duplicate]

Possible Duplicate: How to understand what's taking up space? Are there any tools in Linux for graphically visualizing the distribution of file sizes under a given path? I am looking ...
4
votes
4answers
4k views

Cannot create “Hello World” module (and NVIDIA, and VirtualBox)

First off, the details. BEFORE: kernel: 3.2.0-2-amd64, nvidia driver: 295.59 AFTER: kernel: 3.2.0-3-amd64, nvidia driver: 302.17-3 My Debian wheezy is kept recent at all times. Actually, doing ...
86
votes
6answers
155k views

How do I copy a folder keeping owners and permissions intact?

So I was going to back up my home folder by copying it to an external drive as follows: sudo cp -r /home/my_home /media/backup/my_home With the result that all folders on the external drives are ...
16
votes
6answers
11k views

How can I set my default shell to start up tmux

I would like my default bash shell to go straight into tmux instead of my always having to type tmux every time.
5
votes
2answers
504 views

Tool for todo notes and lists for linux which allows tagging

I am looking for a handy (offline) tool to manage todo-notes and lists on linux. As a necessary requirement it should be possible to assign tags and sort, filter and search for tags. It should support ...
0
votes
1answer
374 views

Gvim opening files in new tabs

I was wondering how I can modify the gvim.desktop file so that it opens files in new tabs. Also I want it to create a new instance of vim in case it is not supplied with any files(eg. Invoked from ...
5
votes
1answer
2k views

Umount all attached usb disks with a single command

Is there a (safe) way to umount all partitions on all attached usb devices (usb-hdds, usb-sticks) with a single commandline command, including several encrypted luks partitions? Only the partitions ...
3
votes
2answers
1k views

Besides the journal, what are the differences between ext2 and ext3?

I just saw an answer question about filesystems for embedded hardware on another Stack Exchange site. The question was "What file system format should I use on flash memory?" and the answer suggested ...
0
votes
1answer
705 views

How to compile kernel for KVM guest (without paravirtualization)?

So I have a KVM machine, where I run an Ubuntu 12.04 (server edition). I want to compile a minimalistic kernel for the KVM guest, but I only found the howto for hosts, and guests with ...
2
votes
1answer
2k views

connecting (bridging) two networks

I would like to connect (bridge) two networks (ppp0 and eth2). Normally you would do this with brctl but one of the network-interface is a ppp-device so it won't work (ppp can't transport ppp-frames). ...
1
vote
0answers
466 views

How to force Intel GMA 3150 use only fixed rectangle of the screen e

I have Atom N455 with Intel GMA 3150 and Debian 6 xfce x64. It's connected to 1680x1050 display by VGA cable. The problem is that the screen looks blurry (on Win also). I found that the maximum ...
0
votes
1answer
268 views

Xorg.conf, which modules should be loaded for better performance?

In general what is supposed to be in the Module section of the Xorg.conf file in order to get maximum performance from a graphic card? At the moment my Module section is empty... also because I ...
2
votes
0answers
1k views

Install Chrome Linux from PXE boot

I've got a PXE boot server from which I can boot a selection of LIVE CD's. Mostly different Ubuntu distributions. Setting it up for ubuntu was relatively easy. I have copied the caspar directory from ...
1
vote
3answers
214 views

CPU or RAM better in old machine?

I'm planning to use one of two old computers as a low-volume backup server. The machine will be online and files will be backed up over ssh/rsync. I will do a minimal install of Ubuntu or Debian ...
1
vote
1answer
86 views

Gnome saving dialogues keyboard shortcuts

For example when I try to save the destination of a link in firefox or save a copy of a pdf file in evince I get the following dialogue. I find it annoying that I have to do some clicks (for ...
1
vote
1answer
2k views

libpng warning: Incompatible libpng version in application and library

libpng warning: Application was compiled with png.h from libpng-1.2.39 libpng warning: Application is running with png.c from libpng-1.4.0 libpng warning: Incompatible libpng version in application ...
8
votes
2answers
2k views

Get colors in less command with ccze: Shift + g doesn't go to the end of file?

In all the tools to get colors with less command: -R, Pygments, GNU Source-highlight, vless, ... ccze make me sastified with below command: ccze -A < /path/to/log/file | less -R but Shift+g ...
0
votes
2answers
156 views

HDI script fixed (non-interactive) input in a command-line gui program?

I want to create a simple script that initiates a simple gui-based program (think ncurses-style, text-based graphics in a shell) in Debian. I only access the server through SSH, so I can't do ...
2
votes
2answers
920 views

Install Linux on PPC Mac: NO CD DRIVE

I am trying to install Linux on my Xserve G4, a NewWorld PPC Macintosh computer. The issue is: I have no CD drive, so all those helpful comments like "Just boot from Linux using a LiveCD" don't work ...
5
votes
1answer
3k views

Why rootfs is mounted multiple times?

Here you can see two devices are mounted as root: $ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs ...
5
votes
9answers
1k views

Unix without a GUI for old machine

I have been given my father's old computer, which currently runs Windows 95 and has a 133-MHz processor, a Pentium(r) according to "My Computer". It seems a shame to recycle it when it works so well ...
0
votes
2answers
1k views

How do I get wget to download a cgi file behind robots.txt?

As an example - http://aok.heavengames.com/cgi-bin/aokcgi/display.cgi?action=t&fn=22. I found a way to get through the robots.txt restrictions, but even then, it just downloads a binary file ...
1
vote
1answer
241 views

How to prevent fs unmounting?

(Apologies in advance for giving so few details below, but trust me that the set-up and the problem I'm dealing with are truly baroque, and even a superficial description would result in a far ...
2
votes
1answer
571 views

Detect file-type with the help of magic-file and rename file-suffix accordingly

I have a folder (the iPhone Backup) with various files without a suffix. I want to run a batch process over these files, which detects each file's file-type (with the help of the magic-file database ...
75
votes
3answers
42k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
4
votes
1answer
2k views

What does Linux's “nointremap” option do?

Ubuntu 12.10 alpha 2 works perfectly on my new 11" 2012 Macbook Air, but only when I boot with the "nointremap" option. Supposedly this is not good to use as a permanent solution. What exactly does ...
0
votes
1answer
721 views

Error compiling glib

I am trying to compile glib 2.24.2 under Debian 64bit GNU/Linux 6.0.4 (squeeze) using: gcc 4.0.3 glibc 2.3.6 Configure command: CPP="/home/swarkentin/externalBins/bin/cpp" \ ...
1
vote
1answer
5k views

Bash: kill background jobs

Is there a more compact form of killing background jobs than: for i in {1..5}; do kill %$i; done Also, {1..5} obviously has a hard-coded magic number in it, how can I make it "N" with N being the ...
8
votes
2answers
2k views

Is it possible to create and use menus in (terminal-based) vim?

I'm setting up virtualized Linux boxes (as local development servers) for developers at a company that is primarily Windows-based, and some of developers make negative cracks about vim (among other ...
1
vote
1answer
629 views

complicated mpd/ssh setup howto?

I've recently acquired a raspberry pi and plan to use it as a home-computer and web/file-server. The setup I have a pretty big (3TB) HD hooked up to it that has all my music on it. I also have a ...

15 30 50 per page