[gobolinux-users] autostart xbindkeys
Nick Matteo
kundor at kundor.org
Sun May 13 21:54:09 UTC 2007
On 5/13/07, Viola Zoltán <violazoli at gmail.com> wrote:
> Dear Michael, I use XFCE, and probe more variation to autostarting the
> xbindkeys, but not succeeded, used my local .xinitrc in my $HOME. The
> xbindkeys should start AFTER the login, so can use the xbindkeys prog the
> .xbindkeysrc file in my $HOME.
Don't worry, that'll be done properly. (The .xinitrc in your home can
only be found after you log in, after all.)
>
> I probe the following variations to autostart this:
>
> [ -x /bin/startxfce4 ] && exec startxfce4
> [ -x /bin/wmaker ] && exec wmaker
> [ -x /bin/twm ] && {
> xsetroot -solid '#203040' -cursor_name 'left_ptr'
>
> xbindkeys &
>
> exec twm
>
> }
> xmodmap -e "keycode 111 = F13"
This won't work, because when xfce is started, this script stops
executing. ("exec" stops execution of the current script and replaces
it with another!)
Try this:
xmodmap -e "keycode 111 = F13"
xbindkeys &
[ -x /bin/startxfce4 ] && exec startxfce4
[ -x /bin/wmaker ] && exec wmaker
[ -x /bin/twm ] && {
xsetroot -solid '#203040' -cursor_name 'left_ptr'
exec twm
}
Nick
More information about the gobolinux-users
mailing list