Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-04-20 09:52:42

irok84
Member
Registered: 2018-04-20
Posts: 5

xfdesktop crashes after showing file downloaded by Chrome.

Hi.

I have a bug related to xfdesktop

OS: Ubuntu (16.04.3 LTS).

Steps to reproduce:
- I download some file in Google Chrome browser
- On chrome's list of downloaded files at bottom of the window I click "Show in folder" option
After that my wallpaper disapears and background becomes whole green.
If I click right-mouse button on desktop, there is only a few options in dropdown (less than before "crash"). I can't change backround, etc.
After restarting xfce desktop again works fine.

Can You help me?

Offline

#2 2018-04-21 01:34:33

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

Re: xfdesktop crashes after showing file downloaded by Chrome.

Hello and welcome.

Does anything display in the log file ~/.xsession-errors when this happens? Open a terminal window and run:

tail -f ~/.xsession-errors

...then do the steps above. When the crash happens look in the terminal window for any new messages. Post them back here.


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 2018-04-21 09:53:10

irok84
Member
Registered: 2018-04-20
Posts: 5

Re: xfdesktop crashes after showing file downloaded by Chrome.

Thanks for your answer @ToZ.
Nothing appeared in ~/.xsession-errors
I showed the bug on video, please see: https://youtu.be/DKk9atYhDO4

Last edited by irok84 (2018-04-21 09:55:12)

Offline

#4 2018-04-21 11:07:17

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

Re: xfdesktop crashes after showing file downloaded by Chrome.

I see. When you are opening the folder, it is starting another filemanger (maybe nautilus?) instead of thunar and you have the setting to allow nautilus to manage the desktop enabled, so it takes over from xfdesktop.

If it is nautilus, try running this command to disable it from managing the desktop:

gsettings set org.gnome.desktop.background show-desktop-icons false

If it is another filemanager, let me know which one and we can look up the setting.


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 2018-04-21 13:02:08

irok84
Member
Registered: 2018-04-20
Posts: 5

Re: xfdesktop crashes after showing file downloaded by Chrome.

You are right, it's nautilus which replaces my desktop.

'killall nautilus' restores my xfdesktop (wallpaper, menu, etc.)

Your command fixes the problem, nautilus is no longer replacing my desktop.

The best solution would be if chrome opens thunar, i'll look how to do it.

Much thanks for help ToZ!

Offline

#6 2018-04-21 15:56:07

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

Re: xfdesktop crashes after showing file downloaded by Chrome.

irok84 wrote:

The best solution would be if chrome opens thunar, i'll look how to do it.

Is Nautilus set as the default file manager in Settings Manager > Preferred Applications > Utilities tab > File Manager?


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

#7 2018-04-23 07:47:38

irok84
Member
Registered: 2018-04-20
Posts: 5

Re: xfdesktop crashes after showing file downloaded by Chrome.

On mentioned tab, Thunar is set as default file manager.

Offline

#8 2018-04-23 10:29:08

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

Re: xfdesktop crashes after showing file downloaded by Chrome.

What does the following return?

xdg-mime query default inode/directory

If it's something like "nautilus.desktop" then run one of the following commands to reset it to thunar:

xdg-mime default Thunar-folder-handler.desktop inode/directory

...or:

xdg-mime default Thunar.desktop inode/directory

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 2018-04-23 11:30:42

irok84
Member
Registered: 2018-04-20
Posts: 5

Re: xfdesktop crashes after showing file downloaded by Chrome.

$ xdg-mime query default inode/directory
nautilus-folder-handler.desktop
$ xdg-mime default Thunar-folder-handler.desktop inode/directory
$ xdg-mime query default inode/directory
Thunar-folder-handler.desktop

It works, Thanks!

Last edited by irok84 (2018-04-23 11:31:14)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 547.81 KiB (Peak: 548.66 KiB) ]