4
votes
2answers
1k views

How can I run my own scripts in kate 3.8.2? “External tools” isn't available in the plugins section

I am using Kubuntu 12.04 LTS. How can I run my own scripts in kate 3.8.2? It appears that the plugin named External tools is no longer available. I would like to run Python or shell scripts in kate ...
3
votes
2answers
3k views

mounting to non-empty directory, then later deleting original files

I have some unused space on my disk, and decided to use a little of it to create a separate /var partition. There might be an easier way to do this, but my idea is to copy the existing /var ...
1
vote
2answers
2k views

I accidentally deleted the sudoers file on Mac OS X; is there any way to recover it?

I accidentalley deleted the sudoers file on Mac OS X; is there any way to recover it? And once you've recovered it, how do you set it to mode 0440? I presume not but I am desperate to get it back!
5
votes
1answer
4k views

xinerama, 2 cards, 3 monitors

I've been trying to get this right and I'm so nearly there, but not quite. This machine has an Intel adapter with one monitor, and an ATI adapter with two. I'm happy to use xinerama to get this ...
5
votes
2answers
900 views

Route and “e” flag

k# route -6 Destination Next Hop Flag Met Ref Use If ::/0 fe80::8001 UGDAe 1024 0 0 eth0 [...] What does flag "e" mean?
5
votes
2answers
449 views

Syslinux , what does '--' do?

What does the '--' do in a normal syslinux config ? I used to see "quiet" after that , but don't know why. Here's an example from Ubuntu 12.04: label install menu label ^Install menu default ...
2
votes
0answers
286 views

Arch Linux system borked after update [closed]

I have been running arch on my macbook 5,2 since I purchased it back in 2009. This morning I did a full system update (after a few months going without updates) and found some things not working, ...
1
vote
0answers
397 views

Any way to recover list of open terminal tabs/windows before my system went down unexpectedly?

I had been working with maybe 6 tabs open in various directories, when I left for a small vacation. Upon returning, I discover a power outage must have rebooted my machine. Is there any way for me to ...
4
votes
1answer
4k views

escaping a single dot with double backslash - awk

"effective awk programming" book has an example on Field-Splitting. here is the example: If you want fields to be separated by a literal period followed by any single character, use ‘FS = ...
1
vote
0answers
201 views

Xorg hangs before login screen

I'm using a TripleHead2Go to host 2 1920x1080 monitors as one massive 3840x1080 display in addition to my laptop's 1920x1200 display. If I try boooting with it plugged in, however, it hangs and never ...
2
votes
3answers
2k views

Split a physical X display into two virtual displays?

I just purchased a TripleHead2Go and configured it using OSX. What this box does is simply take 1-3 multiple external monitors and combine their signal into one single resolution. I'm using two ...
4
votes
1answer
4k views

DHCP server: offer different subnet addresses for different interfaces

I'm running Ubuntu 10.04 on my home router which has multiple network interfaces. I have dhcpd configured to provide addresses from 192.168.1.0/24 subnet on certain interface. However, I'd like to ...
3
votes
1answer
632 views

How do I tell if a Wine application uses hardware or software rendering?

