trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2017

Re: [trinity-users] Session manager logout

From: Thierry de Coulon <tcoulon@...>
Date: Tue, 14 Nov 2017 13:34:01 +0100
On Tuesday 14 November 2017 10.27:24 Dr. Nikolaus Klepp wrote:
>
> You mean this image?
> /opt/trinity/share/apps/ksmserver/pics/shutdown.png
>
> Nik

Here TDE uses /opt/trinity/share/apps/ksmserver/pics/shutdownkonq.png



Here is what I do (as I find boring to look at the same logout picture every 
time):

- Create a directory in you home directory (I use "pics")
Fill it with pictures 148x217 pixels (or about) in png format. File names are 
irrelevant.

- Copy one of these pictures in your home directory (or somewhere else if you 
alter the script) and rename it shutdownkonq.png

- As root, create a link  to this file 
in /opt/trinity/share/apps/ksmserver/pics/

- Create a script:

***********************************

#!/bin/bash                                                                                                         

# select file randomly
nameoffile2=$(ls /home/<your user home>/pics | shuf -n 1)
cp /home/<your user home>/pics/$nameoffile2 /home/<your user 
home>/shutdownkonq.png

************************************

- Make it executable, then create a link in .trinity/Autostart


Now. at each log in, a new picture will be selected for the shutdown.

I use the same script to change my kmail signature.

Have fun,

Thierry