Openbox window colors, dark theme Topic is solved

Please post all general support questions for LXDE here.
skimmy
Posts: 10
Joined: Thu Aug 31, 2017 5:44 pm

Openbox window colors, dark theme

Post by skimmy »

Striving for all dark theme, can't get what seems to be openbox configured windows dark
2017-09-02-085400_1366x768_scrot.png
(288.48 KiB) Not downloaded yet
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Openbox window colors, dark theme

Post by drooly »

try downloading & using an openbox theme from http://box-look.org/
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: Openbox window colors, dark theme

Post by seppalta »

You can get a quick look at some theme images here: http://lxlinux.com/themes.html.
skimmy
Posts: 10
Joined: Thu Aug 31, 2017 5:44 pm

Re: Openbox window colors, dark theme

Post by skimmy »

All the themes I select with Openbox Configuration Manager leave the background light; same as selecting a theme with LXAppearance - Window Border - Theme. The dark backgrounds in my attached screenshot were achieved with LXAppearace - Color - use customized color scheme; but this did not affect the shown windows that still have light backgrounds. I just unchecked that option and clicked apply to see if that was stopping the themes from setting the background but they are still light and all my customized colors were lost :( , luckily I wrote them down :)

All the theme previews I see on http://lxlinux.com/themes.html have a light background, just like every theme preview I see in Openbox Configuration Manager or Customize look and feel.

Turquoise Nights Ob from box-look.org has a screenshot showing dark backgrounds but when I install it has no affect on any of my backgrounds and displays in theme preview like all the others with a light background.

BTW- fresh Lubuntu 17.04 install and updates; thanks for your time & help
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: Openbox window colors, dark theme

Post by seppalta »

Not quite sure what you want that you are not getting. Openbox is only a window manager. It can only manage its own theme, since it does not know what else is installed. It is only a window manager. You need a session manager like lxsession installed to have more controls on backgrounds. In general, I think backgrounds for app windows are controlled by the app. Installing lxappearance-obconf will give you additional background control, like for drop-down menus, etc.
skimmy
Posts: 10
Joined: Thu Aug 31, 2017 5:44 pm

Re: Openbox window colors, dark theme

Post by skimmy »

Quite simply, windows with dark backgrounds & light text

Did you see my screenshot from 1st post? It says not downloaded yet next to link. Here it is on google photos Image

lxappearance-obconf and lxsession were installed by Lubuntu; running lxsession gave me:

skimmy@acer:~$ lxsession
** Message: main.vala:102: Session is (null)
** Message: main.vala:103: DE is (null)
** Message: main.vala:107: No session set, fallback to LXDE session
** Message: main.vala:113: No desktop environnement set, fallback to LXDE
** Message: main.vala:134: log directory: /home/skimmy/.cache/lxsession/LXDE
** Message: main.vala:135: log path: /home/skimmy/.cache/lxsession/LXDE/run.log

This caused my custom colors to be ignored and lxappearance - Font - Hinting style changed from slight to full. I had to rsync a backup of my home dir and reboot to get them back. Not sure if this was how to run it but didn't see it in the menu.

All themes I've tried have light bkgd, screenshot shows some windows dark via lxappearance custom colors but many Lubuntu included apps remain light bkgd including:

- pavucontrol
- Openbox Configuration Manager, ObConf 2.0.4
- Software
- Software and updates
- Software Updater
- Bluetooth Manager
- Disks
- Language Support
- Network Connections
- Network Settings
- LightDM GTK+ Greeter: Settings
- Printers
- Startup disk creator
- Synaptic Package Manager
- Time and Date
- Users and Groups
- Character Map
- Abiword
- Gnumeric
- Galculater
- Setup Hot keys
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Openbox window colors, dark theme

Post by drooly »

skimmy wrote:Quite simply, windows with dark backgrounds & light text
this is definitely possible.
maybe you have some stray setting that sets a light background.
see if you can UNcheck "custom color scheme" in lxappearance.
if that doesn't help, take a look at ~/.gtkrc-2.0 and ~/.gtkrc-2.0-mine and ~/.config/gtk-3.0/* maybe there's something overriding the theme.
skimmy
Posts: 10
Joined: Thu Aug 31, 2017 5:44 pm

Re: Openbox window colors, dark theme

Post by skimmy »

When I uncheck Use customized color scheme and click Apply, backgrounds remain light, customized colors are lost

I don't see anything that might override a theme. I've tried every setting

skimmy@acer:~$ cd ~/.gtkrc-2.0
bash: cd: /home/skimmy/.gtkrc-2.0: Not a directory
skimmy@acer:~$ cd ~/.gtkrc-2.0-mine
bash: cd: /home/skimmy/.gtkrc-2.0-mine: No such file or directory
skimmy@acer:~$ ls ~/.config/gtk-3.0/*
/home/skimmy/.config/gtk-3.0/bookmarks /home/skimmy/.config/gtk-3.0/settings.ini
skimmy@acer:~$ pg .config/gtk-3.0/settings.ini
[Settings]
gtk-theme-name=Crux
gtk-icon-theme-name=Lubuntu-dark-panel
gtk-font-name=Ubuntu Light 12
gtk-cursor-theme-name=DMZ-Black
gtk-cursor-theme-size=18
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
(EOF)

I have tried on 3 different computers, different users, fresh Lubuntu 17.04 & updates

I'm trying to get LXDE on slackware but not a simple install, I'll try Arch when I get a chance

Thanks for the help
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Openbox window colors, dark theme

Post by drooly »

skimmy wrote:I've tried every setting

skimmy@acer:~$ cd ~/.gtkrc-2.0
bash: cd: /home/skimmy/.gtkrc-2.0: Not a directory
that's a file not a directory.

also gtk3 settings show this:

Code: Select all

gtk-theme-name=Crux
Crux is an extremely old theme, and it's not dark. did you choose it?
skimmy
Posts: 10
Joined: Thu Aug 31, 2017 5:44 pm

Re: Openbox window colors, dark theme

Post by skimmy »

~/.gtkrc-2.0 data same as .config/gtk-3.0/settings.ini

Crux is selected for Widget theme and Mikachu is selected for lxappearance Window Border Theme and openbox theme since they looked best with custom selected dark colors.
Locked