You are not logged in.
Pages: 1
What is the correct way to restart Thunar?
The command I used to view the process tree is: pstree -aps $(pgrep -i thunar).
When I first logon the process tree looks like:
systemd, 1
..lightdm,397
....lightdm,2356 -- session-child
......xfce4-session,2370
........Thunar,2433 --sm-client-id #...# --daemon
When I restart Thunar via, "thunar --daemon &", the process tree for thunar looks like:
systemd, 1
..lightdm,397
....lightdm,2356 -- session-child
......xfce4-session,2370
........xfce4-terminal,2453
..........bash,2488
............thunar,2533 --daemon
When I close the terminal, it hangs a little longer than usual, and the process tree for thunar looks like:
systemd, 1
..thunar,2533 --daemon
How do I restart Thunar so it is a child of xfce4-session again, like when I first logged on? Should I be using systemd or dbus? Do I need to tell xfce4-session's to restart it? I've googled and tried to read the code, but I'm still stumped. Thank you.
Last edited by xfceforumorg1220 (2021-02-07 16:56:32)
Offline
How do I restart Thunar so it is a child of xfce4-session again
Interesting. Quite the rabbit hole looking at this one. I can't find a way to have it restart as a child of xfce4-session either.
I would suggest creating a bug report first against thunar to see if the developer has some suggestions/ideas.
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
I was wondering about that... :-) so a bug report verses a mailing list?
My next question was going to be how do you get Thunar to reload its' configuration files (i.e., uca.xml). I sent a HUP signal and Thunar just quit, thus the whole how do you restart Thunar so it is a child process of xfce4-session again.
Offline
I was wondering about that... :-) so a bug report verses a mailing list?
The thunar developer is quite active. He might be able to point you in the right direction.
My next question was going to be how do you get Thunar to reload its' configuration files (i.e., uca.xml). I sent a HUP signal and Thunar just quit, thus the whole how do you restart Thunar so it is a child process of xfce4-session again.
Those (uca) should be reloaded automatically when you make a change. Is this not happening for you? Which distro and which version of thunar?
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
Those (uca) should be reloaded automatically when you make a change. Is this not happening for you? Which distro and which version of thunar?
No.
Manjaro
thunar 4.16.2 (Xfce 4.16)
I created my first custom action in uca.xml. I closed and reopened Thunar and the custom action was not there. The custom action only showed up in the right click context menu after I restarted Thunar.
kill -HUP $(pgrep -i thunar)
thunar --daemon &
Offline
[
I created my first custom action in uca.xml.
Oh, you are manually editing the file. That file is probably processed when thunar starts and written to on shutdown. The GUI method via Edit > Configure Custom Actions will have them appear right away.
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
Pages: 1
[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 552.88 KiB (Peak: 554.16 KiB) ]