LinuxQuestions.org
Visit Jeremy's Blog.
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 01-10-2007, 10:31 PM   #16
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46

whre shud I put the xmodmap?
in ~/.Xmodmap or /etc/X11/xinit/.Xmodmap?

cos thats whr I found README.Xmodmap. There was no ~/.Xmodmap.

and in it what shoud I write?
Quote:
keycode <no. found by xev> = F13
IS that ok ?
 
Old 01-10-2007, 10:53 PM   #17
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
I did xev and output for the two volume keys is:

Quote:
KeyPress event, serial 31, synthetic NO, window 0x2800001,
root 0x4d, subw 0x0, time 162644, (1035,401), root1039,439),
state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2800001,
root 0x4d, subw 0x0, time 162825, (1035,401), root1039,439),
state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
And ...

Quote:
KeyPress event, serial 31, synthetic NO, window 0x2800001,
root 0x4d, subw 0x0, time 186736, (454,292), root458,330),
state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2800001,
root 0x4d, subw 0x0, time 186873, (454,292), root458,330),
state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
Then in .Xmodmap (at both the locations I gave above I put :

Quote:
keycode 174 = F20
keycode 176 = F21
I restarted X server. I thght now KDE will recognise the key as F20 and F21. But this is not happening. It doesn't recognise it when I go to the "Set Shortcut window". Am I doin it right?
 
Old 01-11-2007, 01:15 AM   #18
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
Quote:
Originally Posted by duryodhan
whre shud I put the xmodmap?
in ~/.Xmodmap or /etc/X11/xinit/.Xmodmap?

cos thats whr I found README.Xmodmap. There was no ~/.Xmodmap.

and in it what shoud I write?


IS that ok ?
~./Xmodmap is for user settings (if I remember correctly, it wasn't there for me either; I just created it) and the other I believe is for system wide settings.

Sorry, I forgot to mention that you need to give the command
Code:
xmodmap ~/.Xmodmap
with the proper path to your .Xmodmap of course. If this works, then you probably want to add that command to a startup script. I have mine in ~/.kde/Autostart/start.sh.

Last edited by mattydee; 01-11-2007 at 01:17 AM.
 
Old 01-11-2007, 06:44 AM   #19
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
hey it worked!! thanks a lot!

And here I expected a few hours of hardwork....
I guess I haven't quite gotten used to Slackware
 
Old 01-11-2007, 01:18 PM   #20
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by H_TeXMeX_H
Well, let's see I just posted it in another thread:

put slackware CD #2 or DVD into your drive and:

Code:
su
<Enter your root password>
mount /dev/cdrom /mnt/tmp
cd /mnt/tmp/extra/linux-2.6.17.13
installpkg kernel-generic-2.6.17.13-i486-1.tgz
installpkg kernel-modules-2.6.17.13-i486-1.tgz
installpkg kernel-source-2.6.17.13-noarch-1.tgz
cd
umount /dev/cdrom
eject /dev/cdrom
I feel some people may have been misled by this post ... sorry if you have been. So here's a small correction:

This is NOT for installing the huge26.s kernel ! If you want the huge26.s then you'll just have to copy in the files from the /kernels/huge26.s directory to /boot (saving the old file and renaming appropriately such as bzimage to vmlinuz)

Unlike the huge26.s kernel, the generic kernel does NOT have built-in support for filesystems other than ext2 meaning that you can only boot a kernel on an ext2 partition.
 
Old 01-11-2007, 01:28 PM   #21
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
Quote:
Originally Posted by duryodhan
hey it worked!! thanks a lot!

And here I expected a few hours of hardwork....
I guess I haven't quite gotten used to Slackware
Cool!

Glad I could help.
 
  


Reply

Tags
logitech, mouse, slackware


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
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
logitech webcam messenger success story? Maverick1182 Mandriva 6 07-03-2006 06:55 AM
strange mouse behaviour with logitech pilot mouse in debian 3.0r2 g-string 3 Debian 0 11-12-2004 06:27 AM
Scroll mouse success! rooman Linux - Hardware 3 08-01-2003 06:41 AM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
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