Sunday, October 6, 2013

Automatic screen locking on XFCE/Security Onion

Screen Locking on XFCE

This may be old-school, but I like to have X screen locking. It does not come by default on XFCE and, by extension on Security Onion
To get it working, I did the following:
apt-get install xautolock
Created ~/.config/autostart/runXinitrc.desktop with the following content
[Desktop Entry]
Version=1.0
Name=Script
Type=Application
Exec=/ASOLUTE/PATH/TO/HOME/.xinitrc
Terminal=false
StartupNotify=false
Hidden=false
Created .xinitrc with the following content:
xautolock -time 15 -locker /usr/bin/xflock4 &
And, as an added bonus, for those who want the control key to the left of A where God and Richard Stallman intended it, create ~/.config/autostart/ with the following (change Exec location to suit):
[Desktop Entry]
Version=1.0
Name=Script
Type=Application
Exec=/ASOLUTE/PATH/TO/HOME/bin/fixctrl.sh
Terminal=false
StartupNotify=false
Hidden=false
and finally, create /ASOLUTE/PATH/TO/HOME/bin/fixctrl.sh with:
setxkbmap -option 'ctrl:nocaps'
…yes, there are probably better, simpler ways to do all this…

Thursday, October 3, 2013

Saturday, June 29, 2013

How retro can I go? Sketchnotes: visual thinking on paper.

In the possiblyUsefulFoo category

http://www.core77.com/blog/sketchnotes/sketchnotes_101_the_basics_of_visual_note-taking_19678.asp

I'm already using a 35-year-old text editor (emacs, org-mode) for most of my thinking and
writing.    Why not go even more retro?

Thursday, June 20, 2013

This is more "amusingfoo" than "usefulfoo"

Unix tool tip (@UnixToolTip) tweeted at 9:24 AM on Thu, Jun 20, 2013: Emacs unfill-paragraph and unfill-region http://t.co/Q9zXOJ86X4 (https://twitter.com/UnixToolTip/status/347706446848356353) Get the official Twitter app at https://twitter.com/download

Wednesday, June 19, 2013

Adding new Mac OSX keyboard shortcuts

No default keyboard shortcut for  "maximize window" (Zoom).  Sheesh.

And, of course, Emacs does not honor it even when defined.

http://osxdaily.com/2013/03/22/5-simple-window-management-keyboard-shortcuts-to-improve-workflow-in-mac-os-x/