Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fvwm] strange restart/startup problem (fixed)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Tue Sep 14, 2004 6:46 am    Post subject: [fvwm] strange restart/startup problem (fixed) Reply with quote

When I restart fvwm, it hangs idle (waiting for a click) right before loading everything back up again. While it is idle, it displays a skull+cross (like xkill icon in kde). It doesn't kill any apps. simply waits for a click.

I first noticed it after upgrading from xfree to x.org. but of course i've done some other stuff as well, (fonts, etc.) but my guess is xorg is the culprit.

so, is this normal? or should i be worried?
_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center


Last edited by curious_bob on Wed Sep 15, 2004 11:18 pm; edited 3 times in total
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Tue Sep 14, 2004 8:59 am    Post subject: Reply with quote

Hm, I think I know what you're trying to explain but...
Normally, if fvwm finds your config file, there should not be such a problem. Try to use

Code:
# tell FVWM to use the default X11 icons
CursorStyle ROOT          left_ptr
CursorStyle TITLE          left_ptr
CursorStyle MENU          left_ptr
CursorStyle DEFAULT       left_ptr
CursorStyle SYS          left_ptr                                                                       
CursorStyle TOP          left_ptr
CursorStyle RIGHT         left_ptr
CursorStyle LEFT          left_ptr
CursorStyle BOTTOM        left_ptr
CursorStyle TOP_LEFT       left_ptr
CursorStyle TOP_RIGHT      left_ptr
CursorStyle BOTTOM_LEFT    left_ptr
CursorStyle BOTTOM_RIGHT    left_ptr


Also notice after upgrading xorg your mouse pointer cursors may be misplaced.
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Tue Sep 14, 2004 5:18 pm    Post subject: Reply with quote

but what would cause it to pause and wait for a mouse click?

Maybe this explanation is better

1. click 'restart' from fvwmrootmenu
2. window titlebars disappear
3. modules disappear
4. 'skull' cursor appears and waits for click
5. click
6. restart as normal
_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Tue Sep 14, 2004 5:22 pm    Post subject: Reply with quote

note: the system also pauses when I first run startx

but this occurs after the nvidia splashscreen, so i'm thinking its more fvwm related.

my start function:
Code:

DestroyFunc StartFunction
AddToFunc StartFunction
+ I Test (Init) Exec feh --bg-scale /home/chris/Pictures/wallpaper.png
+ I Module FvwmPager * * 
+ I Module FvwmButtons -g 185x259+839+0 AmsnBar
+ I Test (Init) Test (x amsn) Exec amsn
+ I Test (Init) Test (x asclock) Exec exec asclock -12 -p +0+672 -theme /usr/share/asclock/Newstone -noblink
+ I Test (Init) Test (x torsmo) Exec torsmo -x 885 -o -u 1 \
     -t '$nodename $kernel\n${hr 1}\nCPU  ${cpubar 3}\n     $cpu%\nRAM  ${membar 3}\n     $memperc%\nSWAP ${swapbar 3}\n     $swapperc%\n\nUP   $uptime'

_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Tue Sep 14, 2004 5:52 pm    Post subject: Reply with quote

8O
Did you try re-emerging fvwm?
Try to copy .fvwm2rc to a backup file and

Code:
cd ~
touch .fvwm2rc


And restart fvwm. Does the skull apear now?
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Wed Sep 15, 2004 3:38 am    Post subject: Reply with quote

Jefklak wrote:
8O
Did you try re-emerging fvwm?
Try to copy .fvwm2rc to a backup file and

Code:
cd ~
touch .fvwm2rc


And restart fvwm. Does the skull apear now?


still get the skull.

I also tried booting into fluxbox. It worked fine.
_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Wed Sep 15, 2004 5:01 am    Post subject: Reply with quote

If i remove the .fvwm2rc (force fvwm to use default config), the reboot problem goes away. So what is it about my config that is causing this?
_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Wed Sep 15, 2004 7:31 am    Post subject: Reply with quote

.fvwm2rc
Code:
Read colors
Read styles
Read general
Read init
Read functions
Read menus
Read mousebindings
Read keybindings
Read modules

colors
Code:
CleanupColorsets
Colorset 0 fg black, bg grey, Translucent #FFFFFF 70
Colorset 1 fg #f6f6f6, bg black, IconAlpha 40, Translucent #FFFFFF 40
Colorset 2 fg white, bg black
Colorset 3 fg white, bg black, Translucent #ffffff 0
Colorset 4 fg white, RootTransparent

styles
Code:
# General Style
Style * Colorset 1, HilightColorset 2, UseDecor DefaultDecor
Style * Font "xft:Efficient:style=Regular:size=15"
Style * BorderWidth 0, HandleWidth 0, DecorateTransient
Style * IconBox 5 5 100 650, IconGrid 3 3, IconFill left bottom, IconSize 50 50 50 50
Style * IconFont "xft:Efficient:style=Regular:size=12"
Style * IconTitle, IconTitleColorset 4, HilightIconTitleColorset 4, IconTitleRelief 0
Style * ClickToFocus, MouseFocusClickRaises
Style * GrabFocusOff
Style * WindowShadeSteps 200, WindowListSkip
Style * ResizeOpaque
#Style * HideGeometryWindow

