DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

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

This is a relatively simple project that I have been tweaking for several years. The resultant desktop was based on a post in the freebsd forums which I would encourage you to peruse. This differs from the FreeBSD howto by using the OpenBSD base and binary packages.

The project has several Goals:

The first was to have a desktop that would function in a basic BSD environment; no wrappers or other cludges for pulseaudio, udev, hal, systemd, compositing etc.

Secondly, it was to try out a new paradigm for a desktop. In contrast to projects that build from Debian, Fedora, FreeBSD, Arch... and then are packaged up as installation images, this project stays within the OpenBSD sphere. The desktop is built using OpenBSD tools and packages. When you are done installing, you still have an OpenBSD desktop.

Third, a resource efficient interface. The most frequent tasks that are effected by a desktop are web browsing and email. In Unix, a terminal is also frequently implemented and each of these tasks can be started by a single click on a large, animated icon. Hotkeys; <Ctl+Alt+b> browser, <Ctl+Alt+e> email, <Ctl+Alt+t> terminal, and <Ctl+Alt+m> system menu, are configured in ~.config/openbox/rc.xml. The animated icons also include a file manager, a launcher for libreoffice and a music player. All applications can be accessed either the <Ctl+Alt+m> hotkey or by a right-click anywhere except the toolbar and the launcher.

Finally, I hoped that it would also serve as a newbie introduction to OpenBSD and walk the user through the installation.

New for 5.7:

1) x11/pcmanfm replaces misc/mc and and x11/xfm. x11/pcmanfm proved to be stable for the several days I used it and supported ssh network connections and 2 panel views. Thumbnail views of pictures worked without a hitch.

2) x11/yad was used to provide system tray applets for local weather conditions. Additional menu entries were provided to retrieve local weather radar and local forecasts.

3) A menu entry that will prompt for the root password and run M:tier's OpenUp utility.

4) devel/geany was substituted for www/bluefish. Bluefish has become extremely dependent on gnome.

5) epdfview was dropped by the porting teams and was replaced by graphics/evince. The --light version.

6) The README provides a brief guide to setting memory limits so that today's bloated web content will not crash www/firefox-esr

7) Amixer removed. sysutils/tray-app now provides system tray volume control and muting.


Once OpenBSD 5.7 is installed, I recommended that the packages be installed prior to reviewing and copying the configuration files. The configuration files take about 20 to 40 minutes and are accompanied by copy/paste commands in the README. Although it would be possible to extract user and root tar.gz files for all configurations, I elected keep the various sections separate so that the users would have some knowledge of location of the configuration files in the event they wish to further customize their installation.

To start, download the following attachment:

OpenBSD57_SimpleDE.tar.gz

to the users home directory of your new OpenBSD 5.7 install.


If you just have the base install you can also retrieve the file using ftp

$ ftp http://www.daemonforums.org//attachm...0&d=1431462965
$ mv attachment.php?attachmentid=571 OpenBSD57_SimpleDE.tar.gz

Extract with
$ tar xvzf OpenBSD57_SimpleDE.tar.gz

Then change into the OpenBSD57_SimpleDE directory and open the README with your preferred pager. The README should take you the rest of the way.

When you're done you should have something that looks like this:
Name:  screenshot.png
Views: 2695
Size:  67.8 KB

Last edited by shep; 12th November 2015 at 03:17 PM. Reason: corrected directory name in README
Reply With Quote
  #2   (View Single Post)  
Old 12th May 2015
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,021
Default

Content moved to 5.8 Release thread

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

Content moved to 5.8 Release thread

Last edited by shep; 12th November 2015 at 07:09 PM.
Reply With Quote
  #4   (View Single Post)  
Old 29th July 2015
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Package Pilot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 144
Default

Hello I tried downloading this, and it down loaded ok, but when I run the tar command to unzip it, it says : gzip: stdin: Input/output error
there is no "readme" all it shows is the wallpaper dir ?
I can give some more detail if need ed.
thanks, from Garry
Edited: here is the complete details:
Code:
#  tar xvzf OpenBSD57_SimpleDE.tar.gz
OpenBSD57_SimpleDE
OpenBSD57_SimpleDE/wallpaper
OpenBSD57_SimpleDE/wallpaper/puflogv300X195.gif
gzip: stdin: Input/output error
OpenBSD57_SimpleDE/wallpaper/openbsd_grill.png
tar: End of archive volume 1 reached
thanks

Last edited by GarryR; 29th July 2015 at 07:37 PM.
Reply With Quote
  #5   (View Single Post)  
Old 29th July 2015
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 240
Default

How did you download the file ? http ot ftp ?

Maybe you should try to re-download the file, just to check that your file is not corrupted.
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #6   (View Single Post)  
Old 29th July 2015
cynwulf cynwulf is offline
Package Pilot
 
Join Date: Mar 2014
Posts: 198
Default

