Roxset (Improved)
Perhaps a better way all round might be to install pcmanfm (like in Crunchbang), which supports tabs. Drag and drop between tabs is really intuitive, and overall it is probably running with less resource than two instances of Rox. I have managed to get it to run in Puppy, but with no icons in the file window pane. It needs a gtk theme, and as yet I cant figure out how to achieve it.
Pcmanfm works well with the various *box window managers I believe.....
Pcmanfm works well with the various *box window managers I believe.....
Spup Frugal HD and USB
Root forever!
Root forever!
Dave,
see this post for running pcmanfm on puppy and regarding your question about the icon theme
http://www.murga-linux.com/puppy/viewtopic.php?t=25699
aragon
see this post for running pcmanfm on puppy and regarding your question about the icon theme
http://www.murga-linux.com/puppy/viewtopic.php?t=25699
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Thanks aragon. Just downloaded this .pup and will give it a try.aragon wrote:Dave,
see this post for running pcmanfm on puppy and regarding your question about the icon theme
http://www.murga-linux.com/puppy/viewtopic.php?t=25699
aragon
Spup Frugal HD and USB
Root forever!
Root forever!
Roxset with two windows based on SCREEN SIZE
I've just updated Roxset as follows:
Roxset now opens two windows - side by side - based on your SCREEN SIZE! (thanks Aragon). If you prefer the two panes to stay in place and not move, a brief message will come up reminding you to right-click on any blank part of either pane and select- Options > Filer windows > Never automatically resize.
Enough space has been left at the bottom of the two panes to expose the desktop drive icons (and any other icons you choose) to provide easy access to a third window opening across the two panes for even more drag & drop fun.
NOTE: While extensively testing this, I discovered that sometimes an initial window will not accept something being dragged into it. If this happens, just slightly move the rejecting window and it should work.
Roxset now opens two windows - side by side - based on your SCREEN SIZE! (thanks Aragon). If you prefer the two panes to stay in place and not move, a brief message will come up reminding you to right-click on any blank part of either pane and select- Options > Filer windows > Never automatically resize.
Enough space has been left at the bottom of the two panes to expose the desktop drive icons (and any other icons you choose) to provide easy access to a third window opening across the two panes for even more drag & drop fun.
NOTE: While extensively testing this, I discovered that sometimes an initial window will not accept something being dragged into it. If this happens, just slightly move the rejecting window and it should work.
1. "a brief message will come up reminding you to right-click on any blank part of either pane and select- Options > Filer windows > Never automatically resize"
How about including a "Close" button on that so that the user can take as much time as they like to full understand the information, and only then click "Close"?
In case the user did nothing you could have LONGER display time, when it would then close automatically.
It caught me off guard, and was gone before I had fully read and understood, so I had to close and restart to read it a 2nd time.
How about including a "Close" button on that so that the user can take as much time as they like to full understand the information, and only then click "Close"?
In case the user did nothing you could have LONGER display time, when it would then close automatically.
It caught me off guard, and was gone before I had fully read and understood, so I had to close and restart to read it a 2nd time.
Sylvander,
If you prefer, you can make the message stay until clicked by changing the code in Roxset as follows:
At the end of the Roxset script you'll find this line -
remove "-timeout 10" so that it looks like this -
It will now stay on the screen until clicked.
Hope the new screen size basis is better for you now and have you seen the Whaw - Window Tiling Daemon here -
http://murga-linux.com/puppy/viewtopic.php?t=46080
If you prefer, you can make the message stay until clicked by changing the code in Roxset as follows:
At the end of the Roxset script you'll find this line -
Code: Select all
yaf-splash -timeout 10 -font..........
Code: Select all
yaf-splash -font........
Hope the new screen size basis is better for you now and have you seen the Whaw - Window Tiling Daemon here -
http://murga-linux.com/puppy/viewtopic.php?t=46080
Got Whaw installed and it's pretty easy to use once you get the hang of it.
But I'd still much rather have the two Rox windows open tiled instead of having to do it each time.
Perhaps one day.
Changed [the appropriate part of] the roxset script to:
But I'd still much rather have the two Rox windows open tiled instead of having to do it each time.
Perhaps one day.
Changed [the appropriate part of] the roxset script to:
Code: Select all
yaf-splash -font "8x16" -outline 0 -margin 4 -bg green -text "To keep two FIXED panes, right-click empty space in either pane
select- Options > Filer windows > Never automatically resize.
Click on this info window to close it."
Sylvander,Sylvander wrote:How do I get the whaw -d command to auto-run at EACH startup of BoxPup?
Create a file that looks like this
Code: Select all
#!/bin/bash
killall whaw || whaw -d
This will run Whaw at startup and if you put this file on the desktop, and click it while Whaw is already running, it will turn it off. Click it again and it'll turn it back on.
Have fun.
1. With the exception of putting whaw on the desktop...
Everything is done, and whaw is auto-running at Startup, and functioning well.
2. "put this file on the desktop"
How is that done?
Isn't it best/easiest to put a symlink on the desktop, and how?
Is there a folder that represents the desktop?
Do I put a symlink there?
Everything is done, and whaw is auto-running at Startup, and functioning well.
2. "put this file on the desktop"
How is that done?
Isn't it best/easiest to put a symlink on the desktop, and how?
Is there a folder that represents the desktop?
Do I put a symlink there?
Hi seaside
Roxset is a cool little app. It is to be included in dpup because the wbar setup/configuration gui I'm making for dpup is dependant on xdotool with some clues from the roxset script for opening a window in the right place so a user doesn't have to drag around windows and stuff to do a simple drag and drop onto the gui interface.
Thanks
Cheers
Roxset is a cool little app. It is to be included in dpup because the wbar setup/configuration gui I'm making for dpup is dependant on xdotool with some clues from the roxset script for opening a window in the right place so a user doesn't have to drag around windows and stuff to do a simple drag and drop onto the gui interface.
Thanks
Cheers
Puppy Linux Blog - contact me for access
01micko,
That's great. It's fortunate that I found Xdotool because for some programs, there is no easy way to control their functions directly.
Xdotool can not only find a target window, but move, resize, and send key strokes and mouse clicks to that running program so as to act as a user programmatically.
Keep up that good stuff on Dpup!
Regards,
s
That's great. It's fortunate that I found Xdotool because for some programs, there is no easy way to control their functions directly.
Xdotool can not only find a target window, but move, resize, and send key strokes and mouse clicks to that running program so as to act as a user programmatically.
Keep up that good stuff on Dpup!
Regards,
s
Using Roxset in Xenialpup64 7.5
It opens two Rox windows, but they are not side by side.
What in the code controls this?
What do you change and to what?
It opens two Rox windows, but they are not side by side.
(The directories, placement and windows sizes, can also be altered by changing the roxset script at /usr/local/bin to other preferences, depending on screen size or other preferred opening directories.)
What in the code controls this?
What do you change and to what?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Hi bigpup,
Ignoring matters relating to GUIs, Roxset consists of, at /usr/local/bin, a bash-script and an included binary of xdotool. IIRC, xdotool, if nothing else, enables placing the mouse-cursor at determined locations via a bash-script formula. That is my guess as to what the script is doing --guess because it is using bash commands 'above my pay-grade'. But what I think it is doing is determining the geography of the desktop, then issuing commands to one "Window 1" of specified size with its top-left at pixel x,y and "Window 2" of specified size but at pixel x1,y1.
I doubt there has been any significant change to the language used in bash since 2009 when Roxset was written. My best guess is that what you've experienced results from either (a) the 2009 xdotool is not entirely compatible with your OS; (b) it is a 32-bit binary being used in a 64-bit system; or (c) both.
See what happens if you replace the xdotool binary with one obtained via PPM.
mikesLr
Ignoring matters relating to GUIs, Roxset consists of, at /usr/local/bin, a bash-script and an included binary of xdotool. IIRC, xdotool, if nothing else, enables placing the mouse-cursor at determined locations via a bash-script formula. That is my guess as to what the script is doing --guess because it is using bash commands 'above my pay-grade'. But what I think it is doing is determining the geography of the desktop, then issuing commands to one "Window 1" of specified size with its top-left at pixel x,y and "Window 2" of specified size but at pixel x1,y1.
I doubt there has been any significant change to the language used in bash since 2009 when Roxset was written. My best guess is that what you've experienced results from either (a) the 2009 xdotool is not entirely compatible with your OS; (b) it is a 32-bit binary being used in a 64-bit system; or (c) both.
See what happens if you replace the xdotool binary with one obtained via PPM.
mikesLr
See what happens if you replace the xdotool binary with one obtained via PPM.
Good guess
That fixed it.
Installed the xdotool from PPM.
Thanks!!!!!!!!!!!!!!!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Re: Roxset with two windows based on SCREEN SIZE
I did not see this message at all. Took me a while to re-read the thread to understand how to prevent the auto resizing. With auto resizing set to on the roxset utility is not usable for me - "auto resize off" is a necessity and I agree with sylvander that it would be good to improve this part of the script.seaside wrote: If you prefer the two panes to stay in place and not move, a brief message will come up reminding you to right-click on any blank part of either pane and select- Options > Filer windows > Never automatically resize.
Nice utility though - automatic two pane rox is a great innovation.
EDIT : this seems to be the reason why I don't see the message:
Code: Select all
# yaf-splash -timeout 10 -font "8x16" -outline 0 -margin 4 -bg green -text "To keep two FIXED panes, right-click empty space in either pane
> select- Options > Filer windows > Never automatically resize"
/usr/bin/yaf-splash: line 261: arithmetic syntax error
#
Last edited by greengeek on Thu 10 May 2018, 18:36, edited 1 time in total.
I definitely would like to do this. Any suggestions about the appropriate way to achieve this please?seaside wrote:With that in mind, just changing the Rox Options file to "filer_auto_resize">2 at the beginning of the Roxset script would achieve this, but place Rox in "No-autosize" mode.
(The next time Rox is run it won't Autosize, unless the Options part of Rox is reset)
This wouldn't be of much concern to me - I'd just change the option back if I wanted to, but perhaps this might confuse others.
.
EDIT: where does RoxFiler store the changes you make? As an alternative to turning autoresize off I tried using the Rox options gui to limit the max window size to 45% of window width but can't see where the setting is stored.
EDIT 2: Ignore the question - I found it at /root/.config/rox.sourceforge.net/ROX-Filer/Options.xml
rather than /usr/local/apps/ROX-Filer/Options.xml which is what I was looking at.
I definitely would like to learn how to SOAP that setting.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
Re: Roxset with two windows based on SCREEN SIZE
This is a bug in yaf-splash.greengeek wrote:EDIT : this seems to be the reason why I don't see the message:Code: Select all
# yaf-splash -timeout 10 -font "8x16" -outline 0 -margin 4 -bg green -text "To keep two FIXED panes, right-click empty space in either pane > select- Options > Filer windows > Never automatically resize" /usr/bin/yaf-splash: line 261: arithmetic syntax error #
The line
Code: Select all
[ $NR_LINES -gt 1 ] && HEIGHT=$(($HEIGHT+$fontsize))
- the text is longer than 1 line
- variable fontsize is empty
- for some sinister reasons yaf-splash uses the ash shell and not bash. ash produces a critical error when you try to add a value of "nothing" to the value of HEIGHT (50). Bash would also send an error message but would let yaf-splash continue.
Solution for the user: Avoid the -font option or use proper -font syntax. No sure if "8x16" is correct.