Jake Holmen wrote:
>
> I know I may have had these answered before (in a roundabout way)
> but if someone could answer them, I'd be grateful:
>
Firstly which fvwm version are you running? There are slight differences
between them.
> 1) How do I find the .fvwm95rc file if there is not one in my /root
> ($HOME) as root? I know it must be around somewhere....
Second, fvwm95 is really old and no longer supported. The later versions
of fvwm use .fvwm2rc files for configuration. (BTW: running your X
server as root is a security risk! Don't do it! Start X as a user
instead.)
>
> 2) How do I map a button to a command, and whack it in the"Programs"
> sub-menu (Start-->Programs)
Menus and buttons are different.
AddToMenu Programs
+ "AppName" Exec AppName
should work for most applications invoked from a menu.
For a button I'd recommend the "man FvwmButtons" command to read the
manual page for that module. Here's an example line from my config....
*FvwmButtons(1x1, Icon mini-isp.xpm, Action 'Exec kppp', Back grey55)
That line invokes kppp to dial-up my connection.
>
> 3) how do I get Wharf to persistently start up, just like "config" desktop
> does in Redhat?
AddToFunc StartFunction I Module FvwmWharf
Refer the man page for fvwm2 (man fvwm2).
>
> 4) how do I get "Alt + Tab" (once I find .fvwm95rc file..!) to raise the
> next window to the front (like W95 does?) Currently it brings focus to the
> window (ie changes the title bar to blue) but doesn't bring it to the front,
> so I can't see the whole window behind the current one.
I use a function like...
DestroyFunc FocusAndWarp
AddToFunc FocusAndWarp I Focus
+ I WarpToWindow 50 50
But that could also be....
DestroyFunc FocusAndRaise
AddToFunc FocusAndRaise I Focus
+ I Raise
Then a couple of lines like...
Key Tab A M Prev FocusAndWarp
Key Tab A MS Next FocusAndWarp
should do it.
There's some sample .fvwm2rc's in recent versions of fvwm source in the
sample.fvwmrc/ directory, including a working Win95 clone rc-file.
> Thanks for all your help. - as the last question goes..
> I fixed up the "halt" command for the users like I wanted to.. I took the
> easy way out for now, and mapped CTRL+ALT+DEL to halt (shutdown -h now)
> instead of reboot (reboot -r now) in /ect/innittab (thanks someone who
> suggested that!)
> Cheers
Some "online" help for fvwm configs is available via Internet Relay
Chat, on EFNET servers, and channel #fvwm (linux help on #linuxhelp)
I'm usually lurking thereabouts along with a few other fvwm users. :)
>
> J
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Apr 09 2000 - 01:44:15 BST