LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 06-12-2011, 08:32 PM   #1
nokangaroo
Member
 
Registered: Nov 2009
Posts: 140

Rep: Reputation: 23
Preserve modified keymap across reboot in LXDE/Openbox


This post was originally about xkb symbols, but I altered the title to fit the solution I found. I followed the instructions on

http://madduck.net/docs/extending-xkb/

to modify my keyboard map, which unlike xmodmap actually works.

xkbcomp $DISPLAY xkb.dump
edit xkb.dump to fit the new layout
(In my case I swapped the Ctrl and Win keys)
xkbcomp xkb.dump.modified $DISPLAY (may be necessary to run this twice)
log out and back in

To preserve this across a reboot, I created a file $HOME/.config/lxsession/Lubuntu/autostart (again, many thanks to the Archwiki people), which reads

@xkbcomp xkb.dump.modified $DISPLAY

Last edited by nokangaroo; 06-13-2011 at 01:51 PM.
 
Old 06-17-2011, 01:53 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

Thank you for sharing. Off the Zero Reply List.

Kind regards,

Eric
 
  


Reply

Tags
keyboard, lxde, xserver


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
'nm' lists all symbols - including static library symbols painulyarun Programming 4 04-06-2010 05:04 AM
XKB Won't work with Beryl/Xgl ethics Linux - Software 1 04-20-2007 10:47 AM
Debugger selectively not using symbols in library with symbols Millenniumman Programming 5 03-25-2007 10:44 AM
Debugger selectively not using symbols in library with symbols Millenniumman Programming 1 03-03-2007 08:46 PM


All times are GMT -5. The time now is 12:57 PM.

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