Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

OpenBox Re-spin

Post Reply
User avatar
manyroads
Forum Regular
Forum Regular
Posts: 1873
Joined: Sat Jun 30, 2018 6:33 pm

OpenBox Re-spin

#1

Post by manyroads » Tue Apr 23, 2019 8:21 am

Hello all.

I have completed my first 'draft' of an OpenBox install combined with some bits of PCmanFM, tint2, jgmenu all built on MX Linux. There are certainly bugs (aka "Known Issues") as well as 'surprises.

Be advised the landing page for the install is 'really sparse'. I recommend performing the install before attempting anything... else.

This draft Openbox desktop setup offers the following "features": :needcoffee:

-- Openbox (wm) with tint2 panel (compiled by me); note I'm using Sardi-Flat icons (in the screenshot and Roboto Regular font).

-- A Customize icon/ launcher is on the tint2/jgmenu panel/launcher. (You can use it modify your setup from this launcher/area, should you so wish.)

-- The Desktop offers a fairly traditional Desktop Environment look (a bit like XFCE/ LXQt). This is not a traditional BunsenLabs, #! layout or approach. My version uses PCmanFM for managing the Desktop. PCmanFM which also manages the OpenBox desktop wallpaper (and is pretty light in features).

--- There are numerous "bolt-on" functions not normally found in OpenBox installs. The environment is not designed to be super geeky but rather a familiar & lightweight Desktop with a modicum of beauty. Hopefully the feature set is pretty easy to use. I leave BunsenLabs, ArchLabs, etc. to support that cool, geeky, Openbox Community. ;)

-- I elected to use Compton as the Compositor rather than xcompmgr (Compton comes with a nice Configurator and is much more user friendly, but heavier than xcompmgr.) It is, also, reasonably tear-free.

