SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-10-06 16:31:37

tartan
#! Junkie
From: Moscow
Registered: 2009-07-13
Posts: 314

The ultimate fvwm thread

Stupidity was here

tartan

Last edited by tartan (2011-03-15 20:35:46)

Offline

Be excellent to each other!

#2 2009-10-06 17:05:50

klanger
#! Die Hard
Registered: 2009-02-18
Posts: 596

Re: The ultimate fvwm thread

Screenshot of your FVWM desktop please smile
One photo is sometimes worth 1000 words wink

Last edited by klanger (2009-10-06 17:06:31)

Offline

#3 2009-10-06 17:19:45

veer-arjun
Member
Registered: 2009-10-04
Posts: 15

Re: The ultimate fvwm thread

klanger wrote:

Screenshot of your FVWM desktop please :)
One photo is sometimes worth 1000 words ;)

hehehe!!!! I agree!!!!

Offline

#4 2009-10-06 17:37:35

uberbdon
#! CrunchBanger
Registered: 2009-09-13
Posts: 133

Re: The ultimate fvwm thread

x3

Offline

#5 2009-10-06 18:36:52

tartan
#! Junkie
From: Moscow
Registered: 2009-07-13
Posts: 314

Re: The ultimate fvwm thread

Offline

#6 2009-10-08 11:09:44

tartan
#! Junkie
From: Moscow
Registered: 2009-07-13
Posts: 314

Re: The ultimate fvwm thread

Stupidity was here

Tartan

Last edited by tartan (2011-03-15 12:32:53)

Offline

#7 2009-10-08 12:40:07

ADcomp
Python Script Master
From: Belgium
Registered: 2008-12-22
Posts: 598
Website

Re: The ultimate fvwm thread

Hi tartan,

Fvwm is fun .. I play with it last year and It's a powerfull wm but not easy as openbox to configure  big_smile

.fvwm_desktop_090208_s.jpg


David [aka] ADcomp

Offline

#8 2009-10-08 13:14:28

tartan
#! Junkie
From: Moscow
Registered: 2009-07-13
Posts: 314

Re: The ultimate fvwm thread

Well editing menu is easier there. ) All the rest is tricky, yes. And it lacks themes which can be simply installed due to config file syntax, i had to draw mine from scratch.

But it's funny.

