Re: [e-users] Help about .desktop file

2018-08-18 Thread Carsten Haitzler
On Sat, 18 Aug 2018 07:29:01 +0200 Pierre Couderc  said:

> 
> On 08/18/2018 03:49 AM, Carsten Haitzler (The Rasterman) wrote:
> >
> > the blue dot means e knows something executed and is still running that
> > launched from that ibar icon. so until the process dies, that blue dot
> > stays :) try remove the quotes on StartupWMClass ?
> >
> You got it ! Wow ! Thank you very much !

:)


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Help about .desktop file

2018-08-17 Thread Pierre Couderc




On 08/16/2018 08:17 AM, Daniel Kasak wrote:

I'm not 100% sure how this works, but you should check that your .desktop
file has an entry for 'StartupWMClass'. Run your app, then run ( from a
terminal ) 'xprop'. Click the app. Your xprop app should report some stuff,
including WM_CLASS. Copy one of the quoted strings into your .desktop file.
I *think* that should make it work. But again, I'm not sure.

Dan


Thank you very much. The whole solution is here, even if I am long to 
understand it!



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Help about .desktop file

2018-08-17 Thread Pierre Couderc



On 08/18/2018 03:49 AM, Carsten Haitzler (The Rasterman) wrote:


the blue dot means e knows something executed and is still running that
launched from that ibar icon. so until the process dies, that blue dot stays :)
try remove the quotes on StartupWMClass ?


You got it ! Wow ! Thank you very much !

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Help about .desktop file

2018-08-17 Thread The Rasterman
On Sun, 29 Jul 2018 18:38:30 +0200 Pierre Couderc  said:

> When I hoover over terminology icon in an ibar, I see the list of active 
> terminology windows.
> 
> I have made my own desktop file for my  app, it works but  the list of 
> active windows is not shown :

if you are using efl, the startup id tracking will automatically work and e
will know exactly which launch instance maps to that window. if not then i
don't know what you may have to do to make this work. it may require you
manually support the EWHM startup id protocol/property and env var.

alternatively try StartupWMClass in tynher desktop file

StartupWMClass=terminology

is there. see the WM_CLASS property:

WM_CLASS(STRING) = "main", "terminology"

it matches the 2nd (the class, the first is "name" of the window - not title).
class here would be some identifier for your app normally.

i think from memory e tries to match executable too is if you have WM_COMMAND
property set... then e will try and match this with the Exec field from the
desktop as well.

> nous@pcouderc:~$ cat /usr/local/share/applications/player-XP.desktop
> [Desktop Entry]
> Encoding=UTF-8
> Name=qemu XP
> Comment=Run XP
> Exec=perl /home/nous/qemu/xp/x.pl
> Terminal=false
> Type=Application
> Icon=/usr/local/share/icons/player-XP.png
> Categories=System;
> 
> Jow to ge tlthe list of open windows ?
> 
> (I do not suppose it is a e problem...)
> 
> Thanks
> 
> PC
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Help about .desktop file

2018-08-17 Thread The Rasterman
On Thu, 16 Aug 2018 10:38:40 +0200 Pierre Couderc  said:

> On 08/16/2018 08:17 AM, Daniel Kasak wrote:
> > I'm not 100% sure how this works, but you should check that your .desktop
> > file has an entry for 'StartupWMClass'. Run your app, then run ( from a
> > terminal ) 'xprop'. Click the app. Your xprop app should report some stuff,
> > including WM_CLASS. Copy one of the quoted strings into your .desktop file.
> > I *think* that should make it work. But again, I'm not sure.
> >
> > Dan
> Thnk you very much. But it is not enough...
> I have found with xprop that my :
> WM_CLASS(STRING) = "qemu-system-x86_64", "qemu-system-x86_64"
> 
> and I did add StartupWMClassin my desktop file :
> 
> [Desktop Entry]
> Encoding=UTF-8
> Name=VMware XP
> Comment=Run XP
> Exec=perl /home/nous/qemu/xp/x.pl
> Terminal=false
> Type=Application
> Icon=/usr/local/share/icons/vmware-player-XP.png
> StartupWMClass="qemu-system-x86_64"
> Categories=System;
> 
> But still, when I hoover over the icon in the ibar, the list of open 
> windows does not appear. But the "blue dot" appears

