Quick layout switching [solved]
Quick layout switching [solved]
Because i need it.
I`m a chemist, please be patient.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
Re: Quick layout switching
Which layout? Keyboard? If that is so... what DE/WM are you using? If it's XFCE take a look at this
Or: If it is keyboard layout (generally) you could do next:
(You must be super user to edit those files)
Now under 'driver' section in that file put something like this:
Where xx is your primary and yy your secondary keyboard layout. Save the file and reboot. Now Alt+Shift should change your layout (really) quickly.
Note: if etc/X11/xorg.conf.d is empty copy just the 'Screen' section from /etc/X11/xorg.conf and put it in the new file /etc/X11/xorg.conf.d/50-screen.conf
Good luck.
Or: If it is keyboard layout (generally) you could do next:
Code: Select all
cp /{usr/share,etc}/X11/xorg.conf.d/90-keyboard-layout.conf
nano /etc/X11/xorg.conf.d/90-keyboard-layout.conf
Now under 'driver' section in that file put something like this:
Code: Select all
Option "XkbOptions" "grp:alt_shift_toggle"
Option "XkbLayout" "xx,yy"
Note: if etc/X11/xorg.conf.d is empty copy just the 'Screen' section from /etc/X11/xorg.conf and put it in the new file /etc/X11/xorg.conf.d/50-screen.conf
Good luck.

Ubuntu - African word for: "Slackware is too hard for me!"
Re: Quick layout switching
Yes this is it.Z0K4 wrote:Which layout? Keyboard? If that is so... what DE/WM are you using? If it's XFCE take a look at this
Good luck.
EDIT: How can i check the dependencies?
EDIT2: It seems like it is installed, but somehow i can't ad it to my panel, because i can't find it.
I`m a chemist, please be patient.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
Re: Quick layout switching
Still asking this:
Oracle911 wrote: EDIT2: It seems like it is installed, but somehow i can't ad it to my panel, because i can't find it.
I`m a chemist, please be patient.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
Re: Quick layout switching
I don't have XFCE here, but it should be something like: right click on the panel -> add new plugin.
Re: Quick layout switching
In this case it's probably fine to have taken it directly from that link, but it's a good idea to get into the habit of checking
1) the repos (gslapt/slapt-get)
2) SRC (sourcery/slapt-src)
and only then
3) cautiously looking elsewhere.
If you do it in that order, it will not only be less work, it is also more likely to fit in with your system.
And maybe you should read up a bit on how xfce works
, though it's generally fairly intuitive between right clicking and configuration items on the menu.
1) the repos (gslapt/slapt-get)
Code: Select all
root[vanilla]# slapt-get --search xfce4-xkb-plugin
xfce4-xkb-plugin-0.5.3.3-i486-3gv [inst=no]: xfce4-xkb-plugin (keyboard layout applet for xfce)
and only then
3) cautiously looking elsewhere.
If you do it in that order, it will not only be less work, it is also more likely to fit in with your system.
And maybe you should read up a bit on how xfce works

Re: Quick layout switching
Thank you, you helped a lot, but what is the route to its launch file?
Because i can't find it in /usr/bin.
Because i can't find it in /usr/bin.
I`m a chemist, please be patient.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
Re: Quick layout switching
It's very possible that if you installed it from the repos, it would integrate itself with the desktop without your needing to do anything - so you could try that.
I just did so:
and then looked for it like this:
(where the * is a wildcard, as I expect you know)
I suspect the correct path is:
but the way you installed it may have put it somewhere else, or that may not in fact be the executable. I suggest first try that path and see what happens, then try installing from the repos using slapt-get. I'm not using xfce so can't be sure.
I just did so:
Code: Select all
#slapt-get -i xfce4-xkb-plugin
Code: Select all
find / -name xfce4-xkb-plugin*
I suspect the correct path is:
Code: Select all
/usr/libexec/xfce4/panel-plugins/xfce4-xkb-plugin
Re: Quick layout switching
Tried the path, nothing happened. 

I`m a chemist, please be patient.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
http://img16.imageshack.us/img16/5466/01kh2.jpg
My avatar is that babe who i looking for (in flesh).
I will be the next Steve Jobs and Richard Branson.
Re: Quick layout switching
So try looking for it with find. You may see something similar. If not, your best bet is to install from the repos, and you may not need to do anything (reboot though).