View Single Post

   
  #8 (permalink)  
Old 01-17-2008, 07:19 PM
Tim
 
Posts: n/a
Default Re: Numlock not working

Tim wrote:
> Michael Heiming wrote:
>
>> In comp.os.linux.setup Tim <it2gati@ituniv.se> suggested:
>>
>>> "Michael Heiming" <michael+USENET@www.heiming.de
>>>
>>>> In comp.os.linux.setup Tim <it2gati@ituniv.se> suggested:
>>>>
>>>>> I have a fresh install of Fedora Core 2 and numlock is not working.
>>>>> When
>>>>> If I run this command:
>>>>> xmodmap -e "keysym Pointer_EnableKeys = Num_Lock"
>>>>> In xterm Numlock magically starts working so I figured the easy way
>>>>> would be to put that exact line in one of the initfiles.
>>>>
>>>> I'd try out ~/.xinitrc at first and see if that improve things,
>>>> simply create this file, if you don't have it.

>>
>>
>>> Sounded like a plan but it did unfortunatley not help.
>>> I didn't have the file in my homedir so I created it and let it
>>> contain only
>>> that one line.

>>
>>
>> Mh, you are using kdm/xdm to login to your favorite wm? Then try
>> using ~/.xsession, change permissions 'chmod 755 ~/.xsession',
>> and retry not sure if those perms a really need, but it doesn't
>> hurt anyway.

>
>
> Replying to the same message again here since I apperently forgott half
> of it in my last reply.
>
> What I also meant to say was that if I make a file .xsession containing
> the same line nothing happens at all unless I chmod it as you said to
> 755. But if I chmod it I cannot even get back into X. Almost imediatley
> after I log in (from the graphical loginsceen) I get an errormessage
> saying that I was logged in less then 10 seconds and something was
> probably wrong. Then I get thrown back to the login screen.
>
> The computer also says that it put an error message in the
> .xsession-error file, but that file doesnt exist and nothing shows up in
> dmesg.
>
> Anyway the error message, I could read it from the screen was similar to
> the one I get when I run the command twice.


Just in case it is important, here comes the error message the
supposedly should have been in the .xsession-error file.

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w
/var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l
":0" "tim"
warning: /etc/X11/xinit/xinitrc.d xinput does not end in sh.

These things may be mistyped since I couldn't find them in any files but
had to retyp them.

Tim
Reply With Quote