VectorLinux

The nuts and bolts => X-Rated => Topic started by: Lyn on February 03, 2013, 01:47:07 am

Title: Icewm install error
Post by: Lyn on February 03, 2013, 01:47:07 am
Having solved the sound issue with Velocity I can now move onto issue with installing software...

First off Icewm

When I try to install the icewm mods meta package I get the following error when I select it via gslapt

icewmvmods: Depends: consolekit >= 0.4.3

 
Title: Re: Icewm install error
Post by: overthere on February 03, 2013, 09:30:26 am
consolekit 0.4.3 is available in the repository for 32 bit so either not available for 64 or a missed depend for the  icewm package.
Title: Re: Icewm install error
Post by: Lyn on February 04, 2013, 02:27:12 pm
consulkit 0.4.3-x86_64-1 exists in the repository and shows as installed for me, so I have just re installed it and will now try the meta package for icewm.

Meta package installed, log out and back into icewm, builds menu and selects terminal and web browser and asks if I want to have wallpaper and icons - I say yes.  It says restart icewm.  I do, no wallpaper or icons, no log out, it is there, but grays out when I select it and no option to exit icewm.  only way out is to launch a terminal and as root issue shutdown -r now.....   Suggests that things aren't quite set up correctly.
Title: Re: Icewm install error
Post by: hata_ph on February 04, 2013, 04:22:47 pm
what version of icewm you using now?
Title: Re: Icewm install error
Post by: Lyn on February 05, 2013, 12:02:45 am
The one from the repositories
Title: Re: Icewm install error
Post by: overthere on February 05, 2013, 12:25:14 am
I think the wallpaper and icons are managed by pcmanfm and would be adjusted in preferences, not sure if that helps in this case. there may also be more than one available version of pcmanfm  to consider
Title: Re: Icewm install error
Post by: Lyn on February 05, 2013, 04:17:06 am
its more the log out facility that is a major issue, I normally disable icons and wallpaper, but that is one of the mods and if its not working then we need to rejig the meta package so that you have the same functionality in the 64 as in the 32 bit version.
Title: Re: Icewm install error
Post by: overthere on February 05, 2013, 02:06:11 pm
Yes, Looks like the package has some issues. if the log out is not working from the icewm menu perhaps look in .icewm/preferances and see what the logout command is ie: "logout"..try just "" .
Title: Re: Icewm install error
Post by: nightflier on February 06, 2013, 06:10:24 pm
Lyn, are you using a login manager (gdm, kdm..)?
Title: Re: Icewm install error
Post by: Lyn on February 07, 2013, 02:24:00 am
GDM as per standard Velocity install.
Title: Re: Icewm install error
Post by: Lyn on February 07, 2013, 02:29:25 am
Yes, Looks like the package has some issues. if the log out is not working from the icewm menu perhaps look in .icewm/preferances and see what the logout command is ie: "logout"..try just "" .

Under ./icewm/preferances I have:

#  Command to start logout
LogoutCommand="$HOME/.icewm/shutdown-dialog.sh"

#  Command to cancel logout
# LogoutCancelCommand=""

#  Command to shutdown the system
# ShutdownCommand=""

#  Command to reboot the system
# RebootCommand=""
Title: Re: Icewm install error
Post by: overthere on February 07, 2013, 03:03:55 am
was just a thought, evidently a script, was suggesting you could  try alternative commands or nothing just to test while waiting for someone else who would  know the answer and/or fix the package :-X
Title: Re: Icewm install error
Post by: nightflier on February 07, 2013, 03:57:01 am
#  Command to start logout
LogoutCommand="$HOME/.icewm/shutdown-dialog.sh"

