[Sussex] Firefox on login Fedora Core 5
Nic James Ferrier
nferrier at tapsellferrier.co.uk
Tue Jun 20 15:23:06 UTC 2006
"Brendan Whelan" <b_whelan at mistral.co.uk> writes:
> Hello,
>
> Is there a way, when a user logs in of having a Firefox window open
> automatically at a specific page
> (e.g. http://localhost/my_location/my_prog.php). Obviously, it will
> be a big advantage to users if the application they want to use is
> instantly accessible.
On Debian this works:
$ cat > USERDIR/.Xsession
firefox http://localhost/my_location/my_prog.php &
/usr/bin/window-manager
^D
$ chown USERNAME USERDIR/.Xsession
$ chmod u+x USERDIR/.Xsession
this works because /usr/bin/window-manager is a link to whatever the
window-manager is configured by default.
A similar thing will be possible on Fedora, but you might have to
specify the window-manager directly.
Btw if you're using GNOME or KDE there are GNOME or KDE ways to
startup applications so you don't have to alter the X config. You
should use those if you're a GNOME or KDE user.
--
Nic Ferrier
http://www.tapsellferrier.co.uk for all your tapsell ferrier needs
More information about the Sussex
mailing list