You are not logged in.

#1 2015-11-30 00:14:52

EmmAG
Member
From: United States
Registered: 2015-11-25
Posts: 8

No rounded corners in Openbox windows

I'm using Openbox(3) with gtk+2, gtk+3, and the Murrine engine all installed. Despite this, when using a theme that's supposed to have rounded corners for windows, there are only sharp 90-degree corners. Does anyone know why this might be happening? I'm using LXappearance to choose Widget, and Window Border themes. I'm using Gtk3.18.5-1 and Gtk2.24.28-1. Here's my ~/.config/gtk-3.0/settings.ini

[Settings]
gtk-theme-name=Siva_Flat_Round_Dark
gtk-icon-theme-name=Adwaita
gtk-font-name=Tinos 10
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
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=hintfull
gtk-xft-rgba=rgb

and my ~/.gtkrc-2.0

# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

include "/home/emma/.gtkrc-2.0.mine"
gtk-theme-name="Siva_Flat_Round_Dark"
gtk-icon-theme-name="Adwaita"
gtk-font-name="Tinos 10"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
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="hintfull"
gtk-xft-rgba="rgb"

Offline

#2 2015-11-30 00:26:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: No rounded corners in Openbox windows

EmmAG wrote:

I'm using LXappearance to choose Widget, and Window Border themes

No, you are using LXappearance to choose widget appearance.  LXappearance has no effect on window borders - nor do gtkrc files.  GTK draws the widgets in some windows' content area.  Openbox (without gtk) draws the windows.  Use obconf to adjust the window border appearance.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-11-30 00:44:27

EmmAG
Member
From: United States
Registered: 2015-11-25
Posts: 8

Re: No rounded corners in Openbox windows

Obconf doesn't seem to give any clear options for enabling/disabling rounded corners in a theme, and shows the intended theme (which should have rounded corners) in use. It also seems like all my applications are defaulting to gtk2 instead of gtk3 since if I edit, for example, the highlight color in /usr/share/gtk-2.0/gtkrc I can notice visible changes in all applications, whereas editing /usr/share/gtk-3.0/gtk-main.css doesn't change anything in my applications.

Offline

#4 2015-11-30 00:57:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: No rounded corners in Openbox windows

You can't just pick which theming mechanism you prefer.  Gtk2 theming applies to programs that use gtk2; gtk3 theming applies to program which use gtk3.  If you want to use a gtk3 theme, get gtk3 programs.

I'm no longer clear what this question is about.  Rounded window corners has absolutely nothing to do with gtk themes.  Nothing.  Period.  Your gtkrc and gtk-main.css files are completely irrelevant to rounded window corners: gtk doesn't draw the windows.

Do you want this thread to be about the rounded corners, or the gtk themes?

If the former, forget about posting all this gtkrc stuff, and tell us about the openbox theme you are trying to use.  I've never used rounded corners in openbox, but I'm pretty sure you'd need to be running a compositor.  Are you running a compositor?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-11-30 14:37:05

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: No rounded corners in Openbox windows

Openbox doesn't provide rounded corners. It was an explicit design choice of the developers. Though one of them did say some years ago that they wouldn't be against it, but no one ever coded it.

Offline

#6 2015-12-02 05:24:23

EmmAG
Member
From: United States
Registered: 2015-11-25
Posts: 8

Re: No rounded corners in Openbox windows

Gusar wrote:

Openbox doesn't provide rounded corners. It was an explicit design choice of the developers. Though one of them did say some years ago that they wouldn't be against it, but no one ever coded it.

So even if a theme that's supposed to work with openbox and supposed to have rounded windows is used, the theme will work but the round windows won't?

Last edited by EmmAG (2015-12-02 05:24:55)

Offline

#7 2015-12-02 05:28:43

EmmAG
Member
From: United States
Registered: 2015-11-25
Posts: 8

Re: No rounded corners in Openbox windows

Trilby wrote:

You can't just pick which theming mechanism you prefer.  Gtk2 theming applies to programs that use gtk2; gtk3 theming applies to program which use gtk3.  If you want to use a gtk3 theme, get gtk3 programs.

I'm no longer clear what this question is about.  Rounded window corners has absolutely nothing to do with gtk themes.  Nothing.  Period.  Your gtkrc and gtk-main.css files are completely irrelevant to rounded window corners: gtk doesn't draw the windows.

Do you want this thread to be about the rounded corners, or the gtk themes?

If the former, forget about posting all this gtkrc stuff, and tell us about the openbox theme you are trying to use.  I've never used rounded corners in openbox, but I'm pretty sure you'd need to be running a compositor.  Are you running a compositor?

Sorry about the confusion, I didn't mean to derail. The theme I'm using is Siva Flat Round http://nale12.deviantart.com/art/Siva-F … -353499016 and my compositor is xcompmgr.

Offline

#8 2015-12-02 13:43:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: No rounded corners in Openbox windows

That is a theme for *many* different WMs.  Openbox is just one of them.  Two out of three pictures there do not show rounded corners - so clearly the rounded corners are only on some WMs.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2015-12-02 22:20:26

EmmAG
Member
From: United States
Registered: 2015-11-25
Posts: 8

Re: No rounded corners in Openbox windows

Trilby wrote:

That is a theme for *many* different WMs.  Openbox is just one of them.  Two out of three pictures there do not show rounded corners - so clearly the rounded corners are only on some WMs.

It's also technically multiple themes, so when I downloaded the package I got: Siva Flat, Siva Flat Round, Siva Flat Round Dark, Siva Flat Borderless, Siva Dark, etc.. So I had just assumed that the versions of Siva with Round in the title meant they had rounded windows, but maybe it's in reference to something else or only matters for other WMs like you were saying.

Offline

Board footer

Powered by FluxBB