LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2016, 09:39 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,071

Rep: Reputation: 59
xmodmap: assigning ctrl+A to Home.


Hi: In order to make ctrl+A to echo what normally the Home key does, which is my goal, using xmodmap, I would first have to make ctrl the Mode_switch key, that is

keycode 105 = Mode_switch Mode_switch

The problem however is that the key then won't work as the normal ctrl key anymore. Is there a means to attain the behavior described above?
 
Old 03-26-2016, 02:12 PM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Xubuntu
Posts: 5,445

Rep: Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897
Do you have a Super (aka Windows) Key? That's the one to use for making your own shortcuts. For Home, End, Up, and Down I'd suggest Super and the cursor keys.

If you also lack the Super key, do you have something useless that you could redefine: Scroll Lock, Pause, Menu? I mentioned the evdev file in my reply to your other post, and gave the wrong address for Slackware: I think it's in /etc/X11/xkb/. You can alter things there, so changing
<LWIN> = 133;
to
<LWIN> = 105;
and commenting out
<MENU> = 105;
would make the Menu key into a Super key.
 
  


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
xmodmap and key combinations (<Ctrl+C>) ? Xeratul Linux - General 2 02-03-2014 02:03 AM
How to map "Ctrl+1" to another key via xmodmap? wgf4242 Linux - Newbie 1 06-24-2010 10:23 AM
Mapping CTRL+Click as right click using xmodmap in Modular X.Org 7 on Gentoo amitron Linux - General 0 10-12-2006 12:25 PM
Assigning IP numbers on home network moonmoth Linux - Newbie 3 11-18-2004 12:28 PM
Xmodmap disabled ctrl+alt+*** vexer Linux - Software 7 07-21-2003 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration