Results 31 to 38 of 38
Now that seems smooth...
I am a little surprised that there isn't a standard "hook" file name. Changing the system xsession kind of feels like changing a DTD......
- 01-23-2003 #31Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Now that seems smooth...
I am a little surprised that there isn't a standard "hook" file name. Changing the system xsession kind of feels like changing a DTD...
- 01-23-2003 #32Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
i also thought so, which is what i believe
.xinitrc
is supposed to di, but again all my changes that didnt do diddly were on a different hoem dir then i though
so maybe tomorrow I'll try that again
majorwoo
Quiet brain, or I\'ll stab you with a Q-tip.
- 01-23-2003 #33Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
When I looked through /etc/X11/xdm/Xsession this time, I found that it looks through /etc/X11/xinit/xinitrc.d/ for scripts to hook. Although that's system-wide, one could at least put a user hook there without changing Xsession.
- 01-23-2003 #34Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
I saw that, but I do not recall where that gets executed in the x startup process - many apps need it to be called after the display is opened, so that someone owns the display
majorwoo
Quiet brain, or I\'ll stab you with a Q-tip.
- 01-23-2003 #35Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Of course. It's run at login time. What else could you possible want?
- 01-24-2003 #36Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
it could be run when the x server itself starts, during bootup - and in some apps case that's a problem as the display isnt setup yet
majorwoo
Quiet brain, or I\'ll stab you with a Q-tip.
- 01-24-2003 #37Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Isn't that rather a problem with all apps, since it's not defined where to find the X autorization file before login, or have I missed something (of course, gdm _could_ set the env var, but it's still weird)?
And why would you want to run an X app before logging in?
- 01-24-2003 #38Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
no, i cant think of an X program to start before login -- but there is a script to call programs on X startup(that dont need X) and on login, that is the reason for all the different files i believe
not that i can think of a goof example, but mayve when X starts you want some sort of a timestamp, as opposed to when someone logs into X - like i said, bad examplemajorwoo
Quiet brain, or I\'ll stab you with a Q-tip.


Reply With Quote
