a few problems with fvwm

Hi,

I’m having a few issues with fvwm2.

  1. I load the xscreensaver at startup, but when I try to change something to the settings I get the error:

    Error: Couldn’t write to /home/kiosk/.xscreensaver

    I even copied the file from /usr/X11R6/lib/X11/app-defaults/XScreenSaver to /home/kiosk/.xscreensaver, but this didn’t
    work. The file also has full permissions

  2. I use the FvwmTaskBar, this displays the time, but also a “mail”-icon for checking mails, is it possible to remove this icon?
    and only show the time?

  3. I want to open my browser via a button, and I want it to open fullscreen, but now the window is big enough, but it
    doesn’t open centered on the screen

all advice is welcome

But it can’t do. What are the permissions on the directory?

*FvwmTaskBar: IgnoreOldMail

Might help you.

Welcome to the wonderful world of EWMH. I don’t know what version of FVWM you’re using, but you’re going to have to do something like this:

DestroyModuleConfig FE:*
*FE: add_window "ThisWindow (Firefox-bin) ResizeMove ....

Module FvwmEvent FE

– Thomas Adam

Thanks,

I’ve got the first 2 problems sorted out, and I will try the last one, later during the day.

But there’s one other thing that’s bothering me, my fvwmTaskBar isn’t the full width of my screen. My background does span the whole width, but nog the taskbar. I tried to use geometry to specify the width and height of the taskbar myself, but this doesn’t seem to work.

How are you setting its geometry? FvwmTaskBar has been to known to exhibit that problem a lot in the past. There’s no substitute for using FvwmIconMan optionally swallowed in FvwmButtons, quite frankly.

– Thomas Adam

I’m using the following code:

Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, \
  CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
  
DestroyModuleConfig FvwmTaskBar: *
*FvwmTaskBar: Geometry 1024x40+0-0
*FvwmTaskBar: Rows 1
*FvwmTaskBar: Font "xft:Sans:Bold:pixelsize=12:minispace=True:antialias=True"
*FvwmTaskBar: SelFont "xft:Sans:Bold:pixelsize=12:minispace=True:antialias=True"
*FvwmTaskBar: StatusFont "xft:Sans:Bold:pixelsize=12:minispace=True:antialias=True"
*FvwmTaskBar: Colorset 9
*FvwmTaskBar: IconColorset 9
*FvwmTaskBar: FocusColorset 9
*FvwmTaskBar: TipsColorset 9
*FvwmTaskBar: UseSkipList
*FvwmTaskBar: UseIconNames
*FvwmTaskBar: AutoStick
*FvwmTaskBar: StartName   MENU  
*FvwmTaskBar: StartMenu FvwmRootMenu
*FvwmTaskBar: Action Click3 Menu FvwmWindowOpsMenu
*FvwmTaskBar: IgnoreOldMail
*FvwmTaskBar: Button Title FlightFolder, Icon templates2.png, Action(Mouse 1) "FvwmTemplates" FvwmTemplates)
*FvwmTaskBar: Button Title Pilot Briefing, Icon mozilla2.png, Action(Mouse 1) "FvwmMozilla" FvwmMozilla) 

My aim was actually to make a kind of KDE-toolbar: startmenu on the left, together with a few Buttons. And then on the right the FvwmPager and the clock. I know in Java there is a Panel-object that works as a container. Is there something for fvwm that works in the same way? I’ve seen that FvwmButtons can act like a container for Buttons, but I’m searching for something that can be a container for FvwmToolBar and FvwmPager.

And that’s still FvwmButtons. It can swallow just about anything.

– Thomas Adam

I have been able to get FvwmIconMan swallowed in FvwmButtons. Nevertheless, I am unable to have FvwmIconMan displayed in a single row (like a taskbar). It always appears as a single column with differnet rows. I have been playing with:

*FvwmIconMan: 1 ManagerGeometry	1x0

I get the same result defining ManagerGeometry “1x0” or “0x1”. Is the ManagerGeometry the right option to play with?

