DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th November 2015
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 953
Default Simple Desktop for OpenBSD 5.8

OpenBSD 5.8 is no longer supported. A configuration for 6.0 has been uploaded.

Last edited by shep; 15th November 2016 at 09:08 PM.
Reply With Quote
  #2   (View Single Post)  
Old 12th November 2015
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 953
Default

content migrated to Simple Desktop for OpenBSD 6.0

Last edited by shep; 15th November 2016 at 09:20 PM.
Reply With Quote
  #3   (View Single Post)  
Old 12th November 2015
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 953
Default

This is a walk through to make a simple wallpaper that will function with wbar. The main objective is to have the x11 background color in wbar match the wallpaper background color as wbar does not readily support transparency. Transparency is available if the optional compositing is enabled

The wallpaper can be generated quickly and easily in graphics/gimp using the following procedure.

For the purpose of brevity, I will use "->" to indicate menu selections.

File -> New. In the Width and Height boxes enter in the values for your screen display. For example 1280x1024 or 1440x900. The default resolution of 72dpi is fine.

Click on the background foreground colors icon in the Toolbox to open the color selection dialog. In the HTML notation box enter the same x11 color code that was used in the wbar example. I used 172636 for the default wbar icon that was provided in the OpenBSD_SimpleDE58 configuration. After entering the code select OK. The background icon in the Toolbox should have changed to the selected color.

Next Tools -> Paint Tools -> Bucket Fill. The mouse icon should appear as a bucket. Position the "bucket" over your new image and click. Depending on your system speed, the entire display should fill with the new background color.

Now click File -> Open and browse to the logo you wish to paste into the wallpaper. I provided two logos from the OpenBSD site in OpenBSD_SimpleDE58/wallpaper/

In the logo window Edit -> Copy Visable. Then go back to the initial background window and Edit -> Paste Into. This should center the logo in a new layer. Merge the layers with Layer -> Anchor Layer.

If you are happy with the image, export the layer to either a *png or *jpg image format.
File -> Export. Name the file, eg wallpaper.png, and save it in your hope directory

Now you can close all Gimp windows and open a user terminal in your home directory.

Issue the command
Code:
feh --bg-fill wallpaper.png
and you should generate a ~/.fehbg file.

The last configuration is to edit ~/.config/openbox/autostart Comment out (prefix with #) the line xsetroot and delete the # in front of "(xcompmgr -n) &". The -n flag for xcompmgr just provides simple compositing, anything more than that tends to make my head throb . Lastly remove the # in front of "(sleep 0.5 && ~/.fehbg) &". Your ~/.config/openbox/autostart should now look like this:
Code:
# Set Background color
# xsetroot -solid "#172636"
# Start xcompmgr
(xcompmgr -n) &
# Load feh Wallpaper
(sleep 0.5 &&  eval `cat $HOME/.fehbg`) &
# Start Tint2
(sleep 1 && tint2) &
# Start Wbar
(sleep 1.5 && wbar --config ~/.config/wbar/wbarrc) & 
# Start tray-app volume control
(sleep 2 && /usr/local/libexec/tray-app/sound) &
# Start weather system tray applet
(sleep 2 && yad --notification --image=weather-overcast \
 --text="Yakima, WA Weather" --no-middle \
 --command='urxvt -g 78x16-0+38 \
 -icon /usr/local/share/pixmaps/weather.png \
 -hold -T "Yakima, WA Weather" \
 -e "/home/your-user-directory-here/scripts/weather.sh"') &
# Start volume system tray applet
(sleep 2.5 && /usr/local/libexec/tray-app/sound) &

Last edited by shep; 12th November 2015 at 07:21 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Desktop for OpenBSD 5.7 shep Guides 16 30th July 2015 04:15 PM
Recommend: A simple GUI for OpenBSD install cravuhaw2C OpenBSD Installation and Upgrading 30 17th January 2015 11:39 PM
Simple Desktop Environment for OpenBSD 5.6 shep Guides 2 15th November 2014 06:04 PM
Simple Desktop for OpenBSD 5.5 shep Guides 8 28th July 2014 06:32 PM
Simple Desktop Environment for OpenBSD 5.4 shep Guides 4 27th January 2014 06:47 PM


All times are GMT. The time now is 02:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick