The officially official Devuan Forum!

You are not logged in.

#26 2019-05-30 11:05:02

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Meet cinnabar (Beowulf default theme)

I know two ways to get the desktop background image in openbox.

1. spacefm - add the following line to ~/.config/openbox/autostart
spacefm --desktop &
To select a background, open spacefm and go to View, Preferences, then check the Wallpaper box and select an image. That image will come up as the background when you start openbox.

2. nitrogen - add the following line to ~/.config/openbox/autostart
nitrogen --set-scaled /usr/share/images/desktop-base/desktop-background

3. If you use lxdm, openbox will take the background and gtk theme set in /etc/lxdm/lxdm.conf
(Nobody expects the Spanish Inquisition!)

I checked pcmanfm, but I couldn't find a setting for the desktop background.

Offline

#27 2019-05-30 13:59:47

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: Meet cinnabar (Beowulf default theme)

fsmithred wrote:

I checked pcmanfm, but I couldn't find a setting for the desktop background.

The command to allow PCManFM to set wallpapers and enable the use of desktop icons is:

pcmanfm --desktop

The native desktop menu of the window manager will be replaced with that provided by PCManFM. However, it can easily be restored from the PCManFM menu itself by selecting

Desktop preferences

and then enabling the

Right click shows WM menu

option in the Desktop tab.


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#28 2019-05-30 16:48:36

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Meet cinnabar (Beowulf default theme)

Ogis1975 wrote:

The command to allow PCManFM to set wallpapers and enable the use of desktop icons is:

pcmanfm --desktop

The native desktop menu of the window manager will be replaced with that provided by PCManFM. However, it can easily be restored from the PCManFM menu itself by selecting

Desktop preferences

and then enabling the

Right click shows WM menu

option in the Desktop tab.

Thanks, that works.

If you do get the native window manager menu on right-click, you need to run pcmanfm --display-pref to get the the desktop settings. (to change the wallpaper again after enabling the wm menu)

Offline

#29 2019-05-30 17:39:00

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: Meet cinnabar (Beowulf default theme)

Excellent to have this documented here.  Thanks to both of you.

Offline

#30 2019-05-30 17:59:37

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Meet cinnabar (Beowulf default theme)

fsmithred wrote:

ways to get the desktop background image in openbox

Some more alternatives:

hsetroot

Example usage:

hsetroot -cover /usr/share/images/desktop-base/desktop-background

feh

Once a background is set with feh a script is placed at ~/.fehbg and this can be run from the openbox autostart file so that the last chosen wallpaper is kept updated:

sh ~/.fehbg

And here's an automatic wallpaper changer using images in ~/Pictures/wallpapers:

while sleep 600; do feh --bg-scale --randomize ~/Pictures/wallpapers; done &

As an aside, commands in the openbox autostart file shouldn't be backgrounded unless they need to be: test for this by running the command in a terminal, if the prompt is returned then do not add an ampersand — we noticed problems with race conditions in BunsenLabs if ampersands were added unnecessarily.

For example, the nitrogen line does not need an ampersand at the end.


Brianna Ghey — Rest In Power

Offline

#31 2019-05-30 19:20:06

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Meet cinnabar (Beowulf default theme)

Thanks, I knew there had to be other ways. (It's linux.)

OMG, I've been using feh for years, and I just read the man page for the first time. I had no idea it could do so much.

Offline

#32 2019-05-31 14:28:51

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: Meet cinnabar (Beowulf default theme)

fsmithred wrote:

If you do get the native window manager menu on right-click, you need to run pcmanfm --display-pref to get the the desktop settings. (to change the wallpaper again after enabling the wm menu)

Thank you.


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#33 2019-05-31 14:31:47

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: Meet cinnabar (Beowulf default theme)

Head_on_a_Stick wrote:

As an aside, commands in the openbox autostart file shouldn't be backgrounded unless they need to be: test for this by running the command in a terminal, if the prompt is returned then do not add an ampersand — we noticed problems with race conditions in BunsenLabs if ampersands were added unnecessarily.

Nice tip. Thank you.


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#34 2019-05-31 19:59:33

mrnhmath
Member
Registered: 2019-05-31
Posts: 19  

Re: Meet cinnabar (Beowulf default theme)

Gosh that looks sexy. As a fan of Clearlooks and dark red, the new theme sounds like music to my ears.

Offline

#35 2019-06-04 01:39:19

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Meet cinnabar (Beowulf default theme)

FTR: With plain openbox, setting the theme in:

obconf - just changes the title bar, buttons (and borders?) but not
the highlights.

lxappearance - changes the highlights. (gets rid of the raleigh blue)

lxappearance-obconf - apparently does nothing, and it's described as a
theme switcher for LXDE.

gtk2-engines - didn't seem to do anything in openbox.

To get the cinnabar highlights in synaptic or other root apps, you can copy ~/.config/gtk-3.0/settings.ini to root's home after you set the theme with lxappearance.

Offline

#36 2020-10-15 23:57:14

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,323  

Re: Meet cinnabar (Beowulf default theme)

fsmithred wrote:

To get the cinnabar highlights in synaptic or other root apps, you can copy ~/.config/gtk-3.0/settings.ini to root's home after you set the theme with lxappearance.

...or...open lxappearance as root...

sudo lxappearance

...or use su if you prefer, then enter...

lxappearance

When lxappearance opens, you can choose the theme and icons that you want to use for the root apps.

Last edited by MiyoLinux (2020-10-15 23:57:40)


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

Board footer