Re: when leaving startx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/25/11, Patrick Dupre <patrick.dupre@xxxxxxxxxx> wrote:
> Hello,
>
> When I leave the X session, how can I execute a shell command ?

If you start it with startx, as the subject seems to suggest, then you could do

startx ; your_shell_command

or

startx && your_shell_command

and then your shell command will not be executed if startx failed.

HTH

Andras
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux