LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-12-2011, 06:59 PM   #1
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Rep: Reputation: 0
Smile change keyboard layout under xfce


i can't change the layout under xfce it was pretty fine under kde, used to change it with ctrl+alt+k ,, and also i modified custom change with ctrl+space ,, but it wont work with xfce

and also i wanna know the the location of the directory like " ~/.kde/Autostart " for xfce.

Last edited by idnotcrae; 08-12-2011 at 07:01 PM.
 
Old 08-12-2011, 10:49 PM   #2
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 25
Most can be found in Settings > Window Manager. You can create application shortcuts though the keyboard utility which is under Settings.
 
Old 08-12-2011, 11:51 PM   #3
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tribulation View Post
Most can be found in Settings > Window Manager. You can create application shortcuts though the keyboard utility which is under Settings.
settings > system settings > shourtcuts and gestures > global keyboard shortcuts

only "KDE keboard key layout switcher" option and i modified it but does not work.
 
Old 08-13-2011, 12:08 AM   #4
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 25
System settings is for KDE. You need to go to the Window Manager option in the Settings menu and choose the keyboard tab.
 
Old 08-13-2011, 12:08 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
From the Xfce forum: "You can try to install xfce4-xkb-plugin and to add it to your panel, it allows you to quickly change the current keyboard layout. The feature to add a keyboard shortcut to change among the layout added in xfce4-settings is planned for 4.10".

Alternatively you could try Xfce Settings -> Keyboard -> Application shortcuts -> Add -> Command: setxkbmap -layout fr (adjust as required) -> OK -> <press the key combination you want>
 
Old 08-13-2011, 12:27 AM   #6
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
Quote:
System settings is for KDE. You need to go to the Window Manager option in the Settings menu and choose the keyboard tab.
i can't find anything related to changing the layout there.

Quote:
Alternatively you could try Xfce Settings -> Keyboard -> Application shortcuts -> Add -> Command: setxkbmap -layout fr (adjust as required) -> OK -> <press the key combination you want>
it works fine , is there a way lemme toggle between the two layouts instead of assigning each one a shortcut !
 
Old 08-13-2011, 12:57 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Quote:
Originally Posted by idnotcrae View Post
is there a way lemme toggle between the two layouts instead of assigning each one a shortcut !
You could have a script that does the toggling and set the application shortcut to call the script. Unfortunately I cannot find a command that reports the current keymap. A workaround would be for the script to write a note of the last map it set which it could read to find out the current map and then set the other.

That is not very robust because, if the file is permanent, it has a 50% chance of indicating the wrong map on initialisation (logon? boot?). Ideally the file would be removed during initialisation. For interactive use that might be "good enough", especially if the script also flashed up a notification of which keyboard it had set.
 
Old 08-13-2011, 01:07 AM   #8
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 25
Quote:
Originally Posted by idnotcrae View Post
i can't find anything related to changing the layout there.
Did you go to Window Manager or Window Manager Tweaks?
 
Old 08-13-2011, 01:43 AM   #9
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
@katkin i think changing kb layout is trivial n i don't need to write a script 4 it anyway and setxkbmap is good , but for additional info , can "scim" help here !!

@tribulation he is a shot of window manager's keyboard tab


i went through it all but i could not find a shortcut for changing layout so i can set, and also i can't add new shortcuts only modify.
Attached Images
File Type: png snapshot1.png (55.5 KB, 10 views)

Last edited by idnotcrae; 08-13-2011 at 01:44 AM.
 
Old 08-13-2011, 01:46 AM   #10
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware64 14.1
Posts: 402

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by idnotcrae View Post
it works fine , is there a way lemme toggle between the two layouts instead of assigning each one a shortcut !
Maybe the xfce4-xkb-plugin can help you there.
 
Old 08-13-2011, 01:49 AM   #11
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 25
Oh I see, I misunderstood what you were looking for, sorry about that.
 
Old 08-13-2011, 02:53 AM   #12
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
Quote:
Maybe the xfce4-xkb-plugin can help you there.
i installed it, but i dont know where it's location to run it ,, how i can add it to the panel !
Quote:
Oh I see, I misunderstood what you were looking for, sorry about that.
it's okay ,, thank u for interest
 
Old 08-13-2011, 11:56 AM   #13
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 25
Quote:
Originally Posted by idnotcrae View Post
i installed it, but i dont know where it's location to run it ,, how i can add it to the panel !
If you've installed it you should be able to right click on the panel, choose to add new item, and find it in the list. That's how it's worked for me, in any case.

Last edited by Tribulation; 08-14-2011 at 01:08 AM.
 
1 members found this post helpful.
Old 08-13-2011, 11:45 PM   #14
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
@tribulation yes it works for me too now
 
Old 08-14-2011, 01:08 AM   #15
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 25
Glad I could provide some answers.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is Keyboard Layout stored under XFCE? cccc Linux - Desktop 3 05-19-2011 12:12 PM
xfce keyboard layout problem sasser Slackware 4 04-12-2010 08:32 AM
XFCE: how to change the keyboard layout? athanatos Slackware 18 09-17-2008 02:37 AM
Keyboard Layout and XFCE rengo.Java Linux - Software 2 09-29-2007 03:10 PM
xfce change keyboard layout tramni1980 Slackware 1 07-12-2007 02:58 PM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration