Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-03-12 15:37:57

brunoais
Member
Registered: 2018-08-19
Posts: 9

Restart Thunar without closing other windows

There are uncommon situations with my PC where Thumberd (I think that's the name) starts to use too much CPU without aparent reason. After closing it (SIGTERM) Thunar may start acting excessively slow.

As means to handle that, I want to try restarting Thunar. However, I can't find a reliable way to restart Thunar and, at the same time, restore all windows that were previously opened without restarting xfdesktop (either rebooting or closing all windows and restart the desktop). If I simply restart the desktop, all programs with windows crash in the process.

How do I restart Thunar and only Thunar?

Offline

#2 2020-03-12 16:24:19

qx4vv9a
Member
Registered: 2019-08-12
Posts: 26

Re: Restart Thunar without closing other windows

maybe you turn off these 2 things.
sudo nano /etc/xdg/tumbler/tumbler.rc

###
# Video Thumbnailers
###
# ffmpegthumbnailer plugin
[FfmpegThumbnailer]
Disabled=true
Priority=2
Locations=
MaxFileSize=
# GStreamer plugin
[GstThumbnailer]
Disabled=true
Priority=1
Locations=
MaxFileSize=

Offline

#3 2020-03-12 17:14:58

brunoais
Member
Registered: 2018-08-19
Posts: 9

Re: Restart Thunar without closing other windows

In my specific case, I want those two so I rather not have them disabled. I prefer to restart Thunar from time to time instead

Offline

#4 2020-03-12 18:56:38

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: Restart Thunar without closing other windows

You can close, then open Thunar with:

thunar -q && thunar

but I think it wouldn't restore your Thunar windows in the same directories.

On the Tumbler side, there's this recent thread with some info.

Good luck!

Offline

#5 2020-03-12 19:57:27

brunoais
Member
Registered: 2018-08-19
Posts: 9

Re: Restart Thunar without closing other windows

The thing is that I want to restore the windows. Any alternatives?

Offline

#6 2020-03-12 21:03:24

qx4vv9a
Member
Registered: 2019-08-12
Posts: 26

Re: Restart Thunar without closing other windows

maybe another file manager?
https://doublecmd.sourceforge.io/galler … Window.png
important to know: a tree on the left is available, the right window is resizeable (invisible) and the (many) tabs
remember their last folder. in the image the tabs are named with "System32" and "Landscapes"
and there are tab options to (re)store, lock, ... BUT it will take time to configure and it seems there is an
additional plugin required to view video thumbnails.

Last edited by qx4vv9a (2020-03-12 21:25:05)

Offline

#7 2020-03-12 22:07:54

MrEen
Member
Registered: 2019-04-19
Posts: 295

Re: Restart Thunar without closing other windows

I know this isn't really a solution, but you can open Thunar with multiple tabs using a script like Misko_2083 posted here that references a post on the Mint forum here.

Might be handy if it's always the same tabs you want open.

Last edited by MrEen (2020-03-12 22:08:26)

Offline

#8 2020-03-12 22:53:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Restart Thunar without closing other windows

@brunoais, unfortunately, it is not currently possible to do this with the way that Thunar is programmed. The best you might be able to do is a workaround like what MrEen proposes (or something similar like this, or using another file manager if this functionality is important to you.

Here is a somewhat related bug report where the developer comments that it is not feasible to implement in thunar but maybe in xfwm4. Feel free to comment there if you wish to pursue the enhancement request.


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

#9 2020-03-12 23:04:57

brunoais
Member
Registered: 2018-08-19
Posts: 9

Re: Restart Thunar without closing other windows

Ok thank you.

Offline

Board footer

Powered by FluxBB