Re: FVWM: Basic question about taskbar window
2009/10/25 Youjun Hu yju...@gmail.com: I want to click the small window to make the corresponding application iconified if it is not being iconified now. I am going to assume you're using FvwmIconMan here, and not FvwmTaskBar, in which case: *FvwmIconMan: Action Mouse 1 A SendCommand Iconify -- Thomas Adam
Re: FVWM: Basic question about taskbar window
On Sun, 25 Oct 2009 10:25:49 -0400 des...@verizon.net sent this information: Youjun Hu yju...@gmail.com writes: It seems the FVWM forum is not working recently. I was used to asking naive questions there. Well, I have a basic question to ask here. I use taskbar, on which various application have corresponding small window. I want to click the small window to make the corresponding application iconified if it is not being iconified now. I know I should bind an iconifying function to the left-click on the small window. But I do not know what is the command contex. I know a key binding has the following format: Key Keyname Context Modifiers Function My question is what the 'Context' is for the small window on taskbar? In addition to Tom's answer, when you asked about context I guessed you were looking at the fvwm2 man page. The rules for commands for modules are in the module man pages. Go here for FvwmTaskBar: http://www.fvwm.org/documentation/manpages/unstable/FvwmTaskBar.php or pick the right man page here: http://www.fvwm.org/documentation/manpages/unstable/ There has to be more to it than that? I admit not having time to look through much of the documentation, but reading snippet and trying a few things out when time permits, But things don't work as the man pages describe: In Debian testing changing things, like the geometry of the taskbar for example, or the colour of the taskbar in the ~/.fvwm/.fvwm2rc doesn't do anything. Changing things in the /usr/share/fvwm/ConfigFvwmTaskBar file doesn't do anything either. So there are other factors at play. There has to be more involved that simply changing something in ~/.fvwm/.fvwm2rc. Fvwm must be reading from either more relevant files than just the two I mentioned above, or another file completely? In Debian testing at least. Just a thought. Charlie -- Registered Linux User:- 329524 . Use, do not abuse; neither abstinence nor excess ever renders man happy. .Voltaire . Debian GNU/Linux - just the best way to create magic
Re: FVWM: Basic question about taskbar window
2009/10/25 Charlie aries...@clearmail.com.au: There has to be more to it than that? What do you mean? Admittedly, the barrier to entry is: * You have to be able to read (manpages specifically). * You have to be able to use an editor. * You need a brain. * You might actually need to think. Now, the last two are somewhat surpassed by the fact there's a load of examples in man Fvwm{TaskBar,IconMan} which try and make things obvious. If that's somehow lacking (and I do fail to see why, but hey-ho), patches welcome. I admit not having time to look through much of the documentation, but reading snippet and trying a few things out when time permits, But things don't work as the man pages describe: Oh really? I'd love a specific example, In Debian testing changing things, like the geometry of the taskbar for example, or the colour of the taskbar in the ~/.fvwm/.fvwm2rc doesn't do anything. Then you're doing it wrong, although you neither claim *what* you're changing (is it FvwmTaskBar or FvwmIconMan)? I don't play guessing games. Changing things in the /usr/share/fvwm/ConfigFvwmTaskBar file doesn't do anything either. So there are other factors at play. Fail. You should *NEVER* go touching those files at all. Please. This is what ~/.fvwm/config is for. So I can now surmise you're trying to configure FvwmTaskBar -- but you still don't say what specifically. So no one is going to be able to help you -- all they can do is guess, and most likely get it wrong. There has to be more involved that simply changing something in ~/.fvwm/.fvwm2rc. Fvwm must be reading from either more relevant files than just the two I mentioned above, or another file completely? In Debian testing at least. Nope -- the problem is (alas) between the keyboard and the chair. You could at least provide your config, then someone can tell you what you're doing wrong -- and even better -- most likely realise where your confusion is coming from. But until then... -- Thomas Adam
Re: FVWM: Basic question about taskbar window
On Sun, 25 Oct 2009 22:09:49 +0100 Thomas Adam thomas.ada...@gmail.com sent this information: 2009/10/25 Charlie aries...@clearmail.com.au: There has to be more to it than that? What do you mean? Admittedly, the barrier to entry is: * You have to be able to read (manpages specifically). * You have to be able to use an editor. * You need a brain. * You might actually need to think. There's no need to be insulting surely? I mentioned both colour and geometry. But I'll work it out when I have more time. Thanks for the reply though. Be well, Charlie -- Registered Linux User:- 329524 . I have never made but one prayer to God, a very short one: 'O Lord, make my enemies ridiculous.' And God granted it. ...Voltaire . Debian GNU/Linux - just the best way to create magic
Re: FVWM: Basic question about taskbar window
[ Please keep this on-list. Re-adding f...@] 2009/10/25 Charlie aries...@clearmail.com.au: The file is enormous and I'm loath to copy it to email or even send it as an attachment. However if you confirm that I should and if it should be just to you alone or the list? Use a pastebin. I set this up for the #fvwm IRC channel: http://fvwm.pastey.net/ One other thing as well, if I may: Using: fvwm 2.5.28 compiled on Sep 22 2009 at 05:57:07 fvwm-themes 0.7.1 built on Jul 03 2009 at 13:48:26 I don't appear to have an ~/.fvwm/config file? That's because you'd have to create it -- it's the recommended file to use for your FVWM config over ~/.fvwm/.fvwm2rc or ~/.fvwm2rc -- see the INITIALIZATION section in man fvwm for more information. -- Thomas Adam
Re: FVWM: Basic question about taskbar window
2009/10/25 des...@verizon.net: Or he could just post the stuff relevant to FvwmTaskBar. The lines starting with *FvwmTaskBar and the command used to start it. Yes, possibly. But then the subject of colour came up, so I'd also want to see possible colorset definitions, etc. Hence the whole file. Charlie, please post the whole file. Recomended or not, mines staying .fvwm2rc. Yep -- mine currently still is. :) -- Thomas Adam
Re: FVWM: Basic question about taskbar window
On Sun, 25 Oct 2009 17:37:39 -0400 des...@verizon.net sent this information: snip There has to be more to it than that? I'm sorry, I don't understand. I admit not having time to look through much of the documentation, but reading snippet and trying a few things out when time permits, But things don't work as the man pages describe: Tell us what you tried. Post your config, etc. You have to restart Fvwm for actions to take effect unless you are using one of the interactive interfaces. Just quickly: in ~/.fvwm/.fvwm2rc #. start: Read $./FvwmTaskBar DestroyModuleConfig FvwmTaskBar: * *FvwmTaskBar: Geometry -0+200 ***The above to various numbers to see if it would change anything and what*** *FvwmTaskBar: Colorset 9 *FvwmTaskBar: FocusColorset 18 *FvwmTaskBar: IconColorset 10 *FvwmTaskBar: TipsColorset 16 ***The above to various numbers to see what it changed *FvwmTaskBar: Action Click1 FuncFvwmDeiconifyFocusAndRaise *FvwmTaskBar: Action Click2 Iconify *FvwmTaskBar: Action Click3 Menu MenuFvwmWindowOps2 Mouse c +1p snipped for brevity Also - which I shouldn't touch - which I know now from what Thomas has told me: /usr/share/fvwm/ConfigFvwmTaskBar DestroyModuleConfig FvwmTaskBar: * *FvwmTaskBar: Back #c3c3c3 *FvwmTaskBar: Fore black *FvwmTaskBar: TipsBack bisque *FvwmTaskBar: TipsFore black *FvwmTaskBar: Geometry +0-0 *The above to various numbers *FvwmTaskBar: Font -adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-*-* *FvwmTaskBar: SelFont -adobe-helvetica-bold-r-*-*-14-*-*-*-*-*-*-* *FvwmTaskBar: StatusFont fixed snipped for brevity Have restarted fvwm after each change and also when I returned the number to the original, which you see above. Thanks, Charlie -- Registered Linux User:- 329524 . Acquaintance, n.: A person whom we know well enough to borrow from, but not well enough to lend to. ...Ambrose Bierce, The Devil's Dictionary . Debian GNU/Linux - just the best way to create magic
Re: FVWM: Basic question about taskbar window
On Sun, 25 Oct 2009 22:47:41 +0100 Thomas Adam thomas.ada...@gmail.com sent this information: Use a pastebin. I set this up for the #fvwm IRC channel: http://fvwm.pastey.net/ Sorry Thomas - can't. I keep getting inconsistent answers to my reversal of URL's no matter how many times I do them. So maybe you're right. I can't read man pages. :-) Though where I can I copy and paste the relevant parts in an attempt to remove typos. But I have to go and feed animals and things. Sorry for wasting so much of your and despen's time. I'll find a way to manage configuration of the WM eventually, I always do, it just takes longer when I do it on my own. :-( Be well, Charlie -- Registered Linux User:- 329524 . There is no treasure in the deep mountains; he who has no desire for it finds it. ..ZEN SAYING . Debian GNU/Linux - just the best way to create magic
Re: FVWM: Basic question about taskbar window
Charlie aries...@clearmail.com.au writes: On Sun, 25 Oct 2009 17:37:39 -0400 des...@verizon.net sent this information: snip There has to be more to it than that? I'm sorry, I don't understand. I admit not having time to look through much of the documentation, but reading snippet and trying a few things out when time permits, But things don't work as the man pages describe: Tell us what you tried. Post your config, etc. You have to restart Fvwm for actions to take effect unless you are using one of the interactive interfaces. Just quickly: Ok, I put all that in a file, changed the colorset numbers to one I have defined, used FvwmTalk to read it then started FvwmTaskBar. Everything seems to be working as it should. Button 1 says FuncFvwmDeiconifyFocusAndRaise is undefined (which I would expect) and button 2 toggles iconification. Remind me again what you want to do and what you think is not working the way you want it.
Re: FVWM: Basic question about taskbar window
2009/10/25 Charlie aries...@clearmail.com.au: DestroyModuleConfig FvwmTaskBar: * *FvwmTaskBar: Geometry -0+200 This works for me, ***The above to various numbers to see if it would change anything and what*** *FvwmTaskBar: Colorset 9 *FvwmTaskBar: FocusColorset 18 *FvwmTaskBar: IconColorset 10 *FvwmTaskBar: TipsColorset 16 These work for me (albeit, by changing the numbers to suit colorsets I'd already had defined, but that's academic). Can I assume that these definitions aren't working for you then? -- Thomas Adam
Re: FVWM: Basic question about taskbar window
On Sun, 25 Oct 2009 18:33:03 -0400 des...@verizon.net sent this information: snip Ok, I put all that in a file, changed the colorset numbers to one I have defined, used FvwmTalk to read it then started FvwmTaskBar. Everything seems to be working as it should. Button 1 says FuncFvwmDeiconifyFocusAndRaise is undefined (which I would expect) and button 2 toggles iconification. Remind me again what you want to do and what you think is not working the way you want it. Thank you. I think I may not know the terminology. In the screenshot there are two icons? taskbars? There's my problem with terminology. I thought one would be a taskbar - the one on the left? I would like to change the colour of the background in both. However, my real question is how to work in the configuration file to be able to change things to suit my prejudices. I don't get any result, much less the desired result. I think there is an override in colour at the very end of my fvwm2rc file that controls it all. [one ring controls them all sort of thing?] Be well, Charlie -- Registered Linux User:- 329524 . Calamities are of two kinds: misfortunes to ourselves, and good fortune to others. ..Ambrose Bierce, The Devil's Dictionary . Debian GNU/Linux - just the best way to create magic attachment: fvwm.jpg
Re: FVWM: Basic question about taskbar window
[ Adding fvwm@ back on the Cc list. ] 2009/10/25 Charlie aries...@clearmail.com.au: They do Thomas. OK. So they do work. As an example: I just don't like the colour of the background. And the ? Taskbar on the left of the screen could be a little longer. If you're talking about what I think you are, the length of the taskbar not being the length of the screen fully is a known limitation in FvwmTaskBar. Just stuff like this. I also assume the geometry below: DestroyModuleConfig FvwmTaskBar: * *FvwmTaskBar: Geometry -0+200 is placement on the monitor of which in the screenshot? If I change that - nothing happens on my .fvwm2rc file. So I can't tell which it refers too in the screenshot? Screenshot? Did I miss something? I don't see one of those. Either way, that setting simply tells the module where to place itself on the screen. For me, it's placed as asked for. Look it's really just fiddling at the edges, fvwm works fine, and I know how to tweak the applications and programs I use, I just can't get my head round tweaking the window manager. It's an affectation, nothing more. The problem is that you're not really telling us what you're wanting to do, so I am having to put more work into understanding that from hints you've provided (such as in this email). I'm wasting your time. No. It's just taking a lot longer than I'd have liked. At this stage, I am going to strongly suggest you use FvwmIconMan, and then when you've configured that correctly, perhaps look at getting it swallowed in FvwmButtons -- and for that, there's plenty of examples floating about. -- Thomas Adam
Re: FVWM: Basic question about taskbar window
2009/10/25 Charlie aries...@clearmail.com.au: In the screenshot there are two icons? taskbars? There's my problem with terminology. I thought one would be a taskbar - the one on the left? That's FvwmIconMan. On the right is FvwmButtons, swallowing FvwmPager and xload. This is fvwm-themes. Are you using that, or have you copied the configuration from there (I assume via fvwm-themes-config -e) to your own ~/.fvwm2rc file? If not, this puts a whole new slant on what you need to do to configure this. I would like to change the colour of the background in both. Right -- and that can't happen until we have a little more information. However, my real question is how to work in the configuration file to be able to change things to suit my prejudices. If you're using fvwm-themes, then you're best off creating a personal theme. There's a README on fvwm-themes.sf.net to help you do that. -- Thomas Adam
Re: FVWM: Basic question about taskbar window
Charlie aries...@clearmail.com.au writes: On Sun, 25 Oct 2009 18:33:03 -0400 des...@verizon.net sent this information: snip Ok, I put all that in a file, changed the colorset numbers to one I have defined, used FvwmTalk to read it then started FvwmTaskBar. Everything seems to be working as it should. Button 1 says FuncFvwmDeiconifyFocusAndRaise is undefined (which I would expect) and button 2 toggles iconification. Remind me again what you want to do and what you think is not working the way you want it. Thank you. I think I may not know the terminology. In the screenshot there are two icons? taskbars? There's my problem with terminology. I thought one would be a taskbar - the one on the left? I would like to change the colour of the background in both. Maybe you should show us your colorset definitions. This works for me: DestroyModuleConfig FvwmTaskBar: * *FvwmTaskBar: Colorset 18 *FvwmTaskBar: FocusColorset 19 *FvwmTaskBar: IconColorset 20 *FvwmTaskBar: TipsColorset 4 Colorset 18 fg blue, bg pink Colorset 19 fg red, bg yellow Colorset 20 fg white, bg black To test, I like to put this stuff in a file by itself, maybe /tmp/x Then bring up FvwmTalk Enter: Read /tmp/x KillModule FvwmTaskBar FvwmTaskBar I don't use any taskbar, or anything else that clogs up the screen but Tom is right about FvwmIconMan and FvwmButtons. They are more complex to configure but the end result can be better.
FVWM: Basic question about taskbar window
It seems the FVWM forum is not working recently. I was used to asking naive questions there. Well, I have a basic question to ask here. I use taskbar, on which various application have corresponding small window. I want to click the small window to make the corresponding application iconified if it is not being iconified now. I know I should bind an iconifying function to the left-click on the small window. But I do not know what is the command contex. I know a key binding has the following format: Key Keyname Context Modifiers Function My question is what the 'Context' is for the small window on taskbar? Thank you!