LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-28-2004, 02:36 PM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
101 tiny bugs and questions...


although i setup the keymap correctly in the install (i need qwerty uk keymap)
and dureing setup the keys worked perfect.. after install, i seem to be using an american kermap.

i found a rc.keymap file, and find it runs the command loadkeys uk.map
this is correct, i thought maybe this script isnt running, so i ran the command manually.

loadkeys uk.map
the program then reports "Loading /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz"
yep, this is corrtect. however... im STILL using the american keymap !

keys like "@>\| are in the wrong place ! this is very annoying.
how do i fix this ?


ALSO.. when i 'su -' in a command line, and enter the root password, i am unable to launch graphical porgrams. i get the error "unable to connect to X"
why ?


since i installed slackware 10 a few hours ago, i have re-compiled the kernel, and installed new nvidia drivers... hwoever thiese poblems were still here before, so it has nothing to do with that.

any help ?

edit:
ohh, and how do you turn the mouse wheel functionality on ?

Last edited by qwijibow; 06-28-2004 at 02:59 PM.
 
Old 06-28-2004, 03:04 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: 101 tiny bugs and questions...

Quote:
Originally posted by qwijibow
loadkeys uk.map
the program then reports "Loading /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz"
yep, this is corrtect. however... im STILL using the american keymap !

keys like "@>\| are in the wrong place ! this is very annoying.
how do i fix this ?
Sorry, can't help you with this one... will be a while before I
feel the urge to do another upgrade ;) Unless of course you
mean in X ... there is a chance that Slacks installation doesn't
set X up to match the full-screen console. Have a look at your
whatever x.org's config file is called 8-)

Quote:
ALSO.. when i 'su -' in a command line, and enter the root password, i am unable to launch graphical porgrams. i get the error "unable to connect to X"
why ?
Because Slack, as opposed to the other distro's you're obviously
used to, has secure defaults. One of these is NOT to allow other
users to display stuff on your XSession.

If you feel that root needs to run a graphical tool you have two
solutions (which a brief search on LQ would have showed you):
1. as normal user: xhost +localhost ... after your su - do
"export DISPLAY=localhost:0.0"
2. ssh -X root@localhost "command"
But being a Guru and all that you should really have known these ;}



Cheers,
Tink
 
Old 06-28-2004, 03:07 PM   #3
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
heh
 
Old 06-28-2004, 03:11 PM   #4
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
For your mouse open the the /etc/X11/xorg.conf file, and then find the "InputDevice" section for your mouse, and add the following line:
Code:
Option "ZAxisMapping" "4 5"
And I'm not totally sure but I think you have to change Option "Protocol" "PS/2" to "IMPS/2".

Last edited by blk96gt; 06-28-2004 at 03:13 PM.
 
Old 06-28-2004, 03:13 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I would try to set up correctly LANG locale (if not already set) in /etc/profile.d/lang.sh and csh (maybe it may help), try to load keymap with full path, edit xorg.conf/ XFreeConfig to suit proper keyboard settings, the number of keys parameter can do bad thing if set improprelly (I personally tested that )
 
Old 06-28-2004, 05:36 PM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
Quote:
But being a Guru and all that you should really have known these ;}
I am jacks big smirking head ?

fixed it by following keefaz's advice... (pretty much)

maybe this is just me... but if i were writing the slackware installer, and the user has selected the english keyboard, not only would i have set the console keyboard to english, but set X to english too.

seems stupid for X and the console not to use the same layout config.
 
Old 06-28-2004, 05:52 PM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well as I programmed a little simulate keystroke utility in X, I can say that X is special with that, look at /usr/X11R6/include/X11/keysymdef.h, there are specials keycode for X
 
Old 06-28-2004, 05:55 PM   #8
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
Kicker->Settings->Control Panel->Regional&Accessibility->Keyboard Layout

I am a newby and know not what is a keymap, but just in case you meant the keyboard, this is it.
 
  


Reply



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
again :( help me with these LPI 101 questions marsguy Linux - Certification 17 04-05-2005 01:27 PM
Ram 101 brandonweinberg Linux - General 3 02-07-2004 08:15 PM
Wine 101 thebatgranny Linux - Software 8 10-13-2003 11:58 AM
MythTV 101 - HELP Eagle0 Linux - Software 2 09-23-2003 03:33 PM
Netwoking 101 Romulan Linux - Newbie 0 09-17-2003 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration