Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-07-15 01:45:52

SoFL W
Member
Registered: 2011-07-14
Posts: 13

Startup or .xinitrc?

I was trying to find out how to have the numlock activated on startup.  The FAQ says to download and then place "numlockx on" in your .xinitrc file.  I didn't have a .xinitrc file in my home directory and before reading further I added it to the startup applications section. 
Eventually I read where I could add it to the system wide .xinitrc file or just create a new file myself.

My question; Is putting "numlock on" in the .xinitrc file better or any different than putting it in the startup applications?
How are the two options processed that makes one better than the other?


If it matters for this question Ubuntu 10.4 with gnome and Xfce 4.6 added.

Last edited by SoFL W (2011-07-15 01:48:18)

Offline

#2 2011-07-15 06:09:56

ManOfSteel
Member
Registered: 2005-10-06
Posts: 104

Re: Startup or .xinitrc?

It really doesn't matter, if the job is done correctly.

.xinitrc (or .xsession) is read every time X is started, even if it's not running Xfce, and you can run commands before the WM. "startup applications" is specific to Xfce and will run after Xfce (Xfwm) has been started.

Offline

#3 2011-07-15 06:28:39

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Startup or .xinitrc?

Upgrade to 4.8 which remembers and restores the numlock state.

Offline

#4 2011-07-15 12:40:38

SoFL W
Member
Registered: 2011-07-14
Posts: 13

Re: Startup or .xinitrc?

Hi Dr. Nick!
I am thinking I will have to upgrade to 4.8 as I see a few other features I would like.  I have to install it myself as Ubuntu's Long Term Support version doesn't seem to have long term support for the latest versions of software.
I am not sure when I will have the time to compile myself and make the upgrade.

EDIT:
Nick, I am having upgrade issues, (32bit vs 64bit) and those are being discussed in this thread.  http://forum.xfce.org/viewtopic.php?id=6055

Last edited by SoFL W (2011-07-15 14:35:46)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 523.4 KiB (Peak: 528.98 KiB) ]