| View previous topic :: View next topic |
| Author |
Message |
southpaw Guru


Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Sat Dec 10, 2005 12:07 pm Post subject: How do I switch from Esetroot to feh??? |
|
|
Well, being that I have Eterm installed as well as other terminals, it appears as if Esetroot is my default wallpaper changer.
| Code: | $ fbsetbg -i
Esetroot is a nice wallpapersetter. You won't have any problems.
|
...so I would like to change it so that "feh" would appear instead of Esetroot, I have checked the manpages and other posts but I can't seem to find the proper solution to this. Btw in case anybody is wondering, my wm is Fluxbox . _________________ Legalize It |
|
| Back to top |
|
 |
alphonce Apprentice


Joined: 10 Oct 2004 Posts: 184 Location: Sweden
|
Posted: Sat Dec 10, 2005 1:23 pm Post subject: |
|
|
maby it is a link, try to locate fbsetbg to see if it's a link, if it is just make a new link.
or you could make an alias in the .bashrc. _________________ no computer at the moment!  |
|
| Back to top |
|
 |
southpaw Guru


Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Mon Dec 12, 2005 10:44 am Post subject: |
|
|
I don't think it is a link, however, here's something else that doesn't quite make much sense to me. Towards the bottom of the "fbsetbg manpage" it says:
| Code: | EXAMPLES
To use feh as wallpapersetter and set wallpapper.jpg from the current
directory as wallpaper.
$ wpsetters=feh fbsetbg wallpaper.jpg
Recall the last set wallpaper on display :0.0 with the stored options.
$ DISPLAY=:0.0 fbsetbg -l
|
...so I did that instead of this:
| Code: | | session.screen0.rootCommand: fbsetbg -l |
....which is from the "~/.fluxbox/init", and presto, up comes the wallpaper that I saved in the backgrounds directory of my "~/.fluxbox" directory. Now, what doesn't make sense is that after I do this, I try the "$ fbsetbg i" command only to get the same output about how nice Esetroot is and all that. So if you or anyone else could explain what's the deal with this I would greatly appreciate it, thanx . _________________ Legalize It |
|
| Back to top |
|
 |
ppurka Veteran

Joined: 26 Dec 2004 Posts: 1574
|
Posted: Mon Dec 12, 2005 1:01 pm Post subject: |
|
|
you could use feh directly, without using fbsetbg at all. For eg. | Code: | | feh --bg-scale <wallpaper> | sets the background as a scaled image of <wallpaper>. Try for more options. |
|
| Back to top |
|
 |
omp Developer


Joined: 10 Sep 2005 Posts: 1017 Location: Montréal, Québec
|
Posted: Mon Dec 12, 2005 1:21 pm Post subject: |
|
|
| ppurka wrote: | you could use feh directly, without using fbsetbg at all. For eg. | Code: | | feh --bg-scale <wallpaper> | sets the background as a scaled image of <wallpaper>. Try for more options. | Yeah, that's what I used to do when I used openbox.
Works great!  _________________ http://omp.am/ - my new domain
http://dev.gentoo.org/~omp/omptagger/ - cli music tagging script |
|
| Back to top |
|
 |
southpaw Guru


Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Tue Dec 13, 2005 9:10 am Post subject: |
|
|
Well here is what I ended up doing, first of all I got rid of the "fbsetbg -l" in front of the "rootCommand:" in my "~/.fluxbox/init" file. After doing that I typed this into the terminal:
| Code: | | wpsetters=feh fbsetbg ~/.fluxbox/backgrounds/majesty.jpg |
...and then I added this line into my "~/.fluxbox/startup" file:
| Code: | | fbsetbg -f ~/.fluxbox/backgrounds/majesty.jpg |
...and now I have gained control over my wallpaper . However, I still don't understand why I still get this:
| Code: | | Esetroot is a nice wallpapersetter. You won't have any problems. |
...when I type in "fbsetbg -i" if my system is using "feh" supposedly? _________________ Legalize It |
|
| Back to top |
|
 |
jamesdick628 Apprentice


Joined: 13 Oct 2004 Posts: 158 Location: Worcester, MA
|
Posted: Tue Dec 13, 2005 11:38 am Post subject: |
|
|
IIRC fbsetbg is just a script that picks an app to set the wallpaper. Each app has some priority, with Esetroot at the top. So if you didn't have Esetroot it would just use the next program in the list. Instead of using fbsetbg, use feh directly (like ppurka already suggested).
The nice thing about feh is that when you set the wallpaper, it puts that command into a file .fehbg so that you can reset the wallpaper next time you start X without having to change a config file. What I mean, is that with the method you are using, every time you want to change the default wallpaper you have to change that line in your fluxbox startup file. Instead replace that line with | Code: | | eval `cat ~/.fehbg` | and it will automatically set the wallpaper to the last one that you set. |
|
| Back to top |
|
 |
allucid Veteran

Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Tue Dec 13, 2005 1:51 pm Post subject: |
|
|
wow. I can't believe fluxbox still uses rootCommand. _________________ help support OpenSSH |
|
| Back to top |
|
 |
southpaw Guru


Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Tue Dec 13, 2005 2:00 pm Post subject: |
|
|
In the ".init" what is the purpose/ significance of that "rootCommand:"?? _________________ Legalize It |
|
| Back to top |
|
 |
allucid Veteran

Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Tue Dec 13, 2005 2:12 pm Post subject: |
|
|
| southpaw wrote: | | In the ".init" what is the purpose/ significance of that "rootCommand:"?? |
Perhaps I spoke too soon. The 'rootCommand' used to be an option in the theme files of many popular *box window managers. It might now be a user-defined option. It was originally used to set the walpaper for the theme but it could be used to run any command. This was a problem because people would download themes without checking what 'rootCommand' would actually do. I remember a case where someone set the rootCommand to 'rm -rf /' in a theme file just for a joke in one of their screenshots and they forgot to change it back before they submitted it to themes.org. I'm sure a few people were unpleasantly suprised when they tried the theme (this also goes to illustrate one of the reasons why you should not login and use X as root). _________________ help support OpenSSH |
|
| Back to top |
|
 |
|