You are not logged in.

#1 2019-11-14 16:52:26

saleem
Member
Registered: 2011-09-21
Posts: 168

How to set Blackbox Wallpaper

I want to set wallpaper/s of my choice for my blackbox WM . I tried these methods but none could set a wallpaper for me

1 ) Nitrogen

2 ) with eterm and feh  using following command added to ".xprofile" and /home/saleem/.blackbox/autostart

Esetroot /home/saleem/.blackbox/backgrounds/Material Wallpaper 6.jpg

feh /home/saleem/.blackbox/backgrounds/Material Wallpaper 6.jpg

So is there any alternate way to achieve this task ?

Offline

#2 2019-11-14 17:41:34

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: How to set Blackbox Wallpaper

saleem wrote:

2 ) with eterm and feh  using following command added to ".xprofile" and /home/saleem/.blackbox/autostart

Esetroot /home/saleem/.blackbox/backgrounds/Material Wallpaper 6.jpg

feh /home/saleem/.blackbox/backgrounds/Material Wallpaper 6.jpg

Do they work if you escape the filename properly?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2019-11-14 19:29:10

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: How to set Blackbox Wallpaper

Slithery wrote:
saleem wrote:

2 ) with eterm and feh  using following command added to ".xprofile" and /home/saleem/.blackbox/autostart

Esetroot /home/saleem/.blackbox/backgrounds/Material Wallpaper 6.jpg

feh /home/saleem/.blackbox/backgrounds/Material Wallpaper 6.jpg

Do they work if you escape the filename properly?

Sorry I am unable to understand what you mean by "Do they work if you escape the filename properly?" but I changed filename to "m-w-p.jpg" now feh can run wallpaper but it covers everything on desktop im unable to access menu or desktop so I had to comment out feh command

Offline

#4 2019-11-14 19:58:59

xse
Member
Registered: 2019-01-08
Posts: 36

Re: How to set Blackbox Wallpaper

saleem wrote:

feh can run wallpaper but it covers everything on desktop im unable to access menu or desktop so I had to comment out feh command

feh is actually an image viewer, it can be used to set your wallpaper with the correct options but if you just call "feh myfile.jpg" it'll open a window showing you the image.
Have a look at the manual there are several "--bg-something" options that you have to choose from.


Carefully explaining your problem is half the solution.

Offline

#5 2019-11-15 09:24:01

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: How to set Blackbox Wallpaper

xse wrote:
saleem wrote:

feh can run wallpaper but it covers everything on desktop im unable to access menu or desktop so I had to comment out feh command

feh is actually an image viewer, it can be used to set your wallpaper with the correct options but if you just call "feh myfile.jpg" it'll open a window showing you the image.
Have a look at the manual there are several "--bg-something" options that you have to choose from.

I tried these two commands but did not work

feh --bg-scale /home/saleem/.blackbox/backgrounds/wallpaper-xyz.jpg

feh --bg-fill /home/saleem/.blackbox/backgrounds/wallpaper-xyz.jpg

Offline

#6 2019-11-15 14:11:54

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: How to set Blackbox Wallpaper

"did not work" does not help us help you. What exactly happens when you run those commands?

https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#7 2019-11-15 15:54:55

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: How to set Blackbox Wallpaper

2ManyDogs wrote:

"did not work" does not help us help you. What exactly happens when you run those commands?

https://bbs.archlinux.org/viewtopic.php?id=57855

by did not work I meant the wallpaper is not set by either of the tricks/commands I mentioned earlier.

Offline

#8 2019-11-15 16:11:25

xse
Member
Registered: 2019-01-08
Posts: 36

Re: How to set Blackbox Wallpaper

blackbox documentation gives you a README.style that states:

You can set the desktop background (i.e. root window) by specifying a
command to run in the 'rootCommand' resource.  Blackbox includes the
'bsetroot' and 'bsetbg' utilities; their use is recommended.  Also,
you can override the styles 'rootCommand' by putting your own in your
~/.blackboxrc file.  This allows you to always use a custom
background, regardless of which style you are using.

So you should try using that file, indeed if you look at random blackbox styles, they all set a background using 'rootCommand', for example:

rootCommand: bsetroot -mod 16 8 -bg rgb:0/8/8 -fg rgb:0/9/9

It's worth nothing that blackbox's manual contains more information about how to create your own style, where to put the background image and so on.


Carefully explaining your problem is half the solution.

Offline

#9 2019-11-15 18:21:28

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: How to set Blackbox Wallpaper

xse wrote:

blackbox documentation gives you a README.style that states:

You can set the desktop background (i.e. root window) by specifying a
command to run in the 'rootCommand' resource.  Blackbox includes the
'bsetroot' and 'bsetbg' utilities; their use is recommended.  Also,
you can override the styles 'rootCommand' by putting your own in your
~/.blackboxrc file.  This allows you to always use a custom
background, regardless of which style you are using.

So you should try using that file, indeed if you look at random blackbox styles, they all set a background using 'rootCommand', for example:

rootCommand: bsetroot -mod 16 8 -bg rgb:0/8/8 -fg rgb:0/9/9

It's worth nothing that blackbox's manual contains more information about how to create your own style, where to put the background image and so on.

Thank you pointing out this link to me, I will read and follow the instructions. I could only find blackbox page on sourceforge and it was not accessible.

Offline

Board footer

Powered by FluxBB