Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#1
Using pre-upgrade iso. Since last couple of dist-upgrades (done regular like). I got a weird thing going on in Icewm Desktop.

Using the quit red button on Icewm taskbar. You Know. The popup Window with all the shutdown, reboot, logout, buttons. Well. I hit shutdown or logout from that Window.
Screen goes black. But no Slim login window for Logout. On Reboot it's the same but I have to ctrl+alt+del to reboot or the Asus just stays powered on with a blank screen.

Same for Shutdown. In fluxbox non of the problems show. Everything works OK via fluxbox.

Checked the wbar thread from March this year
post14913.html
/usr/local/bin/exitantix.sh has not been modified

Code: Select all

# File Name: exitantiX.sh
# Purpose: exit script from fluxbox and icewm
# Authors: OU812 and minor modifications by anticapitalista
# Latest Change: 20 August 2008
# Latest Change: 02 January 2009
######################################################################################################

#!/bin/sh

export Logout='

<window title="Log Out" window-position="1">

<vbox>
  <frame>
  <hbox>
    <vbox>
      <hbox>
        <button>
        <input file>"/usr/share/icons/gTangish-2.0a1/32x32/actions/gnome-lockscreen.png"</input>
        <action>xlock</action>
                <action>EXIT:close</action>
        </button>
        <text use-markup="true" width-chars="15"><label>"Lock Screen"</label></text>
      </hbox>
      <hbox>
        <button>
        <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-hibernate.png"</input>
        <action>antixhibernate.sh</action>
                <action>EXIT:close</action>
        </button>
        <text use-markup="true" width-chars="15"><label>"Hibernate"</label></text>
      </hbox>
      <hbox>
        <button>
        <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-reboot.png"</input>
        <action>sudo reboot</action>
        </button>
        <text use-markup="true" width-chars="15"><label>"Reboot"</label></text>
      </hbox>
    </vbox>

    <vbox>
      <hbox>
        <button>
        <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-logout.png"</input>
        <action>logouthelper.sh</action>
        </button>
        <text use-markup="true" width-chars="15"><label>"Log Out"</label></text>
      </hbox>
      <hbox>
        <button>
        <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-suspend.png"</input>
        <action>antixsuspend.sh</action>
                <action>EXIT:close</action>
        </button>
        <text use-markup="true" width-chars="15"><label>"Suspend"</label></text>
      </hbox>
      <hbox>
        <button>
        <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-halt.png"</input>
        <action>sudo halt</action>
        </button>
        <text use-markup="true" width-chars="15"><label>"Shutdown"</label></text>
      </hbox>
    </vbox>
  </hbox>
  </frame>
        
  <hbox>
    <button>
      <label>"Close"</label>
      <input file>"/usr/share/icons/gTangish-2.0a1/16x16/actions/dialog-cancel.png"</input>
      <action>EXIT:close</action>
    </button>
  </hbox>
</vbox>
  
</window>
'

gtkdialog -c --program=Logout
unset Logout
at least by me.
What is also weird is logout from taskbar start menu works OK (did not bother testing Shutdown or Reboot. Being Lazy __{{emoticon}}__ ). I am staying in fluxbox desktop (Anti is probably grinning) by editing .xinitrc for now (being forced to get used to using fluxbox. __{{emoticon}}__ )

Must be a special dist-upgrade just for Rok to use Fluxbox for a change.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
sorry for your troubles but welcome to flux __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
dolphin_oracle wrote:sorry for your troubles but welcome to flux __{{emoticon}}__

Welll, I guess this boy just cried wolf __{{emoticon}}__ . After perusing wbar thread. I figured what the heck. Did another

Code: Select all

# apt-get update && apt-get dist-upgrade
Pulled in about 38MB of downloads since last weekend.

Then did a

Code: Select all

# dpkg-reconfigure locales
to free up some space on my 4 gig internal SSD"/" drive (apt-get dist-upgrade eats up space)

then a

Code: Select all

deborphan | xargs apt-get -y remove
to free up a little more space.

Logged into Icewm from Fluxbox (logout button)

Tested Logout Menu on taskbar start button, Logout,Lock Workstation,Reboot, Shutdown,Restart Icewm.
All works as it should from there. Next was Acid Test on Popup Logout Window.
Logout now works, Shutdown now works, Reboot also as well as Lock Screen.

Edited ~/.xinitrc again for"icewm-session" instead of"startfluxbox"

Glad I had fluxbox to fall back on when Icewm acts up (was just a little problem). Build my bikes like that. If something malfunctions. Have a backup plan. Musta been a uncomplete upgrade is all I can figure.

Problem Solved, Rok