Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Another batch of files

  • Loading branch information...
commit 805f2284247998594ca1486c6b7f4cabff92e3d5 1 parent 39f0cc4
@akkana authored
View
283 .Xdefaults
@@ -0,0 +1,283 @@
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!' Akkana's .Xdefaults
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+! (what are these single quotes at the beginning of lines?
+!' They're because someone broke X defaults parsing a few years
+! ago so that it now gets confused by apostrophes in a comment line,
+! and treats them as single quotes
+! This bug is evidently never going to get fixed, so adding another
+! apostrophe is the only way to avoid error messages. Sigh.)
+!
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Xterm colors (e.g. for rxvt)
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+! Green-on-black scheme:
+!XTerm*background: grey30
+!XTerm*foreground: green
+!XTerm*pointerColor: yellow
+!XTerm*colorBD: yellow
+!XTerm*cursorColor: yellow
+!XTerm*colorUL: magenta
+
+! black-on-light-grey scheme:
+XTerm*foreground: black
+! background was grey80
+XTerm*background: #ccdddd
+XTerm*pointerColor: red
+!XTerm*highlightColor: blue
+XTerm*cursorColor: red
+XTerm*colorBD: dark blue
+XTerm*colorUL: purple4
+
+! Try to make titlebar setting work again, as per
+! https://bugs.launchpad.net/ubuntu/+source/xterm/+bug/408496
+! but nothing works ...
+!xterm.utf8Title: false
+!xterm.allowTitleOps: true
+!xterm.title: blah
+
+!! Set up the escape-seq colors so they''ll work okay on light background
+!! even with all the Linux color schemes intended for white-on-black.
+*VT100*color0: black
+*VT100*color1: red3
+!*VT100*color1: firebrick4
+!! color2 was green3
+*VT100*color2: DarkGreen
+!! color3 was yellow3
+*VT100*color3: orange4
+*VT100*color4: blue3
+*VT100*color5: magenta4
+!! color6 was cyan3
+*VT100*color6: cyan4
+*VT100*color7: gray90
+!! color8 was gray50
+*VT100*color8: gray30
+*VT100*color9: red
+!! color10 was green
+*VT100*color10: rgb:00/aa/00
+!! color11 was yellow
+*VT100*color11: dark orange
+*VT100*color12: rgb:5c/5c/ff
+*VT100*color13: magenta
+!! color14 was cyan
+*VT100*color14: dark cyan
+*VT100*color15: white
+
+XTerm*ptyHandshake: true
+XTerm*utmpInhibit: false
+
+! Colors that work in both schemes:
+!XTerm*pointerColorBackground: magenta
+!XTerm*borderColor: green
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Xterm resources
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+XTerm*loginShell: true
+XTerm*saveLines: 3000
+XTerm*scrollBar: false
+XTerm*geometry: 80x60
+XTerm*titeInhibit: true
+XTerm*allowSendEvents: true
+XTerm*locale: UTF-8
+
+! Debian/ubuntu weirdly changed the default to not allow tracking
+! window size:
+XTerm*allowWindowOps: true
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! resources specific to urxvt
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+urxvt*termName: rxvt-unicode-noalt
+
+!' Bold and underline colors -- regular xterm doesn't follow these,
+!! but rxvt does, and perhaps others do as well.
+XTerm*boldColors: true
+XTerm*colorBDMode: true
+XTerm*colorULMode: true
+
+! Tell Xterm that page up really means page up! No shift required.
+!' Try to make the page up/down keys work normally: this doesn't work.
+XTerm.vt100.translations: #override\n\
+ <KeyPress>Prior : scroll-back(1,page)\n\
+ <KeyPress>Next : scroll-forw(1,page)\n
+
+! Make it easier to grab URLs by double-clicking:
+XTerm*charClass:33:48,35-38:48,42-44:48,45-47:48,58:48,61:48,63-64:48,126:48
+! :!%$*+-./@?~ are word chars..
+!' should also work for ~, but it doesn't, for some reason.
+! And the equivalent, list of word separators for rxvt (much easier syntax!):
+XTerm*cutchars: \\'`"´()*;<>[]{|} !' extra quote for broken Xdefaults parser
+!' Here's a good test url:
+! http://bugzilla.mozilla.org/show_bug.cgi?id=40340&user=akkana@netscape.com
+
+! Xterm font agonization:
+!
+! This is my favorite font -- I wish I could get it in a 70 width,
+! since 60 (available in 12-point) is too narrow and 80 is too wide:
+!XTerm*font: -schumacher-clean-bold-r-normal--14-*-*-*-*-*-*-*
+!
+!' Here's one that works on Dapper through Hardy at 1280x1024:
+! not as nice as schumacher clean, but it has some smartquote characters.
+! The 'c' is important -- m and c give very slightly different fonts!
+! XTerm*font: -bitstream-bitstream vera sans mono-bold-r-normal-*-12-*-*-*-c-*-iso10646-1
+! but Ubuntu removed the vera fonts in Karmic!
+!XTerm*font: -*-clean-*-r-*-*-13-*-*-*-c-*-*-*
+XTerm*font: -misc-fixed-bold-r-normal-*-*-130-*-*-c-*-iso8859-15
+!XTerm*font: xft:Inconsolata
+!XTerm*faceName: Inconsolata bold
+!XTerm*faceSize: 10
+!XTerm*faceWeight: bold
+
+!' Haven't been able to get inconsolata to display via the X font mechanism:
+!XTerm*font: -inconsolata-*-*-*-*-*-14-*-*-*-*-*-*
+
+! Separate font for urxvt:
+!' Here's an attempt to use dejavu to get more characters:
+urxvt*font: -dejavu-dejavu sans mono-bold-r-normal-*-*-m-*-*-*-*-iso8859-15
+!' and here's one for breezy at 1024x768 or edgy at 1280x1024:
+!XTerm*font: -misc-fixed-bold-r-normal-*-*-130-*-*-c-*-iso10646-1
+
+!! Multiple fonts in xterm
+*XTerm*VT100*Font2: 5x7
+*XTerm*fontMenu*font2*Label: Tiny
+*XTerm*VT100*Font3: 9x15
+*XTerm*fontMenu*font3*Label: Big
+
+*XTerm*VT100.Translations: #override \n\
+ Hyper<Key>1: set-vt-font(d) \n\
+ Hyper<Key>2: set-vt-font(1) \n\
+ Hyper<Key>3: set-vt-font(2) \n
+
+!*XmScrollBar.width: 10
+
+! Unsuccessful attempts to change the default Tk menu font:
+!tik*Button*fontList: -*-helvetica-bold-i-normal-*-*-140-*-*-p-*-iso8859-2
+!tik*Menu*font: -*-helvetica-bold-i-normal-*-*-140-*-*-p-*-iso8859-2
+!tik*font: -*-helvetica-bold-i-normal-*-*-140-*-*-p-*-iso8859-2
+!tik*fontList: -*-helvetica-bold-i-normal-*-*-140-*-*-p-*-iso8859-2
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+! GNU emacs, epoch, and xemacs resources
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!' This works most places but doesn't exist on edgy:
+!Emacs*font: -bitstream-bitstream vera sans mono-bold-r-normal-*-12-*-*-*-m-*-*
+! But this works even on edgy:
+!emacs*font: -misc-fixed-bold-r-normal-*-*-130-*-*-c-*-iso8859-15
+!Emacs.italic.attributeFont: -schumacher-clean-medium-i-normal-*-*-120-*-*-*-*-*
+!Emacs*font: 7x14
+
+! but not on karmic. Try this instead:
+!Emacs.font: Monospace-9:bold
+! That worked on oneiric but not on pangolin
+!Emacs.font: clean-10:bold
+!Emacs.font: -schumacher-clean-bold-r-normal--13-*-*-*-*-*-*-*
+!emacs.FontBackend: xft
+Emacs23.font: DejaVu Sans Mono-9:bold
+!Emacs23.font: Liberation Mono-10:bold
+
+! Special case for emacs with big fonts:
+bigemacs*font: -*-bitstream vera sans mono-bold-r-normal-*-*-*-*-*-c-*-iso8859-15
+bigemacs*geometry: 80x40+0+0
+
+! colors ...
+! Emacs*foreground: white
+! Emacs*background: dark slate gray
+! Emacs*cursorColor: magenta
+! Emacs*pointerColor: yellow
+! Emacs*pointerColorForeground: white
+!' For some reason, Netscape's emacs and xemacs both think this is
+! an invalid geometry specifier;
+Emacs23*geometry: 80x50
+!!
+Emacs*foreground: black
+Emacs*background: grey80
+! Emacs cursor color now set in the color scheme.
+!Emacs*cursorColor: magenta
+Emacs*pointerColor: blue
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Make xconsole less hard on the eyes
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+xconsole*foreground: black
+xconsole*background: grey75
+xconsole*geometry: 566x173+0-0
+!' This is documented to work, but doesn't:
+!xconsole*scrollHorizontal: XawtextScrollAlways
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! gmemusage
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+Gmemusage*geometry: 550x600
+Gmemusage*color1: yellow
+Gmemusage*color2: magenta
+Gmemusage*color3: lightblue
+
+!! Linux Motif has removed the longstanding editing bindings from text controls
+!! -- put them back!
+*XmTextField.translations: #override \n\
+ ~Meta ~Alt Ctrl<Key>a: beginning-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>b: backward-character() \n\
+ ~Meta ~Alt Ctrl<Key>d: delete-next-character() \n\
+ ~Meta ~Alt Ctrl<Key>e: end-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>f: forward-character() \n\
+ ~Meta ~Alt Ctrl<Key>g: process-cancel() \n\
+ ~Meta ~Alt Ctrl<Key>h: delete-previous-character() \n\
+ ~Meta ~Alt Ctrl<Key>k: delete-to-end-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>u: beginning-of-line() delete-to-end-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>w: delete-previous-word() \n\
+ <Key>Delete: delete-previous-character() \n\
+ <Key>BackSpace: delete-previous-character() \n\
+ Meta ~Ctrl<Key>b: backward-word() \n\
+ Alt ~Ctrl<Key>b: backward-word() \n\
+ Meta ~Ctrl<Key>d: delete-next-word() \n\
+ Alt ~Ctrl<Key>d: delete-next-word() \n\
+ Meta ~Ctrl<Key>f: forward-word() \n\
+ Alt ~Ctrl<Key>f: forward-word() \n\
+ Meta ~Ctrl<Key>w: copy-clipboard() \n\
+ Alt ~Ctrl<Key>w: copy-clipboard() \n\
+ Meta ~Ctrl<Key>Left: backward-word() \n\
+ Alt ~Ctrl<Key>Left: backward-word() \n\
+ Meta ~Ctrl<Key>Right: forward-word() \n\
+ Alt ~Ctrl<Key>Right: forward-word() \n\
+ Meta ~Ctrl<Key>BackSpace: delete-previous-word() \n\
+ Alt ~Ctrl<Key>BackSpace: delete-previous-word() \n\
+ Meta ~Ctrl<Key>Delete: delete-next-word() \n\
+ Alt ~Ctrl<Key>Delete: delete-next-word() \n
+
+*XmText.translations: #override \n\
+ ~Meta ~Alt Ctrl<Key>a: beginning-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>b: backward-character() \n\
+ ~Meta ~Alt Ctrl<Key>d: delete-next-character() \n\
+ ~Meta ~Alt Ctrl<Key>e: end-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>f: forward-character() \n\
+ ~Meta ~Alt Ctrl<Key>g: process-cancel() \n\
+ ~Meta ~Alt Ctrl<Key>h: delete-previous-character() \n\
+ ~Meta ~Alt Ctrl<Key>k: delete-to-end-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>u: beginning-of-line() delete-to-end-of-line() \n\
+ ~Meta ~Alt Ctrl<Key>w: delete-previous-word() \n\
+ <Key>Delete: delete-previous-character() \n\
+ <Key>BackSpace: delete-previous-character() \n\
+ Meta ~Ctrl<Key>b: backward-word() \n\
+ Alt ~Ctrl<Key>b: backward-word() \n\
+ Meta ~Ctrl<Key>d: delete-next-word() \n\
+ Alt ~Ctrl<Key>d: delete-next-word() \n\
+ Meta ~Ctrl<Key>f: forward-word() \n\
+ Alt ~Ctrl<Key>f: forward-word() \n\
+ Meta ~Ctrl<Key>w: copy-clipboard() \n\
+ Alt ~Ctrl<Key>w: copy-clipboard() \n\
+ Meta ~Ctrl<Key>Left: backward-word() \n\
+ Alt ~Ctrl<Key>Left: backward-word() \n\
+ Meta ~Ctrl<Key>Right: forward-word() \n\
+ Alt ~Ctrl<Key>Right: forward-word() \n\
+ Meta ~Ctrl<Key>BackSpace: delete-previous-word() \n\
+ Alt ~Ctrl<Key>BackSpace: delete-previous-word() \n\
+ Meta ~Ctrl<Key>Delete: delete-next-word() \n\
+ Alt ~Ctrl<Key>Delete: delete-next-word() \n\
+ ~Meta ~Alt Ctrl<Key>n: next-line() \n\
+ ~Meta ~Alt Ctrl<Key>p: previous-line() \n\
+ ~Meta ~Alt Ctrl<Key>v: next-page() \n\
+ Meta ~Ctrl<Key>v: previous-page() \n\
+ Alt ~Ctrl<Key>v: previous-page() \n
+
View
21 .gitconfig
@@ -0,0 +1,21 @@
+[user]
+ name = Akkana Peck
+ email = akkana@shallowsky.com
+[color]
+ ui = auto
+[core]
+ pager = less -FRSX
+[color "diff"]
+ frag = cyan white
+ new = magenta
+ commit = blue
+[color "branch"]
+ current = magenta
+[color "status"]
+ updated = magenta
+[github]
+ token = 24831be70f7bd27fec0301d305723ae5
+[diff]
+ tool = meld
+[difftool]
+ prompt = false
View
6 .gtkrc-2.0
@@ -0,0 +1,6 @@
+# -- THEME AUTO-WRITTEN DO NOT EDIT
+include "/usr/share/themes/Xfce-winter/gtk-2.0/gtkrc"
+
+include "/home/akkana/.gtkrc.mine"
+
+# -- THEME AUTO-WRITTEN DO NOT EDIT
View
19 .gtkrc.mine
@@ -0,0 +1,19 @@
+gtk-can-change-accels = 1
+
+gtk-key-theme-name = "Emacs"
+gtk-entry-select-on-focus = 0
+
+# bind "<ctrl>h" { "delete-from-cursor" (chars, -1) }
+# bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) }
+# bind "<ctrl>u" { "delete-from-cursor" (paragraphs, -1) }
+
+# The gtk popdown delay only works if the mouse is in the triangle
+# between the menu item and its submenu.
+gtk-menu-popdown-delay = 9000
+gtk-menu-popup-delay = 9000
+
+gtk-cursor-blink = 0
+
+# gtk-menu-font-name = "sans bold italic 8"
+
+#gtk-icon-sizes = "gtk-large-toolbar=24,24:panel-menu=20,20:gtk-menu=14,14:gtk-button=1,1"
View
72 .mailcap
@@ -0,0 +1,72 @@
+#
+# Set up a handler for html for mutt to use.
+# The effect of this is that mutt auto-displays using lynx,
+# but you can show each attachment in Netscape via the attachment screen.
+# Unfortunately, it still doesn't pick up attached images.
+#text/html; mimehelper 5 /usr/local/kitfox/firefox -remote 'openURL(file://%s)'; nametemplate=%s.html
+text/html; mimehelper 5 firefox 'file://%s'; nametemplate=%s.html
+#text/html; w3m -T text/html -s -graph -dump %s; copiousoutput
+# text/html; elinks -dump %s; copiousoutput
+# text/html; links -dump %s; nametemplate=%s.html; copiousoutput
+text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
+# text/html; lynx -cfg=~/.lynxrc -nolist -dump %s; nametemplate=%s.html; copiousoutput
+
+# text/html; netscape -remote openURL(file://%s)
+
+# Use pho for images
+image/*; mimehelper 2 pho -P %s; x-mozilla-flags=internal
+
+# Some simple types
+
+# Stuff from mp3.com
+#audio/x-mpegurl; /usr/bin/xmms %s
+
+# trn is always pestering me about what I want to do with encoded signatures.
+# Here's the answer:
+application/x-pkcs7-signature data; cat %s >/dev/null
+
+# Basic audio
+audio/wav;/usr/bin/play "%u"
+audio/x-wav;/usr/bin/play "%u"
+audio/x-pn-wav;/usr/bin/play "%u"
+audio/basic;/home/akkana/RealPlayer8/realplay "%u"
+audio/x-pn-au;/home/akkana/RealPlayer8/realplay "%u"
+audio/aiff;/usr/bin/play "%u"
+audio/x-aiff;/usr/bin/play "%u"
+audio/x-pn-aiff;/usr/bin/play "%u"
+#audio/x-mp3; /usr/bin/xmms %s
+
+# Override ubuntu's occasional odd desire to use evince instead of xpdf
+# But, sigh, in natty ubuntu has broken xpdf and epdfview so they
+# crash on startup. There's no alternative to evince now. :-(
+# But evince isn't usable because it comes up too small and the
+# doc is gone before we can resize. Sigh!
+# mupdf -r 100 works pretty well, so use a script that does that.
+application/pdf; mutt_bgrun /home/akkana/bin/pdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
+
+#application/x-pdf; /usr/local/bin/xpdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
+#application/postscript; /usr/local/bin/xpdf '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
+
+# Realplayer stuff
+audio/x-pn-realaudio;/home/akkana/RealPlayer8/realplay "%u"
+audio/vnd.rn-realaudio;/home/akkana/RealPlayer8/realplay "%u"
+application/smil;/home/akkana/RealPlayer8/realplay "%u"
+text/vnd.rn-realtext;/home/akkana/RealPlayer8/realplay "%u"
+video/vnd.rn-realvideo;/home/akkana/RealPlayer8/realplay "%u"
+image/vnd.rn-realflash;/home/akkana/RealPlayer8/realplay "%u"
+# application/x-shockwave-flash2-preview;/home/akkana/RealPlayer8/realplay "%u"
+application/sdp;/home/akkana/RealPlayer8/realplay "%u"
+application/x-sdp;/home/akkana/RealPlayer8/realplay "%u"
+application/vnd.rn-realmedia;/home/akkana/RealPlayer8/realplay "%u"
+image/vnd.rn-realpix;/home/akkana/RealPlayer8/realplay "%u"
+audio/x-pn-windows-acm;/home/akkana/RealPlayer8/realplay "%u"
+
+# Java Web Start
+application/x-java-jnlp-file; /home/akkana/Tarballs/j2sdk1.4.2_06/jre/javaws/javaws %s
+
+application/msword; mimehelper 2 catdoc %s; copiousoutput
+application/msword; mimehelper 5 abiword %s
+
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; mimehelper 2 catdoc %s; copiousoutput
+
+application/vnd.ms-excel; mimehelper 5 gnumeric %s
View
137 .mozilla/user.js
@@ -0,0 +1,137 @@
+//
+// Akkana's personal prefs which I don't want overwritten.
+//
+
+// DNS prefetch, if I understand it correctly, prefetches the DNS
+// for every link on the page every few minutes (because the cache
+// expires that fast).
+// https://bugzilla.mozilla.org/show_bug.cgi?id=453403
+user_pref("network.dns.disablePrefetch", true);
+
+// Silly Ubuntu turns off middleclick load!
+user_pref("middlemouse.contentLoadURL", true);
+
+// Force frame resizability
+user_pref("layout.frames.force_resizability", true);
+
+// Allow dragging into the middle of a text block, like a link:
+user_pref("browser.drag_out_of_frame_style", 0);
+
+// Set cursive and fantasy fonts
+user_pref("font.name.cursive.x-western", "Allegro");
+user_pref("font.name.fantasy.x-western", "Dragonwick");
+
+// Make backspace not go back to the previous page.
+// See bug 219203 and bug 262905
+user_pref("browser.backspace_action", 2);
+
+// Override the default user-agent string:
+//user_pref("general.useragent.venfor", "Firefox/Kitfox");
+//user_pref("general.useragent.override", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0; hi, Mom) Gecko/20020604");
+//user_pref("general.useragent.override", "Mozilla/5.0 (Linux: Penguins Rule!) Gecko blah blah");
+
+// Use google for keyword searches:
+//user_pref("keyword.URL", "http://www.google.com/search?q=");
+// but insist that it show only pages containing all the search terms
+// (why isn't that the default?):
+// http://www.googleguide.com/advanced_operators.html#allintext
+// Adding complete=0 seems to turn off Instant.
+user_pref("keyword.URL", "http://www.google.com/search?complete=0&q=allintext%3A+");
+// Try providers other than google since it's running horrible UI
+// experiments on me:
+//user_pref("keyword.URL", "http://duckduckgo.com/html/?q=");
+
+// Show JS warnings:
+// Turned off for Firefox 3.5 because its JS engine has bugs
+// and reports strict warnings for things that aren't wrong.
+//user_pref("javascript.options.strict", true);
+
+// Don't normally warn on close; force it here so that
+// I can occasionally turn it on when I need it:
+user_pref("browser.tabs.warnOnClose", false);
+
+// Image animation: normal, once, none
+user_pref("image.animation_mode", "none");
+
+// Turn off the obnoxious download manager:
+//user_pref(("browser.downloadmanager.behavior", 1);
+
+// Disable blinking text:
+user_pref("browser.blink_allowed", false);
+
+// Enable printing from print preview, so you don't have to do
+// page setup, dismiss, print, page setup, dismiss to get one
+// single landscape mode printout.
+// However, it really doesn't work anyway, so ...
+//user_pref("print.whileInPrintPreview", true);
+
+// Always start up with printing set to portrait.
+// That way, I don't have to remember to run Print Setup again
+// every time I want to print one page in landscape mode.
+// Unfortunately, you have to do this for every printer that's registered.
+// To find out which orientation is which for each printer,
+// grep orientation user.js | grep name
+// The first looks like a default, but is ignored since it's
+// overridden by all the printer-specific ones.
+user_pref("print.print_orientation", 0);
+user_pref("print.printer_Brother.print_orientation", 0);
+user_pref("print.printer_HP_Deskjet_F4280.print_orientation", 0);
+//user_pref("print.printer_PostScript/default.print_orientation", 0);
+user_pref("print.printer_Print_to_File.print_orientation", 0);
+user_pref("print.print_to_filename", "/home/akkana/moz.pdf");
+
+// Disable the blinking cursor too, while we're at it:
+// unfortunately this makes the cursor invisible a lot of the time too.
+user_pref("ui.caretBlinkTime", 0);
+
+// Set the submenu delay to be really long.
+// This means that menus will stay posted until I click somewhere,
+// making them behave more like Motif menus instead of un-posting
+// whenever my mouse strays one pixel off the menu or cuts
+// across the border between a menu and a submenu:
+// This worked in the suite but not in Firefox.
+//user_pref("ui.submenuDelay", 7000);
+
+// Browser background color, because the colorpicker is too coarse:
+user_pref("browser.display.background_color", "#EEFFFF");
+
+user_pref("browser.display.use_system_colors", false);
+
+// Set select background for text widgets:
+// Unfortunately this inexplicably sets firefox 3's
+// urlbar selections to white on white.
+//user_pref("ui.textSelectBackground", "green");
+// Not clear when widgetSelectBackground ever gets called: let's find out.
+//user_pref("ui.widgetSelectBackground", "orange");
+
+// Don't prefetch, what a waste of bandwidth
+user_pref("network.prefetch-next", false);
+
+// Guard against a security bug:
+// http://seclists.org/fulldisclosure/2007/Feb/0340.html
+user_pref("capability.policy.default.Location.hostname.set", "noAccess");
+
+// Make firefox2 tab preferences more livable:
+user_pref("browser.tabs.closeButtons", 3);
+user_pref("browser.tabs.tabMinWidth", 1);
+user_pref("browser.tabs.selectOwnerOnClose", false);
+
+// Keep the browser from stealing focus when it opens a new tab:
+// http://labnol.blogspot.com/2006/07/secret-firefox-trick-prevent-browser.html
+user_pref("browser.tabs.loadDivertedInBackground", true);
+
+// Turn off the whizzy firefox 3 drag images that are so large and
+// opaque that they make it impossible to see where you're dropping
+user_pref("nglayout.enable_drag_images", false);
+
+// Custom newline handling:
+// 0. Paste newlines intact (old linux default)
+// 1. Paste up to the first newline
+// 2. Replace newlines with spaces (ff3 default, old win default)
+// 3. Strip newlines
+// 4. Replace with commas
+// 5. Strip newlines and surrounding whitespace
+user_pref("editor.singleLine.pasteNewlines", 2);
+
+// Tab to focus only to text fields, not links etc.:
+user_pref("accessibility.tabfocus", 1);
View
16 .ssh/config
@@ -0,0 +1,16 @@
+Host *
+ HashKnownHosts no
+ Protocol 2
+ ServerAliveInterval 60
+
+# Finally! A hack to get around stupid non-turnoffable known hosts checking.
+# http://linuxcommando.blogspot.com/2008/10/how-to-disable-ssh-host-key-checking.html
+Host pi
+ User pi
+ StrictHostKeyChecking no
+ UserKnownHostsFile /dev/null
+
+# This sounds nice but doesn't work on older ssh versions:
+Host 192.168.1.*
+ StrictHostKeyChecking no
+ UserKnownHostsFile /dev/null
View
69 .xinitrc
@@ -0,0 +1,69 @@
+# .xinitrc for Openbox
+
+# Figure out whether we're in a docking station or not, and adjust
+# the display accordingly.
+# http://www.linuxquestions.org/questions/slackware-14/automating-xorg-randr-turning-laptop-screen-off-if-external-monitor-is-connected-779386/
+# http://it-tactics.blogspot.com/2010/08/ubuntu-1004-with-docking-station.html
+
+# Check whether the external monitor is connected: returns 0 on success
+hostname=$(hostname)
+if [ $hostname=hesiodus ]; then
+ # Make the F1 key another Escape
+ xmodmap -e 'keycode 67 = Escape'
+
+ xrandr | grep HDMI | grep " connected "
+ if [ $? -eq 0 ]; then
+ xrandr --output VGA1 --off
+ xrandr --output LVDS1 --off
+ xrandr --output HDMI1 --mode 1680x1050
+ geom=80x60-0-0
+ else
+ xrandr | grep VGA | grep " connected "
+ if [ $? -eq 0 ]; then
+ xrandr --output HDMI1 --off
+ xrandr --output LVDS1 --off
+ xrandr --output VGA1 --mode 1680x1050
+ geom=80x60-0-0
+ else
+ # Fall back on the built-in laptop display, LVDS1
+ # and trust it (fingers crossed!) to get the resolution right.
+ xrandr --output VGA1 --off
+ xrandr --output HDMI1 --off
+# xrandr --output LVDS1 --mode 1280x800
+ xrandr --output LVDS1
+ geom=80x51+0-0
+ fi
+ fi
+else
+ geom=80x60-0-0
+fi
+
+# xemacs -geometry 80x66+146-0 &
+#
+# Spare terminal: start it early, so it won't end up with focus.
+#(LANG=C rxvt -geometry 80x39-0+0) &
+
+# For window managers that don't have image support:
+#(xsetbg -fullscreen -border black `find -L $HOME/Backgrounds -name "*.*" | randomline`) &
+#(hsetroot -center `find -L $HOME/Backgrounds -name "*.*" | randomline`) &
+randombg &
+
+#xrdb -l .Xdefaults
+
+#xmodmap .Xmodmap
+#xhost +moon &
+
+# Use a UTF-8 terminal for mail.
+# Put it last so it gets focus.
+(LANG=en_US.UTF-8 xterm -geometry $geom) &
+
+# Disable touchpad types when typing:
+# Too annoying!
+#syndaemon -d -i 2
+
+# More reliable way. man synaptics for the list of available options:
+if [ $hostname=io ]; then
+ synclient TapButton1=0 HorizEdgeScroll=1
+fi
+
+openbox
Please sign in to comment.
Something went wrong with that request. Please try again.