You are not logged in.
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
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
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.
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
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...
Offline
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
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).
Offline
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:
I have no idea if the non-jessie packages will work as I have not tested them
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
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
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
Great. Thanks for you reply and many, many thanks for packaging those up for mass consumption
Offline
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 )
Offline
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
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?
Offline
^ Yes, good call, I was intending to do that, thanks for the bump
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
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
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
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
The new packages are built and ready to download.
Also:
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
Offline
Ditto. The <roundCorners> and <invisibleHandles> parameters are ignored, but can stay in your file if you are also experimenting with the RPi version.
Offline
Thank you, it is working fine now. Looks great! Corrected the steps above as well.
Offline
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