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 Sat 04 Jul 2020, 21:51
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
ROX-Filer: Superfast bookmarks
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [41 Posts]   Goto page: Previous 1, 2, 3
Author Message
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1669
Location: nyc

PostPosted: Thu 12 Jun 2014, 11:46    Post subject:  

musher0 wrote:
Hi, Puppus_D.

I see you're been pushing this feature even further than I have! Smile

I didn't even suspect that you could generate another "Groups.xml" (with
a different file name) with the same results.

I'll see what I can do to incorporate the xbel thingy. No promises, though.
As you suggested in another thread, some additional work is needed on
the MRUD script so it can pick up more file types. I should be tackling that
task first, in good (?) logic!

BFN.

musher0


you'd have to get rid of the what would become the unnecessary block of reserved spaces for the actual keycuts--the secondary list would just be regular bookmarks with nothing to offset any as having a special ability--that info would come from the groups file itself...
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1669
Location: nyc

PostPosted: Fri 27 Jun 2014, 18:34    Post subject:  

here's an icon for Mochi's script. it's supposed to evoke an old fashioned telephone with newfangled buttons. i tried to use a color i think is representative of ROX, though the original colors have been modded off my machines and only appear as tiny buttons in taskbars. so, "dial at the press of a button" in black and turquoise.


wish the forum had one of those : / emoticons...
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1669
Location: nyc

PostPosted: Mon 30 Jun 2014, 11:30    Post subject: screeny at Mochi's request
Subject description: (manual editing of Groups.xml to his chagrin)
 



this is the contents of the file (/root/.config/rox.sourceforge.net/ROX-Filer/Groups.xml) that generated it:
Code:

<?xml version="1.0"?>
<groups>
 
<group name="7"><directory>/usr/share/applications</directory></group>
<group name="0"><directory>/usr/bin</directory></group>
<group name="01"><directory>/bin</directory></group>

<group name="3"><directory>/root/SpiderOak Hive</directory></group>
<group name="4"><directory>/mnt/sda3/Copysda3/Copy/My Documents-20gigsync/Software/custon icons</directory></group>
<group name="8"><directory>/etc/xdg/templates</directory></group>
<group name="6"><directory>/root/puppy-reference</directory></group>
<group name="5"><directory>/mnt/mmcblk0p2/Dropbox/MMMMMMMMM</directory></group>
<group name="9"><directory>/root/.jwm</directory></group>
<group name="11"><directory>/root/.config/rox.sourceforge.net/ROX-Filer</directory></group>
<group name="12"><directory>/root/.local/share/</directory></group>
<group name="1"><directory>/root</directory></group>
<group name="71"><directory>/usr/local/apps</directory></group>
<group name="72"><directory>/root/my-applications</directory></group>
<group name="91"><directory>/root/.recoll</directory></group>
<group name="92"><directory>/root/.config/xpad</directory></group>
<group name="93"><directory>/mnt/sdc1</directory></group>

<group name="2"><directory>/mnt/home</directory></group></groups>



the basic template is

<group name="91"><directory>[paste path here]</directory></group>
<group name="191"><directory>[paste path here]</directory></group>
<group name="911"><directory>[paste path here]</directory></group>
<group name="912"><directory>[paste path here]</directory></group>


a click takes you to a location, the single digit entries can be accessed thereafter (or any time if you're already in a rox window) by merely pressing the number. a rather evolved cheat sheet...that can be expanded with disapproval...

Laughing

(it's a great script, Mochi, and it handles the hacking/abuse with aplomb. setting relative positions is easy; the popup must be closed and reopened for changes to show, whether they be created through the xml file or by pressing cntrl+ [0-9]. it appears the most recent change is listed last and numerous reboots confirms that no data gets lost or overwritten...)
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 2081
Location: Japan

PostPosted: Sun 06 Jul 2014, 05:17    Post subject: Re: screeny at Mochi's request
Subject description: (manual editing of Groups.xml to his chagrin)
 

Puppus Dogfellow wrote:
a rather evolved cheat sheet...that can be expanded with disapproval...
And my disapproval expands with it Laughing
It's not a good idea. If you really need additional slowdials you should keep them in a separate file and not fiddle them into Groups.xml.

Here is what you could do:
1) Create your cheat file, say /root/customdials.txt (name and location don't matter)
2) Add one line to the script:
<label>"Key|Selection|Directory"</label>
'$TREE_ITEMS'

<input file stock-column="0">"/root/customdials.txt"</input>
<action>[ -d "$vDIR" ] && { rox -d "$vDIR"; [ $vCBOX = "false" ] && pkill -f ROXKEY_DIALOG ;}</action>

3) Add your custom bookmarks to customdials.txt. The format consists of 4 fields, separated by a pipe character ("|"). Only the last field is mandatory.
Field 1: Name of gtk-icon. Speeddial uses "gtk-jump-to", so it might be a good idea to use a different one
Field 2: This field contains the speeddial numbers and is sorted. Using letters would put your bookmarks below the speeddial list. If you choose numbers, as in your case, they mix with the speeddials.
Field 3: Only used for [s] marker. May contain anything.
Field 4: The bookmark path

Example:
gtk-no |01 ||/bin
gtk-no |11 ||/root/.config/rox.sourceforge.net/ROX-Filer
gtk-no |12 ||/root/.local/share

Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1669
Location: nyc

PostPosted: Sun 06 Jul 2014, 12:21    Post subject: Re: screeny at Mochi's request
Subject description: (manual editing of Groups.xml to his chagrin)
 

MochiMoppel wrote:
Puppus Dogfellow wrote:
a rather evolved cheat sheet...that can be expanded with disapproval...
And my disapproval expands with it Laughing
It's not a good idea. If you really need additional slowdials you should keep them in a separate file and not fiddle them into Groups.xml.

