Re: FVWM: how to make button unpressed while moving off cursor from it (fwd)

2008-11-06 Thread for.register for.register
On Thu, Nov 6, 2008 at 5:40 PM, David Vilar
<[EMAIL PROTECTED]> wrote:
> Forgot to include fvwm@fvwm.org, forwarding...
>
> - Forwarded message from David Vilar <[EMAIL PROTECTED]> -
>
> From: David Vilar <[EMAIL PROTECTED]>
> Subject: Re: FVWM: how to make button unpressed while moving off cursor
>from it
> Date: Thu, 6 Nov 2008 10:36:08 +0100
> To: "for.register for.register" <[EMAIL PROTECTED]>
>
> On Fri, Oct 31, 2008 at 09:24:50PM +0800, for.register for.register wrote:
>> Hi,
>>
>> In fact,  I dont know how to say in in English,  Let me try:
>>
>> For example , I want to close a window, I press and hold the left mouse
>> key on the "close button" . And now I dont want to close the window
>> so, I move off the cursor from the "close button", and release the mouse
>> key. And I hope the window is still there unclosed. How the configure this?
>>
>> Thanks in advance.
>>
>> Walter
>
> I think you are looking for this:
>
>DestroyFunc OnlyIfClick
>AddToFunc OnlyIfClick
>+ "C" $*
>
> And then for your button specification something like
>
>Mouse 0 2 A OnlyIfClick Close
>
> Greetings,
>
> David
>
> - End forwarded message -
>
>
Great!

This is exactly what I am looking for.

Thank you David.



FVWM: how to set the ButtonStyle about windecor without affecting the autohide button

2008-11-02 Thread for.register for.register
I have the following config on my windecor:

... ...
Colorset 71 fg black, bg black, sh black, RootTransparent Buffer, Tint #f6f6f6 0
DestroyDecor  MyDecor
AddToDecorMyDecor
+ TitleStyle  Height 18
+ TitleStyle  AllInActive ( Colorset 71 ) AllActive ( Colorset 71 ) -- flat
+ TitleStyle  AllActive TiledPixmap
$[fvwm_deco]/osx-milk/titlebar-active.xpm -- flat
+ TitleStyle  AllInactive   TiledPixmap
$[fvwm_deco]/osx-milk/titlebar-mid-focused.xpm -- Flat
+ ButtonStyle All InActive  ( Colorset 71 -- Flat )
+ ButtonStyle All Active( Colorset 71 -- Flat )
... ...

but, the last two lines "ButtonStyle All..." make my another autohide
button transparent.

My questions is how to set the ButtonStyle about windecor without
affecting the autohide button?

Thanks.



FVWM: Any special requirement on png format for TiledPixmap?

2008-11-01 Thread for.register for.register
I use gimp (v2.6.1) open a png file, a button icon and save as an
another filename.
but I found it seems TiledPixmap can not open the file. The button is blank.

Any idea?



Re: FVWM: how to make button unpressed while moving off cursor from it

2008-11-01 Thread for.register for.register
On Fri, Oct 31, 2008 at 9:58 PM, Thomas Adam <[EMAIL PROTECTED]> wrote:
> 2008/10/31 for.register for.register <[EMAIL PROTECTED]>:
>> Hi,
>>
>> In fact,  I dont know how to say in in English,  Let me try:
>>
>> For example , I want to close a window, I press and hold the left mouse
>> key on the "close button" . And now I dont want to close the window
>> so, I move off the cursor from the "close button", and release the mouse
>> key. And I hope the window is still there unclosed. How the configure this?
>
> Do you mean:
>
> Mouse 0 1 A SomeFunction
>
> DestroyFunc SomeFunction
> AddToFunc   SomeFunction
> + H Close
>
> -- Thomas Adam
>


I tried this like :

Mouse   1 1 A   Close-Window

DestroyFunc Close-Window
AddToFunc   Close-Window
+ H Close


But it seems do not work.



FVWM: how to make button unpressed while moving off cursor from it

2008-10-31 Thread for.register for.register
Hi,

In fact,  I dont know how to say in in English,  Let me try:

For example , I want to close a window, I press and hold the left mouse
key on the "close button" . And now I dont want to close the window
so, I move off the cursor from the "close button", and release the mouse
key. And I hope the window is still there unclosed. How the configure this?

