LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-14-2014, 04:48 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,265

Rep: Reputation: 49
Interchanging TAB with ESC in the GUI.


X.Org X Server 1.12.3
Xfce 4.10

Hi: I wrote the following two files:
Code:
semoi@server:/home/semoi2$ cat .Xmodmap
keycode 9 = 65
semoi@server:/home/semoi2$ cat .xinitrc
modmap ~/.Xmodmap
semoi@server:/home/semoi2$
but, starting X he immediately exits with no errors. I presume the error is in .Xmodmap. Could you tell me the syntax to make scan code 9 look like scan code 65?

EDIT: that is: ESC look like 'A'.

Last edited by stf92; 03-14-2014 at 05:02 AM.
 
Old 03-14-2014, 05:13 AM   #2
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 299

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by stf92 View Post
X.Org X Server 1.12.3
Xfce 4.10

Hi: I wrote the following two files:
Code:
semoi@server:/home/semoi2$ cat .Xmodmap
keycode 9 = 65
semoi@server:/home/semoi2$ cat .xinitrc
modmap ~/.Xmodmap
semoi@server:/home/semoi2$
but, starting X he immediately exits with no errors. I presume the error is in .Xmodmap. Could you tell me the syntax to make scan code 9 look like scan code 65?

EDIT: that is: ESC look like 'A'.
The syntax is keycode [ keycode ] = [ keysym ], so in your .Xmodmap you must add this :

Code:
keycode 9 = A
Hope this helps.

PS: I guess there's a typo in your .xinitrc, this should be xmodmap ~/.Xmodmap
--
SeB

Last edited by phenixia2003; 03-14-2014 at 05:16 AM.
 
Old 03-14-2014, 05:32 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,265

Original Poster
Rep: Reputation: 49
That is precisely what I just wrote, but for some reason the X server refuses to start.
 
Old 03-14-2014, 05:53 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,265

Original Poster
Rep: Reputation: 49
I moved the .Xmodmap file to /etc/X11/xinit and everything went well. Now I can change the location of the ESC key, always so unreachable! Though I only use the GUI terminals ocassionaly.
 
  


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
interchanging lines in a textfile in bash script neo2k Linux - Newbie 5 07-28-2009 12:48 PM
[SOLVED] eth1 and eth2 keeps interchanging vharishankar Debian 6 03-08-2006 04:46 AM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 03:06 PM
VI: Alternative to ESC ? ultraman Linux - General 3 12-09-2004 02:45 AM
Redirecting output of tab tab benjaminrtz Linux - General 1 04-28-2003 11:11 AM


All times are GMT -5. The time now is 03:30 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