Guy Dog 5.0.1

For talk and support relating specifically to Puppy derivatives
Message
Author
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#301 Post by mcewanw »

cimarron wrote: Also installed SpaceFM as file manager. Even sifted through the code of several applications (pmount, filemnt, edit-sfs) to replace the remnants of Rox-filer with SpaceFM. They sure don't make it easy to get rid of Rox...
Could you possibly upload a pet for most recent SpaceFM that works with guydog?

As far as the replacing Rox problem is concerned, may I suggest leaving the existing apps as they are but instead put a "fake rox" script something like the following (or simpler) in your executable PATH. Then if the existing apps get upgraded the newer versions should work without further modifications regarding rox:

Code: Select all

#!/bin/bash
# Program: Fake Rox
# mcewanw 6 Dec 2013
# If no rox on your system, name this script "rox", modify it to suit, and put it in executable PATH.

if [ -z "$1" ];then
	_argv1=""
else
	_argv1="$1"
fi
if [ -z "$2" ];then
	_argv2="whatever you want"
else
	_argv2="$2"
fi
if [ -z "$3" ];then
	_argv3="whatever you want"
else
	_argv3="$3"
fi
if [ -z "$4" ];then
	_argv4="whatever you want"
else
	_argv4="$4"
fi

case "$_argv1" in
  "")
    # whatever alternative commands you want to substitute for rox (with no option)
	;;
  "-d")
    # whatever alternative commands you want to substitute for rox -d dirname
    # Using "$_argv2" for $2 etc
	exit;;
  "-D")
    # whatever alternative commands you want to substitute for rox -D dirname
    # Using "$_argv2" for $2 etc
	exit;;
	
# repeat similar to above for any other rox options you want to substitute for 
#(check: rox --help for possibilities)

  *)
    # whatever alternative commands you want to substitute
	;;
esac
Of course, you need to put the substitute commands into the script before using it, which I haven't myself tried as yet, and the script may need fine tuned and debugged... (though pretty much the same code extract is successfully used for commandline processing in precord). It is easy to modify the above should you also want to cover the case of command options being piped to rox (again, the extra script lines needed for that kind of thing are also in precord but I excluded them in the above for simplicity and clarity)
github mcewanw

User avatar
cimarron
Posts: 292
Joined: Fri 31 May 2013, 01:57

#302 Post by cimarron »

Not sure about the most recent version, but I've been using 0.7.1, provided by technosaurus here (no pinboard): SpaceFM 0.7.1

Your script looks interesting. You'd have to try it to see how well you could make it work (I can't remember all the variations of code edits I made).

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Fake Rox script for use with SpaceFM in GuyDog

#303 Post by mcewanw »

Thanks for the SpaceFM pet. If anyone has newest version or time to compile I would much appreciate that. Otherwise I'll try and get round to that someday.

Okay, I have made a quick stab at the fake rox script I suggested above, including using pkill during unmount as cimarron used in his manual script mods. I've only tested it with Pmount as yet. Seems to work fairly well. Basically, in Guydog, I installed SpaceFM and then simply modified the existing /usr/sbin/rox script to contain:

Code: Select all

#!/bin/sh
# Program: Fake Rox
# mcewanw 7 Dec 2013
# If no rox on your system, name this script "rox", modify it to suit, and put it in executable PATH.

if [ -z "$1" ];then
   _argv1=""
else
   _argv1="$1"
fi
if [ -z "$2" ];then
   _argv2="whatever you want2"
else
   _argv2="$2"
fi

case "$_argv1" in
  "")
    exec spacefm
   ;;
   "-x")
    exec spacefm "$_argv2" 
   exit;;
  "-d")
    exec spacefm "$_argv2"  
   exit;;
  "-D")
    exec pkill -f  "$_argv2"
   exit;;
# repeat similar to above for any other rox options you want to substitute for
#(check: rox --help for possibilities)
  *)
    # whatever alternative commands you want to substitute for other rox options
   ;;
esac 
Could always modify the arrangement to look for a default filemanager and use that instead of hardcoded one I suppose, but above okay for my own needs currently. Also, only really dealing with rox -d and -D options above, though could be expanded per my comments in the code. I don't know if a true rox -x alternative matters with SpaceFM so I just treated it the same as rox -d (so could have used case "-d|-x".

Similar scripts could also sometimes be used as an attempted workaround more generally when other default programs have been replaced by others with different commandline options.

EDIT: Alternatively, you could simply install Rox as well as SpaceFM! Rox only takes up a few MB on disk. I downloaded a puppy 4 version rox_filer-2.9.0-1-p4.pet from http://distro.ibiblio.org/puppylinux/pet_packages-4/ and renamed /usr/sbin/rox to /usr/sbin/roxTMP in Guydog to try it out... Can even drag and drop files between rox filemanager and SpaceFm. Of course, if you run both at the same time you use a bit more memory, but you don't need to.

Truth is, rox is a quite lightweight and versatile - seems to use less memory than either emelfm2 or spacefm as far as I see in LXTask Task Manager unless there are extra associated processes running I don't know about. You can even make launcher panels with rox onto which you can drag folders or application icons or desktop shortcuts (showing icons) from /usr/share/applications:

Panel at top:

Code: Select all

rox -t mytoppanel
Panel at bottom:

Code: Select all

rox -B mybottompanel
or of course the rox pinboard:

Code: Select all

rox --pinboard=mypinboard
which you can switch off again with empty name:

Code: Select all

rox --pinboard=
Of course you have to work on the panel/pinboard background still per the rox documentation. I kind of like rox...
github mcewanw

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#304 Post by rokytnji »

I kind of like rox...
Same here. If you look at my post screenshots. I am running it.

As far as the newest SpaceFM. I am busy as heck with other stuff and my
GuyDog install was more of a proof of concept for my own personal what ever.

Anyhows. At Ignorant Gurus Blog. He has
Depends

GTK+ v2 or v3 (2.18 thru 3.x supported)
udev or HAL
desktop-file-utils
shared-mime-info
which I have not investigated yet in my install. If they are there. I might back up my save file and try with petget (when I get time to do so)

http://sourceforge.net/projects/spacefm/files/

https://github.com/IgnorantGuru/spacefm/tree/pkg/0.9.2



to install the binaries for debian instead of a .pet. Right now I am using the same spacefm as you guys are but I will un-install it first before trying this idea out.
Just a idea is all. It is how I tinker. Sometimes I am the Windshield. Sometimes the bug.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#305 Post by greengeek »

Iguleder's link in first post is no longer active, and there are several fresh links throughout the thread, but just thought I'd re-post one of them from a few pages back:
http://tubeguy.org/puppybg/iso/guydog-5.0.1.iso

This whole thread is looking more interesting by the day. Good work reviving it Rok (your link recommending Macpup412 and Guydog brought me here for a look-see...)

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#306 Post by Puppus Dogfellow »

guydog501 mirrored

has anyone got the devx? link on first page is down...

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#307 Post by rokytnji »

Puppus Dogfellow wrote:guydog501 mirrored

has anyone got the devx? link on first page is down...
https://www.dropbox.com/sh/l6yh1ihj4kic ... =241905374

Just tested. Links still good.

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#308 Post by ally »


User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#309 Post by Puppus Dogfellow »

rokytnji wrote:
Puppus Dogfellow wrote:guydog501 mirrored

has anyone got the devx? link on first page is down...
https://www.dropbox.com/sh/l6yh1ihj4kic ... =241905374

Just tested. Links still good.
thanks ally and rokytnji!


is this distro 64 or 32 bit? (asking though for the life of me i can't locate the text that led to me to thinking it was possibly 64bit.)

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#310 Post by ally »

32bit

:)

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#311 Post by Puppus Dogfellow »

ally wrote:32bit

:)
thanks again. :)

User avatar
cimarron
Posts: 292
Joined: Fri 31 May 2013, 01:57

#312 Post by cimarron »

Anyone else have trouble getting GuyDog to boot in Virtualbox? Lupu 5.1 booted fine in Virtualbox. But GuyDog gets to "Updating... network-drivers" then hangs, CPU at 100% but the boot doesn't continue. Any ideas?

solved: Got it to run in KVM

Post Reply