Have any tips/scripts/links/ideas? Most of fvwm web pages are gone. (

Offline

#9 2009-10-30 23:33:15

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

tartan wrote:

In fvwm, you can use the same apps as in any other stacking window manager to make a kind of desktop environment, and in this thread i would like to share my /rather naive/ way of setting it up.

The correct term is "reparenting window manager".  Not "stacking window manager".

tartan wrote:

There are some manuals on setting up fvwm online, but in fact they are quite old and i would like to write something anyone could understand and use right now with current !# install.

Where are you looking, and how are you able to make the judgment that they're "old"?

tartan wrote:
DestroyFunc InitFunction
AddToFunc   InitFunction

+ I Exec exec nm-applet 
+ I Exec exec gnome-power-manager 
+ I Exec exec volwheel 
+ I Exec exec nitrogen --restore
+ I Exec exec tint2

This section would autolaunch your apps similar to the way autostart.sh does.

Epic fail.  See:   http://wiki.archlinux.org/index.php/FVW … _for_FVWM2 -- and specifically this, which I will quote below:

Myself wrote:

2. InitFunction versus StartFunction versus RestartFunction

Unless you're someone as foolish as I am, and are still using FVWM 2.4.19, FVWM 1.24 and FVWM 2.2.5, this is going to be of consideration to you. OK, I joke. This is really only of importance to the small minority of people running FVWM stable (2.4.19). For the rest of you running 2.5.X (at the time I writing I would hope 2.5.16) then you need to be made aware of the following:

You don't need to use InitFunction

Gasp! It's true. In FVWM 2.4.X, you do need to use it because the Test command does not include tests for Init, Reboot, etc. However for FVWM 2.5.X, forget InitFunction, and incorporate it into your StartFunction. Here's an example:

DestroyFunc InitFunction
AddToFunc   InitFunction
+ I Exec exec xsetroot -solid pink
+ I Exec exec xconsole

DestroyFunc  StartFunction
AddToFunc    StartFunction
+ I Module FvwmProxy
+ I Module FvwmButtons myBar

Put the two together, and from within your StartFunction you can define what's in InitFunction via the use of the following:

+ I Test (Init) ...

Hence:

DestroyFunc  StartFunction
AddToFunc    StartFunction
+ I Module FvwmProxy
+ I Module FvwmButtons myBar
+ I Test (Init) Exec exec xsetroot -solid pink
+ I Test (Init) Exec exec xconsole

And that's it. There you have it. You now have a StartFuction which FVWM reads at Init, Reboot and Exit. The same logic applies for RestartFunction:

You don't need to use RestartFunction

What is even more perplexing about this is I have seen a lot of configs which define the following:

DestroyFunc  StartFunction
AddToFunc    StartFunction
+ I Exec exec xterm -T Wooo -ls

DestroyFunc   RestartFunction
AddToFunc     RestartFunction
+ I Exec exec xterm -T Woo -ls

Now, guess what this does. That's right, when you reboot FVWM you get two copies of the same xterm running. That's because, again, StartFunction is read by FVWM at initialisation and reboots. FVWM hence re-reads RestartFunction and StartFunction and does the same thing twice. How do you get around this. Easy: remove the definition for RestartFunction entirely. If that application is only intended to be started during a restart (slightly odd scenario) then use:

DestroyFunc  StartFunction
AddToFunc    StartFunction
+ I Test (Restart) Exec exec xterm -T Woo -ls
tartan wrote:
DestroyFunc DeleteWin
AddToFunc DeleteWin
+ I Delete

Mouse 1 2 N DeleteWin

No, using a function context here gains you nothing, just bind the action directly for two reasons:

1.  Redundant as a function.
2.  You get window contect for free.

Hence:

Mouse 1 2 N Delete
tartan wrote:
DestroyFunc MaxWin
AddToFunc MaxWin
+ I Maximize

Mouse 1 4 N MaxWin

DestroyFunc IconWin
AddToFunc IconWin
+ I Iconify

Mouse 1 6 N IconWin
Mouse 1 I N IconWin

See above for both of these -- completely redundant.

-- Thomas Adam

Offline

#10 2010-04-19 08:18:55

tartan
#! Junkie
From: Moscow
Registered: 2009-07-13
Posts: 314

Re: The ultimate fvwm thread

I made a fvwm setup variant where user has to add his applications in autostart and menus an bind some hotkeys of his own, while almost all the rest would work as it is.

http://box-look.org/content/show.php/fv … ent=123415

Please try and send your comments.

Next time I have some time I would make fvwm config to mimic openbox based on crunchbang 10 if someone is interested.

Last edited by tartan (2010-05-26 09:53:04)

Offline

#11 2010-04-19 13:28:24

Ganja
Member
From: Sweden/Finland
Registered: 2009-04-05
Posts: 49

Re: The ultimate fvwm thread

Nice Thank you i will try it out later tonight

Bless


Why Waltz With A Guy For 10 Rounds?
When You Can Knock Him Out In 1
-Rocky Marciano-

Offline

#12 2010-05-04 08:54:37

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 2,642

Re: The ultimate fvwm thread

tartan,

I passed the link to a friend who was interested in FVWM a few days ago. Today he mailed back and said he's loving the setup and your starter kit helped a lot.

So I just wanna say thanks on his behalf. smile


Point & Squirt

Offline

#13 2011-02-21 17:40:16

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 781

Re: The ultimate fvwm thread

I am running Fvwm with Lxpanel right now, one small at the top with just the application launcher and using the one at the bottom for minimized windows like Tint2.  I think I would like to get a more traditional "Fvwm look" and use the buttons.  I like the module approach so I was wondering if you would just create a new module and pass control to it for the buttons.

If I keep the Lxpanels then I need to figure out how to hide the top one but have it overlap any window if I put the mouse on it. 

I have sort of figured out transparency in the menus but not too good with color codes yet.  I have a transparent menu with yellow letters and it looks fugly.  I'm still working on how to change the color of the window decorations and make that top part transparent.  Oh boy!  tongue


Proceed with confidence!
http://eldervlacoste.deviantart.com/

Offline

#14 2011-02-21 19:33:21

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

ElderV.LaCoste wrote:

I am running Fvwm with Lxpanel right now, one small at the top with just the application launcher and using the one at the bottom for minimized windows like Tint2.  I think I would like to get a more traditional "Fvwm look" and use the buttons.  I like the module approach so I was wondering if you would just create a new module and pass control to it for the buttons.

Are you referring to FvwmIconMan?

ElderV.LaCoste wrote:

If I keep the Lxpanels then I need to figure out how to hide the top one but have it overlap any window if I put the mouse on it.

I am not sure what you mean by "put the mouse on it" -- but are you meaning "EwmhBaseStruts" here?

-- Thomas Adam

Offline

#15 2011-02-21 19:36:47

rstrcogburn
CrunchRanger
From: The Wild West
Registered: 2010-06-12
Posts: 1,796
Website

Re: The ultimate fvwm thread

Thomas, I'm also wanting to do my taskbar with FvwmIconMan/Buttons like you've got setup.  I'll post what I've got soon, I need help getting standalonetray/xclock swallowed.  PS: you gonna set your #! avatar to stitch as well? tongue  That's a nice color you and your mom put on him.


... and a kind word.  -Duke

Offline

#16 2011-02-21 19:45:40

rstrcogburn
CrunchRanger
From: The Wild West
Registered: 2010-06-12
Posts: 1,796
Website

Re: The ultimate fvwm thread

tNmNrZA

the one i got looks like this

*FvwmIconMan: Resolution Global
*FvwmIconMan: UseWinList True
*FvwmIconMan: DontShow Class=xmms,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
*FvwmIconMan: DrawIcons Never
*FvwmIconMan: Sort Id
*FvwmIconMan: FollowFocus True
*FvwmIconMan: Format "%t"
*FvwmIconMan: Title ""
*FvwmIconMan: ButtonGeometry 1364x20
*FvwmIconMan: ManagerGeometry 1x1+0+0
*FvwmIconMan: MaxButtonWidthByColumns 8
*FvwmIconMan: Font xft:MonteCarlo:size=9
# Tips 
*FvwmIconMan: Tips needed
*FvwmIconMan: TipsDelays 500 200
*FvwmIconMan: TipsFont "xft:Verdana:pixelsize=12"
*FvwmIconMan: TipsBorderWidth 0
*FvwmIconMan: TipsColorset 5
*FvwmIconMan: TipsJustification leftup
# Button look
*FvwmIconMan: PlainButton flat
*FvwmIconMan: FocusButton flat
*FvwmIconMan: SelectButton flat
*FvwmIconMan: FocusAndSelectButton flat
*FvwmIconMan: IconButton flat
# Colorsets
*FvwmIconMan: Colorset 7
*FvwmIconMan: FocusColorset 8
*FvwmIconMan: SelectColorset 9
*FvwmIconMan: FocusAndSelectColorset 9
*FvwmIconMan: IconColorset 9
*FvwmIconMan: ReliefThickness 1
# Actions
*FvwmIconMan: action Mouse 1 N sendcommand Focus, sendcommand "Iconify"
*FvwmIconMan: action Mouse 2 N sendcommand "Iconify 1"
*FvwmIconMan: action Mouse 3 N sendcommand "FvwmIdent"

... and a kind word.  -Duke

Offline

#17 2011-02-21 20:07:12

rstrcogburn
CrunchRanger
From: The Wild West
Registered: 2010-06-12
Posts: 1,796
Website

Re: The ultimate fvwm thread

Stitch!!!!


... and a kind word.  -Duke

Offline

#18 2011-02-21 22:40:28

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

rstrcogburn wrote:

Stitch!!!!

Stitchy.  smile

-- Thomas Adam

Offline

#19 2011-02-21 22:42:38

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

rstrcogburn wrote:

Thomas, I'm also wanting to do my taskbar with FvwmIconMan/Buttons like you've got setup.  I'll post what I've got soon, I need help getting standalonetray/xclock swallowed.  PS: you gonna set your #! avatar to stitch as well? tongue  That's a nice color you and your mom put on him.

Well, the general principle behind this is to work out what you want, and how many rows/columns it will end up being, and then you will end up with (in my case) something like this:

DestroyModuleConfig FB-np:*
*FB-np: Columns 48
*FB-np: Rows 1
*FB-np: Padding 0 0
*FB-np: Frame 0
*FB-np: Font -*-terminus-*-*-*-*-18-*-*-*-*-*-iso8859
*FB-np: Back grey
PipeRead `for i in $(seq 0 $(($[desk.pagesx] - 1))); do echo "*FB-np: (1x1, Id \"A-$i\", Back #D8C9FF, Title (Center) '$i', Action (Mouse 1) GotoPage $i 0)"; done`
*FB-np: (5x1, Swallow (UseOld) `cpumon` `Exec exec xosview -name cpumon -captions +labels +usedlabels +cpu -load -mem -swap -battery -gfx -net -page -disk -int -ints -irqrate -lmstemp -xrm 'cpumon*background:  #F3C9CB'`)
*FB-np: (5x1, Swallow (UseOld) `memmon` `Exec exec xosview -name memmon -captions +labels +usedlabels -cpu -load +mem -swap -battery -gfx -net -page -disk -int -ints -irqrate -lmstemp -xrm 'memmon*background: #ECF0A8'`)
*FB-np: (5x1, Swallow (UseOld) `loadmon` `Exec exec xosview -name loadmon -captions +labels +usedlabels -cpu +load -mem -swap -battery -gfx -net -page -disk -int -ints -irqrate -lmstemp -xrm 'loadmon*background: #F1BFF8'`)
*FB-np: (5x1, Swallow (UseOld) `netmon` `Exec exec xosview -name netmon -captions +labels +usedlabels -cpu -load -mem -swap -battery -gfx +net -page -disk -int -ints -irqrate -lmstemp -xrm 'netmon*background: #B4F0E1'`)
*FB-np: (8x1, Swallow (UseOld,Respawn,NoClose,NoKill) `stalonetray` `Exec exec stalonetray --kludges force_icons_size,fix_window_pos,use_icons_hints`)
*FB-np: (10x1, Swallow (UseOld) `FvwmIconMan-Icons` `Module FvwmIconMan FvwmIconMan-Icons`)
*FB-np: (8x1, Swallow (NoKill, Respawn, UseOld) "xclock" "Exec exec xclock -bg grey -fg black -digital -twentyfour -padding 1 -norender -update 1")

KillModule FvwmButtons Buttons-Slid
DestroyModuleConfig Buttons-Slid: *
*Buttons-Slid: Back grey
*Buttons-Slid: Rows 1
*Buttons-Slid: Frame 1
*Buttons-Slid: Padding 0 0
*Buttons-Slid: (Panel(NoBorder, Smooth, Hints, right, indicator 10, delay 7, steps 26) "FB-np" \
                  'Module FvwmButtons FB-np -g 1670x22+0+0')

Style Buttons-Slid !Borders
Module FvwmButtons Buttons-Slid

-- Thomas Adam

Offline

#20 2011-02-22 20:36:09

rstrcogburn
CrunchRanger
From: The Wild West
Registered: 2010-06-12
Posts: 1,796
Website

Re: The ultimate fvwm thread

big THX, I'm playing around with it now.  BTW, I tried buidling .31 from your git tree but it didn't seem to work as you explained on FVWM forums.  Is there something I'm missing?


... and a kind word.  -Duke

Offline

#21 2011-02-22 20:48:26

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

rstrcogburn wrote:

big THX, I'm playing around with it now.  BTW, I tried buidling .31 from your git tree but it didn't seem to work as you explained on FVWM forums.  Is there something I'm missing?

Define "didn't seem to work" -- what were you doing?

-- Thomas Adam

Offline

#22 2011-02-22 20:59:07

rstrcogburn
CrunchRanger
From: The Wild West
Registered: 2010-06-12
Posts: 1,796
Website

Re: The ultimate fvwm thread

./configure && make deb-inplace  ..  gnu make configure wouldn't run. It would on the FVWM 2.5.31 tarball but not the git stuff.  I'm hurtin bad for the new 31 release and would just package it from scratch but, it seems to be a little more daunting than all my other packaging endeavors.


... and a kind word.  -Duke

Offline

#23 2011-02-22 21:05:35

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

rstrcogburn wrote:

./configure && make deb-inplace  ..  gnu make configure wouldn't run. It would on the FVWM 2.5.31 tarball but not the git stuff.

Well, my git tree will give you the CVS version -- which is FVWM 2.5.32 -- but it's academic.

As for why it's not running it -- you're still not giving me any output.  smile  So I can only guess.  Does "configure" even exist at this point?  That is, have you done this:

cd /path/to/fvwm.git
utils/configure_dev.sh
./configure && make deb-inplace

Which works fine.  You'll need debhelper installed, of course.

If you get any further errors, I'll need some actual output, please.  I don't like guessing games.

-- Thomas Adam

Offline

#24 2011-02-22 21:12:41

rstrcogburn
CrunchRanger
From: The Wild West
Registered: 2010-06-12
Posts: 1,796
Website

Re: The ultimate fvwm thread

Sorry, to make you read my mind Thomas.  You are totally correct configure didn't exist.  The utils/configure_dev.sh was what I was needing.  The CVS snapshot is kinda what I've been wanting to run anyways, thanx for all the help.(had debhelper since cb-welcome has a nice turnkey packaging/build solution)


... and a kind word.  -Duke

Offline

Be excellent to each other!

#25 2011-02-23 21:18:39

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

rstrcogburn wrote:

Sorry, to make you read my mind Thomas.  You are totally correct configure didn't exist.  The utils/configure_dev.sh was what I was needing.  The CVS snapshot is kinda what I've been wanting to run anyways, thanx for all the help.(had debhelper since cb-welcome has a nice turnkey packaging/build solution)

That's OK.  smile  I've updated my git repo with some changes -- give it a whirl, please.

-- Thomas Adam

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo