• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

FVWM

graudeejs

Son of Beastie

Thanks: 673
Messages: 4,617

#28
DemoDoG said:
KDE4 is just for show. In my eyes this is true beauty:
http://www.boomkracker.com/screenshots/OpenBSD-FVWM2.png
but that´s just my disturbed kind of taste :)
no that ain't good... lol
however, it's not beauty behind my fvwm config. I wouldn't count my config as very beautiful. I made it, because i wanted unique desktop, that's why i'm still thinking about sharing my config.

The best part of my config, is how it feels when you use it.
I can't use anything else, now, i'm so used to it, that everything else, just ain't right for me.
I'm addicted to my config
 

Gabe_G23

New Member

Thanks: 1
Messages: 11

#29
killasmurf86 said:
however, it's not beauty behind my fvwm config. I wouldn't count my config as very beautiful. I made it, because i wanted unique desktop, that's why i'm still thinking about sharing my config.

The best part of my config, is how it feels when you use it.
I can't use anything else, now, i'm so used to it, that everything else, just ain't right for me.
I'm addicted to my config
Ugh. I wish you'd post it :(.
 

DemoDoG

Active Member

Thanks: 1
Messages: 193

#30
Its´ interesting to see how many posts for fvwm2, gotta be the most used wm by freebsd users :) except for terminal perhaps hehe.
 

DemoDoG

Active Member

Thanks: 1
Messages: 193

#31
I would like to script fvwm2 to only have a pager at the bottom thats all, and no borders around it. Anyone got a nice config for that?
 

DemoDoG

Active Member

Thanks: 1
Messages: 193

#33
Okay I will try with the help of google :) I would also like to know how I can get only 4 squares in the pager instead of 9.
 

graudeejs

Son of Beastie

Thanks: 673
Messages: 4,617

#34
DemoDoG said:
Okay I will try with the help of google :) I would also like to know how I can get only 4 squares in the pager instead of 9.
it depends....
Code:
DeskTopSize 2x2
this will create 1 big virtual desktop (like one monitor split to 4 parts, each at size of your monitor)


Code:
DesktopSize 1x1
DesktopName 0 "Internet"
DesktopName 1 "Active"
DesktopName 2 "Active2"
DesktopName 3 "Background"
this will create 4 virtual desktops
 

DemoDoG

Active Member

Thanks: 1
Messages: 193

#35
thanx it worked good and I got the pager transparent too. there is a problem though, when I click on a desktop it gets black but when I click on another, the old one statys black. so if I click on them all they are all black. I want them to return to transparent again. I guess there is just some miss in the config I have made.
 

ILUXA

Aspiring Daemon

Thanks: 304
Messages: 509

#37
Снимок экрана от 2018-06-21 04-44-29.png

Here is my FVWM config, I've already posted it in "Screen Shots" topic several months ago,
but this one is more polished with some new features, I've created it after more than year of
FVWM usage as my main WM. Also topic starter asked for FVWM config 10 years ago, back in 2008 :)
It is intended to use with Vertex GTK theme by horst3180 and it uses some of its colors and titlebar buttons images.
Menu icons where taken from Vivacious Colors icon theme.

0. Install FVWM # pkg ins x11-wm/fvwm2, if it isn't installed yet.

1. Fetch and install Vertex GTK theme and its dependencies.
% sudo pkg ins automake autoconf pkgconf gtk-murrine-engine gdk-pixbuf2 git-lite
% git clone https://github.com/horst3180/vertex-theme --depth 1 && cd vertex-theme
% ./autogen.sh --prefix=/usr/local
% sudo make install

2. Install x11-themes/lxappearance, launch it and choose Vertex theme.

3. Download fvwm.zip archive and extract .fvwm dir from archive to your home dir (~/.fvwm).

4. Remove old FVWM configuration (like ~/.fvwm2rc) and launch or restart FVWM.

5. ???

6. Profit! Enjoy!

