Re: How to check if TDE is the currently running desktop?

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

 



Anno domini 2020 Thu, 12 Nov 13:19:12 -0600
 Michael via tde-users scripsit:
> Hi All,
> 
> I’d like to add a <preuninstall> to the tde.pm that checks to see if TDE is 
> the currently running desktop.  On the theory it’d suck if someone 
> un-installed a desktop while in that desktop...
> 
> Would one of the TDE dev’s be so kind as to point me in the right direction on 
> how to do that (the uninstall process runs as sudo)?

if [ ! -z "$(pidof twin)" ]; then echo "TDE RUNNING"; fi



> 
> Thank you,
> Michael
> ____________________________________________________
> tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
> Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux