Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#1
I've been reading this at Puppy forums (Murga) and not quite sure how to make sense out of the .sh scripts or if they can even be used in AntiX


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.murga-linux.com/puppy/viewtopic.php?t=87536"
linktext was:"http://www.murga-linux.com/puppy/viewtopic.php?t=87536"
====================================


I know fie locations can be different between distros like Puppy and AntiX so
I am treading lightly through this yet.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
If our version of IceWM supports this then it should be fine. The only other catch is that you need to make sure the programs used in the scripts are installed. Thunar is used a lot in the scripts. The config section of each script makes this easy to figure out.

Either place the scripts in /usr/local/bin or put them in $HOME/bin and use the absolute path in the menu entry:

Code: Select all

menuprogreload Place $ICON 0 /home/bitjam/bin/iceplaces.sh
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
Thunar, huh. I will have to dig/dog in to the scripts and look to see if spacefm can be
substitued for thunar.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#4
I think these could work out well in antiX, not sure if it can be adapted to fluxbox or jwm though __{{emoticon}}__

Spacefm should work fine, except for the network:/// and trash:/// protocols, as spacefm does not support that url structure. It may be possible to edit spacefm's config, or the udevil.conf files to make them work though.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#5
Here is a modified version of the iceplaces.sh script to work with antiX and fluxbox.
Looking for some people to test.
The rest to follow.... Individually or be combined into one.

Running fbplaces.sh in terminal will display the resulting menu structure.
To load that in the Fluxbox menu.....
In terminal
type: su
type: your root password
type: cd /usr/local/bin
type: cp /your/download/location/fbplaces.sh ./
type: chmod 755 fbplaces.sh
type: exit
type: fbplaces.sh > ~/.fluxbox/places
type: leafpad ~/.fluxbox/menu
Find this:

Code: Select all

[submenu] (Applications)
    [begin] (Applications)
    [include] (~/.fluxbox/applications)
[end]
and add an entry to the new places file to look like

Code: Select all

[submenu] (Applications)
    [begin] (Applications)
    [include] (~/.fluxbox/applications)
[end]
[submenu] (Places)
    [begin] (Places)
    [include] (~/.fluxbox/places)
[end]
Save and close
type: leafpad ~/.fluxbox/startup
add: $( fbplaces.sh > ~/.fluxbox/places) &
to the startup file, save and close.
Close terminal, right click on the desktop for the fluxbox menu and enjoy..... Hopefully __{{emoticon}}__
Last edited by Dave on 28 Jul 2013, 17:22, edited 3 times in total.
Alanarchy
Posts 0
Alanarchy
#6
type: fbplaces.sh > ~/.fluxbox/places
I then got"bash: fbplaces.sh: command not found" so I chmodded it and tried again with the same result __{{emoticon}}__
This is with the terminal open in the fbplaces.sh folder.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#7
sorry I wrote those instructions as if the script was copied to /usr/local/bin. I modified the instructions to your method of testing..... you just need to add ./ to the begining of the command and then it will find the script.
Alanarchy
Posts 0
Alanarchy
#8
I should have thought of that __{{emoticon}}__

That works fine apart from complaining that I have no .gtk-bookmarks. I like it! Thanks __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9

Code: Select all

$ sux
Password: 
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
root@biker:/home/harry# cd /usr/local/bin
root@biker:/usr/local/bin# cp /home/harry/Downloads/fbplaces.sh
cp: missing destination file operand after `/home/harry/Downloads/fbplaces.sh'
Try `cp --help' for more information.
root@biker:/usr/local/bin# cp /home/harry/Downloads/fbplaces.sh
cp: missing destination file operand after `/home/harry/Downloads/fbplaces.sh'
Try `cp --help' for more information.
root@biker:/usr/local/bin# cp /home/harry/Downloads/fbplaces.sh/ /usr/local/bin
cp: cannot stat `/home/harry/Downloads/fbplaces.sh/': Not a directory
root@biker:/usr/local/bin# cp /home/harry/Downloads/fbplaces.sh/ 
cp: missing destination file operand after `/home/harry/Downloads/fbplaces.sh/'
Try `cp --help' for more information.
root@biker:/usr/local/bin# cp /home/harry/Downloads/fbplaces.sh/ /usr/local/bin
cp: cannot stat `/home/harry/Downloads/fbplaces.sh/': Not a directory
root@biker:/usr/local/bin# cp /home/harry/Downloads/fbplaces.sh./
cp: missing destination file operand after `/home/harry/Downloads/fbplaces.sh./'
Try `cp --help' for more information.
root@biker:/usr/local/bin# cp /home/harry/Downloads/fbplaces.sh ./
root@biker:/usr/local/bin# chmod 755 fbplaces.sh
root@biker:/usr/local/bin#  fbplaces.sh > ~/.fluxbox/places
bash: /root/.fluxbox/places: No such file or directory
root@biker:/usr/local/bin# fbplaces.sh > ~/.fluxbox/places
bash: /root/.fluxbox/places: No such file or directory
As You can see. I am struggling. I am not sure if

Code: Select all

$ cd ~/.fluxbox
harry@biker:~/.fluxbox
$ ls
applications  init  lastwallpaper  overlay  styles
apps          keys  menu           startup  windowmenu
harry@biker:~/.fluxbox
If I am to add a directory or text file named places.
Sorry it took me so long to test Dave. __{{emoticon}}__

Embarrassed as usual

Code: Select all

root@biker:/usr/local/bin# exit
exit
harry@biker:~
$ fbplaces.sh > ~/.fluxbox/places
harry@biker:~
$ leafpad ~/.fluxbox/menu
harry@biker:~
$ leafpad ~/.fluxbox/startup
,

Sorry. __{{emoticon}}__

Alanarchy
Posts 0
Alanarchy
#10
If I am to add a directory or text file named places.
The script makes one for you, but you can make one of your own if you really really want to.