klav's little tests

thought i’d pop in and show my configs

green&gray with hell(.pl) picture

pink fashion theme, only for men that are confident in their sexuality (straight men that is)

pucca theme, korean cjootness overdrive

(and yes they all look more or less the same :slight_smile: )

HI, i like them very much.

One question. Is his torsmo/cronky that u´ve swallow into FvwmButtons in the right-bottom?

that’s torsmo at the left-bottom indeed, wmclockmon is the clock at the bottom-right

How did u managed that??

Could u paste the part of ur config?

the first straight pink theme must be a belgian one… :smiling_imp:

looks fine!

quite simple and clean!

I would advise you to run at startup the gnome-settings-daemon or to use the .gtkrc-2.0 file mechanism to get nice gtk themes that would fit better with your config!

Regards, Brice

[code]

----------------------------------------------------------------------------------------------

Torsmo Dock Settings

----------------------------------------------------------------------------------------------

DestroyModuleConfig FvwmTorsmo: *
    *FvwmTorsmo: Rows 1
    *FvwmTorsmo: Frame 0
    *FvwmTorsmo: Columns 1
    *FvwmTorsmo: Colorset 70
    *FvwmTorsmo: BoxSize fixed
    *FvwmTorsmo: (Swallow torsmo `Exec exec torsmo -o`)

Style FvwmTorsmo Sticky, NoTitle, WindowListSkip, StaysOnBottom, BorderWidth 1[/code]

and add them :

 + I Module FvwmButtons -g 242x60+05-5 FvwmTorsmo 

i saw the idea originally from mysz on the gentoo forum, swallowing xpad

For some reason, my torsmo simply disappears after a second…
There aren’t any error msgs or so, it simply disappears, the program is still running (according to ps)…
I think I’ve simply missed something obvious… :slight_smile:

maybe :

Colorset 70 fg black, bg black, RootTransparent, Tint white 30

the only other thing i can think of is that your torsmo output is too big to fit in the window

I am having the exact same issue with torsmo, also using klavrynd’s fvwm config. After starting or restarting fvwm, torsmo appears for about a second and then it disappears. It’s as if the updating fvwm does when it starts removes torsmo. What method are you using to display your background image, klavrynd?

If and when I start torsmo manually without swallowing it in fvwm it starts up just nicely. I’ve made the torsmo output small enough as to fit in the fvwm button. Making the button larger or torsmo even smaller has had no effect. I’m really curious as to how mine’s not working and yours is.

I thought torsmo couldn’t do this without a patch as it drew straight on the root window. You could just try conky instead which is able to do this (and basically took over where torsmo left off) or search around for the torsmo patch.

I’ve tried Conky as you said, but it had the same results. The problem seems to be that the apps can’t update themselves within the fvwm button… whatever I set the update delay to, is the amount of time conky/torsmo is visible inside the button before disappearing.

so am i, i’m using an unpatched portage torsmo and didnt do anything special afaik[/code]

It seems like it won’t work correctly with a transparent colorset, which he doesn’t use in the shot if you look closely…

hth

The colorset he posted contains RootTransparent, though. However, I have tried it without it now and that did not really change anything. It’s when the app tries to update itself that they disappear. Both apps appear as they should inside the fvwm button when fvwm starts, up until the point when either app wants to redraw itself. Then they vanish from sight.

You cannot recreate this behaviour? try using a clean fvwm config and clean conky config, there must be some option I’m missing that might be obvious and forgettable.

EDIT:
klavrynd: What version of fvwm are you using? could you possibly post your .fvwm2rc ?

can’t check what version i have atm, will do when i boot into linux again

[code]#------------------------------------------------------------------------------------------------#

fvwm2 initialisation file, using fvwm-2.5.10 on Gentoo Linux

- mysz mysz@boo.pl

#------------------------------------------------------------------------------------------------#

windowbar decoration, and few other things taken from Taviso’s .fvwm2rc:

http://dev.gentoo.org/~taviso/fvwm2rc.html

#------------------------------------------------------------------------------------------------#

----------------------------------------------------------------------------------------------

Place where all images are kept

----------------------------------------------------------------------------------------------

ImagePath ${HOME}/themes/hel/:+
SetEnv fvwm_image_path $[HOME]/

----------------------------------------------------------------------------------------------

Variable keeping the name of my current terminal

