LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   101 tiny bugs and questions... (https://www.linuxquestions.org/questions/slackware-14/101-tiny-bugs-and-questions-198768/)

qwijibow 06-28-2004 02:36 PM

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 ?

Tinkster 06-28-2004 03:04 PM

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

equinox 06-28-2004 03:07 PM

heh

blk96gt 06-28-2004 03:11 PM

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".

keefaz 06-28-2004 03:13 PM

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 :( )

qwijibow 06-28-2004 05:36 PM

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.

keefaz 06-28-2004 05:52 PM

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

WilliamS 06-28-2004 05:55 PM

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.


All times are GMT -5. The time now is 06:07 AM.