I'm building an appliance/kiosk-type machine which is going to run a single fullscreen Wine application (Synthesia). I'm using Arch Linux running LXDE on an original 7-inch EeePC (well, souped up to ...
15
votes
3answers
12k views

How can I reserve a block of memory from the Linux kernel?

I have a device that needs a block of memory that is reserved solely for it, without the OS intervening. Is there any way to tell BIOS or the OS that a block of memory is reserved, and it must not ...
10
votes
2answers
3k views

Solving Ethernet watchdog timer deadlocks

I have a debian linux box (Debian Squeeze) that deadlocks every few hours if I run a python script that sniffs an interface... The stack trace is attached to the bottom of this question. ...
16
votes
2answers
4k views

Permissions/ownership of /usr/local/bin

From what I understand, the right place to put your own scripts is /usr/local/bin (for instance a script I use to back up some files). I notice that this folder is currently (by default) owned by ...
0
votes
1answer
257 views

Fedora 7 server export in .bashrc not getting set [duplicate]

I'm trying to set the JAVA_HOME environment variable in my .bashrc but every time I log back in it gets unset again to its original value, below is my .bashrc file # .bashrc # User specific aliases ...
3
votes
4answers
5k views

Best Disk Partitioning Scheme for a Linux-based Developer Machine

Is there some kind of "best disk partitioning scheme" for a Linux-based web and application developer machine, in terms of performance, organization or others?
3
votes
0answers
1k views

Using gdm to manage xdmcp authentication over VNC

I've followed a few guides in order to enable XDMCP over VNC, however the end result is an ugly, if functional, default X login screen. It is not utilizing gdm for the authentication process, and I ...
2
votes
1answer
395 views

Why doesnt ctrl+d work with this?

I wanted a simple way to process text in my clipboard without having to create a file. I tried using the following line: awk '{print $1}' <(cat) but I couldn't send cat the EOF character using ...
6
votes
1answer
2k views

chroot fails with --userspec when chroot is i686

I'm experiencing a problem with chroot... I'm running on Arch Linux x86_64. I have a 64 bit chroot and a 32 bit chroot. They are identical except that one is 32 bit and one is 64 bit. I can enter ...
2
votes
1answer
602 views

Do I need to format a CF before installing Linux?

I recently purchased an 8GB Patriot CF card, like this one . I also have a Syba CF/Sata adapter. I put these together into my mini-itx computer (connected via Sata cables, not USB) and booted an ...
13
votes
1answer
2k views

How to disable autocorrection for sudo [command] in zsh?

I have zsh and oh-my-zsh with default values and can't figure out how to turn off autocorrection for specific commands, that I often use, such as: sudo mc or sudo gem update. The thing is that I have ...
6
votes
2answers
807 views

How to encode huge FLAC files into MP3 and other files like AAC?

My problem is very long recordings, longer than supported by WAV. I'm talking about continuous recordings of around eight hours in length. Now, I do most of my recording using sox into FLAC, which ...
0
votes
0answers
229 views

Excessive resource usage by Xorg

I'm using Debian (testing) on a laptop. I have installed the Nvidia drivers and I'm using an external monitor connected to my laptop. My desktop environment is Xfce4. My problem is that Xorg seems to ...
1
vote
1answer
599 views

How to disable autocompletion for sudo …?

I am new to zsh and I like it a lot, especially with oh-my-zsh plugin. I installed oh-my-zsh with its default values and can't figure out how to turn off autocompletion for specific commands, that I ...
13
votes
1answer
2k views

Is disabling barriers for ext4 safe on a laptop with battery?

The manual page says about the barrier option for ext4: Write barriers enforce proper on-disk ordering of journal commits, making volatile disk write caches safe to use, at some performance ...
2
votes
1answer
341 views

Why do Unix-like systems execute a new process when calling a new function?

Why do Unix-like systems execute a new process when calling a function rather than a dynamic library? Creating a new process is costly in terms of performance when compared to calling a dynamic ...
5
votes
2answers
1k views

How to enable tab completion of wildcards in bash?

How can I enable tab completion in bash for a statement such as vim db/migrate/*crea? Essentially I am looking for tab completion to match the regular expression and present the options. How would ...
1
vote
1answer
2k views

How to increase Xen guest CPU utilization?

My Xen dom0 is a Gentoo x64 pvops. I boot my guest Gentoo, in PV mode, system with the same kernel my dom0 uses. When I emerge in the guest system, building a CPP package, I am experiencing low CPU ...
3
votes
2answers
631 views

Insert multiline text into several files via commandline

I want to insert some code into multiple tex files foo*.tex in a directory, one line after \documentclass{.*}. Note that the files have different document classes so the .* is just a symbolic ...
5
votes
1answer
1k views

Get “date” to understand a timestamp phrase of a different language

My web-scraping scripts have long enjoyed using date -d to read in human-formatted time and date stamps like "March 11, 1999" and convert to any other format I need via the -s parameter. How might I ...
3
votes
2answers
575 views

Compile all tex files in a directory

If I do pdflatex *.tex in a directory, only one tex file is compiled. Which syntax should I use that all *.tex files in the directory are compiled?
1
vote
1answer
972 views

Linux Mint 12 on HP Pavillion DV7 - Wireless is not working

I just installed Linux Mint 12 using mint4win just to test it out. I have a problem with my wireless connection. When I start Mint, it sees the network I wish to join, I select it, enter the correct ...
1
vote
1answer
2k views

How to enable right click on desktop? (Linux Mint 12 LXDE)

I accidentally disabled right clicking on the desktop in LXDE. Does anybody know how to enable it again?
2
votes
0answers
481 views

Understanding different fields of output of sensors

Here's the output of sensors command: thinkpad-isa-0000 Adapter: ISA adapter fan1: 3414 RPM coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +50.0°C (high = +86.0°C, crit = +100.0°C) ...
1
vote
3answers
1k views

Accidentally formatted Ubuntu partition to NTFS. Recover?

I accidentally formatted my Ubuntu partition in Windows 7 (quick format). Is there any way to recover the partition and data?
11
votes
3answers
698 views

Order of redirections

I don't quite understand how the computer reads this command. cat file1 file2 1> file.txt 2>&1 If I understand, 2>&1 simply redirect Standard Error to Standard Output. By that ...
1
vote
1answer
1k views

How can I force a tap/tun interface into the running state?

I am trying to capture packets on a tun interface with libpcap. I am creating the interface with: openvpn --mktun --dev tun0 When the adapter is setup it appears as so when I run ifconfig: tun0 ...
2
votes
0answers
672 views

“Remote function call interrupts” (CAL in /proc interrupts). What is it?

I'm running a test program which generates a large number of threads and asynchronous I/O. I'm seeing very high counts of these interrupts in /proc/interrupts, the program cannot scale beyond a ...
1
vote
1answer
732 views

Escape text for further passing to zenity

I am going to show an error window using zenity: /usr/bin/zenity --error --text="my error message" The error text to pass is obtained as output from another application. This output may contain ...
1
vote
2answers
876 views

Fdisk partition alignment, NAND, not showing specified heads

I ran fdisk with these options, fdisk -H 32 -S 32 /dev/sdc Then I made a new label, and created an aligned first partition. Disk /dev/sdc: 7743 MB, 7743995904 bytes 32 heads, 32 sectors/track, ...
3
votes
1answer
871 views

How to run mutt via ssh without going through an interactive shell

Mutt depends on curses according to this here, my discussion with Michael: @hhh: ssh hhh@server.com mutt <--- what is wrong here? trying to run mutt there... @MichaelMrozek: mutt uses curses, ...
2
votes
1answer
682 views

Can I disable dead keys for a single application?

I am unable to properly use dead key characters ( ' " ^ ) on (k)ubuntu 11.10 and 12.04 in arduino (a processing based application, at least version 0022 and 1.0). Can I disable dead keys for specific ...
1
vote
3answers
912 views

is it safe to backup ext4 partition with partimage , which is detected as a ext3 partition

I use partimage to backup my ext4 partition, but during backup, the partition was detected as an ext3 partition. So I'm wondering if this can cause something bad.
10
votes
5answers
18k views

Can a linux user change their password without knowing the current password?

I'm setting up a few ubuntu boxes, and using opscode's chef as a configuration tool. It would be fairly easy to install public keys for each user on each of these servers, and disable password ...
8
votes
4answers
10k views

Delete files of certain size range

I want to delete files which size is between certain values. For example I have the following list of files: -rw-r--r-- 1 smsc sys 558 Apr 30 13:07 stats.sfe.1.20120430130513.xml.Z -rw-r--r-- 1 smsc ...
5
votes
1answer
521 views

Any tool for inspecting GTK3 elements?

gtkparasite is great for GTK2, but unfortunatelly it can't do GTK3 applications. Is there any alternative?
12
votes
5answers
54k views

How to install tarball packages on a Debian based distribution?

I would like to know how to install .tar.bz and .tar.bz2 packages on Debian, please give me a complete explanation.
3
votes
1answer
994 views

Linux workstations intermittently lose internet connections

About three months ago, a strange phenomenon started happening in our network. Firstly, let me describe the network layout (only the details which I think I'll be allowed to divulge): We have a ...

15 30 50 per page