bbidulock / blackboxwm

A window manager for X11
Other
169 stars 30 forks source link

Question/Request - Centering feh UI? #8

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi bbidulock,

I use feh to set wallpapers in Blackbox and Openbox. In Openbox I can use a cmd in the rc.xml which will center the UI, but in Blackbox the Window Placement setting doesn't work, I have it on center with nothing happening.

Do you know how I can get the feh UI to center, or if this is not possible in blackbox, maybe you can do something to change/fix this?

This is the entry I have for it in the menu;

[submenu] (Wallpaper)
    [exec] (Feh)                  {feh -Tbgpreview "/home/foo/Wallpaper/"} 
  [end]

Here's a screen shot, it always opens up in the upper left of the screen when I open it.

feh

bbidulock commented 8 years ago

Feh is worse than tint2. It is not even setting ICCCM 2.0 window manager hints (or any other property for that matter). Openbox likely accomodates broken applications, but compare the size. There are lightweight alternatives to feh that are far more compliant.

ghost commented 8 years ago

I use the rc.xml in openbox to center feh, wasn't sure if there was something in blackbox that did the trick too...

rc.xml entry in openbox

`

center center
  <maximized>no</maximized>
  <decor>no</decor>
</application>`
ghost commented 8 years ago

I forgot to ask you, what lightweight alternatives to feh that are far more compliant, are you talking about?