X and Fluxbox :: Multiple Rox Defaults



All -

I am looking for a clue here. I want to use Rox for multiple icons. I want each icon to default to a different directory. I looked in the Rox manual and it talks about doing "rox /home" for example.

This works at the command line but I cannot get it to work from within the icon. I have tried many combinations with no luck. Anyone have any ideas? Thanks

Chris

That's cbagger01's contrib...  
One of his favs , nice extension...
Probably best to ask him when he returns...

73
ke4nt

On your multiple rox defaults...

Can you write a little script for each icon you want ??

I tried this, and it worked..

#!/bin/sh
cd /usr/games
rox

Save this 3 line script as "games.rox" in your /home/dsl directory.

Now, if you make this file executable "chmod 744 games.rox"..
You can run it, and Rox opens in /usr/games ..

Isn't this what your lookin for ??

You can lnk an icon to this file just like the other icons in .xtdesktop
For example:
=======================
table Icon
 Type: Program
 Caption: Games
 Command: /home/dsl/games.rox
 Icon: .xtdesktop/games.rox.png
 X: 295
 Y: 185
end
=======================

Let me know...

73
ke4nt

Kent -

Great idea! I will give that a try today.

Thank you!

Well, I created the script and ran it but it still opens up in the default home/dsl directory

cd /home/dsl/My Documents
rox

I'll keep messing with it. Thanks

Chris

Next Page...
original here.