Thanks in advance.

Walter



FVWM: How to make forune output to my backgound

2008-08-29 Thread for.register for.register
Hi,

I have tried several ways to make fortune output
to my background, noway. I think fortune is just like
the scell command such as "ls", "echo" , how can
I display that on destop backgrounds?

Thanks

Walter



Re: FVWM: Always move the cursor to new center of new window

2008-03-23 Thread for.register for.register
On Sun, Mar 23, 2008 at 4:53 PM, for.register for.register
<[EMAIL PROTECTED]> wrote:
>
> On Sun, Mar 23, 2008 at 11:31 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  > On 23/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  > Hi,
>  >  >
>  >  >  How can I always move the cursor to the newly created window 
> automatically?
>  >
>  >  Well:
>  >
>  >  Style * FPGrabFocus, FPReleaseFocus
>  >
>  >  Will warp to the pointer to a newly created window.  But it won't be
>  >  in the centre.  For that you'd need to use FvwmEvent, and to be
>  >  honest, I don't think it's worth it.  The above will suffice, I think.
>  >
>  >  -- Thomas Adam
>  >
>
>  You are right. This solution is good enough, warp to the pointer to a
>  newly created window is not required.
>
>  Thanks
>
Oop! forgot reply too all.



FVWM: Always move the cursor to new center of new window

2008-03-23 Thread for.register for.register
Hi,

How can I always move the cursor to the newly created window automatically?

Thanks/Walter



Re: FVWM: How to quit Skype by click the close button

2008-03-10 Thread for.register for.register
On Mon, Mar 10, 2008 at 7:11 AM, for.register for.register
<[EMAIL PROTECTED]> wrote:
>
> On Mon, Mar 10, 2008 at 6:44 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  >
>  > On 10/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  > On Mon, Mar 10, 2008 at 5:03 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  >  >  > On 10/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  >  >  > I find a new problem with  the configure "Mouse (skype) 1 2 A 
> Destroy":
>  >  >  >  >  When I want to chat with somebody, skype will open another chat 
> window
>  >  >  >  >  that seems spawned from the main window, When I press the  
> button 2 on
>  >  >  >  >  the chat window to close it, the main window is destroyed 
> simultaneously.
>  >  >  >
>  >  >  >  Of course.  Destroy is just that... destructive.
>  >  >  >
>  >  >  >
>  >  >  >  >  I found that the chat window spawned from the mail window has the
>  >  >  >  >  same name to the main window, they are both:
>  >  >  >  >  WM_CLASS(STRING) = "skype", "Skype".
>  >  >  >
>  >  >  >  The main skype window and the associated dial window set a 
> role/leader
>  >  >  >  relationship to one another.  Destroying the main window will
>  >  >  >  obviously destroy these windows as well.
>  >  >  >
>  >  >  >  I suggest you rethink what it is you want to do.
>  >  >  >
>  >  >  >  -- Thomas Adam
>  >  >  >
>  >  >
>  >  > I  want to just close the dialog window when press the button 2 on the 
> dialog
>  >  >  window, and destroy skype when press the button 2 on the skype main
>  >  >  window.
>  >  >
>  >  >  Is it possible the realize that with not a too complex configuration?
>  >
>  >  Something like this?
>  >
>  >  DestroyFunc DestroyOrClose
>  >  AddToFunc   DestroyOrClose
>  >  + I ThisWindow ("*Skype Chat"|"*Call with*") Close
>  >  + I TestRc (NoMatch) ThisWindow (Skype) Destroy
>  >
>  >  Mouse (Skype) 2 W C DestroyOrClose
>  >
>  >  Obviously using whichever mouse binding you prefer.
>  >
>  >  -- Thomas Adam
>  >
>  My god, It seems on fvwm, I have a long way to go!  Of course,
>  I have lots of things to looking forward to.
>  Thank you Thomas.
>
Finally I get it work with the following configuration

DestroyFunc DestroyOrClose
AddToFunc   DestroyOrClose
+ I ThisWindow ("*Skype™\ Chat*") Close
+ I TestRc (NoMatch) ThisWindow (Skype) Destroy
Mouse (Skype) 1 2 A DestroyOrClose


