Re: Where to add X startup actions?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

David Abrahams wrote the following on 27.08.2006 20:33:
Hi,

I want to do a few things when X starts up, namely:

xhost +local:acpid

and also, enable any attached monitors and extend my desktop. Where
should I put these commands? They're not gnome-specific, so I'd
rather not stick them in something that will only be run by gdm.

Thanks!


/etc/rc.local
- ------------------------------------------------------------>
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
<------------------------------------------------------------

bye Thilo
- --
i am on Ubuntu 2.6 KDE
- - some friend of mine

gpg key: Ox4A411E09

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8eaRgkdHiUpBHgkRAxp+AKC73KBPzgb8WQqgUYdN+CrdX7xpdACgqVIE
IlypRrm9riIqu1PSF0ylniM=
=NnxN
-----END PGP SIGNATURE-----


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: passing web authentication to background wget jobs?
    ... You need GnuPG to verify this message ... > I have a daily cron job that runs a script with the following: ... > can't test it until the server restarts late tonight, ... Why do you want to restart apache for a simple change in ...
    (comp.os.linux.misc)
  • Re: named
    ... You need GnuPG to verify this message ... >> need help to create script for cron, whitch check every 5 min if named is ... you reboot to get a kernel update running. ... script, not if the daemon is actually running. ...
    (linux.redhat)
  • Re: package building failure irritation
    ... make install ... # Run your script here and wait until it finishes ... # returns to the original shell ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ ...
    (freebsd-hackers)
  • Re: [kde-linux] kppp and cron
    ... kppp: cannot connect to X server:0 ... The xhost command needs to be executed from within the X session. ... but point is I'm not executing this script from within an X ...
    (KDE)
  • Re: executable but unreadable script?
    ... You need GnuPG to verify this message ... In comp.unix.shell Brock Filer suggested: ... A general way would be using 'sudo' to run the script. ...
    (comp.unix.shell)