LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07:32 PM   #1
nokangaroo
Member
 
Registered: Nov 2009
Posts: 141

Rep: Reputation: 25
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 12:51 PM.
 
Old 06-17-2011, 12:53 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Thank you for sharing. Off the Zero Reply List.

Kind regards,

Eric
 
  


Reply

Tags
keyboard, lxde, xserver



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 04:04 AM
XKB Won't work with Beryl/Xgl ethics Linux - Software 1 04-20-2007 09:47 AM
Debugger selectively not using symbols in library with symbols Millenniumman Programming 5 03-25-2007 09:44 AM
Debugger selectively not using symbols in library with symbols Millenniumman Programming 1 03-03-2007 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:33 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
Open Source Consulting | Domain Registration