Re: [Zim-wiki] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-21 Thread mario@tiscali

Hello, and thanks for your kind willing to help.

I do have wmctrl on my system and I am able to set the sticky attribute 
for the zim window using the following command:


wmctrl -r My main wiki - Zim -b add,sticky

This is Red Hat Enterprise Linux 6.6 with GNOME2.

There is a limitation though: When using the Tray Icon plugin you can 
close the zim window without shutting down zim. I find this very handy. 
In this case when you close the zim window its sticky attribute gets 
lost and you have to set it again next time the zim window is opened 
from the Tray.


Maybe trayicon.py is where a GTK call to set the sticky attribute is 
needed, but I do not have the python skill to do it.


mario

On 07/21/2015 11:29 AM, SultansOfSwing wrote:

Hello,

perhaps the tool wmctrl is available on your system? It has the
ability to set/unset/toggle the STICK attribute of a window. (But
unfortunately, in my environment (cinnamon) this does not work, as
Cinnamon has its own notion of stickiness, and ignores that attribute).

What window manager are we talking about?

Cheers,
Sultansofswing.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-21 Thread SultansOfSwing
Hello,

perhaps the tool wmctrl is available on your system? It has the
ability to set/unset/toggle the STICK attribute of a window. (But
unfortunately, in my environment (cinnamon) this does not work, as
Cinnamon has its own notion of stickiness, and ignores that attribute).

What window manager are we talking about?

Cheers,
Sultansofswing.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-20 Thread SultansOfSwing
Hello,

Personally I would refrain from implementing such platform-specific
thing (you know, all platforms except Linux don't have a ) into Zim. I'd
suggest to use a Linux tool to speak to your window manager, for
instance 'devilspie' should fulfill all your window-managing needs.

Regards,
SultansOfSwing.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-20 Thread mario@tiscali

Thank you for the advice.

I tried compiling devilspie - it has dependencies for packages not 
available on my system. This is a company owned workstation and I am not 
authorized to add packages.
I imagine this is common for professional users. That's why I am looking 
for a solution inside zim.


I see your point about platform specific extensions. But such an option 
could be conditionally available only when running on Linux, or might be 
implemented via a plug-in, don't know.


As I understand the mod is close to one liner code change, I would be 
happy to apply it locally if I only knew where to change the source.


Thanks anyway,
mario

On 07/20/2015 11:06 AM, SultansOfSwing wrote:

Hello,

Personally I would refrain from implementing such platform-specific
thing (you know, all platforms except Linux don't have a ) into Zim. I'd
suggest to use a Linux tool to speak to your window manager, for
instance 'devilspie' should fulfill all your window-managing needs.

Regards,
SultansOfSwing.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp