DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th December 2022
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 37
Default fvwm manpage & configuration

Hi,

I had some time on my hands due to the holiday season. I wish to migrate from xfce to fvwm (the one in base).

There are some nifty rices out there on r/unixporn (mostly fvwm3+, not 2.2.5) and I thought I'd give it a go. I have made a list of what packages other people use which are available on OpenBSD ports. I do not know how to make fvwm use these packages (conky, redshift, dunst, compton, rofi, polybar, picom, alacritty, etc.)

I could not find manpages of fvwm and do not know where to begin. Any help appreciated.
Reply With Quote
  #2   (View Single Post)  
Old 16th December 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by pseudostem View Post
I could not find manpages of fvwm and do not know where to begin. Any help appreciated.
I can't help with provisioning fvwm, as I've only ever used it to ensure X was working before installing a preferred window manager, but I can easily find the man page with $ man fvwm. Here's an HTML version.
Reply With Quote
  #3   (View Single Post)  
Old 16th December 2022
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 167
Default

Quote:
Originally Posted by pseudostem View Post
Hi,
I do not know how to make fvwm use these packages (conky, redshift, dunst, compton, rofi, polybar, picom, alacritty, etc.)

I could not find manpages of fvwm and do not know where to begin. Any help appreciated.
Are you asking how to "make" fvwm3 use say conky ? Or asking to use fvwm3 on OpenBSD ?

fvwm3 is in ports, you can use pkg_add(1) to install it.

To 'make' fvwm3 use these items are out of the scope of OpenBSD. Learning fvwm[23] configuration is what is needed. Google has lots of information on fvwm2 config and there are plenty of examples. Right now, for configuration, a recent version of fvwm2 and fvwm3 are pretty much the same. The version of fvwm in OpenSD base has differences though.

in the manual, study "Style" and the manuals for various modules, like FvwmButtons(1)
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)
Reply With Quote
  #4   (View Single Post)  
Old 16th December 2022
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 37
Default

Thank you for your reply.

Quote:
Originally Posted by jmccue View Post
Are you asking how to "make" fvwm3 use say conky ?
I'm asking how to "make" fvwm2 (which is in base), use say conky

Quote:
fvwm3 is in ports, you can use pkg_add(1) to install it.

To 'make' fvwm3 use these items are out of the scope of OpenBSD. Learning fvwm[23] configuration is what is needed. Google has lots of information on fvwm2 config and there are plenty of examples. Right now, for configuration, a recent version of fvwm2 and fvwm3 are pretty much the same. The version of fvwm in OpenSD base has differences though.

in the manual, study "Style" and the manuals for various modules, like FvwmButtons(1)
[STRIKE]I assumed since fvwm2 was in base, there'd be some documentation present and I would take a look at that first. On my system I get "No entry for fvwm in manual". On man.openbsd.org I get a manpage. I must have missed a step in my upgrade :-). Confirmed this by looking for other manpages. Thanks to your comment about fvwmbuttons I figured this out.[/STRIKE]

Update: My /etc/man.conf was bad and hence no access to manpages.

I will definitely google after going through the manpages, and if there is some interest will post my config here.

Followup question - What would you suggest? fvwm 2.2.5 from base or the newer one from ports?

Last edited by pseudostem; 16th December 2022 at 07:03 AM.
Reply With Quote
  #5   (View Single Post)  
Old 16th December 2022
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 344
Default

Likely 'base' FVWM has had slight changes from standard, a typical OpenBSD 'feature' for securing base programs, so I think that I'd stick with the supplied version.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #6   (View Single Post)  
Old 16th December 2022
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: 461
Default

Quote:
Originally Posted by pseudostem View Post
how to "make" fvwm2 (which is in base), use say conky
If you're using xenodm (which you should be) then add the commands for conky & fvwm (along with any other programs you want to be started) to ~/.xsession, as per the SESSION PROGRAM section of xenodm(1).

Something like this should do:
Code:
conky &
exec fvwm
Note that the ampersand at the end of the line is only needed if the application doesn't return the prompt when run from the command line. Unnecessary forking can cause race conditions and conflicts.

If you're not using xenodm then add the commands to ~/.xinitrc instead. That will be read when startx is run.

Quote:
Originally Posted by pseudostem View Post
Update: My /etc/man.conf was bad and hence no access to manpages.
There is a web portal for those: https://man.openbsd.org/

Quote:
Originally Posted by pseudostem View Post
What would you suggest? fvwm 2.2.5 from base or the newer one from ports?
Always use the base system as much as possible. The ports aren't audited and so tend to be of lower quality; avoid them whenever possible.
Reply With Quote
  #7   (View Single Post)  
Old 16th December 2022
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 167
Default

Quote:
Originally Posted by pseudostem View Post
Followup question - What would you suggest? fvwm 2.2.5 from base or the newer one from ports?
As others noted, on OpenBSD I stick with fvwm in base. The largest difference is FvwmButtons, other items are rather close.

As you may know, for conky you will need a ~/.conkyrc. There are a lot of examples of those under google. The largest difference is getting battery and Temperatures. You will probably need to use "/usr/sbin/apm" and "/sbin/sysctl" and parse output to get battery status and various Temperatures.
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)
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
manpage naming conflicts fvgit OpenBSD Packages and Ports 3 20th February 2020 06:05 PM
BBCode tags for manpage linking hanzer Feedback and Suggestions 5 25th February 2015 12:01 AM
How To: Create a manpage from scratch. FBSD Guides 0 12th April 2010 07:30 AM
Manpage colorization on the terminal JMJ_coder NetBSD General 2 17th February 2009 09:17 PM
Trouble reading manpage IIMarckus OpenBSD General 3 18th October 2008 05:08 AM


All times are GMT. The time now is 11:44 PM.


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