Joined
·
10,351 Posts
I'm running Fedora 20 and trying to get xmodmap to run at startup/login in order to swap my alt/ctrl keys.
There is apparently a bug regarding this: https://bugzilla.redhat.com/show_bug.cgi?id=873656
But one of the stated solutions is: "Adding an entry in gnome-session-properties to run xmodmap seems to work fine." And it does not. If I log out, my xmodmap settings go to hell until I run the script again manually.
I have tried the following:
Any help is appreciated.
There is apparently a bug regarding this: https://bugzilla.redhat.com/show_bug.cgi?id=873656
But one of the stated solutions is: "Adding an entry in gnome-session-properties to run xmodmap seems to work fine." And it does not. If I log out, my xmodmap settings go to hell until I run the script again manually.
I have tried the following:
- Put the line "xmodmap ~/.Xmodmap" in my .bashrc file
- Put the same line in my .bash_profile file
- Put my Xmodmap in /etc/X11/Xmodmap
- Wrote a script to execute xmodmap on my .Xmodmap file and put that script in my .bashrc
- Added the script as a gnome-session-properties startup command
- Added "xmodmap /home//.Xmodmap" to gnome-session-properties as a startup command
Any help is appreciated.