the blue dot means e knows something executed and is still running that
launched from that ibar icon. so until the process dies, that blue dot stays :)
try remove the quotes on StartupWMClass ?

-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Help about .desktop file

2018-08-16 Thread Pierre Couderc

On 08/16/2018 08:17 AM, Daniel Kasak wrote:

I'm not 100% sure how this works, but you should check that your .desktop
file has an entry for 'StartupWMClass'. Run your app, then run ( from a
terminal ) 'xprop'. Click the app. Your xprop app should report some stuff,
including WM_CLASS. Copy one of the quoted strings into your .desktop file.
I *think* that should make it work. But again, I'm not sure.

Dan

Thnk you very much. But it is not enough...
I have found with xprop that my :
WM_CLASS(STRING) = "qemu-system-x86_64", "qemu-system-x86_64"

and I did add StartupWMClassin my desktop file :

[Desktop Entry]
Encoding=UTF-8
Name=VMware XP
Comment=Run XP
Exec=perl /home/nous/qemu/xp/x.pl
Terminal=false
Type=Application
Icon=/usr/local/share/icons/vmware-player-XP.png
StartupWMClass="qemu-system-x86_64"
Categories=System;

But still, when I hoover over the icon in the ibar, the list of open 
windows does not appear. But the "blue dot" appears



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Help about .desktop file

2018-08-16 Thread Daniel Kasak
I'm not 100% sure how this works, but you should check that your .desktop
file has an entry for 'StartupWMClass'. Run your app, then run ( from a
terminal ) 'xprop'. Click the app. Your xprop app should report some stuff,
including WM_CLASS. Copy one of the quoted strings into your .desktop file.
I *think* that should make it work. But again, I'm not sure.

Dan

On Thu, Aug 16, 2018 at 4:06 PM Pierre Couderc  wrote:

> Please help me on this point. Is my problem well described ?
>
>
> On 07/29/2018 06:38 PM, Pierre Couderc wrote:
> > When I hoover over terminology icon in an ibar, I see the list of
> > active terminology windows.
> >
> > I have made my own desktop file for my  app (bash script), it works
> > but  the list of active windows is not shown :
> >
> >
> > nous@pcouderc:~$ cat /usr/local/share/applications/player-XP.desktop
> > [Desktop Entry]
> > Encoding=UTF-8
> > Name=qemu XP
> > Comment=Run XP
> > Exec=perl /home/nous/qemu/xp/x.pl
> > Terminal=false
> > Type=Application
> > Icon=/usr/local/share/icons/player-XP.png
> > Categories=System;
> >
> > How to ge tlthe list of open windows ?
> >
> > (I do not suppose it is a e problem...)
> >
> > Thanks
> >
> > PC
> >
> >
> >
> --
>
> >
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > enlightenment-users mailing list
> > enlightenment-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Help about .desktop file

2018-08-16 Thread Pierre Couderc

Please help me on this point. Is my problem well described ?


On 07/29/2018 06:38 PM, Pierre Couderc wrote:
When I hoover over terminology icon in an ibar, I see the list of 
active terminology windows.


I have made my own desktop file for my  app (bash script), it works 
but  the list of active windows is not shown :



nous@pcouderc:~$ cat /usr/local/share/applications/player-XP.desktop
[Desktop Entry]
Encoding=UTF-8
Name=qemu XP
Comment=Run XP
Exec=perl /home/nous/qemu/xp/x.pl
Terminal=false
Type=Application
Icon=/usr/local/share/icons/player-XP.png
Categories=System;

How to ge tlthe list of open windows ?

(I do not suppose it is a e problem...)

Thanks

PC


-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users