Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Aug 2014, 21:57
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Guy Dog 5.0.1
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 21 of 21 [312 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21
Author Message
mcewanw

Joined: 16 Aug 2007
Posts: 2297
Location: New Zealand

PostPosted: Thu 05 Dec 2013, 17:40    Post subject:  

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:

#!/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)

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
cimarron

Joined: 30 May 2013
Posts: 92

PostPosted: Thu 05 Dec 2013, 23:04    Post subject:  

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).
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2297
Location: New Zealand

PostPosted: Sat 07 Dec 2013, 03:27    Post subject: Fake Rox script for use with SpaceFM in GuyDog  

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:

#!/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:

rox -t mytoppanel


Panel at bottom:
Code:

rox -B mybottompanel


or of course the rox pinboard:

Code:

rox --pinboard=mypinboard


which you can switch off again with empty name:
Code:

rox --pinboard=


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

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
rokytnji


Joined: 20 Jan 2009
Posts: 1308
Location: Pecos/ Texas

PostPosted: Sat 07 Dec 2013, 11:33    Post subject:  

Quote:
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

Quote:
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.
Back to top
View user's profile Send private message Visit poster's website 
greengeek

Joined: 20 Jul 2010
Posts: 2477
Location: New Zealand

PostPosted: Mon 20 Jan 2014, 04:57    Post subject:  

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...)
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 541
Location: nyc

PostPosted: Sat 29 Mar 2014, 23:32    Post subject:  

guydog501 mirrored

has anyone got the devx? link on first page is down...
Back to top
View user's profile Send private message 
rokytnji


Joined: 20 Jan 2009
Posts: 1308
Location: Pecos/ Texas

PostPosted: Thu 10 Apr 2014, 13:55    Post subject:  

Puppus Dogfellow wrote:
guydog501 mirrored

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


https://www.dropbox.com/sh/l6yh1ihj4kic0v1/x4HwdwxmwO?n=241905374

Just tested. Links still good.
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 835
Location: lincoln

PostPosted: Thu 10 Apr 2014, 15:06    Post subject:  

here also:

https://archive.org/download/PuppyLinuxguydog-5.0.1/kernel_sources-2.6.39-4.sfs

Smile
Back to top
View user's profile Send private message Visit poster's website 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 541
Location: nyc

PostPosted: Fri 11 Apr 2014, 10:51    Post subject:  

rokytnji wrote:
Puppus Dogfellow wrote:
guydog501 mirrored

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


https://www.dropbox.com/sh/l6yh1ihj4kic0v1/x4HwdwxmwO?n=241905374

Just tested. Links still good.
ally wrote:
here also:

https://archive.org/download/PuppyLinuxguydog-5.0.1/kernel_sources-2.6.39-4.sfs

Smile


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.)
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 835
Location: lincoln

PostPosted: Fri 11 Apr 2014, 11:11    Post subject:  

32bit

Smile
Back to top
View user's profile Send private message Visit poster's website 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 541
Location: nyc

PostPosted: Fri 11 Apr 2014, 11:14    Post subject:  

ally wrote:
32bit

Smile


thanks again. Smile
Back to top
View user's profile Send private message 
cimarron

Joined: 30 May 2013
Posts: 92

PostPosted: Wed 23 Apr 2014, 10:02    Post subject:  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 21 of 21 [312 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0971s ][ Queries: 13 (0.0117s) ][ GZIP on ]