DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th November 2016
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default Simple Desktop for OpenBSD 6.0

No longer supported.
Content migrated to 6.4

Last edited by shep; 22nd October 2018 at 11:26 PM.
Reply With Quote
  #2   (View Single Post)  
Old 15th November 2016
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Content migrated to 6.2

Last edited by shep; 14th October 2017 at 08:31 PM.
Reply With Quote
  #3   (View Single Post)  
Old 15th November 2016
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Content migrated to 6.2

Last edited by shep; 14th October 2017 at 08:31 PM.
Reply With Quote
  #4   (View Single Post)  
Old 22nd January 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

Shep
Are you using lpd or cups (combo) to print in your systems?
Have been reading your guide and look to give it a try soon.

Last edited by frcc; 23rd January 2017 at 01:03 AM. Reason: add more questions
Reply With Quote
  #5   (View Single Post)  
Old 24th January 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

I personally use lpr but the default package list in the guide provides cups. There is a comment about selecting install packages in the README. Just delete cups from the package list if you wnat lpr.
Reply With Quote
  #6   (View Single Post)  
Old 29th January 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

My wallpaper is randomly selected from set of wallpapers indexed from 1 to "ILOSC_TAPET" inclusively.
Wallpapers are meant to be found inside "/home/open/tapety/z_logo/" directory.
Variable "losowa_liczba" is meant to store random integer number from 1 to "ILOSC_TAPET".
Not impressive, but makes system look slightly less monotonous.

Code:
#!/bin/ksh

typeset -i ILOSC_TAPET=4
typeset -i losowa_liczba=$(( ( RANDOM % ${ILOSC_TAPET} ) + 1 ))
/usr/local/bin/feh --bg-scale /home/open/tapety/z_logo/${losowa_liczba}.jpg
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #7   (View Single Post)  
Old 29th January 2017
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 456
Default

Quote:
Originally Posted by e1-531g View Post
Code:
#!/bin/ksh

typeset -i ILOSC_TAPET=4
typeset -i losowa_liczba=$(( ( RANDOM % ${ILOSC_TAPET} ) + 1 ))
/usr/local/bin/feh --bg-scale /home/open/tapety/z_logo/${losowa_liczba}.jpg
This works as well:
Code:
/usr/local/bin/feh --bg-scale --randomize /home/open/tapety/z_logo/*.jpg


EDIT: also, rather than:
Code:
eval `cat $HOME/.fehbg`
This can be used instead:
Code:
sh "$HOME/.fehbg"
Thanks for the guide shep, it is very useful

Last edited by Head_on_a_Stick; 29th January 2017 at 05:32 PM. Reason: added /*.jpg then added actual EDIT
Reply With Quote
  #8   (View Single Post)  
Old 30th January 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Thanks for spotting the error. I had changed the ~/.config/openbox/autostart entry for the wallpaper to
Code:
 # Load feh Wallpaper
(sleep 0.5 && ~/.fehbg) &
but overlooked changing the forum guide.

I will correct the forum guide above.

Last edited by shep; 30th January 2017 at 12:11 AM.
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.8 shep Guides 2 12th November 2015 03:07 PM
Simple Desktop for OpenBSD 5.7 shep Guides 16 30th July 2015 04:15 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 10:52 AM.


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