gdm Init

I am using XFCE and decided to make my laptop boot directly to X. So, I installed gdm from SBo and changed the runlevel in /etc/inittab:

# Default runlevel. (Do not set to 0 or 6)

After a restart, the machine boots up directly to a graphic log in screen.

I like setting the brightness of my screen to a lower value, which I usually do by adding these two lines to ~/.xinitrc:

xgamma -gamma 0.4
xbacklight -set 70

Similarly to the case of KDM, this approach does not work when using GDM either. So, after some searching, the solution I found is adding the above lines to /etc/gdm/Init/Default. I place them below the first two lines of the file, like this:


xgamma -gamma 0.4
xbacklight -set 70

Log off and the new brightness values are already set at the log in.

About these ads


Filed under desktop, system

2 responses to “gdm Init

  1. It is nice to see someone who is not afraid of inittab. The though of editing inittab gives me serious concern.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s