Mikhael,
Wow - that worked great!
My "start" key was keycode 115, the "right mouse button" key is117...
Also, I just inserted the expression:
keycode 115 = F13
in my .../xinit/Xmodmap file.
Of course, the application ("Citrix") is using the start key too but now
X captures it first - proving once again that no good deed goes
unpunished :)
Thanks for all the help. I'll check out the FAQ too...keep the noise
down on this list a little....
Later,
Ralph
Mikhael Goikhman wrote:
> On 09 Oct 2000 15:15:28 -0400, ralph stickley wrote:
> >
> > Hey, while your here :-) My start menu is almost there - but...
> >
> > 1.a is there any way to bind the Start key on the keyboard to the Start menu?
>
> Ok, I explain what I did, maybe it can be useful to someone.
> I started xev and pressed my Start key. I got keycode 117 (it may be
> different on your keyboard) and no keysym assigned with it.
> Similarly, `xmodmap -pk | grep 117` gave no keysyms.
>
> Then I executed `xmodmap -e 'keycode 117 = F13'`, i.e. assigned this key
> to symbolic name F13, which is not used on my keyboard. Then started
> FvwmConsole, executed the following and everything worked:
>
> Key F13 A A Menu MenuFvwmRoot Root +1p o100-25p
>
> So, if I wanted to be annoyed by these extra keys I would just add this
> "xmodmap -e .." command to my ~/.xinitrc or call it from InitFunction.
>
> > 1.b is there any way to configure the start menu to remain on-screen
> > after an item with a sub-menu is clicked ?? If I click on "Programs..."
> > the sub menu is displayecd, but the start menu disappears. - whoa..now
> > where did that get off to ??
>
> In 2.3, the default is what you want. In 2.2, this is not configurable.
>
> > > > - any way to make the menu popup "on top" of the "start" button ?
> > > > (instead of off to the side - any magical context rectangle number?)
> > >
> > > Use:
> > >
> > > *FvwmTaskBarStartMenu MenuFvwmRoot Root +1p o100-25p
> >
> > Yep...works great - I even understand it after going back to read the manual.
> >
> > Note, if the user extends the taskbar the window pops up at the same place,
> > overlaying the start button... might be a way to make it relative to the
> > taskbar window or some other trick....
>
> You can also try 'Mouse c -100m' or so, but I think the first is better.
>
> > > > 2. I start an application in another desktop, but when the application
> > > > closes, it never returns to the first desktop. If I don't display the
> > > > Pager, there
> > > > seems "to the user" no way to get back (at least key bindings work).
> > > > - any way to automagically return to the first desktop?
> > >
> > > You can start FvwmEvent and hook destroy_window event to something like:
> > >
> > > Desk 0 0
> > >
> > > In 2.3 it can be done more effectivelly using PassId of FvwmEvent
> > > and having in the hook function: WindowId $w ("MyApp") GotoDesk 0 0
> > >
> > > > - or - any way to make the taskbar popup when a window closes??
> > >
> > > The same here. Just add this after/instead Desk command:
> > >
> > > Menu MenuFvwmRoot Root +1p o100-25p,
> > > In 2.2 this will change desk or/and pop up the menu after any window
> > > closing, so you probably may want to have a function which first starts
> > > FvwmEvent, then your application; in destroy_window: KillModule FvwmEvent.
> >
> > Ok, I got nothing here....I don't know where to start or where to stick the
> > FvwmEvent
> > thing. more manual reading is in order :-( What is the desk command ??
>
> Desk (the new name is GotoDesk) changes the current desk.
>
> > My application has a style defined as:
> > Style "xxx" border Width 0 , NoHandles, NoTitle, NoDecorHint, StartsOnDesk 2
> >
> > from the StartMenu:
> > + "xxx" Exec /usr/bin/xxx
> >
> > from the Buttons in the pager:
> > *FvwmButtons (Title Xxx, Icon icons_bt.xpm, Action 'Exec /usr/bin/xxx')
>
> Take a look at fvwm.org/generated/FAQ.html and read question 3.18 and 3.19.
> I hope you will learn something useful.
>
> > I'm using a Media GX with the sound, soundcore and sb modules installed...
> > any suggestions ? and how do you use these modules anyhow ??
>
> It is really not fvwm specific, try to find about "bell in X" on internet.
>
> Regards,
> Mikhael.
--
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 Tue Oct 10 2000 - 10:35:01 BST