My Startup Scripts won't work

Nils Kassube kassube at gmx.net
Mon Sep 14 08:03:32 UTC 2009


n3mo wrote:
>  I know and I put "exit 0" at the end ot the file. Something in that
> Ubuntu doesn't work like it should.

I just read your original mail again and I see that the main command in 
your script is this:

setxkbmap -layout  'us,bg(bp)' -option grp:alt_shift_toggle

The problem is that the setxkbmap command doesn't know the display for 
the modification. I think it can only work if it is started from within 
the X session that should have the keymap modified. I would suggest you 
put the command in a script which is started after login. Sorry, I can't 
tell you how to do it because I don't use Gnome.


Nils





More information about the ubuntu-users mailing list