Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-06-22 08:58:22

Friedrich
Member
Registered: 2016-09-18
Posts: 82

Reload Desktop without reboot or logout

Hi,

when i create a new symbol on the desktop with a new icon i have to logout or reboot the system to see the new icon. can i simply reload the desktop?

xfdesktop --reload

I don't use the full path to the icon the icon is in the icon database.

friedrich

Offline

#2 2021-06-22 11:14:10

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Reload Desktop without reboot or logout

How are you creating the symbol/icon ? Are you right-clicking and selecting "Create Launcher?

Do you have something else like nemo or nautilus running that is also managing the desktop?

Can you try deleting your sessions cache to see if that helps. To do so, while not logged in, delete the contents of $HOME/.cache/sessions.

Offline

#3 2021-06-26 10:08:28

Friedrich
Member
Registered: 2016-09-18
Posts: 82

Re: Reload Desktop without reboot or logout

copy&paste an existing file and then made the changes (name, icon, ...). i can see the new name after saving the file but the icon is changed to something like a "default icon". the same as if i don't specify an icon.

i have nemo installed. i like thunar but i miss some very basic features that nemo has.

after deleting the cache it works. can i delete it automatically every time i shutdown the machine?

Offline

#4 2021-06-26 11:43:00

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Reload Desktop without reboot or logout

Friedrich wrote:

after deleting the cache it works. can i delete it automatically every time i shutdown the machine?

You could script something but there is no guarantee that it would be the last thing run. You could try making the directory immutable so nothing, not even root, can change its contents:

sudo chattr +i ~/.cache/sessions

Offline

#5 2021-06-26 13:28:46

Friedrich
Member
Registered: 2016-09-18
Posts: 82

Re: Reload Desktop without reboot or logout

is this directory important for something?

Offline

#6 2021-06-26 15:59:36

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Reload Desktop without reboot or logout

It's only used by Xfce to save session information.

Offline

Board footer

Powered by FluxBB