Can't make xmodmap reassignments

Forum rules
Before you post please read this

Can't make xmodmap reassignments

Postby timinak on Mon Jul 19, 2010 6:26 pm

I'm using Mint Xfce 8. I had this problem on an earlier install. I like mint Xfce so much that after much attempt to resolve,
(see http://forum.xfce.org/index.php?topic=5 ... 1#msg19741)
I did a clean re-install.
Same problem. I can go thru every line in my xmodmap script and execute it by hand as in xmodmap -e 'command here'
and verify that there are no errors. I have tried using ~/.xmodmaprc, ~/.Xmodmap (as I do successfully in ubuntu). I have written
scripts that run at startup, run the scripts from the command line. Nothing works reliably. Reassignments are sometimes partial,
sometimes change from one window to another. I've been using linux for 10 years now and I make a living as programmer/consultant
in linux environments and I never seen key reassignments so screwed up as they are on mint Xfce. And I've used xkeycaps.
(Used it years ago too, didn't think it was still around and don't recommend it, pretty much sucks) with the same results or
lack thereof.
My xmodmap script follows: And I repeat, this same script works flawlessly on ubuntu and slackware
Code: Select all
clear Lock
!remove Lock = Caps_Lock
clear Control
clear mod1
clear mod2
clear mod3
clear mod4
! Set the control key to left of pinkie (replacing caps lock)
keycode 66 = Control_L
add Control = Control_L
! Map the tilde/grave key to left of spacebar to left alt key
keycode 49 = Alt_L
add mod1 = Alt_L
add mod1 = Alt_R
! Alt_L becomes hyper/modifier
keycode 64 = Hyper_L
add mod2 = Hyper_L
! TAB key to Escape Key
keycode 23 = Escape
! super R becomes TAB
keycode 134 = Tab
! Break key becomes caps lock
keycode 127 = Caps_Lock
add Lock = Caps_Lock
! Control key becomes break key
keycode 37 = Break
! ESC key to ~`
keycode 9 = grave asciitilde
! Windoze key to super/modifier
keycode 133 = Super_L
add mod4 = Super_L

Here's the deal. I have a consultancy agreement with an organization to evaluate a linux distro as a candidate for
converting an office in this organization over to linux. I've got about 28 hours from the time of this posting before
linux mint Xfce 8 goes away and is scratched off of my list. I really like this distro and I really want to use it for
my own uses also, but these problems are a deal breaker. So if you can't help, but might think of another forum to post
this, let me know. Or if anyone one in the mint developer community wants to investigate this, I can work with
him/her passed the deadline above.

I'm theorizing that this is hardware-related. I.E. it is an X problem aggravated by the hardware unique to this
machine. It is a Gateway GT54422E about 3 years old with 3 Gigs of ram and nVidia chipset. I have found this machine
to be less stable with all versions of ubuntu and mint that I have tried on it, compared to slackware.

I hope someone has an answer or can point me in the right direction. This distro has much to recommend it.
thanks
tim
Programmer 24 years, web development 15 years.
Linux 10 years
Red Hat, Slackware, ubuntu, kubuntu, mint.
timinak
Level 1
Level 1
 
Posts: 20
Joined: Wed Jun 30, 2010 12:32 pm

Linux Mint is funded by ads and donations.
 

Re: Can't make xmodmap reassignments

Postby meskarune on Thu Mar 03, 2011 6:18 am

I do all my key mapping using xfce's settings manager. just open keyboard settings and type in what you want....
The only limiting factor of the Linux operating system, is its user. -Linus Torvalds
User avatar
meskarune
Level 2
Level 2
 
Posts: 88
Joined: Tue Aug 18, 2009 5:06 pm
Location: USA

Re: Can't make xmodmap reassignments

Postby timinak on Thu Mar 03, 2011 12:59 pm

Wow! A response to my question! After almost 9 months. And the problem is long
solved. However, because you have so kind as to take the time for a response, let
me give you a follow-up:
After giving up on mint 8, I added a video card. (had been using only onboard chip) I
noted more reliability from other ubuntu-ish distros. Slack has always been rock-solid
on this machine.
I'm inclined to think that the onboard chip may have contributed to my problems with
xmodmap. I and my colleagues have noted that ubuntu and derivatives have been
a little more sensitive to hardware than has slackware. The same is true for
the granddaddy debian.
Not too long ago, I installed mint 10, which has a number of improvements,
including hard-wire/static IP network connections working more intuitively.
And xmodmap does do its thing on mint 10. I set up a script in /usr/local/bin
and called it explicitly with full path from the Session and Startup dialogue.

Now that my problem is solved, I don't need the help, but perhaps you can help others who
do not choose to use the command line, internal tools and text files like I do. Unfortunately your
instructions are not easy to follow
I do all my key mapping using xfce's settings manager. just open keyboard settings and type in what you want....

could you please elaborate? When I go to the main menu, choose Settings->Keyboard,
I don't know where to go from there? Are you referring to Settings-Keyboard->Layout?
If so, I couldn't make use of it because the keyboards that I use (a logitech gamer keyboard
and a Happy Hacker keyboard) where not on the keyboard list (at the time on mint 8 ).
Anyway, thanks for the reply. Maybe you have some more to say to help
others. In the meantime, I've checked out both the gnome and xfce desktops for this
distro and have settle on fluxbox. I only launch gnome or XFCE when I have company :),
cause they look nicer, but fluxbox gives me better performance.
cheers
tim
Programmer 24 years, web development 15 years.
Linux 10 years
Red Hat, Slackware, ubuntu, kubuntu, mint.
timinak
Level 1
Level 1
 
Posts: 20
Joined: Wed Jun 30, 2010 12:32 pm


Return to XFCE

Who is online

Users browsing this forum: No registered users and 1 guest