GNU bug report logs - #39843
Can't open files through file managers in other DEs and WMs

Previous Next

Package: guix;

Reported by: sirgazil <sirgazil <at> zoho.com>

Date: Sat, 29 Feb 2020 20:30:02 UTC

Severity: normal

Done: sirgazil <sirgazil <at> zoho.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39843 in the body.
You can then email your comments to 39843 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39843; Package guix. (Sat, 29 Feb 2020 20:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to sirgazil <sirgazil <at> zoho.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 29 Feb 2020 20:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: Can't open files through file managers in other DEs and WMs
Date: Sat, 29 Feb 2020 15:29:14 -0500
I installed the Guix System several months ago and selected GNOME as the Desktop Environment (DE). Recently, however, I decided to fallback to another DE or Window Manager (WM) because of a memory issue in GNOME (see https://lists.gnu.org/archive/html/help-guix/2020-02/msg00206.html). So far I have installed XFCE, MATE and sway, but, in all of them I can't open most files using their default file managers: Thunar (XFCE), Caja (MATE), Nautilus (sway [not really a default]).

Performing the following operations to open files from file managers fail for most file types (PNG, PDF, HTML, ODT, SVG, ...):

• Double clicking a file.
• Pressing Enter on a file.
• Right clicking a file and selecting the default app for that kind of file.
• Right clicking a file and selecting another application from a list of suggested apps.

The only kind of file that opens correctly so far is MP3.

Doing the following from a terminal opens files correctly in the default applications:

  $ xdg-open path/to/file.png
  $ xdg-open path/to/file.pdf


(Note that I never use xdg-utils directly to manipulate MIME types and default apps associations. I leave that to GUIs provided by DEs.)


System Information:

MATE 1.22.0
XFCE 4.14.0
sway 1.2
guix 079ee3b
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 079ee3b5ea7e9e9bf34753df42957d280e8eabc5


---
https://sirgazil.bitbucket.io/







Information forwarded to bug-guix <at> gnu.org:
bug#39843; Package guix. (Sat, 29 Feb 2020 21:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 39843 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "39843" <39843 <at> debbugs.gnu.org>
Subject: Can't open files through file managers in other DEs and WMs
Date: Sat, 29 Feb 2020 16:06:37 -0500
I forgot to say:

When trying to open a file using Nautilus in sway, I get this message:

######
Could Not Display "file-name-here.ext"
There is no application installed for "FILE TYPE HERE" files

Button: Select Application
Button: OK
######

Pressing the "Select Application" button displays a list of applications that 
can handle the given file type, but selecting an application from the list has 
no effect. The message above shows up again when you try to open a file.

I see this warning appear in a terminal when I try to open a file:

######
** (org.gnome.Nautilus:13530): WARNING **: 14:59:45.839: Couldn't call Modify 
on the PackageKit interface: no owner for PackageKit
######

When trying to do the same thing in Caja (MATE), I get this message:

######
No se pudo abrir el archivo XYZ. Falló al ejecutar el proceso hijo «gio-launch-desktop» (No existe el fichero o el directorio)
######

Which means "Couldn't open the file XYZ. Failed to run the child process «gio-launch-desktop» (No such file or directory)"

And Thunar on XFCE doesn't display anything, nothing happens.

Also, I have a "mimeapps.list" file living in "~/.config" and file managers seems to use it, because when you right click on a file, file managers show the right application configured to open that particular type of file (as defined in "~/.config/mimeapps.list").


---
https://sirgazil.bitbucket.io/







Information forwarded to bug-guix <at> gnu.org:
bug#39843; Package guix. (Tue, 10 Mar 2020 17:41:02 GMT) Full text and rfc822 format available.

Message #11 received at 39843 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "39843" <39843 <at> debbugs.gnu.org>
Subject: Can't open files through file managers in other DEs and WMs
Date: Tue, 10 Mar 2020 12:40:34 -0500
It turns out there is a known issue that reports the gio-launch-desktop problem (see https://issues.guix.gnu.org/issue/38135). The problem is fixed, but the fix is not in production yet. However, I can confirm that the workaround described in that issue report fixes all the problems I mentioned in my original messages.

So, opening files through Thunar on Xfce, Caja on MATE and Nautilus on sway works correctly if you modify your system configuration so that it imports "(gnu packages glib)" and adds "(list glib "bin")" to the list of packages.




Reply sent to sirgazil <sirgazil <at> zoho.com>:
You have taken responsibility. (Sat, 18 Apr 2020 19:17:01 GMT) Full text and rfc822 format available.

Notification sent to sirgazil <sirgazil <at> zoho.com>:
bug acknowledged by developer. (Sat, 18 Apr 2020 19:17:02 GMT) Full text and rfc822 format available.

Message #16 received at 39843-done <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "39843-done" <39843-done <at> debbugs.gnu.org>
Subject: Can't open files through file managers in other DEs and WMs
Date: Sat, 18 Apr 2020 19:16:03 +0000
After removing the workaround from my system configuration file and reconfiguring the system with a recent Guix (see below), things work find in MATE, Xfce and sway. I can't reproduce the problems anymore.

$ guix describe
Generation 72	Apr 17 2020 08:12:14	(current)
  sirgazil-x 66d4b67
    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
    branch: master
    commit: 66d4b677875c84d0b7a946376cd4885f202094eb
  guix 79ef072
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 79ef0726a9afb7bd4676b9a53401f742c7b83653


Thanks for fixing this.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 17 May 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.