That script depends on "gtkdialog". Try running it manually in a terminal and see what you get.
Title: Re: Icewm install error
Post by: Lyn on February 07, 2013, 12:41:39 pm
interesting - gives command not found.
Title: Re: Icewm install error
Post by: nightflier on February 07, 2013, 06:07:33 pm
So gtkdialog is missing. The script bombs without it. Did you install the mod package manually, or using glapt/slapt-get?
Title: Re: Icewm install error
Post by: Lyn on February 09, 2013, 12:07:28 am
with gslapt.
Title: Re: Icewm install error
Post by: Lyn on February 09, 2013, 12:20:24 am
OK just installed gtkdialog via gslapt and it gives us a log out/shutdown/restart option that works... now we need to get the icons/wallpaper issue resolved and I think the meta package needs rebuilding.  Added pcmanfm via gslapt and now I have backgrounds, however the icons don't work, they give me an error when I double click on them - "Failed to change to directory '' (No such file or directory).  Edit, cured that by switching to pcmanfm-mod as the version of pcmanfm to use, so the icons now work....

Edit, oops spoke prematurely - the icons to the websites do, the rest don't. they give an error
command not found.
Title: Re: Icewm install error
Post by: nightflier on February 09, 2013, 07:53:19 am
The differences between the 32 bit and 64 versions are significant. The mod package will need to be modified to reflect that.

My opinion is that the 64 bit version should be updated. Pcmanfm-mod was chosen for several reasons, one being that it had much fewer deps than pcmanfm. By now, it is no longer maintained. If you're running 64 bit, that means you're not limited by ancient hardware, so there should be power to run a more fully featured file and desktop manager.

I am leaning towards pcmanfm. What do you think?
Title: Re: Icewm install error
Post by: Lyn on February 09, 2013, 11:43:42 pm
Not sure - I have changed to pcmanfm-mod here - I have had some issues with pcmanfm - could always go back to using idesk or rox  - I thought that pcmanfm was part of lxde?
Title: Re: Icewm install error
Post by: nightflier on February 10, 2013, 05:44:46 am
LXDE does use pcmanfm, correct.

I did some testing, and several pieces were missing after installing the mod package. Check that you have all dependencies installed:
Code: [Select]
ORBit2 >= 2.14.19
leafpad >= 0.8.18.1
icewm >= 1.3.7
gtkdialog >= 0.8.0
obmixer >= 0.11
aumix >= 2.9.1
yad >= 0.14.0
udisks >= 1.0.2
upower >= 0.9.8
libatasmart >= 0.17
consolekit >= 0.4.3
libgnome-keyring >= 2.32.0
gvfs >= 1.6.6
xarchiver >= 0.5.2
pcmanfm >= 0.9.9
lxterminal >= 0.1.11
lxmenu-data >= 0.1.2
gtkfind >= 1.1

There are also some 32 bit binaries within the package itself, which won't work in Vlocity. One is "fbrun". If you (re)install fluxbox, it will take care of that.

As far as the desktop icons not working:
Pcmanfm-mod does not support the trash function. It is what it is.
The desktop shortcuts have some problems. Try opening the desktop files in a text editor for troubleshooting and corrections. Some have an empty line "Path=". Removing that line helps with pcmanfm. Also, there are call for programs "browser" or "browser-vl", which may not be part of a minimal install. Find the "Exec=****" line, and try that command by itself in a terminal. Problems can be fixed by editing the desktop files to use working commands, or add the needed programs.

Pcmanfm-mod was superseded by Spacefm. That might be a good choice too. This package works for me: http://slackware.org.uk/slacky/slackware64-13.37/desktop/spacefm/0.7.2/spacefm-0.7.2-x86_64-1sl.txz

Switching file/desktop manager will require several changes in the config files. Do a "grep pcmanfm ~/.icewm/*" to find out which ones.

This is a productive thread, keep the ideas coming.   :)
Title: Re: Icewm install error
Post by: Lyn on February 10, 2013, 06:33:40 am
well I can't find lxterminal, lxmenu-data or gtkfind.

I understand what you are saying about icons, after all they are designed for all window managers/environments and not necessarily for icewm - which after all is minimalist.

I would suggest Spacefm might be a good fit if its under development.

I appreciate the attention to this, after all why would someone use a minimalist window manager on a 64 bit system?
Title: Re: Icewm install error
Post by: nightflier on February 11, 2013, 07:42:41 am
why would someone use a minimalist window manager on a 64 bit system?
Because we feel the need, the need for speed!    ;D

Still working on it. Now moving towards using pcmanfm, as all the needed parts are already in our repo.