Here is a little info about skype with "xprop|grep -i skype"

Skype mainwindow:
   WM_COMMAND(STRING) = { "/opt/skype/skype" }WM_COMMAND(STRING) =
{ "/opt/skype/skype" }
   WM_NAME(COMPOUND_TEXT) = "Skype™ 2.0 (Beta) for Linux"
   WM_CLASS(STRING) = "skype", "Skype"

Skype chatwindow:
WM_NAME(COMPOUND_TEXT) = "somebody's_name - Skype™ Chat"
WM_CLASS(STRING) = "skype", "Skype"



Re: FVWM: How to quit Skype by click the close button

2008-03-10 Thread for.register for.register
On Mon, Mar 10, 2008 at 6:44 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>
> On 10/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  > On Mon, Mar 10, 2008 at 5:03 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  >  > On 10/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  >  > I find a new problem with  the configure "Mouse (skype) 1 2 A 
> Destroy":
>  >  >  >  When I want to chat with somebody, skype will open another chat 
> window
>  >  >  >  that seems spawned from the main window, When I press the  button 2 
> on
>  >  >  >  the chat window to close it, the main window is destroyed 
> simultaneously.
>  >  >
>  >  >  Of course.  Destroy is just that... destructive.
>  >  >
>  >  >
>  >  >  >  I found that the chat window spawned from the mail window has the
>  >  >  >  same name to the main window, they are both:
>  >  >  >  WM_CLASS(STRING) = "skype", "Skype".
>  >  >
>  >  >  The main skype window and the associated dial window set a role/leader
>  >  >  relationship to one another.  Destroying the main window will
>  >  >  obviously destroy these windows as well.
>  >  >
>  >  >  I suggest you rethink what it is you want to do.
>  >  >
>  >  >  -- Thomas Adam
>  >  >
>  >
>  > I  want to just close the dialog window when press the button 2 on the 
> dialog
>  >  window, and destroy skype when press the button 2 on the skype main
>  >  window.
>  >
>  >  Is it possible the realize that with not a too complex configuration?
>
>  Something like this?
>
>  DestroyFunc DestroyOrClose
>  AddToFunc   DestroyOrClose
>  + I ThisWindow ("*Skype Chat"|"*Call with*") Close
>  + I TestRc (NoMatch) ThisWindow (Skype) Destroy
>
>  Mouse (Skype) 2 W C DestroyOrClose
>
>  Obviously using whichever mouse binding you prefer.
>
>  -- Thomas Adam
>
My god, It seems on fvwm, I have a long way to go!  Of course,
I have lots of things to looking forward to.
Thank you Thomas.



Re: FVWM: How to quit Skype by click the close button

2008-03-09 Thread for.register for.register
On Mon, Mar 10, 2008 at 6:29 AM, for.register for.register
<[EMAIL PROTECTED]> wrote:
>
> On Mon, Mar 10, 2008 at 5:03 AM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  > On 10/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  > I find a new problem with  the configure "Mouse (skype) 1 2 A Destroy":
>  >  >  When I want to chat with somebody, skype will open another chat window
>  >  >  that seems spawned from the main window, When I press the  button 2 on
>  >  >  the chat window to close it, the main window is destroyed 
> simultaneously.
>  >
>  >  Of course.  Destroy is just that... destructive.
>  >
>  >
>  >  >  I found that the chat window spawned from the mail window has the
>  >  >  same name to the main window, they are both:
>  >  >  WM_CLASS(STRING) = "skype", "Skype".
>  >
>  >  The main skype window and the associated dial window set a role/leader
>  >  relationship to one another.  Destroying the main window will
>  >  obviously destroy these windows as well.
>  >
>  >  I suggest you rethink what it is you want to do.
>  >
>  >  -- Thomas Adam
>  >
>  I  want to just close the dialog window when press the button 2 on the dialog
>  window, and destroy skype when press the button 2 on the skype main
>  window.
>
>  Is it possible the realize that with not a too complex configuration?
>

Oop, forget to reply all.



Re: FVWM: How to quit Skype by click the close button

