Xfce Forum

Sub domains
 

You are not logged in.

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

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

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
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

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.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

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

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
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

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

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

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

Re: Reload Desktop without reboot or logout

is this directory important for something?

Offline

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

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Reload Desktop without reboot or logout

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


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 536.38 KiB (Peak: 537.22 KiB) ]