[Novalug] fluxbox pointers (was: SOLVED: Capslock > ESC)

Ken Kauffman kkauffman at headfog.com
Sun Feb 18 21:09:37 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mmmm..... fluxbox :)  I'm a Gentoo fluxer, so I gotta do it the
non-Ubuntu way, but maybe I can give up some fun help.

I do believe you can remap keys *IN FLUXBOX* (which I didn't think you
mentioned before) by changing the assignments in "~/.fluxbox/keys".  You
got the keys figured out, so it's not big deal.  I'm not 100% that you
can *remap* a core key using that file.

Here are some helpful additions I added to my keys file:

None XF86AudioPlay :ExecCommand /usr/bin/audacious -t
None XF86AudioStop :ExecCommand /usr/bin/audacious -s
None XF86AudioPrev :ExecCommand /usr/bin/audacious -r
None XF86AudioNext :ExecCommand /usr/bin/audacious -f
None XF86AudioLowerVolume :ExecCommand amixer -q set PCM 2- unmute
None XF86AudioMute :ExecCommand amixer -q set Master toggle
None XF86AudioRaiseVolume :ExecCommand amixer -q set PCM 2+ unmute
None XF86Calculater :ExecCommand kcalc
Control Shift S :ExecCommand import -window root `date \
+screenshot-%Y%m%d%H%m%S.png`

If you're looking for "what the hell are my keycodes for my keyboard"
install and run "xev".  The line that has the word "keycode" will give
you what the media key is defined as.

If you want unicode [UTF] support and transparency you will likely want
to switch to urxvt (rxvt-unicode) as your primary terminal.  Install it
and change the line in the ~/.fluxbox/menuconfig to:
MY_TERM='urxvt'

xterm has unicode awareness but the transparency support isn't there
aterm has transparency support but unicode awareness isn't there

Give urxvt a shot and add these lines to your ~/.Xdefaults
Can't remember if you need to re-login for this to take effect, but I
think you do not need to.  Also, make sure the fonts exist listed below.

URxvt*font: -misc-fixed-medium-r-normal--18-120-100-100-c-*-*, \
        -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \
        -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \
        [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \
        xft:Code2000:antialias=false
URxvt*reverseVideo: true
URxvt*saveLines: 3000
URxvt*geometry: 90x25
URxvt*tintColor: #336699
URxvt*shading: 50
URxvt*inheritPixmap: true
URxvt*scrollstyle: plain
URxvt*scrollBar_right: true
URxvt*cursorBlink: true
URxvt*fading: 65
URxvt*termName: rxvt

One last thing.  Don't let bitter (old) people get under your skin -
remember - they have to live with everyday, you only got a few moments
of it! :)

K


luigi12081 at cox.net wrote:
> I should also add that it might have been more elegant simply to add
> 
> xmodmap ~/.Xmodmap
> 
> to your .xinitrc.  Alternatively, you can add the relevant line to
> whatever your wm or display manager uses for a startup script.  Fluxbox,
> for instance, reads ~/.fluxbox/startup on startup, so you can add the
> line there before fluxbox itself executes.  The man page for fluxbox
> will have details for that.
> 
> In the end, added the xmodmap line to ~/.fluxbox/startup.  Do what thou
> wilt.
> 
> -Luigi
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF2QbheG7FWlPCs4ERAvdaAJ4wRkx/H426kgdu7Ao5OpXPKw10OwCfT7bk
Od6vvk3WjwRvE4B7Yqb1N44=
=/pfQ
-----END PGP SIGNATURE-----



More information about the Novalug mailing list