FVWM: Fwd: Logo competition
sorry for my late reply. Md Razib Karno Multimedia Aplikasi Jabatan Pembangunan Automasi 07-5530284 -Original Message- From: Md Razib Karno [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tue, 15 Feb 2005 13:13:28 +0800 Subject: Logo competition please forward it to Radio Wanita Berhad. attachment: wfm_copy.jpg
FVWM: Drag to create an xterm
Hi there, recently I saw a demonstration of plan 9 where the presenter clicked on the root window and dragged a rectangle to start a terminal with position and size of the drag gesture. I think this is a really nice way to start and place xterms or other apps. I am thinking of writing a fvwm function to achieve this and stuck currently at following points. - A grid should be drawn while dragging. - Xterm (or another app) should be started on key release. Any suggestions how to achieve the desired behaviour? Thanks in advance. Regards, Uwe -- ,_, For personal reply/mail put fvwm (O,O) in the subject. ( ) Otherwise your mail is discarded by a filter. =---= http://www.tu-chemnitz.de/~uwp -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Drag to create an xterm
On Thu, Mar 31, 2005 at 02:02:10PM +0200, Uwe Pross wrote: Hi there, recently I saw a demonstration of plan 9 where the presenter clicked on the root window and dragged a rectangle to start a terminal with position and size of the drag gesture. I think this is a really nice way to start and place xterms or other apps. I am thinking of writing a fvwm function to achieve this and stuck currently at following points. - A grid should be drawn while dragging. - Xterm (or another app) should be started on key release. Any suggestions how to achieve the desired behaviour? Wow, that's a really cool idea! The fist part is no problem, it's easy to start an xterm when drawing a rectangle and identifying the pointer position when you started, but I'm not sure how you could find the length and width of the rectangle. Something like this should start an xterm at the stroke start position when you draw a rectangle on the root window: AddToFunc StrokeFuncWrapper + I SetEnv StrokeStart +$[pointer.x]+$[pointer.y] + I StrokeFunc DrawMotion FeedBack StrokeWidth 2 EchoSequence AddToFunc StartStrokeXterm I Exec exec xterm -g $[StrokeStart] Mouse 3 R A StrokeFuncWrapper Stroke N741236987 0 R N StartStrokeXterm I can't think of anyway to identify the geometry of the drawn rectangle, my first thought was to capture the output of EchoSequence, but unfortunately that isn't much use. -- - [EMAIL PROTECTED] | finger me for my gpg key. --- -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: double click in fvwm ?
In the attempt of emulating my favourite (Motif/CDE simplified on Alpha) look and feel I almost succeeded to get all what I want, except for handling double clicks. - Ideally I want all windows to be decorated with a single button (window menu button) on the left (I have it and another button now) - and a title bar, a single click on the title bar with a mouse button (I don't care which since I usually don't remember and try each one in turn) shall also call the window menu (I have it) - double clicking on the title bar should iconize the window. THIS I DO NOT HAVE. I replaced it with an iconify button on the right, and with the use of a single click with mouse button 3 - also I'd like to to de-iconize an icon with a double click (presently instead I have to use a SINGLE click) What I have (made mainly editing the SuSE .fvwm2rc, commenting out unwanted parts and a few edits) does work adequately, but still I am missing double clicks. I tried using Stroke but it does not work. How is double click handled ? excerpt from .fvmw2rc # Mouse bindings # comment buttons to disable them # remember buttons are 1 3 5 7 9 on side 0 8 6 4 2 on other side # reassign iconify to 2 to destroy button 4 # comment also button 2 to eliminate it altogether Mouse 0 2 A Iconify # # add to iconify with double click ? # Mouse 0 T A # Stroke 00 1 T A Iconify # provisionally use mouse 3 Mouse 3 T A Iconify Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy) For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: double click in fvwm ?
Hello, In the attempt of emulating my favourite (Motif/CDE simplified on Alpha) look and feel I almost succeeded to get all what I want, except for handling double clicks. - Ideally I want all windows to be decorated with a single button (window menu button) on the left (I have it and another button now) - and a title bar, a single click on the title bar with a mouse button (I don't care which since I usually don't remember and try each one in turn) shall also call the window menu (I have it) - double clicking on the title bar should iconize the window. THIS I DO NOT HAVE. I replaced it with an iconify button on the right, and with the use of a single click with mouse button 3 - also I'd like to to de-iconize an icon with a double click (presently instead I have to use a SINGLE click) What I have (made mainly editing the SuSE .fvwm2rc, commenting out unwanted parts and a few edits) does work adequately, but still I am missing double clicks. I tried using Stroke but it does not work. How is double click handled ? Is the following having the behaviour you are looking for? AddToMenu DemoMenu This is a menuNop AddToFunc Menu-or-icon I Menu DemoMenu + D Iconify AddToFunc Double-to-deiconify D Iconify Mouse 0 1 A Menu DemoMenu Mouse 0 T A Menu-or-icon Mouse 0 I A Double-to-deiconify Regards, -- Julien Guertault -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: Drag to create an xterm
On Thu, 31 Mar 2005 14:49:07 +0100, Tavis Ormandy [EMAIL PROTECTED] wrote: On Thu, Mar 31, 2005 at 02:02:10PM +0200, Uwe Pross wrote: Hi there, recently I saw a demonstration of plan 9 where the presenter clicked on the root window and dragged a rectangle to start a terminal with position and size of the drag gesture. I think this is a really nice way to start and place xterms or other apps. I am thinking of writing a fvwm function to achieve this and stuck currently at following points. - A grid should be drawn while dragging. - Xterm (or another app) should be started on key release. Any suggestions how to achieve the desired behaviour? Wow, that's a really cool idea! The fist part is no problem, it's easy to start an xterm when drawing a rectangle and identifying the pointer position when you started, but I'm not sure how you could find the length and width of the rectangle. Something like this should start an xterm at the stroke start position when you draw a rectangle on the root window: AddToFunc StrokeFuncWrapper + I SetEnv StrokeStart +$[pointer.x]+$[pointer.y] + I StrokeFunc DrawMotion FeedBack StrokeWidth 2 EchoSequence AddToFunc StartStrokeXterm I Exec exec xterm -g $[StrokeStart] Mouse 3 R A StrokeFuncWrapper Stroke N741236987 0 R N StartStrokeXterm I can't think of anyway to identify the geometry of the drawn rectangle, my first thought was to capture the output of EchoSequence, but unfortunately that isn't much use. -- - [EMAIL PROTECTED] | finger me for my gpg key. --- Cool, indeed. I dont appear to have stroke support compiled into mine, but I was able to create an effect sort of like what you describe. I use FvwmEvent in conjunction with a variable to decide whether or not to immediately resize the last window created. Then I bind the middle mouse button to set that variable and to spawn an xterm at the cursor position. # .fvwm2rc modifications # # set default to not resize new windows SetEnv doResizeStuff false Mouse 2 R A PlaceTermWithResize DestroyFunc PlaceTermWithResize AddToFunc PlaceTermWithResize + H Exec exec xterm -geom 10x1+$[pointer.x]+$[pointer.y] + H SetEnv doResizeStuff True #following requires that FvwmEvent has been started already *FvwmEvent: add_window CheckXtermResize DestroyFunc CheckXtermResize AddToFunc CheckXtermResize + I Test ($[doResizeStuff]) Resize + I SetEnv doResizeStuff False # To use it, you click the middle mouse button, drag diagonally, release the button at any time, and click again to set the lower right bounds. I use M instead of I in PlaceTermWithResize because it seemed slightly more correct in appearance. Not entirely correct. With I, you had to click to do the resize. With M, it's already doing the resize, but you have to let go of the button before it will show you the outline... and then you have to click again for it to finish the resize. --s.r.d. p.s.: Oops! I did a reply to the wrong address the first time around... -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]