Category «Linux»

Quick overview over nearby wireless lan hotspots

Here is a useful little command to get a quick overview over nearby hotspots: iw dev wlan0 scan | grep ‘SSID\|signal\|primary channel’ SSID: 5g_station * primary channel: 36 signal: -42.00 dBm SSID: 2g_station * primary channel: 6 signal: -72.00 dBm iw dev wlan0 scan | grep ‘SSID\|signal\|primary channel’ SSID: 5g_station * primary channel: 36 signal: …

vimrc for latex

Ah yes – finally – blog post time again :) Since I am currently writing a lot of latex with vim I thought I backup share my ~/.gvimrc on my blog: 1 2 3 4 5 6 7 8 9 :setlocal spell spelllang=en_us " enable spell checking (Ctrl x + s for suggestions) :set wrap …

Puppet

I started to roll out puppet to manage our servers at work and have to say I am impressed. It really changed the way I think about managing systems and is so much cleaner and easier to understand than the ‘traditional’ way. Just being able to automate often repeated steps like enabling LDAP access or …

Automatic Updates on debian stable

To automate the installations of updates on our servers I am experimenting with the package unattended-updates. Good introductions can be found here: http://syslog.tv/2012/01/28/automaticunattended-updates-on-debian-6-squeeze/ http://mb.walter.silvergeeks.com/rechner/automatische-updates-aus-security-in-debian-stable/ https://help.ubuntu.com/community/AutomaticSecurityUpdates/#Using_the_.22unattended-upgrades.22_package I have to admit that I am a bit uneasy, but in the past year of applying updates by hand nothing ever broke. So I assume that this should not …

Installing the NVIDIA driver for multiple kernels

I know it is totally obvious, but I never tried to figure out how to build the NVIDIA driver for more than one kernel. I always just reinstalled it and assumed it has to be that way. As it turns out I was wrong. With the -k switch you can build the driver for any …

Rebooting via dbus

If you ever wondered how your window manager can shutdown or reboot your computer without asking for a root password, then the most likely answer is dbus. This command will reboot a machine running dbus: dbus-send –print-reply –system –dest=org.freedesktop.Hal \ /org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Reboot You can replace “Reboot” with “Shutdown” to power off the machine completely.

Setting up us_de keyboard layout on Slackware 13.37 and Ubuntu

It’s been some time since I talked about my us_de Keyboard layout (and a long time since I last blogged ;)) so I think it is time to update the installation instructions. You can download the layout here: us_de keyboard layout. To set it up on Slackware do the following: Save the us_de file to …

Firefox middle mouse button on Linux

I noticed that firefox did *something* when clicking the middle mouse button without hovering a link. I finally found out what it did and how to disable it: http://aymanh.com/archives/2006/01/27/firefox-and-middle-click-clipboard-url So setting middlemouse.contentLoadURL to false keeps firefox from trying to load the current clipboard content.

Remapping mouse buttons

Yesterday I got a new mouse. A Logitech G5. Being a nice mouse overall it has a small little flaw: clicking the mouse wheel is not that easy because you can click it in three ways. Down and from left and right. As I frequently use the middle mouse button I was not happy (because …