trunkmaster / nextspace

NeXTSTEP-like desktop environment for Linux
https://trunkmaster.github.io
GNU General Public License v3.0
1.89k stars 69 forks source link

Dock messes up after crash #238

Closed helgur closed 4 years ago

helgur commented 4 years ago

Installed this with CentOS 7 on a laptop. Unable to recover Nextspace desktop after it went into hibernation, so had to do a hard reset. After which all the icons on the dock where gone.

Applaud your efforts with this. I am a big fan of clean, clutter less UI's and always liked the openstep look and feel. Excited to see what you make of the next release of Nextspace!:)

trunkmaster commented 4 years ago

This is Dock state file was zeroed. I've already think about it. You have 2 options right now:

  1. Restore Dock contents by manually dragging applications to Dock. Then set autolaunch (Preferences->Dock) to those apps you want be automatically launched (Preferences, TimeMon).
  2. Logout. In text console copy /etc/skel/Library/Preferences/.WindowMaker/WMState to ~/Library/Preferences/.WindowMaker.

I guess second option should be default. Mark this issue as bug.

trunkmaster commented 4 years ago

@helgur fixed in master branch. Can you test it? Thank you for report.

trunkmaster commented 4 years ago

@helgur ?

helgur commented 4 years ago

Sorry for the late reply, give me a couple of days to test this as I had to lend the laptop to a relative and haven't gotten it back yet, and I need to do a reinstall.

trunkmaster commented 4 years ago

OK, no problem.

helgur commented 4 years ago

Saved a backup image from my work laptop and installed centos 7 and nextspace on it. When successfully booting into nextspace and following the build prerequisite guide (https://github.com/trunkmaster/nextspace/wiki/Build-Guide) I am stuck with installing libdispatch (libdispatch-devel-1.3-1.el7.centos.x86_64.rpm from the list you provided at https://github.com/trunkmaster/nextspace/releases/tag/0.8):

"Feil: Package: libdispatch-devel-1.3-1.el7.centos.x86_64 (/libdispatch-devel-1.$ Requires: libdispatch(x86-64) = 1.3-1.el7.centos Installert: libdispatch-1.3.1121-3.el7.x86_64 (@/libdispatch-1.3.1121$ libdispatch(x86-64) = 1.3.1121-3.el7"

It seems the libdispatch-devel package you provided can't install because the libdispatch package provided at the same repository is outdated?

Also the root cause of this issue in the first place is centos 7 not being able to handle hibernation. I thought maybe upgrading the kernel might solve the issue (centos 7 uses linux kernel 3(!) so I upgraded to the latest kernel, but that didn't fix it apparently. On Debian/Ubuntu it manages hibernation just fine. (actually researching that issue in particular led me down quite the rabbit hole, see: https://unix.stackexchange.com/questions/308525/screen-stays-black-on-wakeup-from-suspend-centos-7). I am not really proficient at redhat, I switched to debian from redhat before the turn of the century, but dabbling with RPM's sure brought back some memories.

trunkmaster commented 4 years ago

Saved a backup image from my work laptop and installed centos 7 and nextspace on it. When successfully booting into nextspace and following the build prerequisite guide (https://github.com/trunkmaster/nextspace/wiki/Build-Guide) I am stuck with installing libdispatch (libdispatch-devel-1.3-1.el7.centos.x86_64.rpm from the list you provided at https://github.com/trunkmaster/nextspace/releases/tag/0.8):

"Feil: Package: libdispatch-devel-1.3-1.el7.centos.x86_64 (/libdispatch-devel-1.$ Requires: libdispatch(x86-64) = 1.3-1.el7.centos Installert: libdispatch-1.3.1121-3.el7.x86_64 (@/libdispatch-1.3.1121$ libdispatch(x86-64) = 1.3.1121-3.el7"

It seems the libdispatch-devel package you provided can't install because the libdispatch package provided at the same repository is outdated?

It seems you've got confused with NEXTSPACE relases. You try install libdispatch-dev package from 0.8 release while you have installed libdispatch from 0.85 release. Please use dev and non-dev RPMs from the same release https://github.com/trunkmaster/nextspace/releases/tag/0.85.

Also the root cause of this issue in the first place is centos 7 not being able to handle hibernation. I thought maybe upgrading the kernel might solve the issue (centos 7 uses linux kernel 3(!) so I upgraded to the latest kernel, but that didn't fix it apparently. On Debian/Ubuntu it manages hibernation just fine. (actually researching that issue in particular led me down quite the rabbit hole, see: https://unix.stackexchange.com/questions/308525/screen-stays-black-on-wakeup-from-suspend-centos-7). I am not really proficient at redhat, I switched to debian from redhat before the turn of the century, but dabbling with RPM's sure brought back some memories.

Hm... It seems I need to think about moving to Ubuntu...

helgur commented 4 years ago

It seems you've got confused with NEXTSPACE relases. You try install libdispatch-dev package from 0.8 release while you have installed libdispatch from 0.85 release

Oh, I thought those packages followed the same version as the latest release and thus I overlooked the version number. That is my bad.

Hm... It seems I need to think about moving to Ubuntu...

If you do that I am pretty certain that nextspace will gain more interest (but that is maybe something you don't want at this stage). Nevertheless, speaking on behalf of myself, that would be awesome!

trunkmaster commented 4 years ago

@helgur Off topic: I've just checked my laptop 'suspend' and 'hibernate' - works fine (ThinPad E540). Even ssh session to this laptop hasn't broken after awake. As for kernel version 3 - RedHat backports a lot of new functionaly without bumping version number while keeping stable ABI. RedHat's kernel 3.10 - it's 4.15 in features at some degree. That's how enterprise grade OS does it and that's why I chose CentOS as base OS for NEXTSPACE.

What about issue topic? Did you test latest changes?

trunkmaster commented 4 years ago

@helgur ?

helgur commented 4 years ago

Right, having to work exclusively from home now due to the outbreak and I can't use CentOS on production as I risk loosing a lot of work if it hangs. Sorry. When I get time I'll do another reinstall and check back with you.

trunkmaster commented 4 years ago

@helgur any progress?

trunkmaster commented 4 years ago

Closing as fixed without feedback for a long time.