----------------------------------------------------------------------------------------------

SetEnv fvwm_terminal aterm

----------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------

StartFunction - starts fvwm

----------------------------------------------------------------------------------------------

AddToFunc StartFunction
    + I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png
    + I Module FvwmCommandS
    + I Module FvwmProxy
    + I Module FvwmButtons -g 312x60+387-5 FvwmDock   
    + I Module FvwmButtons -g 242x60+05-5 FvwmTorsmo 
    + I Module FvwmButtons -g 60x60+950-5 FvwmClock 
    + I Module FvwmEvent
    + I Module FvwmTransset

----------------------------------------------------------------------------------------------

SetGeometryForMyWindow

----------------------------------------------------------------------------------------------

AddToFunc SetGeometryForMyWindow

+ I ThisWindow (Firefox) Move +0p +0p

----------------------------------------------------------------------------------------------

the ExitFunction

----------------------------------------------------------------------------------------------

AddToFunc ExitFunction
    + I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*

----------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------

Main Settings

----------------------------------------------------------------------------------------------

DeskTopSize 1x1

----------------------------------------------------------------------------------------------

Snap attraction lets two windows “snap” together when they

Get close enough. The number after SnapAttraction is how

Close you need to get before they snap together. The default

for this configuration file is three pixels. Which seems to be perfect.

----------------------------------------------------------------------------------------------

SnapAttraction 5

HideGeometryWindow Always

----------------------------------------------------------------------------------------------

From fvwm faq:

Q: Why do NumLock, CapsLock and ScrollLock interfere with

ClickToFocus and/or my mouse bindings?

A: Because they are treated as modifiers. You can use the

IgnoreModifiers command to turn individual modifiers off for

bindings. With XFree86 and fvwm version 2.4.0 or above, the

right command is:

IgnoreModifiers L25

----------------------------------------------------------------------------------------------

IgnoreModifiers L25

EdgeScroll 0 0
EdgeResistance 15 100 # resistance when switching desktops - no use since i only have one desktop

EdgeThickness 1 # border in pixels

ClickTime 150
MoveThreshold 3

----------------------------------------------------------------------------------------------

The OpaqueMoveSize feature will let you stop large windows from becomming

“Transparent” When they are moved. I have a nice processor and a good

Video card, so I could care less. Hence the -1.

----------------------------------------------------------------------------------------------

OpaqueMoveSize 100

SnapGrid 1 1
BugOpts FlickeringMoveWorkaround Off
ColormapFocus FollowsFocus

# -- general colorsets --
Colorset 3 fg #000000, bg #000000
Colorset 4 fg #000000, bg #000000, fgsh #000000


Style * Colorset 3, HilightColorset 4
Style * Font "Shadow=0 1 SE:xft:andale mono:pixelsize=13:minspace=True"
Style * BorderWidth 1, HandleWidth 1
Style * MouseFocusClickRaises, GrabFocusOff
Style * SmartPlacement, ResizeOutline, WindowShadeSteps 0


# -- IconBox settings --
Style * DecorateTransient, NoPPosition, IconBox 20 20 100 -15, IconGrid 3 3, IconFill left top
Style * NoIcon, NoIconTitle

----------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------

Menu Settings

###############

----------------------------------------------------------------------------------------------

# -- menu colorsets --

Colorset 0 fg #000000, bg #eeeeee, hi #000000

Colorset 1 fg #000000, bg #cfd7dd, hi #000000

Colorset 0 fg #000000, bg #CCCCCC, hi #000000
Colorset 1 fg #000000, bg #7ca95b, hi #000000

MenuStyle * MenuColorset 0, ActiveColorset 1
MenuStyle * Font "Shadow=0 b bl r br r :xft:andale mono:normal:pixelsize=13:minspace=True"

MenuStyle * BorderWidth 1, SeparatorsLong, AnimationOff, TrianglesSolid, TitleUnderlines0

MenuStyle * HilightBack, Hilight3DOff
MenuStyle * PopupOffset +0 102
MenuStyle * ActiveFore


# -- FvwmRoot Menu --

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot
+ "  terminal  " Exec exec $[fvwm_terminal]
+ "*sep.png*" Title
+ "  mixer  " Exec exec alsamixergui
+ "*sep.png*" Title
+ "  internet  " Popup MenuInternet
+ "  multimedia  " Popup MenuMultimedia
+ "  utilities  " Popup MenuApps
+ "*sep.png*" Title
+ "  restart  fvwm  " Restart
+ "  quit  fvwm  " Quit


