http://en.wikipedia.org/wiki/XML_namespacesunburnt wrote:I cannot figure out what the 2 <env: tag lines do.
Why are 2 URLs needed to set new Rox wallpaper.?
Is there another way to set wallpaper for the Rox desktop?
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Is there another way to set wallpaper for the Rox desktop?
Please see below for latest version. musher0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello!
I think I have something...
This script will
* sort your (long) list of images alphabetically. I'm probably not the only one to have over
100 background choices!
* create submenus from the list above to avoid screen overflow
* offer you to
sometimes adjust (edit) it to our needs, and when we are satisfied with our modified picture, we do the
"placing" itself.
* it is bilingual (French-English). If you do not have LANG=fr_something, it will show in English. Don't
worry about the French in the examples, the language will be English if you do not have a French
localization of your Puppy.
You can easily include other languages in the script in its "case" part. There are only a few words, so I
didn't think that a full-blown *.mo file was necessary.
* it integrates with sunburnt's earlier script. Only minor edits were needed to have the menu work in
sync with it.
* dependencies: only aemenu and ROX-Filer.
* includes a *.desktop file (BG-Setter.desktop), so it will show in the "Desktop" section of any jwm menu
(or icewm menu, etc.).
* the viewer works best with a single image viewer, such as qiv. Multiple-image viewers, such as gqview,
are not recommended because they partly duplicate what this menu does. It may confuse things.
* the menu "recurses". The cat comes back! Again this follows a logical process: a menu is
obviously not an application, but we want to stay with the operation until we've finished. AFAIK,
menu recursion is only possible with the "ae" menu, but I'll be glad to be proven wrong on this point,
because menu recursion is very handy at times.
Note: For the sake of simplicity, the menu / script recognizes only jpg and png images. Make sure to
rename or convert your jpeg or JPG, etc., pictures.
Constructive comments are welcome. You can edit it or improve it too, but I'd like to know about it in
this thread if possible. Thanks in advance.
Enjoy.
musher0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello!
I think I have something...
This script will
* sort your (long) list of images alphabetically. I'm probably not the only one to have over
100 background choices!
* create submenus from the list above to avoid screen overflow
* offer you to
- view
edit or
place the backdrop
sometimes adjust (edit) it to our needs, and when we are satisfied with our modified picture, we do the
"placing" itself.
* it is bilingual (French-English). If you do not have LANG=fr_something, it will show in English. Don't
worry about the French in the examples, the language will be English if you do not have a French
localization of your Puppy.
You can easily include other languages in the script in its "case" part. There are only a few words, so I
didn't think that a full-blown *.mo file was necessary.
* it integrates with sunburnt's earlier script. Only minor edits were needed to have the menu work in
sync with it.
* dependencies: only aemenu and ROX-Filer.
* includes a *.desktop file (BG-Setter.desktop), so it will show in the "Desktop" section of any jwm menu
(or icewm menu, etc.).
* the viewer works best with a single image viewer, such as qiv. Multiple-image viewers, such as gqview,
are not recommended because they partly duplicate what this menu does. It may confuse things.
* the menu "recurses". The cat comes back! Again this follows a logical process: a menu is
obviously not an application, but we want to stay with the operation until we've finished. AFAIK,
menu recursion is only possible with the "ae" menu, but I'll be glad to be proven wrong on this point,
because menu recursion is very handy at times.
Note: For the sake of simplicity, the menu / script recognizes only jpg and png images. Make sure to
rename or convert your jpeg or JPG, etc., pictures.
Constructive comments are welcome. You can edit it or improve it too, but I'd like to know about it in
this thread if possible. Thanks in advance.
Enjoy.
musher0
- Attachments
-
- change-BG-0.4.pet
- (9.58 KiB) Downloaded 288 times
-
- change_BG-0.4-2.jpg
- In this picture, the list of backdrops appears sorted alphabetically, and with options of what you want to do with the picture.
- (56.91 KiB) Downloaded 331 times
-
- change_BG-0.4.jpg
- If you want to change your backdrop, this is where you choose the backdrop style. You would normally want to do this beforehand.
- (7.67 KiB) Downloaded 314 times
Last edited by musher0 on Tue 13 Aug 2013, 01:01, edited 2 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hey musher0; NOTE: The xml script I got from NathanF`s wallpaper app., and he got it from somewhere else...
I looked at aemenu but can`t find any info. about the menu file format, so I couldn`t make it work
Looking at your script: BG-set4.sh gives me an idea, but no clear picture of making it work.
# I Wrote an icon menu in BaCon years ago, you may be interested in that, it auto. resizes the pics.
Format is:
(Menu Item Text):[/Path/](Exec.File):[/Path/](IconFile)
And the icon`s paths can be preset so the path isn`t needed.
### My main problem is modifying Rox`s XML code, sed will do it, but BaCon won`t.
And I don`t want a tiny script as a required dependency.
.
I looked at aemenu but can`t find any info. about the menu file format, so I couldn`t make it work
Looking at your script: BG-set4.sh gives me an idea, but no clear picture of making it work.
# I Wrote an icon menu in BaCon years ago, you may be interested in that, it auto. resizes the pics.
Format is:
(Menu Item Text):[/Path/](Exec.File):[/Path/](IconFile)
And the icon`s paths can be preset so the path isn`t needed.
### My main problem is modifying Rox`s XML code, sed will do it, but BaCon won`t.
And I don`t want a tiny script as a required dependency.
.
sunburnt wrote:
> Hey musher0; NOTE: The xml script I got from NathanF`s wallpaper app., and he got it from somewhere else...
It's right under everybody's nose: the model is in ROX Manual, Appendix C ! [url]file://localhost/usr/local/apps/ROX-Filer/Help/rox.htm#soap[/url]
PS. What do I rectify the credits to, then? Something like a folk song, then?
"sunburnt, who picked it up from Nathan F, who learned it from anonymous, who modified it from a
template by Thomas Leonard (the author of ROX-Filer)" ?
It looks ridiculous written like that, but authorship is a very serious issue.
Ideas, or experience about this, anyone ?
> Hey musher0; NOTE: The xml script I got from NathanF`s wallpaper app., and he got it from somewhere else...
It's right under everybody's nose: the model is in ROX Manual, Appendix C ! [url]file://localhost/usr/local/apps/ROX-Filer/Help/rox.htm#soap[/url]
PS. What do I rectify the credits to, then? Something like a folk song, then?
"sunburnt, who picked it up from Nathan F, who learned it from anonymous, who modified it from a
template by Thomas Leonard (the author of ROX-Filer)" ?
It looks ridiculous written like that, but authorship is a very serious issue.
Ideas, or experience about this, anyone ?
Last edited by musher0 on Mon 12 Aug 2013, 12:42, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hello, sunburnt.
Edit: aemenu is part of the aewm window manager, (c) 1998-2007 by Decklin Foster. Please see
http://en.wikibooks.org/wiki/Guide_to_X ... agers/aewm and http://www.red-bean.com/decklin/aewm/.
Best regards.
musher0
Euh... it's a dynamic menu. You'll find the realized menu after you've run the script. Load /tmp/BG.menu in your text editor and you'll see. I mean: try it! Don't just look at it! (I'm not telling you what is aemenu's file format on purpose!) Hint: dig up aragon's work on spm (Simple Puppy Menu) on this forum.sunburnt wrote: I looked at aemenu but can`t find any info about the menu file format, so I couldn`t make it work
Looking at your script: BG-set4.sh gives me an idea, but no clear picture of making it work.
(...)
Edit: aemenu is part of the aewm window manager, (c) 1998-2007 by Decklin Foster. Please see
http://en.wikibooks.org/wiki/Guide_to_X ... agers/aewm and http://www.red-bean.com/decklin/aewm/.
Then don't modify it! Wisdom is finding a way to live peacefully with your problem| (Pardon the philosophical bit!) BTW, replaceit or replace can be used as well.sunburnt wrote: ### My main problem is modifying Rox`s XML code, sed will do it, but BaCon won`t.
Oh well...sunburnt wrote: And I don`t want a tiny script as a required dependency.
Best regards.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hello again, folks!
Refined version BG-set0.5
musher0
Refined version BG-set0.5
Enjoy!# 13 August 2013: added "Linguistic Correction" (FR and ES);
# studied and dismissed the possibility of an integrated function (see below);
# made the script work from $MBINS.
####
# An integrated function, for ex.,
# function placefond {}
# is not advisable since it's aemenu proper which
# takes over after this script has created the menu:
# this script is inactive at time of actual menu execution.
musher0
- Attachments
-
- change-BG-0.5a.pet
- This one has the correct *.desktop file. Everything else is the same.
- (9.86 KiB) Downloaded 260 times
-
- BG-setter-0.5.desktop.tar.gz
- If you need the *.desktop file separately... (to the person who downloaded earlier)
- (351 Bytes) Downloaded 262 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- Nathan F
- Posts: 1764
- Joined: Wed 08 Jun 2005, 14:45
- Location: Wadsworth, OH (occasionally home)
- Contact:
Was poking around and found this. Thought I'd clarify - I got the idea for how to change the ROX pinboard background by reading the ROX-Filer manual, simple as that.
Also, in case people aren't aware, I've been working on an almost scratch rewrite of the old wallpaper setter I codged together years ago. Fairly nice already but I have ideas for another direction it might go. In other words it's a wip and not expected to remain stable in it's current form.
Also, in case people aren't aware, I've been working on an almost scratch rewrite of the old wallpaper setter I codged together years ago. Fairly nice already but I have ideas for another direction it might go. In other words it's a wip and not expected to remain stable in it's current form.
Bring on the locusts ...
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I have added basic background to my simple icon tray app (now renamed to sdesk) with the intention of (eventually) providing a full desktop for jwm (or any basic wm) that doesn't rely on rox, but it works if rox doesn't set the background... It would already be done if gtkiconview didn't do illogical crap with the background.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- Nathan F
- Posts: 1764
- Joined: Wed 08 Jun 2005, 14:45
- Location: Wadsworth, OH (occasionally home)
- Contact:
In regards to app. portability, static compile everything the app. uses except the kernel?
Code: Select all
warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
That said, it's a valid approach that works *most* of the time, if you give it some love. I've had fits trying to assemble the rhyme or reason to the various incantations and spells I've had to devise to "trick" a lot of programs into compiling statically. Even went so far as to ditch gawk in favor of nawk at one point when I was trying to assemble an all static toolchain.
Bring on the locusts ...
Thanks for the clarification.Nathan F wrote:Was poking around and found this. Thought I'd clarify - I got the idea for how to change the ROX pinboard background by reading the ROX-Filer manual, simple as that.(...)
Regards.
musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
It seems that Linux is such a bag of bolts that many tricks are needed.
An assessment of apps. as to their "main stream compatibility" is a good idea.
Some package up nicely. Others are warped, so find alternative apps.
Basing a distro. on a solid parent ( Debian, Ubuntu, Slack ) is most rational.
They greatly reduce the "reinventing the wheel" mistake many keep making.
Doing all of this should be relatively simple. The methods need laying out.
.
An assessment of apps. as to their "main stream compatibility" is a good idea.
Some package up nicely. Others are warped, so find alternative apps.
Basing a distro. on a solid parent ( Debian, Ubuntu, Slack ) is most rational.
They greatly reduce the "reinventing the wheel" mistake many keep making.
Doing all of this should be relatively simple. The methods need laying out.
.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
http://en.wikipedia.org/wiki/Tweelsunburnt wrote:They greatly reduce the "reinventing the wheel" mistake many keep making.
not me! I would go a step further than the tweel and ... patent pending
Last edited by technosaurus on Fri 16 Aug 2013, 03:02, edited 1 time in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
If you don't mind test flying a prototype you can (it basically looks like an Aptera with folding wings and tilt rotors)Nathan F wrote:I'd rather just skip str8 to the dang flying cars they promised us when we were kids...
The barrier for flying cars is not technology, it is licensure requirements combined with general laziness to restrict consumer demand.
Back on topic - perhaps it is time to "reinvent" the puppy file manager. IIRC it was only a few lines of code to add 2-pane option and the top bar could use a bit of improvement too (like using a drop-down menu if the icons don't fit ... like geany does) ... and not myself but I know others want transparency without having to do a gtkrc hack.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
technosaurus; Looks like a wheel NASA had on one of their rover designs.
Are you talking about Rox? Can it have tree and file panels?
I `ve always liked WinExplorer type filers. I have Xfe which isn`t bad.
There`s a bunch of them now, haven`t tried them all. Any good Ones?
Lack of control over right-click menus is one of my major gripes.
NathanF; Jet packs, where the hell are the jet packs?
My friend and I decided the magazine Popular Science should be called Improbable Science.
I`m not sure if I`ve ever seen any of the featured items ever come to light.
Are you talking about Rox? Can it have tree and file panels?
I `ve always liked WinExplorer type filers. I have Xfe which isn`t bad.
There`s a bunch of them now, haven`t tried them all. Any good Ones?
Lack of control over right-click menus is one of my major gripes.
NathanF; Jet packs, where the hell are the jet packs?
My friend and I decided the magazine Popular Science should be called Improbable Science.
I`m not sure if I`ve ever seen any of the featured items ever come to light.
- Nathan F
- Posts: 1764
- Joined: Wed 08 Jun 2005, 14:45
- Location: Wadsworth, OH (occasionally home)
- Contact:
Rox with an extra pane or two would be awesome. I've tried Spacefm but the menus suck. Nautilus does it, but it's Nautilus and not going to be installed on my pitiful 'puter.
If I had a wishlist for ROX-Filer that would be at the top, followed by making the filer use gtk-bookmarks instead of it's own. And finally, an option to save the window size when exiting because I'm tired of resizing ROX-Filer windows.
As devil's advocate though, two of those three things aren't issues if you use something like DWM. ROX-Filer "rocks" in DWM. The WM enforces sizing and tiling, which removes the two obstacles I find to using the filer productively.
If I had a wishlist for ROX-Filer that would be at the top, followed by making the filer use gtk-bookmarks instead of it's own. And finally, an option to save the window size when exiting because I'm tired of resizing ROX-Filer windows.
As devil's advocate though, two of those three things aren't issues if you use something like DWM. ROX-Filer "rocks" in DWM. The WM enforces sizing and tiling, which removes the two obstacles I find to using the filer productively.
Bring on the locusts ...