SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
Thanks, that was some help. I figured out if I issue (in terminal) the command
Code:
xmodmap -e 'keycode 133=U2665'
I get the correct character printed when I press the windoze key. However I can't seem to get it to load this value on restart. I edited my ~/.Xmodmap, with no success.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
I use run level 4. Here is my ~/.Xmodmap
Code:
keycode 133=U2665'
and my ~/.xsession
Code:
# This program, based on code found in the gpg-agent man page, is
# presumably licensed under the GPL.
#
# As the effects of this default .xsession on an account using
# (t)csh are not yet known, feedback and/or suggestions are welcomed.
if [ -x "$(which gpg-agent)" ]; then
if test -f $HOME/.gpg-agent-info && kill -0 $(cut -d: -f 2 $HOME/.gpg-agent-info) 2>/dev/null; then
GPG_AGENT_INFO=$(cat $HOME/.gpg-agent-info)
export GPG_AGENT_INFO
else
eval $(gpg-agent --daemon)
echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info
fi
fi
# Note that the new option --write-env-file may be used instead.
# You should always add the following lines to your .bashrc or whatever
# initialization file is used for all shell invocations:
~/.Xmodmap
GPG_TTY=$(tty)
export GPG_TTY
I use LXDE as my desktop environment if that makes a difference.
Are you logging out and back in after you make the changes?
And just to be sure that your mapping is correct, open up xev from a terminal and press the Windows key. You should see a line that says something similar to: "state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES," - if the keycode is not 133, then there's your problem
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
Yes I am logging out and back in. Also the keycode is 133. Issuing the command in terminal gives the output I am trying to achieve, I just can't get it to make it a permanent change.
Thanks for your input.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.