topic title: Feh and Wallpaper
Posts: 1,062
Dave
Joined: 20 Jan 2010
#1
I know there have been problems with the way the wallpaper is set, and I to have taken a shot at a solution and it stuck. I believe that I may have found a better solution than what I have came up with in google code called oboinus. It too uses feh as the background setting utility, though instead of a bash gtk frontend it uses a python gtk frontend. ( Which I do not know how to decode __{{emoticon}}__ ) It has options to scale, tile, or center the wallpaper, solid colors, random image reset on login, as well as the highly requested preview feature. It will work without having different selections for icewm and fluxbox, by adding the line oboinus --restore & to startup. If it does not seem like the ticket, maybe someone can decode it for the gtk fileselection preview, and other options.

DEPENDS
python
python-gtk
python-imaging
feh

deb I made up for 2.1

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://daveserver.info/antiX-Repository/oboinus_mydeb-2.1.deb"
linktext was:"oboinus"
====================================


The script information and original download is found here:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://code.google.com/p/oboinus/"
linktext was:"http://code.google.com/p/oboinus/"
====================================
Last edited by Dave on 28 Sep 2011, 17:06, edited 3 times in total.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#2
Just thought I would follow up with a screenshot after the edits above
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
I downloaded it but never figured out install Dave. Maybe a how to install would be cool.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#4
Sorry rokynji,
I had forgot to post how to install it, kind of a pain actually. So I have made a new deb file to make it simple.
download from here

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://daveserver.homelinux.com/antiX-Repository/oboinus_mydeb-2.1.deb"
linktext was:"oboinus_mydeb-2.1.deb"
====================================

after downloading the deb
- run dpkg (as root)
That should be all to installing 2.1 now.

If you wish to install it the way I did, download the 2.1 tarball, and the 1.2 deb file
- install the deb file (as root)
- extract the tarball
- copy the oboinus py file from the tar ball to /usr/bin/ (as root)
- allow the permissions to execute (as root)
- make a directory in ~/.config named oboinus
- run oboinus
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
Thanks Bro. __{{emoticon}}__ downloaded it/ Got to do my Spring Air Conditioner pre-flight check. Add some freon, clean filters,check fan and belts, lube bearings,blow out heat exchanger. Will play with later and edit my post.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
eeer. Installed deb. __{{emoticon}}__

Code: Select all

@bikertest3:~$ which oboinus
/usr/bin/oboinus
@bikertest3:~$ oboinus
No module named Image.  Please make sure you have this library installed into a directory in Python's path or in the same directory as Oboinus.
Put the extracted oboinus.py in /usr/bin, permission is executable.


and made the ~/.config/oboinus
Posts: 1,062
Dave
Joined: 20 Jan 2010
#7
Have tried on other systems and it has worked, however I have had the same problem when I loaded the live cd, seems checked the dependencies, to see if they were there and up to date. Once they were it had worked.
Depends: feh, python-gtk2 (>= 2.6.0), python (>= 2.4.0)
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
I have apt-get dist-upgraded when I installed Liqourix Kernel so I should be current for a installed testing.

Code: Select all

@bikertest3:~$ apt-cache policy  python-gtk2
python-gtk2:
  Installed: 2.17.0-4+b1
  Candidate: 2.17.0-4+b1
  Version table:
 *** 2.17.0-4+b1 0
        500 http://ftp.ca.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
@bikertest3:~$ apt-cache policy  python
python:
  Installed: 2.6.6-12
  Candidate: 2.6.6-12
  Version table:
 *** 2.6.6-12 0
        500 http://ftp.ca.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
@bikertest3:~$ apt-cache policy feh
feh:
  Installed: 1.12-1
  Candidate: 1.12-1
  Version table:
 *** 1.12-1 0
        500 http://ftp.ca.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
Posts: 1,062
Dave
Joined: 20 Jan 2010
#9
Alright rokytnji, I will email the maintainer that error as I am all out of suggestions and see what the error means. I will post back if I get an answer from them, or if I can think of another suggestion.

EDIT:
try installing python-imaging, It says it should have the python image library installed, but it is not written as a depend. python-imaging is the only python image library on my system
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#10
EDIT:
try installing python-imaging, It says it should have the python image library installed, but it is not written as a depend. python-imaging is the only python image library on my system
That fixed it.

Code: Select all

@bikertest3:~$ apt-cache policy python-imaging
python-imaging:
  Installed: 1.1.7-2+b1
  Candidate: 1.1.7-2+b1
  Version table:
 *** 1.1.7-2+b1 0
        500 http://ftp.ca.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#11
Just for grins. Made some launchers

fluxbox (menu)

Code: Select all

[exec] (Wallpaper) {oboinus} </usr/share/icons/Buuf-Deuce/128x128/apps/background.png>
icewm (menu and toolbar)

Code: Select all

prog"Wallpaper" /usr/share/icons/Buuf-Deuce/128x128/apps/background.png /usr/bin/oboinus




Thank you for suggesting this. Glad to test. __{{emoticon}}__
Posts: 1,062
Dave
Joined: 20 Jan 2010
#12
OU812 and I have heavily updated the wallpaper app, highlighted changes
1. automatic session recording
2. random wallpaper
3. random wallpaper with time a time interval of 5 minutes
4. color only
5. 3 modes available for selection (scaled, fill, center)
6. wallpaper chooser has a image preview.
7. wallpaper app has a default folder option
8. wallpaper app has a preview in main window (just as oboinus above)
9. wallpaper setting removed from startup and xinitrc, now in login_background.sh

Screenshots
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#13
looks good! I'll be happy to try it out. This is one area that has always needed work and you guys are doing a great job developing it.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#14
dolphin_oracle wrote:looks good! I'll be happy to try it out. This is one area that has always needed work and you guys are doing a great job developing it.
Me tooooooooooooo. __{{emoticon}}__
Posts: 1,062
Dave
Joined: 20 Jan 2010
#15
ok, for those that would like to try.
here is a link to the .deb file I have put together, I hope it all works as it should.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.daveserver.info/antiX/wallpaper-antix_1.5.0_all.deb"
linktext was:"wallpaper-antix_1.5.0_all.deb"
====================================


EDIT!
I have forgot to mention that for the"random wallpaper" setting, if the default folder you set by pressing open contains anything other than images, there is a very good chance that it will seem not to work. This is because the wallpaper scripts are telling feh to set the wallpaper using an specified"image", that"image" may or may not be an actual image.