DestroyMenu MenuApps
AddToMenu MenuApps
+ "  oo-writer  " Exec exec oowriter
+ "  oo-calc  " Exec exec oocalc
+ " wmclockmon-config" Exec exec wmclockmon-config
DestroyMenu MenuInternet
AddToMenu MenuInternet
+ "  firefox  " Exec exec firefox
+ "  gaim  "    Exec exec gaim

DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+ "  gimp - 2.0  " Exec exec gimp-2.0
+ "  pornview  " Exec exec pornview
+ "*sep.png*" Title
+ "  screenshot  ^^  " Exec exec scrot -d 5


DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps
+ "  Stick  " Pick Stick
+ "  ident  " Pick Module FvwmIdent
+ "  Send to...  " Popup MenuFvwmSendTo
+ "*sep.png*" Title
+ "  Close  " Close
+ "  Destroy  " Destroy


DestroyMenu MenuFvwmSendTo
AddToMenu MenuFvwmSendTo
+ "  desktop  1  " MoveToPage 0 0
+ "  desktop  2  " MoveToPage 1 0
+ "  desktop  3  " MoveToPage 2 0
+ "  desktop  4  " MoveToPage 3 0

# -- FvwmRoot Menu END--

----------------------------------------------------------------------------------------------

Dock Settings

----------------------------------------------------------------------------------------------

# -- menu colorsets --
Colorset 70 fg black, bg black, RootTransparent, Tint white 30

DestroyModuleConfig FvwmDock: *
    *FvwmDock: Rows 1
    *FvwmDock: Frame 0
    *FvwmDock: Columns 3
    *FvwmDock: Colorset 70
    *FvwmDock: (1x1, Icon "shell.png", ActionOnPress, Action(Mouse 1) 'Exec exec $[fvwm_terminal]')
    *FvwmDock: (1x1, Icon "vol.png", ActionOnPress, Action(Mouse 1) `Exec exec alsamixergui`)
    *FvwmDock: (1x1, Icon "ff.png", ActionOnPress, Action(Mouse 1) `Exec exec firefox`)

DestroyFunc DockLaunch
AddToFunc DockLaunch
    + C Any ($1) Next ($1) WindowListFunc
    + C TestRc (NoMatch) Exec $0
    + H Any ($1) WindowList ($1) Rectangle +$2+$3 0 -100m CurrentAtEnd UseListSkip SortByClass NoCurrentDeskTitle
    + D Exec $0

Style   FvwmDock Sticky, NoTitle, NoHandles, WindowListSkip, Borderwidth 1

----------------------------------------------------------------------------------------------

Torsmo Dock Settings

----------------------------------------------------------------------------------------------

DestroyModuleConfig FvwmTorsmo: *
    *FvwmTorsmo: Rows 1
    *FvwmTorsmo: Frame 0
    *FvwmTorsmo: Columns 1
    *FvwmTorsmo: Colorset 70
    *FvwmTorsmo: BoxSize fixed
    *FvwmTorsmo: (Swallow torsmo `Exec exec torsmo -o`)

Style FvwmTorsmo Sticky, NoTitle, WindowListSkip, StaysOnBottom, BorderWidth 1

----------------------------------------------------------------------------------------------

wmclockmon

----------------------------------------------------------------------------------------------

DestroyModuleConfig FvwmClock: *
    *FvwmClock: Rows 1
    *FvwmClock: Frame 0
    *FvwmClock: Columns 1
    *FvwmClock: Colorset 70
*FvwmClock: BoxSize fixed
    *FvwmClock: (Swallow wmclockmon `Exec exec wmclockmon -bw -bl -lc rgb:dc/dc/dc`)

Style   FvwmClock Sticky, NoTitle, NoHandles, WindowListSkip, Borderwidth 1,StaysOnBottom

----------------------------------------------------------------------------------------------

Cursor Settings

----------------------------------------------------------------------------------------------

CursorStyle root left_ptr
CursorStyle default left_ptr
CursorStyle position left_ptr
CursorStyle sys left_ptr
CursorStyle menu  left_ptr
CursorStyle title left_ptr
CursorStyle resize fleur
CursorStyle stroke cross
CursorStyle select draped_box
CursorStyle wait watch

----------------------------------------------------------------------------------------------

Window Bar Settings

----------------------------------------------------------------------------------------------

Colorset 7 fg black, bg #7ca95b, sh white,  Tint gray 60

DestroyDecor DefaultDecor
AddToDecor DefaultDecor
    + TitleStyle LeftJustified Height 17
    + TitleStyle InActive ( Colorset 7 -- Flat ) Active ( Colorset 7 -- Flat )
    + AddTitleStyle Active ( TiledPixmap title_back.png -- Flat ) \
                    Inactive ( TiledPixmap title_back_inactive.png -- Flat )
    + ButtonStyle All InActive ( Colorset 7 -- Flat )
    + ButtonStyle All Active ( Colorset 7 -- Flat )
    + AddButtonStyle  All Inactive TiledPixmap title_back_inactive.png -- Flat
    + AddButtonStyle  All Active TiledPixmap title_back.png -- Flat
    + AddButtonStyle  1 Active Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
    + AddButtonStyle  1 Inactive Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
    + AddButtonStyle  1 AllUp Vector 2 50x55@1 50x55@1 -- Flat
    + AddButtonStyle  2 Active Vector 4 40x40@2 60x60@2 60x40@4 40x60@2 -- Flat
    + AddButtonStyle  2 Inactive Vector 4 40x40@3 60x60@3 60x40@4 40x60@3 -- Flat
    + AddButtonStyle  2 AllUp Vector 4 40x45@1 60x65@1 60x45@4 40x65@1 -- Flat
    + AddButtonStyle  4 Active Vector 7 40x40@2 40x60@2 60x60@2 60x40@2 40x40@2 40x45@2 60x45@2 -- Flat
    + AddButtonStyle  4 Inactive Vector 7 40x40@3 40x60@3 60x60@3 60x40@3 40x40@3 40x45@3 60x45@3 -- Flat
    + AddButtonStyle  4 AllUp Vector 4 40x65@1 60x65@1 45x50@4 55x50@1 -- Flat
    + AddButtonStyle  6 Active Vector 5 40x60@2 60x60@2 60x55@2 40x55@2 40x60@2 -- Flat
    + AddButtonStyle  6 Inactive Vector 5 40x60@3 60x60@3 60x55@3 40x55@3 40x60@3 -- Flat
    + AddButtonStyle  6 AllUp Vector 2 40x65@1 60x65@1 -- Flat
    + AddButtonStyle  8 Active Vector 9 40x40@2 45x35@2 55x35@2 60x40@2 60x45@2 50x50@2 50x55@2 50x65@4 50x65@2 -- Flat
    + AddButtonStyle  8 InActive Vector 9 40x40@3 45x35@3 55x35@3 60x40@3 60x45@3 50x50@3 50x55@3 50x65@4 50x65@3 -- Flat
    + AddButtonStyle  8 AllUp Vector 7 40x45@1 45x40@1 55x40@1 60x50@4 50x60@1 50x75@4 50x75@1 -- Flat
    + ButtonStyle 1 - MwmDecorMenu
    + ButtonStyle 6 - MwmDecorMin
    + ButtonStyle 4 - MwmDecorMax
    + BorderStyle Active Solid black -- NoInset HiddenHandles
    + BorderStyle Inactive Solid black -- NoInset HiddenHandles

    Style * UseDecor DefaultDecor

    TitleStyle Height 21

----------------------------------------------------------------------------------------------

Style Settings

----------------------------------------------------------------------------------------------

*FvwmEvent add_window SetGeometryForMyWindow

## -- Applications Styles --

Style ROX-Filer CascadePlacement
Style urxvt CascadePlacement
Style konqueror CascadePlacement
Style Gkrellm2 NoTitle,Sticky, WindowListSkip, StaysOnBottom, NeverFocus
Style XMMS_Player NoTitle, Sticky, WindowListSkip
Style XMMS_Playlist NoTitle, WindowListSkip
Style XMMS_Equalizer NoTitle, WindowListSkip
Style MPlayer Sticky, WindowListSkip
Style tvtime Sticky, CirculateSkip, WindowListSkip, StaysOnTop
Style beep-media-player NoTitle

----------------------------------------------------------------------------------------------

Mouse Bindings

----------------------------------------------------------------------------------------------

## -- Root Menus --
Mouse 1 R A -
Mouse 3 R A Menu MenuFvwmRoot
Mouse 2 R A WindowList NoCurrentDeskTitle

Mouse 4 R A GotoPage +1p 0p

Mouse 5 R A GotoPage -1p 0p

Mouse 5 R A Scroll -100000 0
Mouse 4 R A Scroll 100000 0

## -- Titlebar Buttons --
Mouse 1 1 A Menu MenuFvwmWindowOps
Mouse 3 1 A Menu MenuFvwmwindowOps
Mouse 1 6 A Thumbnail
Mouse 1 4 A Maximize
Mouse 1 2 A Close

## -- Window, Frame, Side, Others --
Mouse 1 FS A ResizeFunc
Mouse 2 W C ResizeFunc
Mouse 1 W M MoveFunc
Mouse 3 W M ResizeFunc
Mouse 3 TSIF A RaiseLower
Mouse 3 T A Menu MenuFvwmWindowOps

AddToFunc ResizeFunc "M" Resize
AddToFunc MoveFunc   "M" Move

## -- Icons Binding --
Mouse 1 I A Iconify
Mouse 2 I A Move

## -- Wheel Toggle Shade --
Mouse 4 T N WindowShade True
Mouse 5 T N WindowShade False
Mouse 4 TW M WindowShade True
Mouse 5 TW M WindowShade False

----------------------------------------------------------------------------------------------

FvwmProxy & FvwmIdent

----------------------------------------------------------------------------------------------

DestroyModuleConfig FvwmProxy: *
    *FvwmProxy: Back black
    *FvwmProxy: Fore #f1f1f1
    *FvwmProxy: Font "xft:sans:bold:pixelsize=10:minspace=True"
    *FvwmProxy: ProxyMove true

DestroyModuleConfig FvwmIdent: *
    *FvwmIdent: Back black
    *FvwmIdent: Fore #f1f1f1
    *FvwmIdent: Font "xft:sans:bold:pixelsize=10:minspace=True"

----------------------------------------------------------------------------------------------

Thumbnail Function

----------------------------------------------------------------------------------------------

SetEnv fvwm_icon_size 150

DestroyFunc Thumbnail
AddToFunc Thumbnail
    + I Raise
    + I ThisWindow (!Iconic) SetEnv Icon-$[w.id] $[w.iconfile]
    + I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead \
    "xwd -silent -id $[w.id] | convert -scale $[fvwm_icon_size] -frame 1x1 \
    -mattecolor black -quality 9 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png \
    && echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
    || echo Nop"
    + I Iconify

DestroyFunc DeThumbnail
AddToFunc DeThumbnail
    + I PipeRead "echo Test \\(i \\$\\[Icon-$[w.id]\\]\\) WindowStyle Icon \\$\\[Icon-$[w.id]\\]"
    + I TestRc (NoMatch) WindowStyle NoIconOverride, Icon
    + I Exec rm -f $[FVWM_USERDIR]/icon.tmp.$[w.id].png
    + I All (Iconic, CurrentPage) PlaceAgain icon
    + I UnsetEnv Icon-$[w.id]

DestroyFunc WindowListFunc
AddToFunc WindowListFunc
    + I WindowShade False
    + I Iconify off
    + I Raise
    + I FlipFocus

DestroyFunc FuncAutoEnter
AddToFunc FuncAutoEnter I Autohide HiddenConsole 500 500 N

#-----------------------------------------------------------------#

– END OF FILE –

[/code]

This is weird, even with your config it displays the same behaviour as before. It still disappears, or fails to redraw itself. Must be something with the torsmo application itself I think, since xosview works inside the same FvwmButton.

Argh… frustrating. I’m using gcc 3.4.4, maybe it’s been compiled with a few flaws?

just try torsmo -a top_left -o -x 0 -y 0

… and if you have problems with colorsets like I do:

--- torsmo.c.orig	Wed Dec 22 00:14:46 2004
+++ torsmo.c	Mon Oct  3 03:43:07 2005
@@ -1636,7 +1636,7 @@
       case ReparentNotify:
         /* set background to ParentRelative for all parents */
         if (own_window)
-          set_transparent_background(window.window);
+          // set_transparent_background(window.window);
         break;
 
       case ConfigureNotify: