Find the answer to your Linux question:
Page 4 of 4 FirstFirst 1 2 3 4
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......
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Linux 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...

  2. #32
    Linux 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.

  3. #33
    Linux 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.

  4. #34
    Linux 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.

  5. #35
    Linux 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?

  6. #36
    Linux 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.

  7. #37
    Linux 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?

  8. #38
    Linux 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 example
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

Page 4 of 4 FirstFirst 1 2 3 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •