You are not logged in.

#1 2009-02-14 13:41:10

initbox
Member
Registered: 2008-09-27
Posts: 172

Autostarting X

If I autostart X with the method described in the Arch wiki (click), X loads all fine and dandy but my keyboard doesn't work at all. Or, atleast, it seems like that. Since you can click stuff with the mouse and it seems to be responding, but the keyboard doesn't work at all.

It would be nice to be able to autostart X without using some lame login manager since I don't even need one.

Last edited by initbox (2009-02-14 14:04:44)

Offline

#2 2009-02-14 14:12:15

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Autostarting X

Do you have keyboard when you dont load it automatically?

Offline

#3 2009-02-14 14:16:06

initbox
Member
Registered: 2008-09-27
Posts: 172

Re: Autostarting X

Zariel wrote:

Do you have keyboard when you dont load it automatically?

Yeah of course.. If I just login to a shell and "startx", the keyboard works.

Offline

#4 2009-02-14 14:18:25

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: Autostarting X

my .xinitrc start all the apps i want

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

### Wallpaper set command ###
eval `cat ~/.fehbg`
#xsetroot -solid '#222222'&

### Autostart applications ###
#xsetnumlock &
#unclutter -display 0:0 -idle 5 -jitter 1 -root &
if [ -z pgrep autocutsel ]; then autocutsel -selection CLIPBOARD -fork &; autocutsel -selection PRIMARY -fork &; fi
if [ -z pgrep urxvtd ]; then; urxvtd -q -f -o &; fi
setxkbmap -rules evdev -model pc105 -layout es
#xfce4-panel &
#stalonetray &
#wicd-client &

### Autostart mouse speed ###
xset m 1 1

### Window Manager set ###
# exec startkde
 exec start-fusion
# exec startxfce4
# exec fvwm
# exec startfluxbox
# exec awesome
# exec wmii
# exec ratpoison

### dwm ###
#exec ~/bin/dwm-conkystatus | dwm
#exec ~/bin/start-dwm
#exec ~/bin/dwm-status | dwm

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#5 2009-02-14 14:20:42

initbox
Member
Registered: 2008-09-27
Posts: 172

Re: Autostarting X

leo2501 wrote:

my .xinitrc start all the apps i want

I guess you started posting this before I edited the post tongue

I got it to work finally, by myself, now the only issue that remains is autostarting X.

Offline

#6 2009-02-14 17:43:25

fourreux
Member
Registered: 2008-03-12
Posts: 56

Re: Autostarting X

startx wird nach dem Login (auf der 1. Konsole) automatisch ausgeführt. Dazu folgendes am Ende der ~/.bash_profile eintragen:

if [ "$(tty)" = "/dev/vc/1" ]; then
   startx
fi

do you understand that bit of german? a bit different than the one you followed.
http://wiki.archlinux.de/title/X

hope that works, don't use it myself.

Last edited by fourreux (2009-02-14 17:49:29)

Offline

Board footer

Powered by FluxBB