# Menu Style
MenuStyle * MenuColorset 0, HilightBackOff, Animate
MenuStyle * PopupOffset 0 100, PopupDelay 300

# Window Button Vectors
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
# + TitleStyle   LeftJustified Height 17
 + TitleStyle   InActive (Colorset 1 -- Flat) Active (Colorset 1 -- Flat)
 + ButtonStyle   All Inactive (Colorset 1 -- Flat)
 + ButtonStyle   All Active (Colorset 1 -- Flat)
 + AddButtonStyle  1 Active Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- 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@3 60x60@3 60x40@4 40x60@3 -- 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@3 40x60@3 60x60@3 60x40@3 40x40@3 40x45@3 60x45@3 -- Flat
 + AddButtonStyle  4 InActive Vector 7 40x40@3 40x60@3 60x60@3 60x40@3 40x40@3 40x45@3 60x45@3 -- Flat
 + BorderStyle Active Solid white -- NoInset HiddenHandles
 + BorderStyle Inactive Solid white -- NoInset HiddenHandles

# Program specific
Style AmsnBar      Sticky, NoTitle, NoHandles, StaysOnBottom
Style FvwmPager    Sticky, NoTitle, StaysOnTop, NoHandles
Style HiddenConsole      Sticky, Notitle, StaysOnTop, NoHandles, BorderWidth 1
Style msg_*       Sticky, WindowListHit
Style asclock       Sticky, NoTitle, StaysOnTop, NeverFocus
Style aterm       NoHandles
Style gvim      Colorset 1, HilightColorset 2
Style torsmo       NoTitle, NoHandles, StaysOnBottom, Sticky, NeverFocus
Style xine*       NoTitle, StaysOnTop
Style xmms*       Sticky, NoTitle

general
Code:
#------------
# Path Setup
#------------

ModulePath /usr/lib/fvwm/2.5.10



#----------------
# General Config
#----------------

ClickTime 500
CursorStyle root left_ptr
CursorStyle stroke hand2

DeskTopSize   3x3
DeskTopName   0 Desktop

#EdgeScroll   1000 1000
EdgeScroll    0 0
EdgeResistance    0 0
EdgeThickness   1

OpaqueMoveSize   100
SnapAttraction    5 All Screen

init
Code:
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Test (Init) Exec feh --bg-scale /home/chris/Pictures/wallpaper.png
+ I Module FvwmPager * * 
+ I Module FvwmButtons -g 185x259+839+0 AmsnBar
+ I Test (Init) Exec amsn
+ I Test (Init) Exec exec asclock -12 -p +0+672 -theme /usr/share/asclock/Newstone -noblink

DestroyFunc InitFunction
AddToFunc InitFunction
+ I Test (Init) Exec torsmo -x 885 -o -u 1 \
     -t '$nodename $kernel\n${hr 1}\nCPU  ${cpubar 3}\n     $cpu%\nRAM  ${membar 3}\n     $memperc%\nSWAP ${swapbar 3}\n     $swapperc%\n\nUP   $uptime'

functions
Code:
DestroyFunc DeiconifyAndRearrange
AddToFunc DeiconifyAndRearrange
+ C Iconify off
+ C All (CurrentPage Iconic) PlaceAgain Icon

AddToFunc Resize-or-Raise I Raise
+ M SetEnv x_cord 0
+ M SetEnv y_cord 0
+ M PipeRead \
   "test `expr $[w.width] / 2` -gt `expr $[pointer.wx]` && echo SetEnv x_cord -$[pointer.wx] || echo \
   SetEnv x_cord `expr $[w.width] - $[pointer.wx]`
+ M PipeRead \
   "test `expr $[w.height] / 2` -gt `expr $[pointer.wy]` && echo SetEnv y_cord -$[pointer.wy] || echo \
   SetEnv y_cord `expr $[w.height] - $[pointer.wy]`"
+ M CursorMove $[x_cord]p $[y_cord]p
+ M Resize
+ D Lower

menus
Code:
# root menu

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot   "fvwm 2.5.10"   Title
+ "aterm"   Exec exec /usr/bin/aterm -sl 256 -fg white -bg black -tr -sh 40 +sb +si -e /bin/bash --login
+ "firefox"   Exec exec /usr/bin/firefox
+ "rox-filer"   Exec exec rox
+ "xmms"   Exec exec /usr/bin/xmms
+ "amsn"   Exec exec amsn
+ "gvim"   Exec exec gvim
+ ""      Nop
+ "multimedia"   Popup MenuMultimedia
+ "internet"   Popup MenuInternet
+ "office"   Popup MenuOffice
+ "utilities"   Popup MenuUtilities
+ ""      Nop
+ "restart"   Restart
+ "log out"   Quit