tar seems to think you have an archive split over multiple volumes. So most likely the download is corrupt or it's a partial archive - e.g. download interrupted.
Reply With Quote
  #7   (View Single Post)  
Old 29th July 2015
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Package Pilot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 144
Default

Oh, ok, that makes sense, I know what happened now, I will try it again.
I think I thought it was finished down loading, and interupted it,...duhh!
Edit: ahh, and Thanks !

Last edited by GarryR; 29th July 2015 at 08:30 PM. Reason: to say thanks
Reply With Quote
  #8   (View Single Post)  
Old 29th July 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,795
Default

While this problem may have been an operational error and the output may have confused you, this give me an opportunity to insert some well-meaning, related advice about third party information and third party software.

Information

Information about using OpenBSD you find on the Internet -- "how to" documents, blogs, and forums like this one -- are unofficial, and may contain information that is out-of-date, misleading, incomplete ... or wrong.

You can learn from third party sources, but please remember that they may not be correct. If you have questions about the information you find outside of the Project, in-the-wild, the authors should be contacted directly.

That includes here; this is an unofficial community of users who just try to help each other.

Software

The Ports/Packages system described in FAQ 15 is for third party software designed to be installed on OpenBSD. While the applications are not audited for security issues, the package creation steps allow each port to be tested to ensure security policies are adhered to during package creation, which includes a test installation.

The Ports/Package infrastructure ensures that installation/deinstallation of packages proceed correctly, and that dependency chains are integrated.

It is possible to find and use uncommitted ports -- there are many such posted to the ports@ mailing list and many can be found on development portals like github.com. But as they are ports designed for OpenBSD these can be tested for security policy issues during package creation. Installation and deinstallation of files can be properly managed. Dependencies can be properly tracked.

Software you find in-the-wild, and that does not have an OpenBSD port written for it -- cannot participate in the Ports/Packages system. This is any software that is not installed by pkg_add(1) and removed by pkg_delete(1). Such software does not have the protections of installation and dependency management nor does it have any test against security policy violation during the build and fake installation step that package builds have.

Last edited by jggimi; 29th July 2015 at 09:35 PM. Reason: clarified last paragraph. I can never just post and leave alone.
Reply With Quote
  #9   (View Single Post)  
Old 29th July 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,795
Default

I've just looked at what I posted and realize that it might be considered a slam against shep and all his hard work. That was not my intent, I was just posting generally about third party info and data, and considerations for the astute admin. It was a divergence from the thread's intent, and for that, I apologize.

Shep's tarball includes graphic files, REAMDEs and provisioning files such as .xml. Yes, it's software and documentation. But it is designed to be used with OpenBSD packages, and does not contain directly executed scripts or binaries.
Reply With Quote
Old 29th July 2015
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 240
Default

Quote:
Originally Posted by jggimi View Post
I've just looked at what I posted and realize that it might be considered a slam against shep and all his hard work. That was not my intent(...)
Come on, shep is a long-time member of this forum, I'm pretty sure he knows you enough to understand this was not your objective.

Everybody here knows that's not your style...
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
Old 29th July 2015
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Package Pilot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 144
Default

Thanks, though, even though I am aware of the 3rd party issues, risks, etc, I do appreciate
that you mention that, others might not realize that, and think just because it is on the forum
means it is going to be use able, etc.
I am not positive I completely understand this:,
Quote:
You can learn from third party sources, but please remember that they may not be correct. If you have questions about the information you find outside of the Project, in-the-wild, the authors should be contacted directly.
That includes here; this is an unofficial community of users who just try to help each other.
So does this mean, I should not ask about it here ? Or are you saying that is included, assuming the author is around, or someone familiar and interested in the program , if I shouldn't be asking about it here , no problem.
---
Something seems to be going wrong when I downloaded it, I had downloaded while using
openbsd and "netsurf", then when I encountered the error in unziping it, and asked here, I tried a second download, made sure the download was complete, but still the same error.
So, I took a nap. Now, this time I downloaded it, but using Debian, and chromium browser, since I am pretty new to OpenBsd, and it is a very fresh install, I don't have anything besides what came with the install, and I successfully installed both "dillo" and "netsurf",..

Anyway, on the debian system, I am able to open the tar.gz file and view the contents, yes everything is there, including the readme file, (have not yet read it) , so anyway, it
appears something else is causing it to not unzip correctly, on my OpenBsd machine, which by the way, is only on a VM, (virtual box),
So any way :
Quote:
Shep's tarball includes graphic files, REAMDEs and provisioning files such as .xml. Yes, it's software and documentation. But it is designed to be used with OpenBSD packages, and does not contain directly executed scripts or binaries.
Now I do see all of those files, etc, it maybe, I still do not have some " OpenBSD package" that I need for it to work, not sure yet, after I read the read me, that may help me see what I need to do. Anyway, thanks for taking the time to post the :
Quote:
this give me an opportunity to insert some well-meaning, related advice about third party information and third party software.
It is good advice, I don't see or think that it is a "slam", against the software or program in any way, as you also mention , and in my case , it probably is a "operational error on my end, not probably, for some reason,
it is not unzipping correctly. anyway
Thanks, from garry, p.s.
Quote:
How did you download the file ? http ot ftp ?
I used http,
Reply With Quote
Old 29th July 2015
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,021
Default