2008-03-09 Thread for.register for.register
On Thu, Mar 6, 2008 at 1:21 PM, for.register for.register
<[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 12:42 PM, Hans Voss <[EMAIL PROTECTED]> wrote:
>  > On Thu, Mar 6, 2008 at 1:32 PM, for.register for.register
>  >  <[EMAIL PROTECTED]> wrote:
>  >  > Hi, all
>  >  >
>  >  >  "Mouse   1 2 A Close",  Skype deal with "Close" with "dock",
>  >  >  but I don't have dock bar. Only thumbnail. I want to set the
>  >  >  Close to thumbnail or just quit.
>  >  You try to specify the actions Delete (close) or Destrory (kill kill kill)
>  >
>  >  possibly like this:
>  >
>  >  Mouse (skype) 1 2 A Destroy
>
>  What a wonderful FVWM , "Mouse (skype)" it can configure like this
>
>
>
>
>  >  where 'skype' is the resource name of skype (do an FvwmIdent on the
>  >  Skype window to find out what it should be (I don't have skype, so I
>  >  can't help you there).
>  >
>  > >
>  >  >  How to configure that?
>  >  >  Thanks in advance.
>  >  >
>  >  >
>  >
>  >
>  >
>  >  --
>  >  
>  >  Met vriendelijke groeten / With kind regards
>  >  Hans Voss
>  >  ---
>  >  * Senior Consultant Open Source, Networking and Security
>  >  * General Open Sourcerer
>  >  * google talk enabled
>  >  * blog: http://jazzterdaily.blogspot.com - Tech and other news that
>  >  caught my attention.
>  >  * Shared News feed:
>  >  
> https://www.google.com/reader/public/atom/user/02723796534474865919/state/com.google/broadcast
>  >
>

I find a new problem with  the configure "Mouse (skype) 1 2 A Destroy":
When I want to chat with somebody, skype will open another chat window
that seems spawned from the main window, When I press the  button 2 on
the chat window to close it, the main window is destroyed simultaneously.

I found that the chat window spawned from the mail window has the
same name to the main window, they are both:
WM_CLASS(STRING) = "skype", "Skype".



Re: FVWM: Add button 8 on title bar, press to "always on top" or cancel

2008-03-06 Thread for.register for.register
On Thu, Mar 6, 2008 at 3:54 PM, Thomas Adam <[EMAIL PROTECTED]> wrote:
> On 06/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  > On Thu, Mar 6, 2008 at 3:18 PM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  >  >
>  >  > On 06/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  >  > Hi,
>  >  >  >  I am a newbie, so always have questions. Thanks for your help. :-)
>  >  >  >
>  >  >  >  I want to add  button 8 on title bar, and  want press it to make the
>  >  >  >  window always on top and press again to cancel always on top. How
>  >  >  >  can I do that. I have read fvwm manual, and can not find any 
> solution.
>  >  >  >
>  >  >  >  Thanks.
>  >  >
>  >  >  DestroyFunc SomeLayerFunc
>  >  >  AddToFuncSomeLayerFunc
>  >  >  + I ThisWindow (Layer 6) Layer
>  >  >  + I TestRc (NoMatch) Layer 0 6
>  >  >
>  >  >  Mouse 0 8 ... SomeLayerFunc
>  >  >
>  >  >  -- Thomas Adam
>  >  >
>  >
>  >
>  > Thank you Thomas, that works perfect. I will spend some to
>  >  study above configuration.
>
>  It will work, assuming your applications are put in the default layer
>  (Layer 4) but if any of them start up in a different layer (via a
>  Style line for instance) then the above function will toggle between
>  that layer, and layer 6.  This may or may not be sufficient for your
>  needs - and probably in those cases where you might have explicitly
>  asked for a known window to be in specific layer, toggling back to
>  that is going to be what you wanted.
>
>  If you want it explaining though:
>
>
>  + I ThisWindow (Layer 6) Layer
>
>  This line looks at the referenced window and if the window is at layer
>  6 (i.e., staysontop) then the window is put into its default layerr
>  (presumably 4 -- see comment above).
>
>
>  + I TestRc (NoMatch) Layer 0 6
>
>  Otherwise, we can assume the window wants to be on top.  The TestRc
>  command simply looks at the outcome of the last command ran in the
>  function.  So if the test on ThisWindow (Layer 6)... failed, the
>  "Layer 06" command is run, making the window on top.
>
>  I often get asked why I don't use Current in place of ThisWindow.  The
>  answer is simple:  I use this function from FvwmEvent, where it's not
>  guaranteed the window in question will have focus.
>
>  It's a really popular question at the moment; I've probably answered
>  it about six times this month.
>
>  -- Thomas Adam
>
Thank you, thank you Thomas, excellent explaination, now I do
understand the configuration.

I will google more next time, before post my questions.   :-)

--Walter



Re: FVWM: Add button 8 on title bar, press to "always on top" or cancel

2008-03-06 Thread for.register for.register
On Thu, Mar 6, 2008 at 3:18 PM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>
> On 06/03/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  > Hi,
>  >  I am a newbie, so always have questions. Thanks for your help. :-)
>  >
>  >  I want to add  button 8 on title bar, and  want press it to make the
>  >  window always on top and press again to cancel always on top. How
>  >  can I do that. I have read fvwm manual, and can not find any solution.
>  >
>  >  Thanks.
>
>  DestroyFunc SomeLayerFunc
>  AddToFuncSomeLayerFunc
>  + I ThisWindow (Layer 6) Layer
>  + I TestRc (NoMatch) Layer 0 6
>
>  Mouse 0 8 ... SomeLayerFunc
>
>  -- Thomas Adam
>

Thank you Thomas, that works perfect. I will spend some to
study above configuration.



FVWM: Add button 8 on title bar, press to "always on top" or cancel

2008-03-06 Thread for.register for.register
Hi,
I am a newbie, so always have questions. Thanks for your help. :-)

I want to add  button 8 on title bar, and  want press it to make the
window always on top and press again to cancel always on top. How
can I do that. I have read fvwm manual, and can not find any solution.

Thanks.



Re: FVWM: How to quit Skype by click the close button

2008-03-06 Thread for.register for.register
On Thu, Mar 6, 2008 at 12:42 PM, Hans Voss <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 1:32 PM, for.register for.register
>  <[EMAIL PROTECTED]> wrote:
>  > Hi, all
>  >
>  >  "Mouse   1 2 A Close",  Skype deal with "Close" with "dock",
>  >  but I don't have dock bar. Only thumbnail. I want to set the
>  >  Close to thumbnail or just quit.
>  You try to specify the actions Delete (close) or Destrory (kill kill kill)
>
>  possibly like this:
>
>  Mouse (skype) 1 2 A Destroy

What a wonderful FVWM , "Mouse (skype)" it can configure like this


>  where 'skype' is the resource name of skype (do an FvwmIdent on the
>  Skype window to find out what it should be (I don't have skype, so I
>  can't help you there).
>
> >
>  >  How to configure that?
>  >  Thanks in advance.
>  >
>  >
>
>
>
>  --
>  
>  Met vriendelijke groeten / With kind regards
>  Hans Voss
>  ---
>  * Senior Consultant Open Source, Networking and Security
>  * General Open Sourcerer
>  * google talk enabled
>  * blog: http://jazzterdaily.blogspot.com - Tech and other news that
>  caught my attention.
>  * Shared News feed:
>  
> https://www.google.com/reader/public/atom/user/02723796534474865919/state/com.google/broadcast
>



FVWM: How to quit Skype by click the close button

2008-03-06 Thread for.register for.register
Hi, all

"Mouse   1 2 A Close",  Skype deal with "Close" with "dock",
but I don't have dock bar. Only thumbnail. I want to set the
Close to thumbnail or just quit.

How to configure that?
Thanks in advance.



Re: FVWM: My new mouse cursor works well except on rootwindow

2008-02-26 Thread for.register for.register
On Wed, Feb 27, 2008 at 10:48 AM, Dan Espen <[EMAIL PROTECTED]> wrote:
>
> "for.register for.register" <[EMAIL PROTECTED]> writes:
>  > Hi,
>  >
>  > I have download a X11 mouse cursor theme and put it into ~/.icons.
>  > It used to work well in Fluxbox, but in Fvwm, there is a little
>  > problem, the cursor works within opened app window, but changes
>  > back to the native X11 default cursor in rootwindow. I don't
>  > know if that is a defect of the new mouse cursor them or I should
>  > do something on the Fvwm configuration.
>
>  run this command:
>
>  xx>  fvwm-config  --info | grep xcursor
>   xcursor (ARGB/animated cursors): no
>^^
>
>  If it says "no", you know why.
>  Recompile Fvwm with the necessary development libraries.
>
>
>  --
>  Dan Espen   E-mail: [EMAIL PROTECTED]
>
Thank you, Dan.
I got nothing from  "fvwm-config --info|grep cursor". I use Gentoo,

Here is my Fvwm info:
 Installed versions:  2.5.21(10:45:07 PM 02/14/2008)
(imlib nls perl png readline stroke truetype xinerama -bidi -debug
-gtk -rplay -tk)

Should I use "gtk" ?



FVWM: My new mouse cursor works well except on rootwindow

2008-02-26 Thread for.register for.register
Hi,

I have download a X11 mouse cursor theme and put it into ~/.icons.
It used to work well in Fluxbox, but in Fvwm, there is a little
problem, the cursor works within opened app window, but changes
back to the native X11 default cursor in rootwindow. I don't
know if that is a defect of the new mouse cursor them or I should
do something on the Fvwm configuration.

Thanks.



Re: FVWM: FvwmButton Color override Swallowed Conky

2008-02-25 Thread for.register for.register
On Mon, Feb 25, 2008 at 10:59 PM, Jesús Guerrero <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Feb 2008 10:16:07 +
>
> "Thomas Adam" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 25/02/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  > > Hi, All
>  > >
>  > >  I want to swallow conky into FvwmButton, but I found that
>  > >  FvwmButton Color override Swallowed Conky. I mean, after
>  > >  several seconds, conky figure disappeared, only leaved with
>  > >  the blank buttons with the FvwmButton background color.
>  >
>  > I suspect that conky doesn't like being reparented -- not all
>  > applications do.   I have seen reports of people being able to swallow
>  > conky just fine in FvwmButtons.  Which version of conky are you using?
>  >
>  > -- Thomas Adam
>  >
>  For me it worked always fine, as long as you configure your .conkyrc
>  to use its own window, and aligned to top-left (it won't matter the
>  position, since you will be swallowing it into FvwmButtons anyway).
>
>  With any other alignment, I used to get this same problem: conky
>  always disappeared on the first refresh. I don't know if it still
>  happens with the latest revisions.
>  --
>  Jesús Guerrero <[EMAIL PROTECTED]>
>
>
Thank you  all,  alignment top_left works perfect!!!



Re: FVWM: FvwmButton Color override Swallowed Conky

2008-02-25 Thread for.register for.register
On Mon, Feb 25, 2008 at 7:45 PM, for.register for.register
<[EMAIL PROTECTED]> wrote:
> On Mon, Feb 25, 2008 at 7:00 PM, for.register for.register
>
> <[EMAIL PROTECTED]> wrote:
>  >
>  > On Mon, Feb 25, 2008 at 6:16 PM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  >  > On 25/02/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  >  > Hi, All
>  >  >  >
>  >  >  >  I want to swallow conky into FvwmButton, but I found that
>  >  >  >  FvwmButton Color override Swallowed Conky. I mean, after
>  >  >  >  several seconds, conky figure disappeared, only leaved with
>  >  >  >  the blank buttons with the FvwmButton background color.
>  >  >
>  >  >  I suspect that conky doesn't like being reparented -- not all
>  >  >  applications do.   I have seen reports of people being able to swallow
>  >  >  conky just fine in FvwmButtons.  Which version of conky are you using?
>  >  >
>  >  >  -- Thomas Adam
>  >  >
>  >  Thank you Thomas.
>  >
>  >  My conky  version is 1.4.9-r1.
>  >  When I enlarge FvwmButtons window large enough,  for example
>  >  four times than conky normally required , I can see the conky, but
>  >  the conky position in the larger window is not predictable, sometimes
>  >  in the bottom, sometimes higher.
>  >
>  >  My conky  is a little complex, not a simple line as I found from
>  >  the fvwm forum.
>  >
>  >  Here is the the major part of  my .conkyrc
>  >  .
>  >  TEXT
>  >  ${color purple}${time %G %b %e (%a)}$alignr${time %H:%M:%S}
>  >  ${color orange}$sysname $kernel$alignr Uptime $uptime
>  > .
>
>  Now, I can confirm that even the very simple conky configuration has
>  the same problem.
>
>  The problem probably only relates to the height of button.  From my 
> experience
>  Width of button doesnt effect the conky display. But the Height of button
>  is large enough can conky normal displays.
>

I got a temporary solution,  that is precisely adjust the value of
gap_x and gap_y
to match the fvwmbotton position.



Re: FVWM: FvwmButton Color override Swallowed Conky

2008-02-25 Thread for.register for.register
On Mon, Feb 25, 2008 at 7:00 PM, for.register for.register
<[EMAIL PROTECTED]> wrote:
>
> On Mon, Feb 25, 2008 at 6:16 PM, Thomas Adam <[EMAIL PROTECTED]> wrote:
>  > On 25/02/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  >  > Hi, All
>  >  >
>  >  >  I want to swallow conky into FvwmButton, but I found that
>  >  >  FvwmButton Color override Swallowed Conky. I mean, after
>  >  >  several seconds, conky figure disappeared, only leaved with
>  >  >  the blank buttons with the FvwmButton background color.
>  >
>  >  I suspect that conky doesn't like being reparented -- not all
>  >  applications do.   I have seen reports of people being able to swallow
>  >  conky just fine in FvwmButtons.  Which version of conky are you using?
>  >
>  >  -- Thomas Adam
>  >
>  Thank you Thomas.
>
>  My conky  version is 1.4.9-r1.
>  When I enlarge FvwmButtons window large enough,  for example
>  four times than conky normally required , I can see the conky, but
>  the conky position in the larger window is not predictable, sometimes
>  in the bottom, sometimes higher.
>
>  My conky  is a little complex, not a simple line as I found from
>  the fvwm forum.
>
>  Here is the the major part of  my .conkyrc
>  .
>  TEXT
>  ${color purple}${time %G %b %e (%a)}$alignr${time %H:%M:%S}
>  ${color orange}$sysname $kernel$alignr Uptime $uptime
> .

Now, I can confirm that even the very simple conky configuration has
the same problem.

The problem probably only relates to the height of button.  From my experience
Width of button doesnt effect the conky display. But the Height of button
is large enough can conky normal displays.



Re: FVWM: FvwmButton Color override Swallowed Conky

2008-02-25 Thread for.register for.register
On Mon, Feb 25, 2008 at 6:16 PM, Thomas Adam <[EMAIL PROTECTED]> wrote:
> On 25/02/2008, for.register for.register <[EMAIL PROTECTED]> wrote:
>  > Hi, All
>  >
>  >  I want to swallow conky into FvwmButton, but I found that
>  >  FvwmButton Color override Swallowed Conky. I mean, after
>  >  several seconds, conky figure disappeared, only leaved with
>  >  the blank buttons with the FvwmButton background color.
>
>  I suspect that conky doesn't like being reparented -- not all
>  applications do.   I have seen reports of people being able to swallow
>  conky just fine in FvwmButtons.  Which version of conky are you using?
>
>  -- Thomas Adam
>
Thank you Thomas.

My conky  version is 1.4.9-r1.
When I enlarge FvwmButtons window large enough,  for example
four times than conky normally required , I can see the conky, but
the conky position in the larger window is not predictable, sometimes
in the bottom, sometimes higher.

My conky  is a little complex, not a simple line as I found from
the fvwm forum.

Here is the the major part of  my .conkyrc
.
TEXT
${color purple}${time %G %b %e (%a)}$alignr${time %H:%M:%S}
${color orange}$sysname $kernel$alignr Uptime $uptime
cpu1${cpu cpu1}% freq.${freq 1}Mz $alignr cpu2 ${cpu cpur2}% freq.${freq 2}Mz
${cpubar cpu1 3, 128}  ${cpubar cpu2 3, 128}
${color red}cpu1 ${exec echo $(cat
/sys/class/hwmon/hwmon0/device/temp1_input) / 1000 | bc}°C $alignr
cpu2   ${exec echo $(cat /sys/class/hwmon/hwmon0/device/temp4_input) /
1000 | bc}°C
disk ${exec echo $(cat
/sys/class/hwmon/hwmon0/device/temp2_input)/ 1000 | bc}°C  $alignr
batt   ${exec echo $(cat /sys/class/hwmon/hwmon0/device/temp5_input) /
1000 % 128 |bc}°C
fan   ${exec echo $(cat /proc/acpi/ibm/fan |grep -Po [0-9+])}
rpm$alignr board   ${exec echo $(cat
/sys/class/hwmon/hwmon0/device/temp3_input)/ 1000 | bc}°C

${color brown}batt   ${battery_percent BAT0}%$alignr${battery BAT0}
${battery_bar 3,270 BAT0}
${color blue}mem  $mem /$memmax $memperc%$alignr swap   $swapperc%
${membar 3,180}$alignr${swapbar 3,75}
${color black}eth0 ${addr eth0}  $alignr wlan0 ${addr wlan0}
up: ${upspeedf eth0}k/s$alignr up: ${upspeedf wlan0}k/s
down: ${downspeedf eth0}k/s$alignr down: ${downspeedf wlan0}k/s
wireless:${wireless_essid wlan0}$alignr rate:${wireless_bitrate
wlan0}$alignr quality:${wireless_link_qual_perc wlan0}
${wireless_link_bar 3, 270 wlan0}
${color #00}${upspeedgraph eth0 15,132 00 7f8ed3} ${color
#00}$alignr${upspeedgraph wlan0 15,132 00 7f8ed3}
${color #00}${downspeedgraph eth0 20,132 00 f80404} ${color
#00}$alignr${downspeedgraph wlan0 20,132 00 f80404}
${color green}$processes total processes$alignr$running_processes runnning
name$alignr pid$alignr cpu%
${color purple}${top name 1}$alignr${top pid 1}$alignr${top cpu 1}
${top name 2}$alignr${top pid 2}$alignr${top cpu 2}
${top name 3}$alignr${top pid 3}$alignr${top cpu 3}
${color green}name$alignr pid$alignr mem%
${color purple}${top_mem name 1}$alignr${top_mem pid 1}$alignr${top_mem mem 1}
${top_mem name 2}$alignr${top_mem pid 2}$alignr${top_mem mem 2}
${top_mem name 3}$alignr${top_mem pid 3}$alignr${top_mem mem 3}
${color yellow}/: ${fs_used /}/${fs_size /}  ${fs_bar 3 /}
/home: ${fs_used /home}/${fs_size /home} ${fs_bar 3 /home}



FVWM: FvwmButton Color override Swallowed Conky

2008-02-25 Thread for.register for.register
Hi, All

I want to swallow conky into FvwmButton, but I found that
FvwmButton Color override Swallowed Conky. I mean, after
several seconds, conky figure disappeared, only leaved with
the blank buttons with the FvwmButton background color.

DestroyModuleConfig LaunchTime: *
Style *LaunchTime !Title, !Borders, Sticky
*LaunchTime:Colorset 8
*LaunchTime:Rows 11
*LaunchTime:Columns 1
*LaunchTime:(1x1, Swallow "xclock" `Exec xclock \
-bg '#31658c' -fg white -digital  -strftime \
'%a, %d %b %Y %H:%M'`)
*LaunchTime:(1x10, Swallow "Conky" `Exec conky -d`)
Module FvwmButtons -g 300x550 LaunchTime


Thanks.



Re: FVWM: How to make thumbnail WindowListSkip?

2008-02-23 Thread for.register for.register
On Sat, Feb 23, 2008 at 5:33 PM, Leo <[EMAIL PROTECTED]> wrote:
> On 2008-02-19 11:29 +, for.register for.register wrote:
>  > I got it, now I can toggle among windows skip the iconified thumbnail.
>  > Just use !Iconic
>  >
>  > Key Tab A M Next (CurrentPage, !Iconic, !FvwmPager) NextWindow
>  >
>  > Thank you all,
>  > Walter
>
>  Have you not seen Dominik Vogt's warning about no top posting?
>
>  --
>  .:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.
>
>   Use the best OS -- http://www.fedoraproject.org/
>
You are exactly right, I just notice that.
>