GNU Screen, Window Manager.

June 26, 2010 at 7:54 am

GUI is for the weak. Meet my window manager, GNU screen:

Small image of GNU screen setup

0. Build screen from source to fix the slowdown when scrolling in a vertical split.

1. This is my .screenrc with keyboard shortcuts and a nifty status bar.  –help?

Control + Up:  previous split screen
Control + Down: next split screen
Control + Left:  previous screen window
Control + Right: next screen window
F1: kill current tab
F2: write paste buffer to file
F3: split horizontally
F4: split vertically
F5: remove single split
F6: remove all splits
F7: urlview pulls URL's from your current output, very useful
F8: new tab
F9: resize split +1 line
F10: resize split -1 line

2. Install screen_ssh.sh so your window title automatically renames to your ssh destination.  To have the title revert after closing your shell follow this.

3. color = readability.  Install color wrapper to colorize your terminal output.

4. Yakuake is the best terminal emulator. Configure these shortcuts:

Shift + Left: previous shell
Shift + Right: next shell
F11: full screen
F12: drop down

Slow madwifi + Debian upgrade

July 30, 2008 at 9:22 pm

Upgrading from a 18.6 to a 26.2 kernel in Debian Sid broke madwifi due to high-latency packet response (up to 25000 ms) and high packet loss (40%.)  Downgrading to madwifi stable (0.9.4) or trunk (07/31/08) resulted in same behavior.

Reverting back to the 18.6 kernel and installing madwifi stable (0.9.4) resulted in proper function.

sshfs instead of ftp

November 16, 2007 at 1:47 am

Got an ssh account on a machine? Don’t waste time retrieving a file, editing it, and uploading it manually.

sshfs user@target:/directory /mnt/point

You can then edit the file locally and, when saved, will do so across the ssh pipe.

.xbindkeysrc KB4000LCD

November 15, 2007 at 11:46 pm

## KB4000LCD Keyboard

# mute button
“amixer sset Master toggle”
m:0×10 + c:160

# stop button
“amarok -s”
m:0×10 + c:164

# forward track button
“amarok -f”
m:0×10 + c:153

# back track button
“amarok -r”
m:0×10 + c:144

# play/pause button
“amarok -t”
m:0×10 + c:162

# volume knob clockwise
“amixer sset Master 1+”
m:0×10 + c:176

# volume knob counterclockwise
“amixer sset Master 1-”
m:0×10 + c:174

# web back
“xvkbd -text “\[Alt_L]\[Left]“”
m:0×10 + c:234

# web forward
“xvkbd -text “\[Alt_L]\[Right]“”
m:0×10 + c:233

# web search
“xvkbd -text “\[F6]“”
m:0×10 + c:122

# web refresh
“xvkbd -text “\[F5]“”
m:0×10 + c:231

# web stop
“xvkbd -text “\[Esc]“”
m:0×10 + c:232

# bottom home
“firefox http://www.google.com/ig”
m:0×10 + c:130

# bottom email
“firefox http://www.gmail.com”
m:0×10 + c:236

# bottom star
“firefox http://www.myspace.com”
m:0×10 + c:230

# bottom media
“vlc”
m:0×10 + c:129

# power
“shutdown -P now”
m:0×10 + c:222

# moon
“shutdown -h now”
m:0×10 + c:223

# sun
“shutdown -r now”
m:0×10 + c:227

# monitor
“xvkbd -text “\[Ctrl_L]\[Alt_L]\[L]“”
m:0×10 + c:198

# calculator
“gcalctool”
m:0×10 + c:161