Edit: Had some problems with spacefm, but will revisit it when the rest is in place.
Title: Re: Icewm install error
Post by: Lyn on February 11, 2013, 12:41:19 pm
Also there is an innate reluctance to change, I have always liked IceWM - I love the fact that nearly everything is configurable by changing a text file..... OK I don't know everything about it but its nice and simple and does what I like.
Title: Re: Icewm install error
Post by: nightflier on February 12, 2013, 05:53:17 pm
Got most of it working, except the Trash icon on the desktop. The file has a line in it supposedly limiting it to be shown in KDE, but pcmanfm doesn't respect that and crashes when double-clicking on it.  >:(
Title: Re: Icewm install error
Post by: Lyn on February 12, 2013, 11:13:53 pm
I appreciate your efforts in doing this, would be interesting to find out how many others use icewm who are not running light....
Title: Re: Icewm install error
Post by: nightflier on February 16, 2013, 03:47:47 pm
Got a starter package for intrepid testers.  ;D

I tested this on an install without XFCE. PCManFM gives me problems if XFCE is not excluded in the install.  :(

Make sure you have the following packages+deps installed first:
Code: [Select]
aumix
gtkdialog
gvfs
icewm
libatasmart
libgnome-keyring
libtasn1
lxmenu-data
menu-cache
obmixer
ORBit2
pcmanfm
upower
yad

Forcibly install (slapt-get --install --ignore-dep) udisks
- I have put in a request to correct the missing dep for it

Download and install this one too:
http://slackware.org.uk/slacky/slackware64-13.37/desktop/gmrun/0.9.2/gmrun-0.9.2-x86_64-1sl.txz
- made request to have it added to our repo

Finally, this one:
http://cincibjj.com/tmp/icewmvmods-3-noarch-1vl70.txz

I was hoping to stick to what already was in the repo, but it seems like some adjustments need to be made no matter what. The pcmanfm/xfce issue was unexpected. Spacefm may be the way to go after all.


EDIT: After a cold boot, it started working just fine.. should be good to add to a full STD installation. If you test it, make sure to re-start your machine.
Title: Re: Icewm install error
Post by: Lyn on February 18, 2013, 09:00:22 am
I will give this a go, but for the moment my internet is down and I can't actually download anything at work... frustraiting!   Could be a couple of weeks before I get back properly on the net!
Title: Re: Icewm install error
Post by: nightflier on February 24, 2013, 05:34:16 am
Actually, the delay may be a good thing. I've come full circle, back to pcmanfm-mod. Stay tuned for update.
Title: Re: Icewm install error
Post by: Lyn on February 24, 2013, 06:13:09 am
I am back... and happy to give things a try...  what do you suggest?
Title: Re: Icewm install error
Post by: nightflier on February 24, 2013, 10:57:27 am
EDITED: New package ready:
http://cincibjj.com/tmp/icewmvmods-3-x86_64-3vl70.txz

These deps apply to an installation of VL7 Standard 64-bit without XFCE, xap or optional programs. Install before the mod package.
Code: [Select]
aumix
gtkdialog
gdm
icewm
libatasmart
obmixer
ORBit2
pcmanfm-mod
rarity
udev
udisks
upower
yad
zenity
Also, until a gmrun package makes it into our repo:
http://slackware.org.uk/slacky/slackware64-13.37/desktop/gmrun/0.9.2/gmrun-0.9.2-x86_64-1sl.txz

This mod will give you the IceWM window manager with pcmanfm-mod managing the desktop. Included are scripts for auto-mounting removable media without using hal or gvfs.

Know issues:
The trash feature is not supported.
Auto-mount only works on media inserted after login. Drives with media already present will be ignored.
Title: Re: Icewm install error
Post by: nightflier on February 24, 2013, 03:06:29 pm
Please keep in mind that we're talking older software on newer hardware here. The amd64 (x86-64) platform came to desktops with the AMD Athlon 64, which gave the Pentium 4 a run for the money. Only some later versions of the P4 were 64 bit capable.

Point is, if you're running a 64 bit system, you should have plenty of power to run a modern desktop environment. I suspect mostly diehard IceWM veterans, who don't mind a few quirks, will be interested in this setup. My salutations!
Title: Re: Icewm install error
Post by: hata_ph on February 25, 2013, 04:12:10 am
Also, until a gmrun package makes it into our repo:
http://slackware.org.uk/slacky/slackware64-13.37/desktop/gmrun/0.9.2/gmrun-0.9.2-x86_64-1sl.txz

I build gmrun for VL 7.0...pls try it
http://vlcore.vectorlinux.com/pkg/untested/veclinux-7.0/x86/gmrun-0.9.2-x86_64-1vl70.txz
http://vlcore.vectorlinux.com/pkg/untested/veclinux-7.0/x86_64/gmrun-0.9.2-x86_64-1vl70.txz

This mod will give you the IceWM window manager with pcmanfm-mod managing the desktop. Included are scripts for auto-mounting removable media without using hal or gvfs.

Know issues:
The trash feature is not supported.
Auto-mount only works on media inserted after login. Drives with media already present will be ignored.

I use VL 7.0 Light with fluxbox and pcmanfm...I able to make trashcan working in pcmanfm...install gvfs and modify the xinitrc.fluxbox as below...you must have dbus install for it to work...

Quote
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# autorun xinitrc.d scripts - might conflict with below dbus-lauch scripts
#if [ -d /etc/X11/xinit/xinitrc.d ]; then
#  for f in /etc/X11/xinit/xinitrc.d/*; do
#    [ -x "$f" ] && . "$f"
#  done
#  unset f
#fi

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  #exec ck-launch-session /usr/bin/startfluxbox
  if [ -x /usr/bin/dbus-launch ]; then
   # run with dbus-launch if it exists
   exec ck-launch-session dbus-launch --exit-with-session /usr/bin/startfluxbox
  else
   exec ck-launch-session /usr/bin/startfluxbox
  fi
else
  exec /usr/bin/startfluxbox
fi
Title: Re: Icewm install error
Post by: nightflier on February 25, 2013, 04:40:20 am
Thank you, hata_ph.

64-bit version tests good. Will need to do another 32-bit install to test the other one later.

Appreciate the info on modifying the WM launcher. I did try that, but had several issues with that configuration, at least while showing desktop icons. Maybe fluxbox handles it differently from icewm.
Title: Re: Icewm install error
Post by: nightflier on February 25, 2013, 02:15:38 pm
32-bit package works fine too.

Now, if we could get the issue with the udisks/mdadm package(s) fixed, the mod package could go into repo.  :)
Title: Re: Icewm install error
Post by: hata_ph on February 25, 2013, 04:42:25 pm
32-bit package works fine too.

