View previous topic :: View next topic |
Author |
Message |
Aman9090 Apprentice
Joined: 04 Nov 2003 Posts: 234
|
Posted: Tue Feb 22, 2005 10:02 pm Post subject: FVWM doesn't let me run torsmo, firefox, etc. |
|
|
Hey guys.
I don't know why, but ever since I started using FVWM I haven't been able to open up firefox, or get my torsmo running, or anything of the sort.
It doesn't give me any errors most of the time, but other times it complains about UTF-8 encoding, or something like that.
In OpenBox3, it doesn't give me any such problems. However, in FVWM and Fluxbox, it's no-go.
I have my fvwm configuration set up to open torsmo at start. It doesn't work. When I run torsmo manually from a terminal, I get this:
Code: | bash-2.05b$ torsmo
torsmo: can't open /home/agrathwohl/.torsmorc: No such file or directory
torsmo: scandir for /sys/bus/i2c/devices/: No such file or directory
torsmo: drawing to root window
|
However, no windows appear. In OpenBox3, they do.
I am getting a .torsmorc error, but I get the same one in OpenBox3 and it still lets me continue. As you see in my fvwm file configuration I am posting, I have it being directed to the different config files I want it to use.
So, here is my .fvwm2rc if it is of any use:
Code: | SetEnv root-tail_params "-g 415x50+865+974 -font 6x10 /var/log/messages,grey -font 6x10 /var/log/Xorg.0.log,blue,'X.org' -font 6x10 /var/log/emerge.log,green,'Emerge'"
SetEnv torsmo_conf1 ${HOME}/.torsmo/.torsmorc
SetEnv torsmo_conf2 ${HOME}/.torsmo/.torsmorc2
SetEnv torsmo_conf3 ${HOME}/.torsmo/.torsmorc3
SetEnv engage_params "-z 1 -A 0 -T 0 -m 1 -I 1 -i 1 -R 0 -W 450 -H 105"
SetEnv rss_feed1 /usr/share/erss/config/animesuki.cfg
SetEnv rss_feed2 /usr/share/erss/config/gamedev.cfg
##
# Init, startup, restart and exit functions
##
AddToFunc InitFunction
+ I Exec exec xv -root -quit -max /home/agrathwohl/media/pics/wallpapers/wallpaper.jpg
+ I Exec exec root-tail $[root-tail_params]
+ I Exec exec gmpc
+ I Exec exec torsmo -c $[torsmo_conf1]
+ I Exec exec torsmo -c $[torsmo_conf2]
+ I Exec exec torsmo -c $[torsmo_conf3]
#+ I Exec exec engage $[engage_params]
+ I Exec exec erss -c $[rss_feed1]
+ I Exec exec erss -c $[rss_feed2]
AddToFunc StartFunction
+ I Module FvwmPager 0
+ I Module FvwmEvent
AddToFunc RestartFunction
+ I All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png
AddToFunc ExitFunction
+ I Test (!ToRestart) Exec rm -f $[FVWM_USERDIR]/icon.tmp.*
+ I Exec sync
##
# Global options
##
EdgeThickness 0
IgnoreModifiers L25
ClickTime 400
CursorStyle root top_left_arrow
CursorStyle stroke tcross
DeskTopSize 6x1
OpaqueMoveSize -1
SnapAttraction 3 SameType
ColormapFocus FollowsFocus
HideGeometryWindow
##
# Colorsets
##
# Menu
Colorset 0 Translucent #c7d0d5 85, hi #485156, sh #485156
Colorset 1 Translucent grey 85, hi #485156
# Windows
Colorset 13 fg #f6f6f6, bg black, IconAlpha 40
Colorset 14 fg white, bg black, fgsh black, IconAlpha 100
Colorset 7 fg black, bg black, sh black
# Pager
Colorset 3 fg #606060, bg #202020, RootTransparent buffer
#Hilight
Colorset 6 fg white, bg black, RootTransparent buffer, Tint #ffffff 10
#Window
Colorset 4 fg #63656e, bg black, RootTransparent buffer, Tint #555555 10
Colorset 2 fg white, bg black, RootTransparent buffer, Tint #b5b2bf 40
#Balloon
Colorset 5 fg black, bg black, RootTransparent buffer, Tint #e7e7e7 70
#FvwmForm and FvwmIdent
Colorset 10 bg #c7d0d5, fg #485156, hi #485156, sh #485156
##
# Menu styles
##
MenuStyle * PopupOffset 0 100, PopupDelay 200
MenuStyle * Font "xft:Arial:style=Roman:size=8"
MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
MenuStyle * BorderWidth 1, SeparatorsLong, TrianglesSolid, Hilight3DThickness 1
MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
##
# Default window styles
##
Style * Font "Shadow=1 1 SE:xft:Aquafont:size=10", BorderWidth 1, HandleWidth 0
Style * Colorset 13, HilightColorset 14, MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition, IconBox 5 5 -40 100, IconGrid 3 3, IconFill top left
Style * SloppyFocus, MouseFocusClickRaises, WindowShadeSteps 10
Style * GrabFocusOff, NoIconTitle, !AllowMaximizeFixedSize, FPReleaseFocus, IndexedIconName
Style * NoHandles
Style * MinOverlapPercentPlacement
Style * MinOverlapPercentPlacementPenalties 2 5 1 2 0.5 50
##
# Decors
##
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
+ TitleStyle LeftJustified Height 18
+ TitleStyle InActive ( Colorset 7 -- Flat )
+ TitleStyle Active ( Colorset 7 -- Flat )
+ AddTitleStyle AllActive ( MultiPixmap Main decor/creampie/title_active.png, \
LeftMain decor/creampie/title_active.png, \
RightEnd decor/creampie/title_active_leftof_buttons.png, \
LeftButtons decor/creampie/title_active.png, \
UnderText decor/creampie/title_active.png, \
RightButtons decor/creampie/title_active_under_buttons.png)
+ AddTitleStyle AllInactive ( MultiPixmap Main decor/creampie/title_inactive.png, \
LeftMain decor/creampie/title_inactive.png, \
RightEnd decor/creampie/title_inactive_leftof_buttons.png, \
LeftButtons decor/creampie/title_inactive.png, \
RightButtons decor/creampie/title_inactive_under_buttons.png)
+ ButtonStyle 1 \
ActiveUp (Pixmap decor/creampie/button_windowcontrol_active.png -- Flat) \
ActiveDown (Pixmap decor/creampie/button_windowcontrol_active.png -- Flat) \
Inactive (Pixmap decor/creampie/button_windowcontrol_inactive.png -- Flat)
+ ButtonStyle 2 \
ActiveUp (Pixmap decor/creampie/button_close_activeup.png -- Flat) \
ActiveDown (Pixmap decor/creampie/button_close_activedown.png -- Flat) \
Inactive (Pixmap decor/creampie/button_close_inactive.png -- Flat)
+ ButtonStyle 4 \
ActiveUp (Pixmap decor/creampie/button_maximize_activeup.png -- Flat) \
ActiveDown (Pixmap decor/creampie/button_maximize_activedown.png -- Flat) \
Inactive (Pixmap decor/creampie/button_maximize_inactive.png -- Flat)
+ ButtonStyle 6 \
ActiveUp (Pixmap decor/creampie/button_minimize_activeup.png -- Flat) \
ActiveDown (Pixmap decor/creampie/button_minimize_activedown.png -- Flat) \
Inactive (Pixmap decor/creampie/button_minimize_inactive.png -- Flat)
+ ButtonStyle 2 - Clear
+ ButtonStyle 1 - MwmDecorMenu
+ ButtonStyle 6 - Clear MwmDecorMin
+ ButtonStyle 4 - Clear MwmDecorMax
+ BorderStyle Simple -- NoInset Flat
+ ButtonStyle All -- UseTitleStyle
Style * UseDecor DefaultDecor
##
# Program specific styles
##
Style FvwmPager NoTitle, Sticky, WindowListSkip, StaysOnBottom
Style gmrun GrabFocus, StaysOnTop, WindowListSkip, CirculateSkip, BorderWidth 3
Style gmpc StartsOnPage 5 0, StartsOnDesk 0, SkipMapping, EWMHMiniIconOverride, MiniIcon icons/audacity.png
Style aterm NoTitle,WindowShadeShrinks, EWMHMiniIconOverride, MiniIcon icons/folder_home.png
Style rxvt WindowShadeShrinks
Style 'Buddy List' Sticky
Style gaim EWMHMiniIconOverride, MiniIcon icons/gaim.png
Style Firefox-bin EWMHMiniIconOverride, MiniIcon icons/firefox.png
Style gvim EWMHMiniIconOverride, MiniIcon icons/kwrite.png
Style fvwm_menu NoButton 4
Style FvwmIdent NoTitle
Style FvwmForm NoTitle
Style ROX-Filer !FPFocusByProgram, !FPGrabFocusTransient, EWMHMiniIconOverride, MiniIcon icons/folder.png
Style Gimp-2.0 EWMHMiniIconOverride, MiniIcon icons/gimp2_0.png
Style MPlayer NoTitle, EWMHMiniIconOverride, MiniIcon icons/mplayer.png
Style xine NoTitle, EWMHMiniIconOverride, MiniIcon icons/xine.png
Style torsmo WindowListSkip, StaysOnBottom, NeverFocus
Style Erss Sticky, WindowListSkip, StaysOnBottom, NeverFocus, CirculateSkip, !FPAllowRaiseClickFunction
Style xmms EWMHMiniIconOverride, MiniIcon icons/xmms.png
Style gcalctool EWMHMiniIconOverride, MiniIcon icons/kcalc.png
Style feh NoTitle, EWMHMiniIconOverride, MiniIcon icons/gphoto.png
Style engage StaysPut, NeverFocus, CirculateSkip, WindowListSkip, Sticky, NoTitle, FixedSize, NoHandles, !FPAllowRaiseClickFunction
##
# Module configs
##
DestroyModuleConfig FvwmIdent: *
*FvwmIdent: Colorset 10
*FvwmIdent: Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
DestroyModuleConfig FvwmForm: *
*FvwmFormDefault: Colorset 10
*FvwmFormDefault: Font "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
*FvwmFormDefault: ButtonFont "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
*FvwmFormDefault: TimeoutFont "xft:snap;-artwiz-snap-*-r-*-*-*-*-*-*-*-*-iso8859-1"
*FvwmFormDefault: ItemColorset 10
DestroyModuleConfig FvwmEvent: *
*FvwmEvent: deiconify DeThumbnail
DestroyModuleConfig FvwmPager: *
*FvwmPager: Colorset * 3
*FvwmPager: HilightColorset * 6
*FvwmPager: WindowColorsets 4 2
*FvwmPager: BalloonColorset * 5
*FvwmPager: Font none
*FvwmPager: SmallFont none
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Bitstream Vera Sans:style=Roman:size=7:antialias=True"
*FvwmPager: BalloonYOffset -2
*FvwmPager: BalloonBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MoveThreshold 0
*FvwmPager: WindowBorderWidth 1
*FvwmPager: Columns 1
*FvwmPager: Geometry 200x25-0+0
##
# Mouse bindings
##
Mouse 1 R A Menu MenuFvwmRoot
Mouse 4 T N WheelToggleShade True
Mouse 5 T N WheelToggleShade False
Mouse 0 1 N Menu MenuFvwmWindowOps
Mouse 0 2 A DestroyOnHold
Mouse 0 6 A Thumbnail
Mouse 0 4 A Maximize
Mouse 1 T A Move-or-Raise
Mouse 1 I A Move-or-Iconify
Mouse 3 TSIF A RaiseLower
Mouse 1 W 4 Move-or-Raise
Mouse 2 W 4 Menu MenuFvwmWindowOps
Mouse 3 W 4 Resize-or-Raise
Mouse 3 R A StrokeFunc DrawMotion FeedBack StrokeWidth 1
##
# Mouse gestures
##
Stroke N85258 0 R N Refresh
Stroke N456 0 R N GotoPage +1p 0p
Stroke N654 0 R N GotoPage -1p 0p
Stroke N74123 0 R N Module FvwmForm FvwmForm-QuitVerify
Stroke N25852 0 R N Pick Close
Stroke N14789 0 R N Exec exec rox
##
# Key bindings
##
Key F2 A M Exec exec gmrun
Key F4 A M Pick Close
Key X A 4 Pick Destroy
Key Menu A A Menu MenuFvwmRoot
##
# Menus
##
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot
+ %menu-icons/kfm_home.png%"Terminal" Exec exec aterm
+ %menu-icons/network.png%"Internet" Popup MenuInternet
+ %menu-icons/gnome-other.png%"Multimedia" Popup MenuMultimedia
+ %menu-icons/kpresentor.png%"Office" Popup MenuOffice
+ %menu-icons/gens.png%"Games" Popup MenuGames
+ %menu-icons/kcontrol.png%"Fvwm Config" Popup MenuConfig
+ %menu-icons/limewire.png%"Exit Fvwm" Popup MenuExit
DestroyMenu MenuInternet
AddToMenu MenuInternet
+ %menu-icons/firefox.png%"Firefox" Exec exec firefox
+ %menu-icons/gaim.png%"Gaim" Exec exec gaim
+ %menu-icons/file-manager.png%"Gftp" Exec exec gftp
+ %menu-icons/mail_open.png%"Pan" Exec exec pan
DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+ %menu-icons/redhat-graphics.png%"Gimp" Exec exec gimp-2.0
+ %menu-icons/mplayer.png%"GMplayer" Exec exec gmplayer
+ %menu-icons/xine.png%"Xine" Exec exec xine
+ %menu-icons/audacity.png%"Gmpc" Exec exec gmpc
+ %menu-icons/kaboodle.png%"Streams" Popup MenuStreams
+ %menu-icons/juk.png%"Easytag" Exec exec easytag
+ %menu-icons/k3b.png%"K3b" Exec exec k3b
DestroyMenu MenuStreams
AddToMenu MenuStreams
+ %menu-icons/kmix.png%"Philosomatika" Exec exec xmms http://www.philosomatika.com/Philosomatika.pls
+ %menu-icons/kmix.png%"Smoothjazz" Exec exec xmms http://www.smoothjazz.com/scast_hi.m3u
DestroyMenu MenuOffice
AddToMenu MenuOffice
+ %menu-icons/bluefish-icon.png%"Bluefish" Exec exec bluefish
+ %menu-icons/gcalctool.png%"GCalctool" Exec exec gcalctool
+ %menu-icons/kate.png%"Gvim" Exec exec gvim
+ %menu-icons/kspread.png%"Open Office" Exec exec ooffice
DestroyMenu MenuGames
AddToMenu MenuGames
+ %menu-icons/mozilla-firefox.png%"CGoban" Exec exec cgoban2
+ %menu-icons/ET.xpm%"Enemy Territory" Exec exec et
+ %menu-icons/quake3.png%"Quake 3" Exec exec quake3
+ %menu-icons/zsnes.png%"ZSnes" Exec exec zsnes
DestroyMenu MenuConfig
AddToMenu MenuConfig
+ %menu-icons/redhat-office.png%"Edit .fvwm2rc" Exec exec gvim ~/.fvwm/.fvwm2rc
+ %menu-icons/konsole.png%"FvwmConsole" Module FvwmConsole -terminal aterm
DestroyMenu MenuExit
AddToMenu MenuExit
+ %menu-icons/share.png%"Restart Fvwm" Restart
+ %menu-icons/desktop.png%"Quit Fvwm" Quit
DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps
+ "Resize" Pick Resize
+ "Iconify" Pick Iconify
+ "Thumbnail" Pick Thumbnail
+ "Maximise" Pick Maximize
+ "Shade" Pick WindowShade Toggle
+ "Zoom Window" Pick Exec exec xmag -source $[w.width]x$[w.height]+$[w.x]+$[w.y] -mag 2
+ "" Nop
+ "Stick" Pick Stick
+ "Scroll" Pick Module FvwmScroll
+ "Refresh" Pick RefreshWindow
+ "Identify" Pick Module FvwmIdent
+ "" Nop
+ "Close" Pick Close
+ "Destroy" Pick Destroy
##
# Functions
##
DestroyFunc WheelToggleShade
AddToFunc WheelToggleShade D WindowShade $0
DestroyFunc DestroyOnHold
AddToFunc DestroyOnHold I Raise
+ C Schedule 100 Close
+ H Destroy
+ H Beep
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 x96 -frame 1x1 \
-mattecolor black -quality 0 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png \
&& echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
|| echo Nop"
+ I TestRc (Match) Test (f $[w.miniiconfile], f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) PipeRead \
"composite -geometry +2+4 $[w.miniiconfile] $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
$[FVWM_USERDIR]/icon.tmp.$[w.id].png; echo Nop"
+ I WindowStyle FPLeaveToUnfocus
+ 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 WindowStyle !FPLeaveToUnfocus
+ I UnsetEnv Icon-$[w.id]
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
+ I WindowShade False
+ I Iconify off
+ I Raise
+ I FlipFocus
AddToFunc Move-or-Raise I Raise
+ M Move
+ D WindowShade Toggle
AddToFunc Move-or-Iconify I Raise
+ M Move
+ D Iconify
AddToFunc Resize-or-Raise I Raise
+ M Resize
+ D Lower
|
If anybody can help me out in this (because it really has stumped me) I'd be highly appreciative.
Thanks in advance for any help or guidance!!
-Andrew |
|
Back to top |
|
|
mikecore Guru
Joined: 29 Dec 2003 Posts: 342 Location: Toledo, Ohio
|
Posted: Wed Feb 23, 2005 2:08 am Post subject: |
|
|
Well one of your errors is cause your .fvwm2rc file is looking for .torsmorc in
$ {HOME}/.torsmo/.torsmorc
and torsmo is looking for it under /home/agrathwohl/.torsmorc
So where did you put it?
I would move it to /home/"your user name"/.torsmorc
Next I would edit your .fvwm2rc file to look for .torsmorc there also
I.E. SetEnv torsmo_conf1 ${HOME}/.torsmorc
SetEnv torsmo_conf2 ${HOME}/.torsmorc
SetEnv torsmo_conf3 ${HOME}/.torsmorc
as for the device thing im lost there too.
try that see if it works |
|
Back to top |
|
|
Aman9090 Apprentice
Joined: 04 Nov 2003 Posts: 234
|
Posted: Wed Feb 23, 2005 4:29 am Post subject: |
|
|
I appreciate the help!
If anybody can figure out why Firefox won't start (Mozilla will though!) I will be a happy man!
I will get back to you guys on how the torsmo fix works.
Thanks so much!
-Andrew
EDIT:
I actually don't understand what you mean about the torsmo problem. I am telling torsmo to search under torsmo_conf1, 2, 3.
Here's what I'm doing:
Code: | SetEnv torsmo_conf1 ${HOME}/.torsmo/.torsmorc
SetEnv torsmo_conf2 ${HOME}/.torsmo/.torsmorc2
SetEnv torsmo_conf3 ${HOME}/.torsmo/.torsmorc3 |
later..
Code: | + I Exec exec torsmo -c $[torsmo_conf1]
+ I Exec exec torsmo -c $[torsmo_conf2]
+ I Exec exec torsmo -c $[torsmo_conf3] |
I want to run 3 different torsmos with 3 different configs, so that's how I set it up - to me there is nothing wrong with how this looks, but maybe I'm just stupid/ignorant. |
|
Back to top |
|
|
Aman9090 Apprentice
Joined: 04 Nov 2003 Posts: 234
|
Posted: Wed Feb 23, 2005 7:24 pm Post subject: |
|
|
bump? |
|
Back to top |
|
|
Aman9090 Apprentice
Joined: 04 Nov 2003 Posts: 234
|
Posted: Wed Feb 23, 2005 11:35 pm Post subject: |
|
|
BUMPITY BUMPY BUMP BUMP BUMP!!!!!!!!!!!!!!!!!!!! |
|
Back to top |
|
|
twgray n00b
Joined: 04 Mar 2004 Posts: 67 Location: The Woodlands, TX
|
Posted: Sat Apr 16, 2005 10:28 pm Post subject: |
|
|
Did you ever get firefox to run? I am having the same problem. _________________ You live, you learn. Well, at least you live.
--Douglas Adams |
|
Back to top |
|
|
rdd n00b
Joined: 02 Sep 2004 Posts: 11
|
Posted: Sun Jun 26, 2005 7:33 pm Post subject: |
|
|
I am having this problem as well. I have been using firefox in fluxbox without any problems at all, but in fvwm neither it nor thunderbird runs properly. I get this message when I run them:
No running windows found
(firefox-bin:10349): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)
If i do ps -ef | grep firefox it shows it's running but no window is shown in fvwm.
Any ideas? |
|
Back to top |
|
|
mandolin n00b
Joined: 03 Nov 2004 Posts: 46 Location: Sweden
|
Posted: Sun Jul 10, 2005 11:35 pm Post subject: |
|
|
I have the exact same problem when using openbox3. Firefox loads but the window doesn't show up. It works just fine in XFCE though.
(bump) |
|
Back to top |
|
|
killfire l33t
Joined: 04 Oct 2003 Posts: 618
|
Posted: Mon Jul 11, 2005 2:17 am Post subject: |
|
|
hmm. im using fvwm and firefox works fine... im using fvwm 2.5.12 and firefox 1.0.3, if that helps...
torsmo also works, but i have only one instance.... _________________ my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com |
|
Back to top |
|
|
mandolin n00b
Joined: 03 Nov 2004 Posts: 46 Location: Sweden
|
Posted: Tue Jul 26, 2005 1:20 pm Post subject: |
|
|
I "solved" this problem by using devil's pie ("devilspie" in portage) to force the window to appear by setting absolute dimensions and position.
Edit: LOL, or not It seemed to work for quite a while though, but then it just randomly didn't, just like before. Sorry! |
|
Back to top |
|
|
|
|
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
|
|