Also, If anybody has a FvwmIconMan swallowed in FvwmButtons, I would very much appreciate an example of the code of both modules.

Thanks!

KillModule FvwmIconMan FvwmIconMan-Windows
DestroyModuleConfig FvwmIconMan-Windows: *
*FvwmIconMan-Windows: Resolution Global
*FvwmIconMan-Windows: UseWinList True
*FvwmIconMan-Windows: DontShow Class=xmms,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
*FvwmIconMan-Windows: ShowNoIcons True
*FvwmIconMan-Windows: DrawIcons Always
*FvwmIconMan-Windows: Sort Id
*FvwmIconMan-Windows: FollowFocus True
*FvwmIconMan-Windows: Format "%t"
*FvwmIconMan-Windows: Title ""
PipeRead "echo *FvwmIconMan-Windows: ButtonGeometry $((1280-8))x24"
*FvwmIconMan-Windows: ManagerGeometry 1x1+3-3
*FvwmIconMan-Windows: MaxButtonWidthByColumns 8
*FvwmIconMan-Windows: Font "xft:Verdana:pixelsize=12"
# Tips {{{2
*FvwmIconMan-Windows: Tips needed
*FvwmIconMan-Windows: TipsDelays 500 200
*FvwmIconMan-Windows: TipsFont "xft:Verdana:pixelsize=12"
*FvwmIconMan-Windows: TipsBorderWidth 0
*FvwmIconMan-Windows: TipsColorset 5
*FvwmIconMan-Windows: TipsJustification leftup
# Button look {{{2
*FvwmIconMan-Windows: PlainButton flat
*FvwmIconMan-Windows: FocusButton flat
*FvwmIconMan-Windows: SelectButton flat
*FvwmIconMan-Windows: FocusAndSelectButton flat
*FvwmIconMan-Windows: IconButton flat
# Colorsets {{{2
*FvwmIconMan-Windows: Colorset 4
*FvwmIconMan-Windows: PlainColorset 6
*FvwmIconMan-Windows: FocusColorset 7
*FvwmIconMan-Windows: SelectColorset 5
*FvwmIconMan-Windows: FocusAndSelectColorset 5
*FvwmIconMan-Windows: IconColorset 4
*FvwmIconMan-Windows: ReliefThickness 1
# Actions {{{2
*FvwmIconMan-Windows: Action Mouse 1 A SendCommand "RaiseLower", SendCommand "FlipFocus"
*FvwmIconMan-Windows: Action Mouse 2 4 SendCommand "Close"
*FvwmIconMan-Windows: Action Mouse 2 4 SendCommand "Window-Iconify"
*FvwmIconMan-Windows: Action Mouse 3 4 SendCommand "Function Window-Focus-CurrentDesk-Raised"
# }}}2
# }}}1

You can then swallow that in FvwmButtons however you like.

– Thomas Adam

The example has been really really helpful. Thanks!

Hi,
the iconmanager windows, looks nice but give

[code]*FvwmIconMan: NumManagers 1
*FvwmIconMan: Resolution page
*FvwmIconMan: Background grey
*FvwmIconMan: Foreground black
*FvwmIconMan: Font 7x13
*FvwmIconMan: UseWinList true
*FvwmIconMan: DrawIcons Always

Button look {{{2

*FvwmIconMan: PlainButton flat
*FvwmIconMan: FocusButton flat
*FvwmIconMan: SelectButton flat
*FvwmIconMan: FocusAndSelectButton flat
*FvwmIconMan: IconButton flat

Colorsets {{{2

*FvwmIconMan: Colorset 4
*FvwmIconMan: PlainColorset 6
*FvwmIconMan: FocusColorset 7
*FvwmIconMan: SelectColorset 5
*FvwmIconMan: FocusAndSelectColorset 5
*FvwmIconMan: IconColorset 4
*FvwmIconMan: ReliefThickness 1
*FvwmIconMan: 1 ManagerGeometry 1x2
*FvwmIconMan: 1 ButtonGeometry 1x2
[/code]

It makes this :
img220.imageshack.us/img220/3632/fvwmts6.png