-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes Nemo does not start as desktop on session start (was: Sometimes Nemo just starts as a black Window after login) #38
Comments
Can you first of all, see if this is occurring on the latest Nemo (1.0.8). Next, if you can reproduce it, from the command prompt, type:
This should kill all instances of Nemo, including the desktop. Then fire up Nemo from the command line:
And see if there's any output from that. Thanks |
Hi Michael, Sorry for the delay - I was on vacation and it took me a while to catch up on my mails... I can confirm that this issue still persists with Nemo 1.1.0 and to me it looks like that Nautilus and Nemo are both trying to start. (I have also Gnome3 and Unity on my machine as I have to test with other desktop environments from time to time) Shouldn't Nautilus be disabled if Cinnamon is in use as desktop environment and Nemo is installed? Best, Michael PS #1: Here are the installed packages:michi@black-box: PS #2: Here are three logins and the outcome:Nemo 1.1.0 is running but deskop icons are missing:michi@black-box: ** (nemo:7383): WARNING **: Can not get _NET_WORKAREA ** (nemo:7383): WARNING *: Can not determine workarea, guessing at layout (dropbox:7402): Gdk-CRITICAL **: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed Nautilus started instead of Nemo:michi@black-box: ** (nautilus:11095): WARNING **: Can not get _NET_WORKAREA ** (nautilus:11095): WARNING **: Can not determine workarea, guessing at layout failed to create drawable (dropbox:11103): Gdk-CRITICAL **: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed Nemo 1.1.0 starts and desktop icons are present:michi@black-box: ** (nemo:11673): WARNING **: Can not get _NET_WORKAREA ** (nemo:11673): WARNING *: Can not determine workarea, guessing at layout (dropbox:11693): Gdk-CRITICAL **: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed |
Hi everyone, This still happens to me on 1.1.1 albeit it seems to happen less often than with previous releases. (but this can be totally subjective!) Best, Michael |
Hi everyone, This still happens with Nemo 1.1.2 to me and today I had time to investigate! Here are the packages I have installed: To troubleshoot this issue I've wrote a Bash wrapper script that I've placed instead of /usr/bin/nemo and /usr/bin/nautilus. The wrapper script looks like this: http://dl.dropbox.com/u/1080918/wrapper.sh I've then placed the wrapper script instead of Nemo and Nautilus with the following commands: Then I've restarted several times my session and here are the resulting log files: Conclusion: I hope this helps to troubleshoot this issue. Best, Michael PS: I hate that we are unable to attach files! Thank you GitHub for this stupid decision! |
Some more insights... Both Nemo and Nautilus are started because there are .desktop files for them in /etc/xdg/autostart/. I think the session files for Cinnamon are wrong. For me the session files should look like: /usr/share/gnome-session/sessions/cinnamon.session: (Please also note the changed fallback!) /usr/share/gnome-session/sessions/cinnamon2d.session: With this the Nemo autostart configuration would look like: (Please note that no changes to the Nautilus config would be needed) /etc/xdg/autostart/nemo-autostart.desktop: The nice thing about this solution would be that Nautilus would only start for Gnome3 (GNOME) and Unity. Nemo would only start for Cinnamon. Unfortunately there must be more than meets the eye because if I change the config files this way the window manager muffin doesn't start. :-/ |
The reason we've avoided registering "Cinnamon" as a desktop name is that it opens up issues with many upstream apps that currently OnlyShowIn=Gnome or Gnome;Unity or just Unity. The relationship Mint has with Gnome and Ubuntu isn't genial enough that we could get them to add Cinnamon to their desktop files, so we would have to distribute and maintain separate duplicate .desktop files just for Cinnamon for these upstream packages. You're right, it would solve the Nemo problem perfectly, but break a lot of other things, unfortunately. The pull request I have pending (#91) would allow you to guarantee that Nemo starts and Nautilus doesn't (preventing any sort of race condition that currently occurs) but if you wanted to switch back to Gnome or Unity for whatever reason, you'd have to re-enable that in Nemo preferences. |
I already feared that this would be the reason behind it. Should't this topic be on the agenda for the next big Cinnamon version? Your pull request looks good to me except two nitpicks. I would favor for one option "Allow Nemo to manage your desktop" that silently triggers "Prevent Nautilus from attempting to manage the desktop" too. I also don't see anything that would automatically reenable Nautilus if someone would remove the Nemo package. This could be rather unpleasant for someone who just wanted to give Cinnamon a try and removed it afterwards. |
With the implementation of cinnamon-session, nautilus is now prevented from running in a Cinnamon session. |
I rebooted - without, I think, having made any significant changes, though my network was having difficulty - and the system froze after showing my wallpaper: no dock, no desktop icons, nothing happening (though the hard drive light flashed intermittently) and very little doable. After another reboot, the same happened. I used grub to enter recovery mode, but that told me little (and indeed the recovery mode text was messed up). Reboot once more and used Grub to boot a different kernel. This time I got to a situation where I could do things but the desktop but nemo - desktop and non-desktop - would not load, giving this errror:
I could do precious little with files - I could e.g. load them from Sublime but not save them - until I used PcManFM (which allowed file browsing but also saving from Sublime, if I loaded the edited file via PcMan).
Report 3 mentions that old culprit - network drives. I have such drives and, on my desktop, a shortcut to a file on one of them. I removed the drives from I am sorry that I cannot offer more insight into this - temporary, but severe - situation. Mint 18.3 x64. If I should open a new bug report, then I will. |
Do you want all of strace or just the errors? write(2, "Could not register nemo as a rem"..., 57Could not register nemo as a remote: Timeout was reached |
Running nemo-desktop followed by trying to open a folder on the gui causes this error. $ nemo-desktop Traceback (most recent call last): |
Hi everyone,
Sometimes Nemo just starts as a maximized black Window after login and no desktop icons are displayed. If I close the black Window I still have no desktop icons but as soon as I start nemo as a normal file manager the desktop icons also appear.
The xprop output of that black window is:
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_STATE(ATOM) =
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 29, 1
_NET_WM_DESKTOP(CARDINAL) = 0
I'm using the following packages:
$ dpkg -l | egrep "cinnamon|muffin|nemo"
ii cinnamon 1.6.1-0ubuntu1
precise1 Cinnamon desktopprecise1 GObject introspection data for Muffinii gir1.2-muffin-3.0 1.1.1-0ubuntu1
ii libmuffin0 1.1.1-0ubuntu1
precise1 window manager library from the Muffin window managerprecise1 libraries for nemo components - runtime versionii libnemo-extension1a 1.0.3-0ubuntu1
ii muffin 1.1.1-0ubuntu1
precise1 lightweight GTK+ window managerprecise1 shared files for the Muffin window managerii muffin-common 1.1.1-0ubuntu1
ii nemo 1.0.3-0ubuntu1
precise1 file manager and graphical shell for GNOMEprecise1 data files for nemoii nemo-data 1.0.3-0ubuntu1
ii nemo-fileroller 1.0.0-20120930040004-precise File Roller integration for Nemo
Please let me know how I can provide further information and I'm happy to help.
Best,
Michael
The text was updated successfully, but these errors were encountered: