You are not logged in.

#1 2016-04-16 00:12:41

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Themes for BL and OpenBox.

After seeing some posts about themes, especially in Index » Artwork & Screenshots » Themes and Icons and getting error messages about a missing bg.png in a terminal on occasion, I'd like to change my theme.

I use, and will probably continue to use:
* /home/sector11/.themes/S11-SR-71-Black/openbox-3/themerc
* *  a modified: /usr/share/themes/Onyx/openbox-3/themerc from my #! Statler days I believe ... took me forever to make the "few tweaks" I have in it - don't even know what they are now.
2016_04_15_20_17_15_Scrot11.jpg
Or a modified Bunsen theme with the white like my current.  That I think I can manage to tweak OK.

and I use /home/sector11/.themes/S11-NS-brushed/index.theme
* * a modified: /home/sector11/.themes/NewSlickness-brushed/index.theme
2016_04_15_20_32_52_Scrot11.jpg

Here's the thing with S11-NS-brushed - it uses .png files and has these dirs:
/home/sector11/.themes/NewSlickness-brushed/gtk-2.0 » 17 sub-dirs with png files.
/home/sector11/.themes/NewSlickness-brushed/metacity-1 » 21 png files
/home/sector11/.themes/NewSlickness-brushed/openbox-3 » themerc

I like the idea of a mixed dark theme - where the edges and menus are dark but the working area is "lighter" IE: "off white" so it's not so bright or light grey.

All dark like Bunsen-Blackish, Bunsen Blue Dark, Bunsen Dark, Dark Teal, Crunchy-dark-grey look nice but I go nuts with the colours in the working areas:
2016_04_15_20_46_08_Scrot11.jpg
I struggle just to read that, and for my wife: NO!

So any chance of someone pointing me to a way of editing Bunsen Dark to look like this:
2016_04_15_20_49_25_Scrot11.jpg

Currently mine looks like this now:
2016_04_15_20_50_13_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2 2016-04-16 00:59:34

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Themes for BL and OpenBox.

Not quite sure what you are asking. That dark theme you want looks like.....Bunsen-Dark GTK with Onyx OB, which I though was what you wanted?

Geany has user-choice themes for the work area, so you can select the page colour and text/syntax colours, whatever the gtk/ob theme is. Can medit do the same?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-04-16 01:52:53

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Themes for BL and OpenBox.

I'd like to know how to make the working area of apps "light"  smile

medit has language settings and they can be configured individually but the "theme" sets the mood for the general text area.  This is for other apps as well, not just medit - ie: claws-mail.
2016_04_15_22_48_06_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#4 2016-04-16 02:44:55

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Themes for BL and OpenBox.

I think you may be looking for "base_color" in the gtkrc or gtk.css files for the theme. @hhh is the guy for an answer though smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2016-04-16 12:22:18

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Themes for BL and OpenBox.

OK, he's kind busy at the moment, so I'll do more 'startpage' research and see what I can find.  The 'base_color' thing gives me a starting point.  Thanks damo.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2016-04-18 18:30:50

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Themes for BL and OpenBox.

for medit (and thunar) you have to go with gtk2, so have a look at any theme folder => gtk-2.0/gtkrc
it should have a line like this near the top:

gtk-color-scheme = "base_color:#FFFFFF\nfg_color:#5c616c\ntooltip_fg_color:#FFFFFF\nselected_bg_color:#eb9605\nselected_fg_color:#FFFFFF\ntext_color:#5c616c\nbg_color:#F5F6F7\ninsensitive_bg_color:#fbfcfc\ninsensitive_fg_color:#a9acb2\nnotebook_bg:#ffffff\ndark_sidebar_bg:#353945\ntooltip_bg_color:#353945\nlink_color:#eb9605\nmenu_bg:#ffffff"

what you're looking for should be either "base_color" or "bg_color".

Offline

#7 2016-04-19 01:26:56

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,140
Website

Re: Themes for BL and OpenBox.

If you open Thunar, bg_color is the File, Edit, etc... menu-bar and base_color is where the main-panel folder icons are.

Same thing in Leafpad, base_color is where you write your text. I think Geany uses its own colour scheme, but I wouldn't know because I hate it. So many features I don't use.

There are several popular programs, LibreOffice and Meld come to mind, that try to hard-code their own colors, be warned.

All bets are off with GTK3. Good thing we're on jessie and won't have to deal with that breakage for a while.


I don't care what you do at home. Would you care to explain?

Offline

#8 2016-04-19 02:13:25

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Themes for BL and OpenBox.

@ohnonot

Thanks.  That pretty well matched what damo said - but the gtk2 part is important.

@ hhh

Thanks for dropping and adding your input - don't use leafpad or geany (for the same reason as you) I use medit and a bit more of nano as time passes.  So medit, thunar, claws mail and icedove are the main points so far.

CRAP - I don't use LO but my wife does.  Another monkey wrentch.  Any theme that messes with that - or I can't tweak will be a no go.

I still have problems figuring out if apps are GTK2 or 3

I'll make a gues that "Evince" is GTK3 and "MuPDF" is GTK2 because of the way they look, as seen here.  Well those difference and if what ohnonot says is right about medit and thunar - being gtk2 - then 3 has to be the fugly apps.

Will look at this tomorrow and report back.

Last edited by Sector11 (2016-04-19 14:59:08)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#9 2016-04-19 02:48:59

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,140
Website

Re: Themes for BL and OpenBox.

@Sector 11, when in doubt, stick with an updated dark text-on-light background theme. Adwaita and Mate's defaults are a good bet. (Maybe BL's default, but no guarantees.)


I don't care what you do at home. Would you care to explain?

Offline

#10 2016-04-19 06:40:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Themes for BL and OpenBox.

hhh wrote:

All bets are off with GTK3. Good thing we're on jessie and won't have to deal with that breakage for a while.

Yes indeed, the GTK3 problem thread over at the Arch forums has been made a sticky 'cos it's so bad at the moment...

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

By the time stretch goes stable it should have all calmed down nicely smile

Offline

#11 2016-04-19 12:02:06

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: Themes for BL and OpenBox.

CRAP - I don't use LO but my wide does.  Another monkey wrentch.  Any theme that messes with that - or I can't tweak will be a no go.

The libreoffice-gtk2 package (in the repos) helps resolve theme issues; the libreoffice-gtk3 package didn't work on my systems so you're on your own there.

And I'm sure you meant wife, so you better head to the florist when you get a chance  8o

when in doubt, stick with an updated dark text-on-light background theme

good advice there.


You must unlearn what you have learned.
    -- yoda

Offline

#12 2016-04-19 13:32:00

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: Themes for BL and OpenBox.

Sector11 wrote:

...
I still have problems figuring out if apps are GTK2 or 3
...

This works for me assuming the package is in /usr/bin:

cd /usr/bin && echo -e "gtk2""\n" && for F in *; do objdump -p $F 2> /dev/null | grep gtk-x11-2.0 > /dev/null; if [ $? -eq 0 ]; then echo "$F"; fi; done && echo -e "\n""gtk3" && for F in *; do objdump -p $F 2> /dev/null | grep gtk-3 > /dev/null; if [ $? -eq 0 ]; then echo "$F"; fi; done

If you don't have objdump, you can replace objdump -p with ldd.

I got this from reading http://littlesvr.ca/grumble/2014/05/10/ … ng-up-gtk/

$ cd /usr/bin && echo -e "gtk2""\n" && for F in *; do objdump -p $F 2> /dev/null | grep gtk-x11-2.0 > /dev/null; if [ $? -eq 0 ]; then echo "$F"; fi; done && echo -e "\n""gtk3" && for F in *; do objdump -p $F 2> /dev/null | grep gtk-3 > /dev/null; if [ $? -eq 0 ]; then echo "$F"; fi; done

gtk2
audacity
exo-desktop-item-edit
exo-open
gcolor2
gimp
gimp-2.8
gksu
gksudo
gksu-properties
gmrun
gnome-text-editor
gpaint
gtk-demo
hardinfo
leafpad
lxappearance
lxclipboard
lxinput
lxlauncher
lxpanel
lxrandr
lxsession
lxsession-db
lxsession-default-apps
lxsession-logout
lxsession-message-gtk
lxshortcut
lxtask
lxterminal
medit
mousepad
mtpaint
pcmanfm
xfburn
xfce4-notifyd-config
xfce4-power-information
xfce4-power-manager
xfce4-power-manager-settings
xfce4-terminal
xpad
x-session-manager
x-terminal-emulator

gtk3
baobab
charmap
evince
evince-previewer
evince-thumbnailer
file-roller
galculator
gcr-viewer
gnome-character-map
gnome-disk-image-mounter
gnome-disks
gnome-keyring
gnome-keyring-3
gnome-mplayer
gnome-screenshot
gnome-terminal
gnumeric
gtk-launch
gucharmap
guvcview
light-locker
network-admin
nm-applet
nm-connection-editor
obconf
shares-admin
simple-scan
ssconvert
time-admin
transmission-gtk
update-notifier
users-admin
xdg-user-dirs-gtk-update
zenity
/usr/bin $ 

Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#13 2016-04-19 14:41:12

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Themes for BL and OpenBox.

@ vasa1

GREAT  Thank you.  Made it an alias: gtk23.  I have 'objdump' so it worked OOTB.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#14 2016-04-19 15:03:46

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Themes for BL and OpenBox.

Nice one @vasa1 smile

Little script, with some basic formatting for the output (NB no error-checking etc):

#!/bin/bash
##
## Display if application is gtk2 or gtk3; run in terminal
cd /usr/bin
echo -e "\ngtk2"
echo -e "----"

for F in *; do 
    objdump -p $F 2> /dev/null | grep gtk-x11-2.0 > /dev/null
    if (( $? == 0 )); then 
        echo -e "  $F"
    fi
done
echo -e "\n-------\n"
echo -e "gtk3"
echo -e "----"
for F in *; do
    objdump -p $F 2> /dev/null | grep gtk-3 > /dev/null
    if (( $? == 0 )); then 
        echo -e "  $F"
    fi
done
echo -e "\n--------\n"

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#15 2016-04-19 15:18:19

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Themes for BL and OpenBox.

@ hhh, HoaS and PackRat

Good stuff and advise.  For me and anyone noob like me that follows up on this.


PackRat wrote:

The libreoffice-gtk2 package (in the repos) helps resolve theme issues; the libreoffice-gtk3 package didn't work on my systems so you're on your own there.

And I'm sure you meant wife, so you better head to the florist when you get a chance  8o

OH YEA!  And edited my original post too. 

I can't find a 'libreoffice-gtk2' package in the repos only:

 19 Apr 16 @ 12:08:53 ~
  $ ser libreoffice
alias ser = aptitude search
p   browser-plugin-libreoffice                      - office productivity suite -- Mozilla plugin               
p   browser-plugin-libreoffice:i386                 - office productivity suite -- Mozilla plugin               
p   bunsen-meta-libreoffice                         - BunsenLabs libreoffice meta package                       
p   libreoffice                                     - office productivity suite (metapackage)                   
p   libreoffice:i386                                - office productivity suite (metapackage)                   
v   libreoffice-avmedia-backend                     - {snip} 

and using my new 'gtk23' alias libreoffice (lowriter et al) do not show up, but it's here.

 19 Apr 16 @ 12:01:49 /usr/bin
  $ sho libreoffice-writer
aptitude show filename
Package: libreoffice-writer       
State: installed
Automatically installed: yes
Version: 1:4.3.3-2+deb8u3
Priority: optional
Section: editors
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Architecture: amd64
Uncompressed Size: 28.7 M
{snip}

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#16 2016-04-19 15:46:38

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: Themes for BL and OpenBox.

Did you look in /opt for LibreOffice?

Or try locate libreoffice?

And version 4.3 is definitely gtk2.

Last edited by vasa1 (2016-04-19 15:49:11)


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#17 2016-04-19 16:22:35

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Themes for BL and OpenBox.

Getting started ... Oh how I am going to like this modified theme!
2016_04_19_13_17_02_Scrot11.jpg
hhh - you make good themes

And to you and everyone that has posted help, ideas and tips; Thank you and stay tuned....

EDIT:  made it: base_color:#c0c0c0

${color silver} or ${color grey} or ${color c0c0c0} in conky talk.   smile
Not as bright as white but light enough to do well.

Last edited by Sector11 (2016-04-19 16:38:19)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#18 2016-04-19 16:32:09

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Themes for BL and OpenBox.

vasa1 wrote:

Did you look in /opt for LibreOffice?

Or try locate libreoffice?

And version 4.3 is definitely gtk2.

The only thing I have there is:  /opt/brother

OK, so 4.2 is gtk2 .. that's good.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#19 2016-04-19 16:38:37

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: Themes for BL and OpenBox.

Then does locate libreoffice also not help?

And try just libreoffice-gtk, not libreoffice-gtk2?

https://packages.debian.org/search?keyw … office-gtk

Last edited by vasa1 (2016-04-19 16:43:06)


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#20 2016-04-19 16:46:42

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: Themes for BL and OpenBox.

I can't find a 'libreoffice-gtk2' package in the repos only:

sorry - libreoffice-gtk

It should show up with "apt-cache search" or in synaptic.


You must unlearn what you have learned.
    -- yoda

Offline

Board footer

Powered by FluxBB