I have debated putting the configuration files into user and root file sets so that they could be installed in the same manner as the installation file sets but felt that would diminish the learning experience.

For me, I use two xterms in the base fvwm window manager. $ less README in the first xterm and copy -> paste (after reviewing the commands) into the second xterm.

@jggimi - No need to appologize - no one IMHO should trust what they find on the internet at face value. Look, at the code, understand the commands you are running. I also would appreciate any feedback on omissions, bugs unclear instructions etc.
Reply With Quote
Old 30th July 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,795
Default

Quote:
Originally Posted by GarryR View Post
So does this mean, I should not ask about it here ?
I was speaking generally, and not about your experience with shep's guide. Absolutely, ask here about it. And you were right to bring the problem here. I wasn't sufficiently articulate, and I should have started a separate thread, because my post wasn't related to your problem ... just how you handled it, which I perceived to be perfectly correct. You returned to the source for assistance.

We get a lot of new users who search relentlessly for "how to" docs, for provisioning recommendations, for knobs to twist, and for scripts and shortcuts ... and that's to be expected. However, they often neglect to ask the source when something is confusing, doesn't work as expected, and come here or go to the Project mailing lists when they should be asking the author to update, revise or support .... and really, that's what the first part of my post was about.

The second part was recommending that admins be mindful to inspect unofficial software before using it. And that may just be because there are a lot of software tools for Unix-like systems that recommend install by something like this:

Code:
# bash < (curl -s http://our.wonderful.website/downloads/install.sh)

Quote:
Originally Posted by shep View Post
I have debated putting the configuration files into user and root file sets so that they could be installed in the same manner as the installation file sets but felt that would diminish the learning experience.
Understood.
Quote:
...I also would appreciate any feedback on omissions, bugs unclear instructions etc.
I'll take a look, but it won't be for some weeks to come.

Last edited by jggimi; 30th July 2015 at 12:47 AM. Reason: removed link to non-working example url, and typo, and thinko
Reply With Quote
Old 30th July 2015
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Package Pilot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 144
Default

Not sure what went wrong with the first downloads, maybe I should have just used the ftp, and not the browser, anyway, the one I downloaded using my debian hd, looked good, and I read the "README", I copied the "OpenBSD57_SimpleDE.tar.gz" entire, to my usbstick,
from there I copied it to my /home dir on openbsd, it unzipped fine.
I am using 2 xterms as suggested,
Quote:
I recommend that the installation be accomplish using two xterms in the
default fvwm2.4 window manager. One terminal displaying and copying
commands from this README and the second xterm to paste the commands for
execution.
just now , just waiting for all the packages to finish installing,
Quote:
The next steps configure system resources and need to be performed as root.
It is best to wait for package installation to complete before running these
I will let you know how it goes, The Readme, is clear, easy enough to follow.
Thanks
Reply With Quote
Old 30th July 2015
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Package Pilot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 144
Default Typo in the README

It is still installing packages, but coming along nicely.
I found a typo, in the readme,
Line 140 (on my editor)
Code:
$ cp ~/OpenBSD57_SimpleD57/SimpleDE57_local_configs/xsession ~/.xsession
The directory name, "OpenBSD57_SimpleD57" should be "OpenBSD57_SimpleDE"
Had me confused there for a while, couldn't figure out why it was saying "cannot find file" and "does not exist"
Bad news, for me though, now, it just reached a point installing the packages, and I should of checked that ahead of time, but all the package files would not fit, on the VM drive I made, so I need to make a bigger one,
Reply With Quote
Old 30th July 2015
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,021
Default

Quote:
Originally Posted by GarryR View Post
It is still installing packages, but coming along nicely.
I found a typo, in the readme,
Line 140 (on my editor)
Code:
$ cp ~/OpenBSD57_SimpleD57/SimpleDE57_local_configs/xsession ~/.xsession
The directory name, "OpenBSD57_SimpleD57" should be "OpenBSD57_SimpleDE"
Thanks - Corrected and revision uploaded to forums

Edit2: Fixed missing Openup menu entry.

Last edited by shep; 2nd August 2015 at 02:41 AM.
Reply With Quote
Old 30th July 2015
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Package Pilot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 144
Default

I am finding the program useful, very educational, it is interesting how you did that.
Thanks for making it available, and that is a big plus, when the actual author is active
and available , for questions or feed back. thanks
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
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
simple window manager for openbsd 5.1 barti OpenBSD Packages and Ports 12 19th July 2012 03:47 AM


All times are GMT. The time now is 01:47 PM.


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