Here is what you could do:
1) Create your cheat file, say /root/customdials.txt (name and location don't matter)
2) Add one line to the script:
<label>"Key|Selection|Directory"</label>
'$TREE_ITEMS'

<input file stock-column="0">"/root/customdials.txt"</input>
<action>[ -d "$vDIR" ] && { rox -d "$vDIR"; [ $vCBOX = "false" ] && pkill -f ROXKEY_DIALOG ;}</action>

3) Add your custom bookmarks to customdials.txt. The format consists of 4 fields, separated by a pipe character ("|"). Only the last field is mandatory.
Field 1: Name of gtk-icon. Speeddial uses "gtk-jump-to", so it might be a good idea to use a different one
Field 2: This field contains the speeddial numbers and is sorted. Using letters would put your bookmarks below the speeddial list. If you choose numbers, as in your case, they mix with the speeddials.
Field 3: Only used for [s] marker. May contain anything.
Field 4: The bookmark path

Example:
gtk-no |01 ||/bin
gtk-no |11 ||/root/.config/rox.sourceforge.net/ROX-Filer
gtk-no |12 ||/root/.local/share



oh, so i can go to groups.xml and add names instead of numbers and not have to have six hundred variations of 9?
Wink

(just kidding, Mochi. Sorta. Smile )

gtk uses a separate batch of icons and doesn't need to know the path with them? where are they located? what would it take to use a non-gtk icon? (because they're represented by pictures/thumbnails, i've long since taken the titles off my desktop folders (i still have a handful) and more or less have them consistent on my machines--it's a helpful visual cue and perhaps something i'd like to add to the speed dial pop up if possible.)

when you say field three may contain anything, do you mean any file names in that folder? could it be set up as a launcher with code similar to what works in the jwm menu? i don't use the selection feature much and i just discovered the one machine that still has a few such entries doesn't register them when i open those folders with the speed dial window but does when i actually press the speed dial key. so as it stands, i don't really use field three or at least haven't as yet found it useful/figured out how to make it useful. my idea that i could launch it by pressing enter appears to be false--i think it's just supposed to be a bookmark within a folder, which i guess is helpful if you've got hundreds of files in one...they're index markers of some sort, but at the moment i cannot remember the rox instructions for navigating to them, a two key combination of some sort or another if i recall correctly.

anyway, i read this and figured, nah, it's already good, but i'll probably redo it your way on all my machines by the end of the day regardless.

ah, just saw your invisopic--those'll do. those red dots are "gtk-no"?

cool. i'm sure this is easier in the long run.

thanks.

Very Happy
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 2081
Location: Japan

PostPosted: Mon 07 Jul 2014, 05:32    Post subject: Re: screeny at Mochi's request
Subject description: (manual editing of Groups.xml to his chagrin)
 

Puppus Dogfellow wrote:
when you say field three may contain anything, do you mean any file names in that folder? could it be set up as a launcher with code similar to what works in the jwm menu?
Sorry for the confusion. What I meant: Field 3 contains the [S] marker as a reminder that a file selection exists. This field is not evaluated by the script and if you like you can enter any text, but I agree that this field is more a nuisance than a help and I consider to scrap it. Would save a few pixels of horizontal space and would make the code simpler. You can still use field 2 for (short!) text labels.
Quote:
those red dots are "gtk-no"?
Obviously Laughing Guess what "gtk-yes" looks like... Precise 5.6 has an "Icon finder" in the menu which lists all gtk icons and their names.
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1669
Location: nyc

PostPosted: Mon 07 Jul 2014, 18:22    Post subject: Re: screeny at Mochi's request
Subject description: (manual editing of Groups.xml to his chagrin)
 

MochiMoppel wrote:
Puppus Dogfellow wrote:

those red dots are "gtk-no"?
Obviously Laughing Guess what "gtk-yes" looks like... Precise 5.6 has an "Icon finder" in the menu which lists all gtk icons and their names.


like "ballorange16" or "mini-rball" but in the hue of "mini-gball"?

i thought for a moment maybe you were just goofing on your own disapproval.

Laughing
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 2081
Location: Japan

PostPosted: Sun 14 Sep 2014, 21:36    Post subject:  

No more goofing: I amended my initial post, moved the script to the Additional Software forum and hope that it now covers all thinkable and unthinkable bookmarks on anyone's system Laughing
speeddials.png
 Description   
 Filesize   51.89 KB
 Viewed   281 Time(s)

speeddials.png

Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1669
Location: nyc

PostPosted: Mon 15 Sep 2014, 10:50    Post subject:  

MochiMoppel wrote:
No more goofing: I amended my initial post, moved the script to the Additional Software forum and hope that it now covers all thinkable and unthinkable bookmarks on anyone's system Laughing


cool.
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Mon 15 Sep 2014, 17:54    Post subject:  

Hi again,

Until your post earlier today in SpeedDials I mistakenly thought
"xdotool click 2" meant a double left click - not a middle click.

Pending a much better idea I just used:

Code:
sleep 5
xdotool click 2


in conjunction with SpeedDials to choose its show/copy option.

My regards
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1669
Location: nyc

PostPosted: Mon 15 Sep 2014, 19:51    Post subject:  

Jasper wrote:
Hi again,

Until your post earlier today in SpeedDials I mistakenly thought
"xdotool click 2" meant a double left click - not a middle click.

Pending a much better idea I just used:

Code:
sleep 5
xdotool click 2


in conjunction with SpeedDials to choose its show/copy option.

My regards


glad it was helpful. the code didn't work without the sleep command?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [41 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0693s ][ Queries: 12 (0.0144s) ][ GZIP on ]