[SOLVED] I think I broke my .Xmodmap

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

[SOLVED] I think I broke my .Xmodmap

Post by Tim CowChip »

My .xinitrc

Code: Select all

#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# start some nice programs
exec ck-launch-session dbus-launch 
I have dead "Up" & "PgUp" keys.
My .Xmodmap

Code: Select all

keycode  95 = KP_Prior KP_3 KP_Prior KP_3 KP_Prior KP_3 KP_Prior KP_3
keycode  96 = KP_Up KP_2 KP_Up KP_2 KP_Up KP_2 KP_Up KP_2
It used to work for me when I used Arch and Salix XFCE:
https://bbs.archlinux.org/viewtopic.php?id=129378

EDIT

I forgot to add

Code: Select all

if [ -f $HOME/.Xmodmap ]; then
    /usr/bin/xmodmap $HOME/.Xmodmap
fi
to my .xinitrc

It works again. :oops:
Last edited by Tim CowChip on 1. Aug 2012, 20:23, edited 8 times in total.
ImageImage
User avatar
gapan
Salix Wizard
Posts: 6244
Joined: 6. Jun 2009, 17:40

Re: I think I broke my .Xmodmap

Post by gapan »

Can you please mark your thread as solved? Just edit the title of your first post to do it.
Image
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: I think I broke my .Xmodmap

Post by Tim CowChip »

gapan wrote:Can you please mark your thread as solved? Just edit the title of your first post to do it.
I was wondering if their could be a "delete post" option when editing. I probably would have left this post up and marked solved, because it could help others solve a similar isuue.

There are, however, some posts made in haste only to be "self-solved" like mine. Some of these are just frivolous http://www.salixos.org/forum/viewtopic.php?f=16&t=3753 and would probably be removed by the author if it was possible.
ImageImage
User avatar
gapan
Salix Wizard
Posts: 6244
Joined: 6. Jun 2009, 17:40

Re: [SOLVED] I think I broke my .Xmodmap

Post by gapan »

No, there is no reason for any posts to be deleted. Not unless they are spam.
Image
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: [SOLVED] I think I broke my .Xmodmap

Post by Tim CowChip »

I just thought we should be allowed to change our mind about posting anything at all and or avoid the embarrassment at asking an inane question?

BTW, why didn't you tell the author of this post to mark it [SOLVED]?
ImageImage
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: [SOLVED] I think I broke my .Xmodmap

Post by Shador »

No, I don't think that there should be an option to delete posts. If everybody could do delete posts (even just his own) a lot of unwanted and possibly malicious stuff could happen.
Posting something is no different from shouting it out in a public place. Except in some cases nobody would stop you from doing it (e.g. spam). In all other cases you gotta live with it.
Just because it's in the internet doesn't mean you don't need to think before speaking up! One should be aware that mindless action focused publising could make one look like an idiot or at least a person not worth spending time on. The internet must not change that. Actually that thoughtless posting is a giant waste of time for everybody -- readers and author.


You've been asked here to mark it as solved not because everybody needs to see the state of the topic from its headline. Instead in your case readers would open and read your post just to notice that its solved anyway. A big solved in the title effectively prevents that. There's no rule for the use of solved here.
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: [SOLVED] I think I broke my .Xmodmap

Post by Tim CowChip »

Shador wrote:You've been asked here to mark it as solved not because everybody needs to see the state of the topic from its headline. Instead in your case readers would open and read your post just to notice that its solved anyway. A big solved in the title effectively prevents that. There's no rule for the use of solved here.
I think I should mark it his way [Eureka!], so that people will know that I just found my own mistake rather than someone else's detective work cracking the case. That way we can still learn from post marked [SOLVED] and not waste time searching for answers in posts marked [Eureka!] or [DOH!]
ImageImage
User avatar
gapan
Salix Wizard
Posts: 6244
Joined: 6. Jun 2009, 17:40

Re: [Eureka!] I think I broke my .Xmodmap

Post by gapan »

Please mark this thread as solved.
Image
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: [Eureka!] I think I broke my .Xmodmap

Post by Tim CowChip »

gapan wrote:Please mark this thread as solved.
Why? It wasn't solved. It was remembered, not solved. If I can't mount my external optical drive, is it solved when realize I forgot to plug in the USB cable?

No one should waste their time reading it unless testimony to my forgetfulness amuses them.

EDIT

Its funny that forgot to mark it in the first place, which is where this thread went off on a "topic marking policy" tangent. In that sense this thread is still not solved, or is it?
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: [THANKS TO GAPAN FOR SOLVING] I think I broke my .Xmodma

Post by Tim CowChip »

bump
ImageImage
Post Reply