Bug#874003: nautilus: Nautilus does not launch applications

2018-01-14 Thread Matthieu Imbert
Well, this fix is nice, but has the side-effect that now when opening a 
place (such as Home, Desktop, Document), or invoking my file manager 
with my Ctrl-Alt-E keyboard shortcut, it runs Thunar instead of Nautilus :-(


I'm trying to see if I can get it to work correctly without having to 
uninstall xfce / thunar.


Any help appreciated :-)

cheers,

On Sun, 14 Jan 2018 12:15:48 +0100 Matthieu Imbert 
 wrote:

Here's a more detailed fix:


--
Matthieu



Bug#874003: nautilus: Nautilus does not launch applications

2018-01-14 Thread Matthieu Imbert

Here's a more detailed fix:

deleting ~/.config was not a very appealing fix for me since I don't 
want to lost everything :-)


When double clicking a file in nautilus, it ends up calling "gio open".

stracing gio:

$ strace -f gio open  2>&1 | grep '\.config'

it shows that at some point an xfce4 helper file is read (I do have xfce 
installed as well on my laptop):


stat("/home//.config/xfce4/helpers.rc", {st_mode=S_IFREG|0644, 
st_size=41, ...}) = 0


this file contained the following lines:
FileManager=nautilus
MailReader=icedove

I moved away this file and it fixes the issue.

Anyway I don't know why, at some point, gio reads this xfce file, it 
seems a bit strange.


For information here is the full ouput of