-- For quick Semantic access to applications, I chose to use Albert as a semantic application launcher (Synapse, my favorite, doesn't like to work on OpenBox).

In the 'a bit awkward' arena: :eek:

-- If you want to change Preferred Applications you need to use terminal in cli-mode and enter:

Code: Select all

exo-preferred-applications
-- To access Openbox AutoStart, you need to use an editor (I have Mousepad set as the desktop's default or optionally Geany). If you have ever edited a file, I think you'll find it pretty easy, but it does NOT have a nice GUI, for you technophobes. :hug: The autostart I have currently in use may be viewed at the bottom of this document. You'll note it is highly plagiarized (The world's most sincere form of flattery.)

Known Issues (Bugs???):bug:

--- Because I set PCmanFM to control the Desktop, I have simply hidden the tradional "obmenu"; obmenu has a pretty annoying error, anyway. And as we all know, an error you don't see doesn't exist, right? :rolleyes: See the following note:
I used an automated tool to generate the obmenu, and it works for everything except the MX Linux links (they seem to follow some non-standard approach for .desktop files/ layout) see: https://sysdfree.wordpress.com/2018/02/15/165/
--- Catfish file search does not function. I'm trying to see what I can do about that. Ideas/ suggestions are welcomed.

Openbox Desktop Images:
http://treemagic.org/MX%20Desktops/Openbox-1.jpg

http://treemagic.org/MX%20Desktops/OpenBox-2.jpg

The Internet Archive Download (to be removed in about 30 days)
https://archive.org/download/MXOpenbox0.1


===== AutoStart (located in ~/.config/openbox of your install) ==================

Code: Select all

## Openbox autostart
## ====================
## When you login to your Openbox session, this autostart script
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## Note: some programs, such as 'nm-applet' are run via XDG autostart.
## Run
## /usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list
## or
## /usr/lib/i386-linux-gnu/openbox-xdg-autostart --list
## to list any XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##
## This script is modified from the original available at
## http://forums.bunsenlabs.org
##

### SETTINGS START

## Turn on/off system beep.
xset b off

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25

## Set Desktop Manager
sleep 1; pcmanfm --desktop &

## Add keyboard mapping.
#xmodmap -e "keysym Insert = Multi_key"

## Disable CapsLock
#setxkbmap -option ctrl:nocaps
# alternative: use as compose key
#setxkbmap -option compose:caps

# Alias Super key to Super+Space for single-key menu.
# See 'man xcape' for other possibilities.
xcape -e 'Super_L=Super_L|space'

### TOUCHPAD: comment out the next two entries if you don't have one

## Configure touchpad. See 'man synaptics' for more info.
## (Now might be using libinput instead of synaptics.)
synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

## Disable touchpad while typing
syndaemon -i .5 -K -t -R -d &

### TOUCHPAD END

### SETTINGS END

## GNOME PolicyKit authentication
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

## Set a wallpaper
#nitrogen --restore
#variety &
#fehbg &
feh --randomize --bg-fill /usr/share/backgrounds/openbox/*

## Compton
## NOTE: composition must be started before tint2
compton &

## Start the tint2 session (the default tint2 will run if no sessions have been set)
tint2 &

## Volume control for systray
pnmixer &

## Start the Conky session (the default conkyrc will run if no sessions have been set)
# bl-conky-session --autostart &

## Start Clipboard manager
 clipit &
Pax vobiscum,
Mark Rabideau - http://many-roads.com
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Testing: antiX19

User avatar
Jerry3904
Administrator
Posts: 25812
Joined: Wed Jul 19, 2006 6:13 am

Re: OpenBox Re-spin

#2

Post by Jerry3904 » Tue Apr 23, 2019 8:24 am

Cool, thanks. Make sure to get it added to the existing respin thread--where there is some great stuff being created!
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 490
Joined: Sun Mar 17, 2019 3:37 pm

Re: OpenBox Re-spin

#3

Post by Head_on_a_Stick » Tue Apr 23, 2019 12:48 pm

Nice work!

A few comments:
manyroads wrote:
Tue Apr 23, 2019 8:21 am
-- I elected to use Compton as the Compositor rather than xcompmgr (Compton comes with a nice Configurator and is much more user friendly, but heavier than xcompmgr.) It is, also, reasonably tear-free.
For optimal tear-reduction launch compton like this:

Code: Select all

compton -b --backend glx --vsync opengl-mswc
But the glx backend only works if hardware accelerated graphics are available (which is why BL & MX use the stock xrender backend with no vsync).

More here: https://github.com/chjj/compton/wiki/perf-guide
manyroads wrote:
Tue Apr 23, 2019 8:21 am
===== AutoStart (located in ~/.config/openbox of your install) ==================

Code: Select all

[...]
## Set Desktop Manager
sleep 1; pcmanfm --desktop &
Don't put sleep commands in the autostart file, we found that the ones in the #! autostart file could cause race conditions and result in the panel not being transparent because the compositor was started after tint2 as well as a few other things — that's why the BL version doesn't include any (and also why the compositor is controlled from a script).

I will play around with your ISO and offer some more feedback later.
"Direct action is the logical, consistent method of anarchism." — Emma Goldman

User avatar
manyroads
Forum Regular
Forum Regular
Posts: 1873
Joined: Sat Jun 30, 2018 6:33 pm

Re: OpenBox Re-spin

#4

Post by manyroads » Tue Apr 23, 2019 12:59 pm

Head_on_a_Stick wrote:
Tue Apr 23, 2019 12:48 pm
Nice work!

A few comments:
manyroads wrote:
Tue Apr 23, 2019 8:21 am
-- I elected to use Compton as the Compositor rather than xcompmgr (Compton comes with a nice Configurator and is much more user friendly, but heavier than xcompmgr.) It is, also, reasonably tear-free.
For optimal tear-reduction launch compton like this:

Code: Select all

compton -b --backend glx --vsync opengl-mswc
But the glx backend only works if hardware accelerated graphics are available (which is why BL & MX use the stock xrender backend with no vsync).

More here: https://github.com/chjj/compton/wiki/perf-guide
manyroads wrote:
Tue Apr 23, 2019 8:21 am
===== AutoStart (located in ~/.config/openbox of your install) ==================

Code: Select all

[...]
## Set Desktop Manager
sleep 1; pcmanfm --desktop &
Don't put sleep commands in the autostart file, we found that the ones in the #! autostart file could cause race conditions and result in the panel not being transparent because the compositor was started after tint2 as well as a few other things — that's why the BL version doesn't include any (and also why the compositor is controlled from a script).

I will play around with your ISO and offer some more feedback later.
Thank you very much, @head_on_a_stick. Your assistance/ comments are much appreciated.
Pax vobiscum,
Mark Rabideau - http://many-roads.com
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Testing: antiX19

rasat
Forum Regular
Forum Regular
Posts: 339
Joined: Tue Dec 19, 2017 1:19 pm

Re: OpenBox Re-spin

#5

Post by rasat » Tue Apr 23, 2019 1:01 pm

Great!! ... added in respin list.
viewtopic.php?f=100&t=48617

User avatar
chrispop99
Global Moderator
Posts: 3108
Joined: Tue Jan 27, 2009 3:07 pm

Re: OpenBox Re-spin

#6

Post by chrispop99 » Tue Apr 23, 2019 1:54 pm

Thanks manyroads.

Is this 64-bit? I wondered if a 32-bit would be of interest to users with older hardware.

Chris
Test machines:
32-bit non-PAE - Thinkpad T41, 1.6GHz Pentium M, 1GB RAM.
32-bit PAE - DELL Latitude D610, 1.73GHz Pentium M, 2GB RAM.
64-bit - Lenovo T61, 2GHz Core 2 Duo, 2GB RAM
64-bit - Gigabyte Z77P-D3, Intel i3-3220, GeForce 8400 GS, 4GB PC3-12800.

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 490
Joined: Sun Mar 17, 2019 3:37 pm

Re: OpenBox Re-spin

#7

Post by Head_on_a_Stick » Tue Apr 23, 2019 2:06 pm

Quick update:
manyroads wrote:
Tue Apr 23, 2019 8:21 am
Catfish file search does not function.
It works with the Adwaita icon theme selected, running it with the Sardi icon theme returns an error about not being able to load the pixbuf from the icon theme.
"Direct action is the logical, consistent method of anarchism." — Emma Goldman

skidoo
Forum Regular
Forum Regular
Posts: 1448
Joined: Tue Sep 22, 2015 6:56 pm

Re: OpenBox Re-spin

#8

Post by skidoo » Tue Apr 23, 2019 2:09 pm

if no joy with catfish, consider replacing it with "searchmonkey"

Code: Select all

exo-preferred-applications
PCManFM, does it (its exo backend) ignore elections specified via galternatives ?

Image
I used an automated tool to generate the obmenu, and it works for everything except the MX Linux links (they seem to follow some non-standard approach for .desktop files/ layout) see: sysdfree.wordpress...
obmenu-generator#L123
I see "Example" mentioned within the code ~~ obmenu-generator expects you to specify each absolute path to be scanned? Said differently, this might represent a "non-standard" quirk of the obmenu-generator app; "standard" behavior would be for the app to also traverse, descend into, any /usr/share/applications/... subdirectories.

Code: Select all

   desktop_files_paths   : Absolute paths which contain .desktop files.
                              Example: [  '/usr/share/applications',
                                "\$ENV{HOME}/.local/share/applications",
                                glob("\$ENV{HOME}/.local/share/applications/wine/Programs/*"),   ]
Last edited by skidoo on Tue Apr 23, 2019 2:30 pm, edited 2 times in total.

User avatar
manyroads
Forum Regular
Forum Regular
Posts: 1873
Joined: Sat Jun 30, 2018 6:33 pm

Re: OpenBox Re-spin

#9

Post by manyroads » Tue Apr 23, 2019 2:27 pm

chrispop99 wrote:
Tue Apr 23, 2019 1:54 pm
Thanks manyroads.

Is this 64-bit? I wondered if a 32-bit would be of interest to users with older hardware.

Chris
Hi Chris... yes it is 64bit.
Pax vobiscum,
Mark Rabideau - http://many-roads.com
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Testing: antiX19

User avatar
manyroads
Forum Regular
Forum Regular
Posts: 1873
Joined: Sat Jun 30, 2018 6:33 pm

Re: OpenBox Re-spin

#10

Post by manyroads » Tue Apr 23, 2019 2:28 pm

Head_on_a_Stick wrote:
Tue Apr 23, 2019 2:06 pm
Quick update:
manyroads wrote:
Tue Apr 23, 2019 8:21 am
Catfish file search does not function.
It works with the Adwaita icon theme selected, running it with the Sardi icon theme returns an error about not being able to load the pixbuf from the icon theme.
The same happens with Synapse...@Head_on_a_stick. I was looking for a pixabuf fix. But it looks like both apps require gtk3. :eek:
Pax vobiscum,
Mark Rabideau - http://many-roads.com
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Testing: antiX19

Post Reply

Return to “Community Submissions”