Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
01-10-2007, 11:31 PM
|
#16
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
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 ?
|
|
|
01-10-2007, 11:53 PM
|
#17
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
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?
|
|
|
01-11-2007, 02:15 AM
|
#18
|
Member
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479
Rep:
|
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
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 02:17 AM.
|
|
|
01-11-2007, 07:44 AM
|
#19
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
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
|
|
|
01-11-2007, 02:18 PM
|
#20
|
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
|
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.
|
|
|
01-11-2007, 02:28 PM
|
#21
|
Member
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|