You also need to install following applications to have a fully working dock and some functions:
# pkg ins wmcpuload wmsystemtray wmmemload wmnd wmMoonClock wmclockmon sbxkb gmrun xdg-utils py27-xdg lxmenu-data liberation-fonts-ttf xtermFor now the latest FVWM version in package repo is 2.6.7, but FVWM 2.6.8 was released,
I've created bug report with request to update x11-wm/fvwm2 to 2.6.8 and it was updated, so update your ports tree.
If you're using FVWM 2.6.8+ version, you should install py36-xdg instead of py27-xdg, because new version uses python3.
Also it is good idea to install xscreensaver, then you'll be able to lock the screen using "Options" menu. As a file manager
I use x11-fm/pcmanfm.

Also it is possible to use this config with GNU/Linux!
For example, for Debian based distros, like Devuan, you should install following packages:# apt install wmcpuload wmmemload wmsystemtray wmmoonclock wmnd wmclockmon gmrun xdg-utils python-xdg lxmenu-data fonts-liberation (if you're using FVWM 2.6.8+ version, install python3-xdg instead of python-xdg ), then replace "*FvwmForm-Quit: Command Exec exec /sbin/shutdown -p now" with "*FvwmForm-Quit: Command Exec exec /sbin/shutdown -hP now" in ~/.fvwm/config, and uncomment appropriate "media keys" section
Code:
# Volume control (media keys) FreeBSD
#Key XF86AudioRaiseVolume A A        Exec exec mixer vol +7
#Key XF86AudioLowerVolume A A        Exec exec mixer vol -7
# Volume control (media keys) Linux
Key XF86AudioRaiseVolume A A        Exec exec amixer sset Master 7%+ unmute
Key XF86AudioLowerVolume A A        Exec exec amixer sset Master 7%- unmute
In Linux also you need to execute # chmod u+s /sbin/shutdown to shutdown or reboot via "Quit..." menu.

After you launch FVWM using following config, you should generate your XDG menu (applications menu)
execute % FvwmCommand FvwmConsole, FvwmConsole should appear, enter FvwmPerl -l fvwm-menu-desktop-config.fpl
in FvwmConsole and confirm, you'll see menu generator

tick appropriate options (do not change default "Output path"!), press "Save Menu" (or "Export Menu" if you use FVWM 2.6.8+).
Then, when FVWM will be restarted, XDG menu should be available via root menu (right desktop click),
If your locale is configured correctly, this menu should use your native language. Also it is possible to add
your custom .desktop files to ~/.local/share/applications, shortcuts from this dir will be also added to menu.


"Edit ..." menu entries (like "Edit config") from "Options" menu uses xdg-open to open files, so your default applications, like default editor, should be correctly set (it is possible to set your default applications using pcmanfm).
Check ~/.fvwm/config to see full keybindings list.


If you'll click pager borders with left mouse button, it should minimize all applications, when you'll click it again,
it will restore all applications, that were minimized before and its position (it is possible to use ctrl+alt+d as well).
If you'll click pager border with middle mouse button, you should be able to see "Options" menu, right - XDG menu,
mouse wheel should raise/lower dock. Also it is possible to move applications via pager with middle mouse click.
Here is my wallpaper from screenshot, it is a little bit edited wallpaper from gnome-backgrounds-3.18.0.
Inscription at the bottom says "ॐ नमः शिवाय".

To use transparency with some apps (like terminal emulator) and shadows,
x11-wm/compton should be installed. Here is my ~/.config/compton.conf:
Code:
dbus = true;
backend = "xrender";
vsync = "opengl";
dbe = false;
glx-no-stencil = true;
detect-transient = true;
sw-opti = true;
detect-rounded-corners = true;
use-ewmh-active-win = true;
detect-client-opacity = true;
detect-client-leader = true;
vsync-use-glfinis = true;
paint-on-overlay = true;

mark-wmwin-focused = true;
mark-ovredir-focused = true;
shadow = true;
clear-shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
shadow-ignore-shaped = true;
shadow-radius = 5;
shadow-opacity = 0.8;
shadow-offset-x = -8;
shadow-offset-y = -8;

