Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upNautilus often doesn't start the first (or second, or third) time #2449
Comments
andrewdavidwong
added
bug
C: Fedora
labels
Nov 22, 2016
andrewdavidwong
added this to the Release 3.2 updates milestone
Nov 22, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Nov 25, 2016
Member
This also affects opening certain attachments in Thunderbird with the thunderbird-qubes extension. For example, if you double click on an attached .zip file, a new DispVM will start (and presumably the .zip file will be transferred to it), but no window from the new DispVM will open.
Usually it's Archive Manager, so maybe there's some dependency on Nautilus, or maybe this affects more than Nautilus.
|
This also affects opening certain attachments in Thunderbird with the Usually it's Archive Manager, so maybe there's some dependency on Nautilus, or maybe this affects more than Nautilus. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Dec 8, 2016
Member
@marmarek: Any idea what might be causing this? Any logs I should look at?
|
@marmarek: Any idea what might be causing this? Any logs I should look at? |
andrewdavidwong
changed the title from
Nautilus often doesn't start the first time
to
Nautilus often doesn't start the first (or second, or third) time
Dec 8, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
entr0py
Dec 8, 2016
What does it say when you try to launch Nautilus from the terminal? Only Nautilus or other Gnome apps as well? I had a dbus-related issue in Whonix-12 that produced same symptoms, but for gnomish-apps across the board.
entr0py
commented
Dec 8, 2016
|
What does it say when you try to launch Nautilus from the terminal? Only Nautilus or other Gnome apps as well? I had a dbus-related issue in Whonix-12 that produced same symptoms, but for gnomish-apps across the board. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Dec 8, 2016
Member
What does it say when you try to launch Nautilus from the terminal?
Good idea:
$ nautilus
(nautilus:17938): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded.
(nautilus:17938): Gtk-WARNING **: Theme parsing error: <broken file>:1:0: Failed to import: The resource at '/org/gnome/libgd/tagged-entry/default.css' does not exist
Only Nautilus or other Gnome apps as well?
Seems to be only Nautilus and things that directly use Nautilus (e.g., Archive Manager).
Good idea:
Seems to be only Nautilus and things that directly use Nautilus (e.g., Archive Manager). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 9, 2016
Member
|
Does it start after issuing those warnings?
…--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
entr0py
Dec 9, 2016
Sounded familiar. Related to these?
https://groups.google.com/d/msg/qubes-users/veefnCdXHhs/2A-5IqEQZFYJ
https://groups.google.com/d/msg/qubes-users/ki-m5el9yUQ/X99qrODEX4cJ
https://groups.google.com/d/msg/qubes-users/Vpw8VOPvUEU/_0a4ywPpBwAJ
I don't remember the solution though... dbus activatable = false? Or was that a bandaid?
entr0py
commented
Dec 9, 2016
|
Sounded familiar. Related to these? https://groups.google.com/d/msg/qubes-users/veefnCdXHhs/2A-5IqEQZFYJ I don't remember the solution though... dbus activatable = false? Or was that a bandaid? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Dec 9, 2016
Member
Does it start after issuing those warnings?
Yes, when started from the command-line, it starts after those warnings. (When started from the Application menu, though, it usually doesn't.)
Yes, when started from the command-line, it starts after those warnings. (When started from the Application menu, though, it usually doesn't.) |
andrewdavidwong
added
P: major
UX
labels
Mar 1, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Mar 1, 2017
Member
Some anecdotal evidence: I've noticed that clicking the menu link twice in quick succession usually works, whereas waiting a few seconds between clicks does not.
Why this is extremely annoying and kills productivity:
Since I don't know whether a single click will work (because of this bug), my choice -- every time I need to open Nautilus in a Fedora VM (which is a lot) -- is between taking my chances (in which case I may ultimately have to navigate to and click the menu link 2+ times in the event that the first time doesn't work) or navigating to and clicking the link twice in quick succession (i.e., before I have a chance to find out whether the first click worked, in which case I have to navigate to the menu link twice). Either way means a lot of extra navigation and clicking through a very long menu.
I already have five groups of Xfce launchers, including 18 distinct Nautilus entries. This remains extremely problematic even after that degree of mitigation. I sometimes give up, open a dom0 terminal, and do qvm-run <vm-name> nautilus from the command-line, which is cumbersome but at least reliable.
|
Some anecdotal evidence: I've noticed that clicking the menu link twice in quick succession usually works, whereas waiting a few seconds between clicks does not. Why this is extremely annoying and kills productivity: Since I don't know whether a single click will work (because of this bug), my choice -- every time I need to open Nautilus in a Fedora VM (which is a lot) -- is between taking my chances (in which case I may ultimately have to navigate to and click the menu link 2+ times in the event that the first time doesn't work) or navigating to and clicking the link twice in quick succession (i.e., before I have a chance to find out whether the first click worked, in which case I have to navigate to the menu link twice). Either way means a lot of extra navigation and clicking through a very long menu. I already have five groups of Xfce launchers, including 18 distinct Nautilus entries. This remains extremely problematic even after that degree of mitigation. I sometimes give up, open a dom0 terminal, and do |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evadogstar
Mar 30, 2017
Maybe additional shortcut for nautilus like for terminal will be useful?
#2706
I am also notices that qvm-run VM nautilus always start nautilus. It's application menu problem. Maybe lets add two utils to run terminal and to run nautilus by shortcuts?
evadogstar
commented
Mar 30, 2017
|
Maybe additional shortcut for nautilus like for terminal will be useful? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
Mar 30, 2017
Contributor
It's application menu problem.
I'm inclined to believe the opposite.
Does it start after issuing those warnings?
Yes, when started from the command-line, it starts after those warnings. (When started from the Application menu, though, it usually doesn't.)
I have observed it still refusing to start after issuing the same warnings, also when started from the command line (both via qubes-desktop-run, and directly nautilus (with and without --gapplication-service)). Qubes seems not to be at fault. Looks more like a bug from something in the gnome/gtk/dbus/etc. world to me.
I'm inclined to believe the opposite.
I have observed it still refusing to start after issuing the same warnings, also when started from the command line (both via qubes-desktop-run, and directly nautilus (with and without --gapplication-service)). Qubes seems not to be at fault. Looks more like a bug from something in the gnome/gtk/dbus/etc. world to me. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
Mar 30, 2017
Contributor
Also, I've had cases where it happens repeatably 100% of the time (at least for the 50+ times in a row while I was investigating). Killing all nautilus processes would make it work (file manager window opens, no warnings) the first time afterwards, but would immediately go back to never working and always warning. Restarting the VM usually causes it to resume working each time.
|
Also, I've had cases where it happens repeatably 100% of the time (at least for the 50+ times in a row while I was investigating). Killing all nautilus processes would make it work (file manager window opens, no warnings) the first time afterwards, but would immediately go back to never working and always warning. Restarting the VM usually causes it to resume working each time. |
evadogstar
referenced this issue
Mar 31, 2017
Open
Keyboard shortcut to open terminal in same VM as front-most window #2706
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
May 6, 2017
Contributor
@evadogstar wrote:
Maybe additional shortcut for nautilus like for terminal will be useful? #2706
Here: qvm-filemanager
It is curious that the above linked script (essentially qvm-run $vm 'exec nautilus --new-window --no-desktop </dev/null >/dev/null') has yet to fail to open Nautilus even when it reproducably fails consistently via the Qubes menu.
The thing which makes it work seems to be the inclusion of --new-window flag, also confirmed by trying to start nautilus from a terminal in the affected VM. I still haven't dug into source to determine root cause. In the mean time, --new-window appears to be a reliable workaround.
|
@evadogstar wrote:
Here: qvm-filemanager It is curious that the above linked script (essentially The thing which makes it work seems to be the inclusion of |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
May 6, 2017
Contributor
Err sorry, the above is incorrect.
Desktop entry already passes this:
% grep Exec= /usr/share/applications/org.gnome.Nautilus.desktop
Exec=nautilus --new-window %U
Exec=nautilus --new-window
Perhaps --no-desktop flag is differentiating factor? Idk. Needs more investigation.
|
Err sorry, the above is incorrect. Desktop entry already passes this:
Perhaps |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 6, 2017
Member
|
`/usr/share/applications/org.gnome.Nautilus.desktop` have
`DBusActivatable=true` which affect how the application is started.
Especially, `Exec=` key is ignored in a such case:
https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
…--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evadogstar
May 6, 2017
@jpouellet Nice :) What shortcut you suggest for qvm-filemanager? Your Ctrl+Enter for qvm-terminal iis fine at 99% situations. 1% - the same shortcut used at pidgin for new line/send message and on some sites and other messengers.
evadogstar
commented
May 6, 2017
|
@jpouellet Nice :) What shortcut you suggest for |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
May 7, 2017
Contributor
@evadogstar Currently Qubes+N, where "Qubes" is my modifier key reserved for exclusive use by all keyboard shortcuts
|
@evadogstar Currently Qubes+N, where "Qubes" is my modifier key reserved for exclusive use by all keyboard shortcuts |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jpouellet
May 7, 2017
Contributor
FWIW I also use Qubes+Enter for new terminals. Ctrl+Enter conflicts with things like posting github comments ;)
In practice my "Qubes" modifier is the key to the left of my space bar, but people should feel free to use whatever they prefer. I intend to send patches for this unified Qubes modifier functionality when I get some more free time.
|
FWIW I also use Qubes+Enter for new terminals. Ctrl+Enter conflicts with things like posting github comments ;) In practice my "Qubes" modifier is the key to the left of my space bar, but people should feel free to use whatever they prefer. I intend to send patches for this unified Qubes modifier functionality when I get some more free time. |
andrewdavidwong
referenced this issue
Jan 18, 2018
Open
AppVM menu shortcuts don't always start application when clicked #3473
shunju
referenced this issue
Feb 13, 2018
Open
Apps do not open when starting VM from launcher #3533
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Jun 17, 2018
Member
This problem has recently gotten worse for some reason. Now, clicking a Nautilus shortcut N times will never open it. I have to launch it from the command line (I do it from dom0), at which point N Nautilus windows will open in the VM.
|
This problem has recently gotten worse for some reason. Now, clicking a Nautilus shortcut N times will never open it. I have to launch it from the command line (I do it from dom0), at which point N Nautilus windows will open in the VM. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 17, 2018
Member
fedora-28 template? Qubes 3.2 or 4.0? Does opening other application (xterm?) also make N Nautilus windows open?
|
fedora-28 template? Qubes 3.2 or 4.0? Does opening other application (xterm?) also make N Nautilus windows open? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Jun 18, 2018
Member
Fedora 28 on Qubes 3.2.
Does opening other application (xterm?) also make N Nautilus windows open?
No, just tried it. Launching xterm in the VM from the dom0 command line resulted in an xterm window but no Nautilus windows. I then launched Nautilus in the VM from the dom0 command line and only then got N Nautilus windows.
|
Fedora 28 on Qubes 3.2.
No, just tried it. Launching xterm in the VM from the dom0 command line resulted in an xterm window but no Nautilus windows. I then launched Nautilus in the VM from the dom0 command line and only then got N Nautilus windows. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Jul 2, 2018
To a lesser degree I'm experiencing this on R4.0, debian-9.
I've started to look at using the KDE apps instead, since they do not exhibit the same startup problems and have better feature sets anyway. On R4.0 however, the Dolphin menu integration exists only in Whonix -- EDIT -- Nevermind, it works in debian-9!
tasket
commented
Jul 2, 2018
•
|
To a lesser degree I'm experiencing this on R4.0, debian-9. I've started to look at using the KDE apps instead, since they do not exhibit the same startup problems and have better feature sets anyway. On R4.0 however, the Dolphin menu integration exists only in Whonix -- EDIT -- Nevermind, it works in debian-9! |
andrewdavidwong commentedNov 22, 2016
•
edited
Edited 1 time
-
andrewdavidwong
edited Dec 8, 2016 (most recent)
Qubes OS version (e.g.,
R3.1):R3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):fedora-24 (possibly others)
Expected behavior:
Nautilus starts the first time the shortcut is clicked in the app menu.
Actual behavior:
Often (~70% of the time) it only starts on the second, third, or fourth try.