You are not logged in.

#51 2007-07-04 18:07:10

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: How do you load your DE? deamon style or inittab?

.

Last edited by stjepan (2022-09-20 21:45:02)

Offline

#52 2007-07-04 23:45:49

warlord
Member
Registered: 2007-07-04
Posts: 58

Re: How do you load your DE? deamon style or inittab?

inittab and a second entry in grub for init 3 boot

Offline

#53 2007-07-05 01:24:06

dawei
Member
From: China
Registered: 2007-05-02
Posts: 29

Re: How do you load your DE? deamon style or inittab?

I like the daemon way, because i dont need to touch any other file except rc.conf, this makes life much easier.

Offline

#54 2007-07-05 02:02:28

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: How do you load your DE? deamon style or inittab?

startx (laptop) and slim daemon (desktop).

Offline

#55 2007-07-05 09:40:09

CipherPaladin
Member
Registered: 2006-05-18
Posts: 23

Re: How do you load your DE? deamon style or inittab?

inittab I prefer for the same reasons listed all above.

...but I also have an ATI card in another box soooo:
kdm in DAEMONS... 'cos I think ATI drivers don't work well w/ inittab!
(please correct me if I've been misguided here!!! hmm)

Last edited by CipherPaladin (2007-07-05 09:40:53)

Offline

#56 2007-07-05 17:46:46

smurnjiff
Member
Registered: 2007-06-25
Posts: 211

Re: How do you load your DE? deamon style or inittab?

ATI drivers seem to work fine with inittab; I am using inittab for gdm.  I also keep a additional fallback init 3 option in menu.lst.

Offline

#57 2007-07-05 23:35:34

emmybear
Member
Registered: 2007-04-20
Posts: 38

Re: How do you load your DE? deamon style or inittab?

I use inittab, just in case I am messing with X settings and it hardlocks the system upon startup. That way, I can just boot into run level 3, fix things, then move to run level 5, instead of having to use a liveCD. ;3

Offline

#58 2007-07-06 10:48:08

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: How do you load your DE? deamon style or inittab?

Back when I used dwm, I had to try out small edits to it every so often. So I had two seperate scripts, one to run the Xorg server (Xorg -noreset ...something something, also sets the wallpaper) and one script to start the wm. So when I wanted to try out a change to the wm, I could 'Quit' it and rerun the second script without Xorg closing or my applications dying.

Now I use icewm (but looking for something else), and I use a single script usable only from vc after logging in, that cd's to the homedir* and setsids xinit in the background, so I can still do small things with the vc (not big things since stdout and stderr of xinit write to it.)

*don't you just hate it when you start xinit/startx from another directory and every term you make starts in that directory?

Offline

#59 2007-07-06 13:40:44

tomfitzyuk
Member
Registered: 2005-12-30
Posts: 89

Re: How do you load your DE? deamon style or inittab?

startx, sort of.

~/.bashrc extract

alias sx='startx -- -nolisten tcp >& $HOME/.startx-errors'

I know I can edit /usr/bin/startx to turn off TCP listening, but I prefer to do here.

~/.xinitrc

exec xmodmap ~/.colemak-1.0/xmodmap/xmodmap.colemak && xset r 66 &
exec xbindkeys &

eval $(cat ~/.fehbg) &

openbox

~/.xbindkeys

"xlock"
    Scroll_Lock

"scrot"
Print

"amixer set Master 5%-"
        m:0x10 + c:174

"amixer set Master 5%+"
        m:0x10 + c:176

"amixer set Master toggle"
        m:0x10 + c:160

"mpc toggle"
    KP_Enter

"mpc next"
        Mod2 + KP_Add

"mpc prev"
        Mod2 + KP_Subtract

"setxkbmap us; xset -r 66"
    F7

"setxkbmap us; xmodmap ~/.colemak-1.0/xmodmap/xmodmap.colemak && xset r 66"

Colemak isn't too tough to get used to. The most troublesome programs are vim (though I do have colemak.vim), nethack and starcraft, which is why I use F7 and F8 to activate QWERTY and colemak. I should write a script to toggle them and assign that to just one key.

Last edited by tomfitzyuk (2007-07-06 13:44:30)

Offline

#60 2008-01-04 03:34:31

platinummonkey
Member
Registered: 2007-12-02
Posts: 18
Website

Re: How do you load your DE? deamon style or inittab?

slim + .xinitrc smile  (xfce4)

Offline

#61 2008-01-04 05:02:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,393
Website

Re: How do you load your DE? deamon style or inittab?

slim with inittab...  I screwed my laptop's xorg.conf so many times trying to perfect it that the fall back "ro 3" entry was very necessary.

Offline

#62 2008-01-04 11:25:39

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: How do you load your DE? deamon style or inittab?

I don't use a LoginManager.
Just automatically executed startx after login on first console.

~/.bash_profile

. $HOME/.bashrc
if [ "$(tty)" = "/dev/vc/1" ]; then
   startx -- -nolisten tcp -dpi 96
   logout
fi

Offline

#63 2008-01-04 11:35:40

Nihathrael
Member
From: Freising, Germany
Registered: 2007-10-21
Posts: 82
Website

Re: How do you load your DE? deamon style or inittab?

smurnjiff wrote:

ATI drivers seem to work fine with inittab; I am using inittab for gdm.  I also keep a additional fallback init 3 option in menu.lst.

I do that to. Works fine with ati here also.


Unknown Horizons - Open source real-time strategy game with the comfy Anno 1602 feeling!

Offline

#64 2008-01-04 15:05:47

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: How do you load your DE? deamon style or inittab?

SiD wrote:

I don't use a LoginManager.
Just automatically executed startx after login on first console.

~/.bash_profile

. $HOME/.bashrc
if [ "$(tty)" = "/dev/vc/1" ]; then
   startx -- -nolisten tcp -dpi 96
   logout
fi

I used to do the same, but after a system update a week ago (with testing enabled) this isn't working anymore. It seems like $tty isn't set anymore... What exactly sets this variable?

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#65 2008-01-04 15:28:14

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: How do you load your DE? deamon style or inittab?

Sigi wrote:
SiD wrote:
if [ "$(tty)" = "/dev/vc/1" ]; then

I used to do the same, but after a system update a week ago (with testing enabled) this isn't working anymore. It seems like $tty isn't set anymore... What exactly sets this variable?

There's a difference between $tty and $(tty).  SiD uses $(tty) to grab the output of the tty app.

Me, I just use startx from console - I manually run it.  I also have startx aliased to 'exec startx' so that if I have the computer locked, someone can't just change to VC1, ctrl-C, and use my PC.   If they kill the startx process, it kicks them back to login.

Offline

#66 2008-01-04 16:09:17

ekerazha
Member
Registered: 2007-02-27
Posts: 290

Re: How do you load your DE? deamon style or inittab?

Actually I use the ".bash_profile" autologin, but I think I'll switch to GDM because it can manage /var/adm/utmp, /var/adm/wtmp etc.

Maybe I'll use the DAEMON way... maybe the inittab way...

However if you use the DAEMON way and you don't use X anymore, just stop the GDM daemon and kill X... using the inittab way and switch to init 3 isn't the only option.

Last edited by ekerazha (2008-01-04 16:10:22)

Offline

#67 2008-01-05 09:47:32

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: How do you load your DE? deamon style or inittab?

startx method here to be able to select between single and dual head setup (startx -- -layout single|dual).
I would like to use qingy for that like I did with Gentoo, but unfortunately I couldn't get it working right (path problems).

Bye, signor_rossi.

Offline

#68 2008-01-07 14:04:52

jb
Member
From: Florida
Registered: 2006-06-22
Posts: 466

Re: How do you load your DE? deamon style or inittab?

Normally, I just use the daemon array.


...

Offline

#69 2008-01-07 16:58:52

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: How do you load your DE? deamon style or inittab?

The daemons array, that way it starts all the not-necesary for-desktop stuff after I logged (such as ssh, samba and the for-testing-php-code apache and mysql)

Offline

#70 2008-01-07 17:02:55

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: How do you load your DE? deamon style or inittab?

How oh how does a thread like this get resurrected..  I started this question in April 2007  lol

Offline

#71 2008-01-07 17:11:09

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: How do you load your DE? deamon style or inittab?

Zer0 wrote:

How oh how does a thread like this get resurrected..  I started this question in April 2007  lol

so it was the same... it seemed strange to me that it would get resurrected, so I thought it was a new one tongue (yes, I actually remembered this thread somehow)

Offline

#72 2008-01-07 22:00:31

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: How do you load your DE? deamon style or inittab?

Sigi wrote:

I used to do the same, but after a system update a week ago (with testing enabled) this isn't working anymore. It seems like $tty isn't set anymore... What exactly sets this variable?

Cheers Sigi

Btw, this works again. For some strange reason, my .bash_profile was missing...


Haven't been here in a while. Still rocking Arch. smile

Offline

#73 2008-03-16 19:06:16

jonkristian
Member
From: Norway
Registered: 2007-03-09
Posts: 101
Website

Re: How do you load your DE? deamon style or inittab?

i log in, and type my l33t startx alias, 'x' big_smile


PROCRASTINATION
is like masturbation...it's good in the beginning, but in the end, you realize
you've just fkd yourself

Offline

#74 2008-03-16 20:43:18

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: How do you load your DE? deamon style or inittab?

Used to do it the startx way, but gleidson's darch theme for slim is just too immense to miss.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#75 2008-03-16 21:05:25

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: How do you load your DE? deamon style or inittab?

Same here.

btw:
I've made a splashy-theme based on gleidson's work.
It's in AUR. Pkgname is splashy-theme-darch

Offline

Board footer

Powered by FluxBB