fading = true;
fade-delta = 5;
no-fading-openclose = false;
fade-in-step = 0.03;
fade-out-step = 0.1;
frame-opacity = 1;
inactive-opacity = 1;

shadow-exclude = [
    "class_g = 'conky'",
    "class_g = 'Wine'",
    "class_g = 'Pale moon' && argb",
    "class_g = 'Firefox' && argb",
    "class_g = 'Seamonkey' && argb",
    "class_g = 'Notification'",
    "name = 'Notification'" ];

fade-exclude = [
    "name = 'XOSD'",
    "class_g *?= 'Wine'" ];

wintypes:
{
    tooltip = { fade = false; shadow = true; opacity = 0.85; };
    popup_menu = { fade = false; shadow = true; opacity = 0.9; };
    dropdown_menu = { fade = false; shadow = true; opacity = 0.9; };
    utility = { fade = true; shadow = true; opacity = 0.85; };
};

If you want to use left scrollbar with some GTK2/3 applications, like on first screenshot, add the following line (it should be without quotes in both files)
Code:
gtk-scrolled-window-placement=top-right
to ~/.gtkrc-2.0 and to ~/.config/gtk-3.0/settings.ini .
To use left scrollbar with www/firefox or www/palemoon, open about:config,
search for "layout.scrollbar.side" and set it to "3", restart your browser.

Also you need to set initial geometry of embedded drop-down terminal (to show/hide press F1), edit ~/.fvwm/config:
AddToFunc DropDownTerm
+ I None (drop_down_term, CurrentDesk) Exec exec xterm -name drop_down_term -geometry 195x35
+ I ...
 
Last edited:

ILUXA

Aspiring Daemon

Thanks: 304
Messages: 509

#38
screenshot.png
To move titlebar buttons to right, when using my config, find following lines in ~/.fvwm/config:
Code:
# Close button pressed
ButtonStyle 1 ActiveDown Pixmap button-close.png -- Flat
# Iconify button pressed
ButtonStyle 3 ActiveDown Pixmap button-iconify.png -- Flat
# Maxmimize button pressed
ButtonStyle 5 ActiveDown Pixmap button-maximize.png -- Flat
and
Code:
# Titlebar buttons
Mouse 1		1	A		CloseButton					#Close titlebar button left click
Mouse 1		3	A		IconifyButton				#Iconify titlebar button left click
Mouse 1		5	A		MaximizeButton				#Maximize titlebar button left click
Mouse 2		1	A		Destroy						#Close titlebar button middle click
Then replace it with
Code:
# Close button pressed
ButtonStyle 2 ActiveDown Pixmap button-close.png -- Flat
# Iconify button pressed
ButtonStyle 6 ActiveDown Pixmap button-iconify.png -- Flat
# Maxmimize button pressed
ButtonStyle 4 ActiveDown Pixmap button-maximize.png -- Flat
and
Code:
# Titlebar buttons
Mouse 1		2	A		CloseButton					#Close titlebar button left click
Mouse 1		6	A		IconifyButton				#Iconify titlebar button left click
Mouse 1		4	A		MaximizeButton				#Maximize titlebar button left click
Mouse 2		2	A		Destroy						#Close titlebar button middle click
 

ILUXA

Aspiring Daemon

Thanks: 304
Messages: 509

#39
Yesterday I submitted a port -- x11/wmsystemtray, that was approved by tobik@ today,
so update your ports tree and you'll be able to install it. wmsystemtray is a system tray dock app,
that uses freedesktop.org system tray protocol, it doesn't require any additional configuration
after installation. To use it outside of WMaker WM, use "--non-wmaker" flag.

I've updated my configuration to use wmsystemtray instead of stalonetray, if you want to use stalonetray, replace
Code:
*Buttons: (1x1, Frame 2, Swallow(UseOld,NoClose) "wmsystemtray"\
        'Exec exec wmsystemtray --non-wmaker')
with
Code:
*Buttons: (1x1, Frame 2, Swallow(UseOld,NoClose) "stalonetray"\
        'Exec exec stalonetray --scrollbars-size 3')
in ~/.fvwm/config.
 
Last edited:
Top