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 28 Aug 2014, 03:33
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
ROX-Filer release of SELECTIONS using Script ?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
some1

Joined: 17 Jan 2013
Posts: 21

PostPosted: Mon 04 Mar 2013, 15:09    Post subject:  ROX-Filer release of SELECTIONS using Script ?
Subject description: Xdotool works but I'm looking for something lighter
 

Hi

I am dumping rox-selection-paths by middle-mouse to an entrybox.
The rox-selections stays sticky - after the dump - which I somewhat
consider a nuisance,but not a bug.Rox version 2.9.

On dumparrival,using xdotool to send an escape-key to the Rox-window, I can release,clear selections.
However - xdotool is "external" and somewhat heavy -bytewise- just for this .


So the question:

Is there another way,mechanism to - from a script -make ROX clear selections?

Thanks
Back to top
View user's profile Send private message 
some1

Joined: 17 Jan 2013
Posts: 21

PostPosted: Fri 08 Mar 2013, 20:06    Post subject: ...why so shy?.  

Hi

...meanwhile - using xdotool::

Code:
$(xdotool search --onlyvisible --name '^[~|/]' key --window %@ "Escape")


Visible windows with titles starting with "home" or / will get an Escape key.
( Note: Also minimized windows can carry a selection )

That is somewhat of an overkill - because on receiving data - the script COULD deduct the parent-path to the directory in which the selections occurred.

However - ROX craves user-action to free selections -
and with a hectic selection activity on several windows - there may be
1) stale,dimmed selections
2) the actual last selection -which is in the clipboard

Dead selections are a nuisance,when forgotten - and f.x. a right-click in a filer-window with dead-selections might give rise to a WTF-moment.

So for now:
Sending out a spree of Escapes makes for a saner world.
The extra coding needed for a dedicated solution does not really seem worth it.

But still - xdotool has to be around - so another -,"in residence" - way would be preferable.

Cheers
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0390s ][ Queries: 12 (0.0039s) ][ GZIP on ]