$ strace -f gio open  2>&1 | grep '\.config'
[pid 16711] access("/home//.config", R_OK|X_OK) = 0
[pid 16711] inotify_add_watch(7, "/home//.config", 
IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR 

[pid 16711] openat(AT_FDCWD, 
"/home//.config/gnome-mimeapps.list", O_RDONLY) = -1 ENOENT 
(No such file or directory)
[pid 16711] openat(AT_FDCWD, "/home//.config/mimeapps.list", 
O_RDONLY) = 8

mkdir("/home//.config", 0700)= -1 EEXIST (File exists)
stat("/home//.config", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
stat("/home//.config/xfce4/helpers.rc", {st_mode=S_IFREG|0644, 
st_size=41, ...}) = 0

openat(AT_FDCWD, "/home//.config/xfce4/helpers.rc", O_RDONLY) = 7

--
Matthieu



Bug#874003: nautilus: Nautilus does not launch applications

2017-10-10 Thread Matthieu Imbert

On 10/10/2017 11:20 AM, Phil Wyett wrote:

On Tue, 2017-10-10 at 09:42 +0200, Matthieu Imbert wrote:

I confirm, same behavior for me since the upgrade nautilus:amd64
3.22.3-1 -> 3.25.92-1:

- not opening files when double clicking or when right clicking and
choosing the first entry "open with " (xxx being the default
application)

- workaround possible by right clicking, selecting "open with other
application", then choosing any application (including the default one)




Hi,

The versions you are using are outdated. Can you update and retest?

If the issue persists can you provide one or two document types/examples so
others may try reproduce what you are experiencing.

Regards

Phil


Actually I forgot to mention that I'm now using 3.26.0-1, and the 
behaviour is still the same.


I also may have not been clear enough: It's not just on some particular 
documents: The inability to open a document occurs on every kind of 
document. So any document can be used to reproduce (any text file, 
image, music, pdf doc, etc.). I attach a simple text file example.


If you cannot reproduce it it means there is some configuration 
difference between our environments, but I have no idea where to start 
searching.
I don't know if it's relevant, but I'm using regular gnome, with a few 
extensions that make it behave more like traditional gnome 2, and I run 
in xorg (not wayland).
Feel free to ask me whatever other details of my configuration that may 
be relevant to debug that issue.


--
Matthieu

lorem ipsum


Bug#874003: nautilus: Nautilus does not launch applications

2017-10-10 Thread Phil Wyett
On Tue, 2017-10-10 at 09:42 +0200, Matthieu Imbert wrote:
> I confirm, same behavior for me since the upgrade nautilus:amd64 
> 3.22.3-1 -> 3.25.92-1:
> 
> - not opening files when double clicking or when right clicking and 
> choosing the first entry "open with " (xxx being the default 
> application)
> 
> - workaround possible by right clicking, selecting "open with other 
> application", then choosing any application (including the default one)
> 
> 

Hi,

The versions you are using are outdated. Can you update and retest?

If the issue persists can you provide one or two document types/examples so
others may try reproduce what you are experiencing.

Regards

Phil

-- 
*** If this is a mailing list, I am subscribed, no need to CC me.***

Playing the game for the games sake.

Web: https://kathenas.org

GitLab: https://gitlab.com/kathenas

Twitter: kathenasorg

Instagram: kathenasorg

GPG: 1B97 6556 913F 73F3 9C9B 25C4 2961 D9B6 2017 A57A

signature.asc
Description: This is a digitally signed message part


Bug#874003: nautilus: Nautilus does not launch applications

2017-10-10 Thread Matthieu Imbert
I confirm, same behavior for me since the upgrade nautilus:amd64 
3.22.3-1 -> 3.25.92-1:


- not opening files when double clicking or when right clicking and 
choosing the first entry "open with " (xxx being the default 
application)


- workaround possible by right clicking, selecting "open with other 
application", then choosing any application (including the default one)



--
Matthieu



Bug#874003: nautilus: Nautilus does not launch applications

2017-09-12 Thread Julien Goodwin
Also confirming that this affected me on testing, after upgrade from the 
previous 3.22 version in testing.

[UPGRADE] nautilus:amd64 3.22.3-1 -> 3.25.92-1

Using XFCE. Running dbus-monitor seems to indicate that nautilus is calling 
itself somehow.

Some shortened entries from that:

signal time=1505224075.387382 sender=:1.5490 -> destination=(null destination) 
serial=103 path=/org/gtk/gio/DesktopAppInfo; 
interface=org.gtk.gio.DesktopAppInfo; member=Launched
   array of bytes "/usr/share/applications/exo-file-manager.desktop" + \0
   string ""
   int64 10065
   array [
  string "file:///home/USER/file.txt"
   ]
   array [
  dict entry(
 string "startup-id"
 variant string 
"nautilus-10037-HOSTNAME-exo-open-0_TIME75136151"
  )
  dict entry(
 string "origin-prgname"
 variant array of bytes "nautilus" + \0
  )
  dict entry(
 string "origin-pid"
 variant int64 10037
  )
   ]

method call time=1505224075.440747 sender=:1.5493 -> 
destination=org.gnome.Nautilus serial=16 path=/org/gnome/Nautilus; 
interface=org.gtk.Application; member=CommandLine
   object path "/org/gtk/Application/CommandLine"
   array [
  array of bytes "/usr/bin/nautilus" + \0
   ]
   array [
  dict entry(
 string "cwd"
 variant array of bytes "/home/USER" + \0
  )
  dict entry(
 string "options"
 variant array [
   dict entry(
  string "cwd"
  variant  string "/home/USER"
   )
   dict entry(
  string ""
  variant  array [
string "/home/USER/file.txt"
 ]
   )
]
  )
  dict entry(
 string "desktop-startup-id"
 variant string 
"nautilus-10037-HOSTNAME-exo-open-0_TIME75136151"
  )
   ]


signal time=1505224075.489976 sender=:1.78 -> destination=(null destination) 
serial=180 path=/ca/desrt/dconf/Writer/user; interface=ca.desrt.dconf.Writer; 
member=Notify
   string "/org/gnome/nautilus/preferences/default-folder-viewer"
   array [
  string ""
   ]
   string ":1.78:user:88"
signal time=1505224075.658380 sender=:1.5490 -> destination=(null destination) 
serial=108 path=/org/gnome/Nautilus/window/1; interface=org.gtk.Actions; 
member=Changed
   array [
   ]
   array [
  dict entry(
 string "stop"
 boolean false
  )
  dict entry(
 string "reload"
 boolean true
  )
   ]
   array [
   ]
   array [
   ]



signature.asc
Description: OpenPGP digital signature


Bug#874003: nautilus: Nautilus does not launch applications

2017-09-01 Thread Joe Rowan
Package: nautilus
Version: 3.25.90-1
Severity: important

Dear Maintainer,

Nautilus is not launching applications when document files double-clicked or 
right-clicked and 'Open with ' selected. Other right-click actions work. 
When launching is attempted, either the window redraws with the double-clicked 
file as the top item, or a new window is opened, again with the target file at 
the top of the list.

I recall seeing Nautilus updated late last night, this problem has occurred 
since then. Nemo is behaving normally.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nautilus depends on:
ii  desktop-file-utils 0.23-2
ii  gsettings-desktop-schemas  3.24.0-2
ii  gvfs   1.30.4-1+b1
ii  libatk1.0-02.24.0-1
ii  libc6  2.24-17
ii  libcairo-gobject2  1.14.10-1
ii  libcairo2  1.14.10-1
ii  libexempi3 2.4.3-1
ii  libexif12  0.6.21-2+b2
ii  libgail-3-03.22.19-1
ii  libgdk-pixbuf2.0-0 2.36.5-4
ii  libglib2.0-0   2.53.6-1
ii  libglib2.0-data2.53.6-1
ii  libgnome-autoar-0-00.2.2-1
ii  libgnome-desktop-3-12  3.25.91.1-1
ii  libgtk-3-0 3.22.19-1
ii  libnautilus-extension1a3.25.90-1
ii  libpango-1.0-0 1.40.11-1
ii  libpangocairo-1.0-01.40.11-1
ii  libselinux12.6-3+b2
ii  libtracker-sparql-1.0-01.12.1-1
ii  libx11-6   2:1.6.4-3
ii  nautilus-data  3.25.90-1
ii  shared-mime-info   1.8-1

Versions of packages nautilus recommends:
pn  gnome-sushi  
ii  gvfs-backends1.30.4-1+b1
ii  librsvg2-common  2.40.18-1

Versions of packages nautilus suggests:
ii  brasero   3.12.1-4
ii  eog   3.25.90-1
ii  evince [pdf-viewer]   3.24.1-1
ii  mpg321 [mp3-decoder]  0.3.2-1.1
ii  nautilus-sendto   3.8.6-1
ii  okular [pdf-viewer]   4:16.08.2-1+b1
pn  tracker   
ii  vlc [mp3-decoder] 1:2.2.6-dmo6
ii  xdg-user-dirs 0.15-3
ii  xpdf [pdf-viewer] 3.04-4+b1

-- no debconf information