You are not logged in.

#1 2008-09-09 16:05:18

kramerxiita
Member
Registered: 2008-02-14
Posts: 89

Set wallpaper with Feh in Openbox menu

Hello.

I create option to set wallpaper with Feh in Openbox menu.

First:

Create a entry in Openbox menu with:

feh --rcfile /home/me/.fehrcwall "/home/Me/MyWallpaper"

And create a file with name

.fehrcwall

and put in your Home.

This file is a copy of .fehrc with simple change. Just put this:

# Set the default feh options to be recursive and verbose
feh -qrNA "feh --bg-center "%f"" --title "Wallpaper" -g 320x240

Now, when you click in openbox menu, image appear in small window. To set wallpaper, just press

enter

.

smile

Offline

#2 2008-09-09 16:45:11

dmz
Member
Registered: 2008-08-27
Posts: 866
Website

Re: Set wallpaper with Feh in Openbox menu

Hm. I thought that I should get some list or something with the pictures available in ~/wallpapers, but the only thing that happens is that I got my current wallpaper in a 320x240 window.

Edit: Nevermind, me stupid. Thanks. smile

Last edited by dmz (2008-09-09 16:46:09)

Offline

#3 2008-09-09 16:50:51

kramerxiita
Member
Registered: 2008-02-14
Posts: 89

Re: Set wallpaper with Feh in Openbox menu

Click with mouse or <---   ---> to go next wallpaper/image. When you press enter, this set wallpaper.

Window size could be adjust.

smile

Offline

#4 2008-09-09 16:51:47

kramerxiita
Member
Registered: 2008-02-14
Posts: 89

Re: Set wallpaper with Feh in Openbox menu

Stupid me. I don!t see Edit line.

sad

Offline

#5 2008-09-09 17:20:47

dmz
Member
Registered: 2008-08-27
Posts: 866
Website

Re: Set wallpaper with Feh in Openbox menu

kramerxiita wrote:

Stupid me. I don!t see Edit line.

sad

big_smile

Offline

#6 2011-11-14 02:27:55

DasFox
Member
Registered: 2010-11-24
Posts: 107

Re: Set wallpaper with Feh in Openbox menu

This doesn't work with the latest version of feh and imlib2 when trying to click on an image you get this in ther terminal;

/home/user/.fehrcwall - No Imlib2 loader for that file format

I have imlib2-1.4.5-1 installed...

I don't think you can use the --rcfile with the latest version of Feh.

Also when scrolling through the images they never keep the size of -g 320x240, they keep changing sizes.

I added a menu entry in OpenBox that I use for Feh 1.3.4 in another distro that works just fine and I'd like to be able to use in Arch, but I can't figure this out;


<menu id="apps-wallpaper-menu" label="Wallpaper">
  <item label="Feh">
    <action name="Execute">
      <command>feh --rcfile /home/user/.fehrcwall "/home/sar/Pictures/"</command>
      <startupnotify>
       <enabled>yes</enabled>
     </startupnotify>
    </action>
  </item>
</menu>


THANKS

Last edited by DasFox (2011-11-14 02:34:43)


12 Year Linux Vet, Don't Let The Post Count Fool Ya! But Sure I Don't Know Everything, Who Does? That's Why I Ask. smile

Offline

#7 2011-11-14 06:51:55

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,257

Re: Set wallpaper with Feh in Openbox menu

Oh, well, posting in a thread from 2008.
Folks, remember our necro-bumping rules.

Closing.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB