How to change Mate to Fvwm or MWM?

Post your general questions or comments about GhostBSD here!
Post Reply
new_ghost25
Posts: 2
Joined: Sat Apr 27, 2024 2:35 am

How to change Mate to Fvwm or MWM?

Post by new_ghost25 »

Hi. I tried read GhostBSD documentation, but can’t find an answer. I successfully installed FVWM, but can’t find the way to add it as an option for login or even make to be default.
Any help is appreciated.
new_ghost25
Posts: 2
Joined: Sat Apr 27, 2024 2:35 am

Re: How to change Mate to Fvwm or MWM?

Post by new_ghost25 »

I found an answer, so maybe somebody is needed.

1. sudo pkg install fvwm

2. Create a new .desktop file in the /usr/local/share/xsessions directory. You can use a text editor like nano
sudo nano /usr/local/share/xsessions/fvwm.desktop

3. Paste the following content into the file:
[Desktop Entry]
Encoding=UTF-8
Name=FVWM
Comment=The FVWM Window Manager
Exec=fvwm
Type=XSession

4. Find the LightDM configuration file. Its location might be /usr/local/etc/lightdm/lightdm.conf or a similar path.
sudo nano /usr/local/etc/lightdm/lightdm.conf

5. Look for the following lines:
user-session=mate

6. Change the user-session value to fvwm:
user-session=fvwm

7. reboot

8. In the LightDM login screen there is will be a button in the top right corner, near your name, there you can change Mate to FVWM.

By default fvwm don't have any apps in the menu. Pretty empty, but it's another story to change that.
Post Reply