Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard layout manager
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kroyeren
n00b
n00b


Joined: 23 Jan 2007
Posts: 9
Location: Copenhagen, Denmark

PostPosted: Sat Feb 13, 2010 1:01 pm    Post subject: Keyboard layout manager Reply with quote

Hi there.

switching from gnome to fluxbox, i'm looking for a nice keyboard layout manager. something like gnome-keyboard-properties. What i basically need is a shortcut to switch from my danish keyboard layout to an english one, that i'm using for programming.

I've tried to call gnome-keyboard-properties --apply or --init-session-settings from the .fluxbox/startup file, assuming that (1 of) those options would make the keyboard-manager quietly apply it's settings and exit again, but it doesn't. It launches the settings UI, and stops the rest of fluxbox-stuff from loading.
Calling 1 of those commands from er terminal gives:
Code:

kroyeren@Illana ~ $ gnome-keyboard-properties --apply

(gnome-keyboard-properties:8079): GLib-GObject-CRITICAL **: g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed

(gnome-keyboard-properties:8079): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed

It launches the interface for adding keyboards etc, but doesn't apply settings and exit.

Using gnome as WM gives same result (but obviously gnome uses it by default...)

Am i missing something, or do i really just want to use another tool for managing keyboard layouts?
Back to top
View user's profile Send private message
patrikas
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2009
Posts: 106

PostPosted: Sat Feb 13, 2010 3:15 pm    Post subject: Reply with quote

You could try something simpler, like x11-apps/setxkbmap, and edit your user menu file:

Code:

[submenu] (Keyboards)
[exec] (en) {setxkbmap en}
[exec] (fr) {setxkbmap fr}
[end]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum