You are not logged in.

#41 2017-01-09 17:51:19

cloverskull
Member
Registered: 2015-10-01
Posts: 348

Re: Openbox with rounded corners

I'm noticing a bit of strangeness with bottom borders. Best example I can give (can't screenshot here, at work, didn't think to write this up while at home with my linux box) is to use vanilla BL, add HOAS's repos (opensuse) and install the packages from there. After that, set a corner radius of 4, launch Terminator, and notice that the border isn't redrawn - the corner is just erased and the border at the bottom looks like it disappears.

Would it be possible to redraw the border on the edge pixels?

Offline

#42 2017-01-09 18:56:40

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

Re: Openbox with rounded corners

johnraff wrote:

TEST:
On my Virtualbox, after install of openbox-bunsen and bunsen-pipemenus-rounded openbox failed to start. I just got a default terminal on a BL wallpaper - no tint2, conky, right-click menu etc. Closing the terminal with ^d exited the session.
http://s24.postimg.org/3o8s2y9kx/Screenshot_090117_11_33_38.jpg

This problem occurs because my custom openbox-bunsen package doesn't set itself (or, more specifically, /usr/bin/openbox) as /etc/alternatives/x-session-manager, that symlink is in fact deleted if no other window or session managers are installed.

I have no idea why this happens sad

As cpoakes notes, selecting openbox explicitly from LightDM allows the desktop to be started normally.

Sorry for the **** up but I had openbox selected in LightDM rather than "Default Xsession" so I didn't notice.

I think that johnraff is completely right (again!) and I should just use a version bump instead with no change in the package name.

johnraff wrote:

regarding reverting back to the standard OB after installing from HoaS's repo - would not a simple remove, followed by 'apt-get install -t jessie' do it, even if both packages had the same name?

Good idea, I will try this.

Last edited by Head_on_a_Stick (2017-01-09 18:59:47)

Offline

#43 2017-01-09 19:52:03

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

Re: Openbox with rounded corners

johnraff wrote:

regarding reverting back to the standard OB after installing from HoaS's repo - would not a simple remove, followed by 'apt-get install -t jessie' do it, even if both packages had the same name?

That does not work but this does:

# apt install openbox=3.5.2-8

My package is openbox_3.5.2-8.1

The OBS repositories are playing up a bit at the moment, I will post back with full instructions when the new packages are built.

Hopefully I won't mess it up again...
hmm

Offline

#44 2017-01-09 23:58:26

cpoakes
Member
Registered: 2016-12-02
Posts: 108

Re: Openbox with rounded corners

cloverskull wrote:

I'm noticing a bit of strangeness with bottom borders... the border isn't redrawn - the corner is just erased and the border at the bottom looks like it disappears.

Would it be possible to redraw the border on the edge pixels?

I'd love to offer round corners with borders. But as previously noted, this design is a crude workaround which just erases the corners to a rounded shape without redrawing anything. The amount of coding required to draw round corners with borders ("the right way") is non-trivial, and likely the reason the related 10 year old openbox feature request has gone unimplemented. Also why RPi Pixel created their patch.

Unfortunately, this means there are themes and theme/background combinations that just don't look good with this patch or the RPi version. If you're dissatisfied with the outcome and on a quest for round corners, I'd suggest fluxbox which is also a blackbox derivative like OB and includes native rounded corner configuration. The Bunsen Fluxbox forum can get you started, and the archived CB forums may also be useful.

Offline

#45 2017-01-10 01:14:29

cloverskull
Member
Registered: 2015-10-01
Posts: 348

Re: Openbox with rounded corners

Cool. It wasn't a criticism, I didn't realize the non-triviality of implementing something like that (the extent of my UI design work has been with java swing applications). smile

Offline

#46 2017-01-10 07:34:55

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

Re: Openbox with rounded corners

All of the packages have been built.

The usual OBS link doesn't seem to be working for me but I will post it here anyway as this will probably be fixed:

http://software.opensuse.org/download.h … ox-rounded

I included some more distributions for this version, here are the repository direct links:

Debian 8 (jessie/BunsenLabs)

Debian 7 (wheezy, #!)

Ubuntu 16.10

Ubuntu 16.04

Ubuntu 14.04

I have no idea if the non-jessie packages will work as I have not tested them smile

It is probably best to install using the .deb package & gdebi

To revert back to the stock Openbox package, use:

sudo apt install openbox=3.5.2-8

Offline

#47 2017-01-12 19:38:11

beaker
Unverified Muppet
Registered: 2016-03-06
Posts: 198

Re: Openbox with rounded corners

Great work guys.

I'm pretty keen on giving this a try but am confused about quite what I need to download for a Debian stable system.

Are the install instructions that are referred to earlier in the thread anywhere to be found? The link appears invalid.

Offline

#48 2017-01-12 19:40:50

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

Re: Openbox with rounded corners

beaker wrote:

I'm pretty keen on giving this a try but am confused about quite what I need to download for a Debian stable system.

Yes, sorry about that, I had to delete the old links.

See my post directly above yours for the "final" installation method — just download the correct .deb file for your system and use gdebi to install it.

I will edit my earlier posts to clarify this.

Last edited by Head_on_a_Stick (2017-01-12 19:42:41)

Offline

#49 2017-01-12 20:24:02

beaker
Unverified Muppet
Registered: 2016-03-06
Posts: 198

Re: Openbox with rounded corners

Great. Thanks for you reply and many, many thanks for packaging those up for mass consumption wink

Offline

#50 2017-01-13 04:08:58

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: Openbox with rounded corners

I've been down with 'flu the last few days, but hoping to get some feedback to you eventually...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#51 2017-01-13 06:18:00

beaker
Unverified Muppet
Registered: 2016-03-06
Posts: 198

Re: Openbox with rounded corners

Oh yes some feedback.
It all installed well on stable 64bit. The rounded corners theme downloaded and installed ok. Was able to adjust 'roundness' as required. All good.

Offline

#52 2017-01-16 17:05:21

cloverskull
Member
Registered: 2015-10-01
Posts: 348

Re: Openbox with rounded corners

Not sure if anyone noticed, but debian 8.7 includes a a few updates to openbox. Should we patch this version with the rounded corners updates to be synchronous with debian's releases?

https://www.debian.org/News/2017/20170114

Offline

#53 2017-01-16 19:14:00

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

Re: Openbox with rounded corners

^ Yes, good call, I was intending to do that, thanks for the bump smile

EDIT: I have a headache, this will have to wait until tomorrow, sorry folks.

Last edited by Head_on_a_Stick (2017-01-16 22:25:01)

Offline

#54 2017-01-17 22:05:36

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

Re: Openbox with rounded corners

I have updated the packages, the name is a bit weird because the OBS won't accept the dash used by Debian version numbers but they should still install just fine.

Offline

#55 2017-01-21 21:20:31

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Openbox with rounded corners

I had a guess that I'm missing here something but it turns out that it is indeed working fine. Thank you for showing in the right direction and the .deb file, here are the steps:

1. Download the .deb file for #BĹ:

wget download.opensuse.org/repositories/home:/Head_on_a_Stick:/openbox-rounded/Debian_8.0/amd64/openbox_3.5.2-8.deb8u1.2_amd64.deb

2. Install

gdebi openbox_3.5.2-8.deb8u1.2_amd64.deb

3. Check

apt-cache policy openbox
openbox:
  Installed: 3.5.2-8.deb8u1.1

4. Edit .rc (after keepBorder):

<cornerRadius>4</cornerRadius>

5. Restart

openbox --restart

Edit: Replaced the first link with the new version. At step 5 reconfigure did not do the job, with restart it works.

Last edited by martix (2017-01-22 09:47:09)

Offline

#56 2017-01-21 21:58:36

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

Re: Openbox with rounded corners

martix wrote:

I guess I'm missing here something

No, your steps look fine to me.

I have just rebuilt the package with another version bump, try to install the new .debs in 10 minutes or so when they finish building, the links I have already posted should always point to the current version.

EDIT: oops, made the same naming error again, give me a bit more.

I have just tested the newly-built .debs and it works on my BL system.

Last edited by Head_on_a_Stick (2017-01-21 22:01:09)

Offline

#57 2017-01-21 22:46:33

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

Re: Openbox with rounded corners

The new packages are built and ready to download.

Also:

martix wrote:

Edit .rc (after keepBorder):

      <roundCorners>yes</roundCorners>
    <invisibleHandles>yes</invisibleHandles>
    <cornerRadius>4</cornerRadius>

Only the <cornerRadius></cornerRadius> line is needed, the other lines are from the Raspbian patch which was replaced with cpoakes' version wink

Offline

#58 2017-01-22 01:00:00

cpoakes
Member
Registered: 2016-12-02
Posts: 108

Re: Openbox with rounded corners

Ditto. The <roundCorners> and <invisibleHandles> parameters are ignored, but can stay in your file if you are also experimenting with the RPi version.

Offline

#59 2017-01-22 09:48:19

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Openbox with rounded corners

Thank you, it is working fine now. Looks great! Corrected the steps above as well.

Offline

#60 2017-01-23 10:16:03

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
Website

Re: Openbox with rounded corners

That's OK, but what I would prefer is taking this a step further and adding support for XFWM themes in Openbox. The concept is very simple: for each part of the window frame (e.g. title bar, upper right corner, close button), an image is provided. For buttons and corners, the image is drawm as is; for title bar and borders, it is tiled horizontally or vertically to the entire window size. The button geometry is computed based on the image. So a theme would look like this: https://gitlab.com/o9000/ChromeDark/tree/master/xfwm4

What do you think?

Offline

Board footer

Powered by FluxBB