View Single Post
  #1   (View Single Post)  
Old 18th October 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,336
Default BareGUI for OpenBSD

This grew from a previous SimpleDesktop thread that built a lightweight Desktop Environment (DE) in OpenBSD. The older project relied on manually edited configuration scripts and menus. This iteration produces a fast, lightweight stacking desktop with a resting memory footprint around 170mb. When a user adds an application that has a freedesktop compliant *.desktop entry, it will automatically be added to the menu.

These instructions have been updated for version 6.6. Major changes include the deletion of M:tier update instructions as the project now provides updated packages with the command

Code:
# pkg_add -u
The shebang for all scripts was changed #!/bin/ksh -> #!/bin/sh for portability. The Adwaita icon theme dropped the icons for /usr/local/share/desktop/directories/AudioVideo.directory, /usr/local/share/icons/Adwaita/32x32/status/weather-overcast.png and /usr/local/share/icons/Adwaita/32x32/devices/wireless-network.png. The equivalent /usr/local/share/icons/gnome icons were substituted.

The basic layout is similar to Mac OS/X interface. A bottom, one-click launcher for commonly used applications. A full menu is accessed by right-clicking on a blank area of the desktop or hitting the "Menu" key.

Even though the ability to customize the DE has been simplified, users still need to be familiar with the OpenBSD FAQ, man pages, package management and text editing. A Base OpenBSD install provides vi, mg, ed and xedit. editors/leafpad is from the LXDE project, is available in ports and is a good fit for newbies who want a simple gtk based editor.

The project has 2 levels. The first level provides just the base install + bare desktop. The experienced open source user then adds their favorite applications.

Name:  baregui.jpg
Views: 462
Size:  20.9 KB

The next, optional level is a list of commonly used packages that have freedesktop compliant menu entries and are well supported in OpenBSD. The project essentially chooses web browsers, email clients and office suites using criteria described later. After adding the additional packages, the DE is functionally the same as the older SimpleDesktop project. NCurses applications can be given *.desktop menu entries - mail/abook, productivity/calcurse and audio/ncmpc have examples in following posts.

Name:  extra_apps.jpg
Views: 439
Size:  25.2 KB

To get started, click the link to download. Extract the following tarball and the README should take you the rest of the way. If you are working from a new OpenBSD install, without a browser, this base ftp command should download:

Code:
ftp -o BareGUI.tar.gz http://www.daemonforums.org/attachment.php?attachmentid=924&d=1577813169
BareGUI.tar.gz

If you find this to be time saving and useful, consider supporting the OpenBSD project.

OpenBSD Donations

Last edited by shep; 31st December 2019 at 07:31 PM. Reason: Updated BareGUI.tar.gz w/ corrections pointed out by @ripe
Reply With Quote