Now, if we could get the issue with the udisks/mdadm package(s) fixed, the mod package could go into repo.  :)

what problem u encounter?
Title: Re: Icewm install error
Post by: nightflier on February 25, 2013, 06:29:53 pm
Udisks has an unsatisfied dep of mdadm:
http://forum.vectorlinux.com/index.php?topic=17395.msg96057#msg96057

Not sure if mdadm is really needed for udisks, but it would be nice to have in the repo anyway.
Title: Re: Icewm install error
Post by: hata_ph on February 25, 2013, 07:01:54 pm
Udisks has an unsatisfied dep of mdadm:
http://forum.vectorlinux.com/index.php?topic=17395.msg96057#msg96057

Not sure if mdadm is really needed for udisks, but it would be nice to have in the repo anyway.

I have rebuild udisk and build mdadm in the untested repo...pls try it...
Title: Re: Icewm install error
Post by: nightflier on March 07, 2013, 03:27:39 am
Have what should be the final version. First, the deps:
Code: [Select]
ORBit2 >= 2.14.19
aumix >= 2.9.1
gmrun >= 0.9.2
gtkdialog >= 0.8.0
icewm >= 1.3.7
libatasmart >= 0.17
obmixer >= 0.11
udisks >= 1.0.4
upower >= 0.9.15
yad >= 0.19.0
zenity >= 2.30.0
Until package is in repo, you need to manually install all of these first.
If you add it to a full VL64-7.0, there should be no problem.
On a stripped down install, you may need to forcefully install udisks.

Finally, the (unofficial) mod package: http://cincibjj.com/tmp/icewmvmods-3-x86_64-4vl70.txz