DestroyMenu MenuMultimedia
AddTomenu MenuMultimedia
+ "xmms"   Exec xmms
+ "xine"   Exec xine
+ "gimp"   Exec gimp-2.0

DestroyMenu MenuInternet
AddToMenu MenuInternet
+ "firefox"   Exec firefox
+ "amsn"   Exec amsn
+ "xchat"   Exec xchat-2

Destroy MenuOffice
AddToMenu MenuOffice
+ "OpenOffice Writer"      Exec oowriter
+ "OpenOffice Math"      Exec oomath
+ "OpenOffice Impress"      Exec ooimpress
+ "OpenOffice Web"      Exec ooweb
+ "OpenOffice Draw"      Exec oodraw
+ "OpenOffice Calc"      Exec oocalc
+ ""            Nop
+ "OpenOffice Printer Admin"   Exec oopadmin
+ "OpenOffice Setup"      Exec oosetup

DestroyMenu MenuUtilities
AddToMenu MenuUtilities
+ "xcalc"   Exec xcalc
+ "xfontsel"   Exec xfontsel

DestroyMenu MenuWindowOpsMenu
AddToMenu WindowOpsMenu "Window Ops" Title
+ "Identify"      FvwmIdent
+ "Iconify"      Iconify
+ "Shade/Unshade"   WindowShade
+ "(Un)Maximize"   Maximize
+ "(Un)Maximize Vert."   Maximize 0 100
+ "Maximize Horiz."   Maximize 100 0
+ "Stick"      Stick
+ "Move"      Move
+ "Resize"      Resize
+ "Close"      Close
+ "Kill"      Destroy

mousebindings
Code:
Mouse 1 R A Nop
Mouse 3 R A Menu MenuFvwmRoot

#Titlebar
#Mouse 1 T N WindowLeftClick
Mouse 2 T N Close
Mouse 3 T N Menu WindowOpsMenu

# Titlebar buttons
# In order: 1 3 5 6 4 2
Mouse 1      1 A Menu WindowOpsMenu
Mouse 2         1 A Menu WindowOpsMenu
Mouse 3         1 A Menu WindowOpsMenu

Mouse 1      4 A Iconify

Mouse 1      2 A Close

# Icons
Mouse 1         I A DeIconifyAndRearrange
Mouse 2         I A Move
Mouse 3         I A Menu WindowOpsMenu

Mouse 1 WTFS M FuncFvwmRaiseLowerX move
Mouse 3 WTFS M FuncFvwmRaiseLowerX resize

keybindings
Code:
# ignore caps, num lock
IgnoreModifiers L2

modules
Code:
DestroyModuleConfig FvwmIconMan: *
 *FvwmIconMan: Colorset 3
 *FvwmIconMan: ButtonGeometry 155x0
 *FvwmIconMan: Format "%i"
 *FvwmIconMan: Font "xft:mintsmild:style=Normal:size=16:antialias"
 *FvwmIconMan: ManagerGeometry 0x10
 *FvwmIconMan: Sort id
 *FvwmIconMan: FocusAndSelectButton flat
 *FvwmIconMan: FocusButton flat
 *FvwmIconMan: PlainButton flat
 *FvwmIconMan: SelectButton flat
 *FvwmIconMan: TitleButton flat
 *FvwmIconMan: Title "AMSN Messenger"

 *FvwmIconMan: Action   Mouse   1 N sendcommand Raise
 *FvwmIconMan: Action   Mouse   2 N sendcommand NOP
 *FvwmIconMan: Action   Mouse   3 N sendcommand NOP
 
DestroyModuleConfig FvwmPager: *
# *FvwmPager: IconGeometry +105+700
 *FvwmPager: Geometry +101+677
# *FvwmPager: StartIconic

DestroyModuleConfig AmsnBar: *
 *AmsnBar: Rows  10
 *AmsnBar: Columns 6
# *AmsnBar: Colorset 3
 *AmsnBar: Frame 0
 *AmsnBar: Padding 2 2
 *AmsnBar: (1x1, Swallow(Kill) peksystray `Exec exec peksystray --icon-size 24 --border 1`)
 *AmsnBar: (5x10, Swallow "FvwmIconMan" `FvwmIconMan`)

_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Wed Sep 15, 2004 5:08 pm    Post subject: Reply with quote

I tested with Taviso's config. As I suspected, I got normal results.

What is wrong with my config?
_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Wed Sep 15, 2004 11:20 pm    Post subject: Reply with quote

The problem was right here

Code:
Destroy MenuOffice
AddToMenu MenuOffice


should be
Code:
DestroyMenu MenuOffice


This explains the hang (the obj MenuOffice doesn't exist) and the skull ("Destroy").
_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
RexM
n00b
n00b


Joined: 12 Aug 2004
Posts: 47
Location: South Jordan, Utah

PostPosted: Wed Sep 22, 2004 1:43 pm    Post subject: Reply with quote

Did you by any chance get a screenshot of the skull? I wouldn't mind having it as a wallpaper ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum