Re: Dash Favorite Icons and Running Applications



Il giorno gio, 10/02/2011 alle 10.55 -0500, Colin Walters ha scritto:
> On Thu, Feb 10, 2011 at 10:44 AM, Alessandro Crismani
> <alessandro crismani gmail com> wrote:
> >
> > I have noticed that the Libre Office windows have a WM_CLASS of
> > libreoffice-app (e.g. libreoffice-writer), as reported by Looking Glass.
> > Conversely, their desktop files, as distributed by Arch, are named
> > app.desktop (e.g. writer.desktop). In order to have a match I have to
> > symlink the desktop file to libreoffice-app.desktop (again
> > libreoffice-writer.desktop for my example).
> 
> Okay, it looks like this naming lives in the Fedora .spec file =/
> 
> A bug needs to be filed upstream to get these two things to match in
> their default installation rules.
> 
> > Despite this workaround, the
> > match fails when double clicking on a .doc file. Am I talking nonsense?
> > I am not familiar with windows matching :)
> 
> When you double click on the doc file, is the xprop output the same?

It seems so, diff doesn't show anything useful. I'm enclosing both,
from_doc.txt is the xprop output when double clicking the doc and the
pointing xprop to the Writer window, while from_overview.txt is taken
launching the Writer from the overview and then opening the doc.

> 
> > Of course, you'll find it attached. Looking glass reports a WM_CLASS of
> > com-mathworks-util-PosVMInit, I've added it as StartUpWMClass in the
> > matlab.desktop file with no luck.
> >
> > Please note that when MATLAB starts, it launches a splash screen, which
> > *is* indeed matched. Than the main window appears and the match is lost.
> 
> Do you have commit a138f59 from gnome-shell by the way?  Just landed yesterday.

I'm on commit d90c98130, which is from 16 hours ago :)

XKLAVIER_STATE(INTEGER) = 0, 0
_NET_WM_STATE(ATOM) = 
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 24, 1
_NET_WM_DESKTOP(CARDINAL) = 4
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		bitmap id # to use for icon: 0x360005b
		bitmap id # of mask for icon: 0x360005c
		window id # of group leader: 0x3600001
XdndAware(ATOM) = BITMAP
_NET_WM_ICON(CARDINAL) = 	Icon (24 x 24):
	                        
	    ░░░░░░░░░░░░░       
	   ░             ░      
	   ░              ░     
	   ░  ░░░░░░░░     ░    
	   ░            ░  ░░   
	   ░  ░░░░░░░░   ░░░░   
	   ░                ░   
	   ░  ░░░░░░░░░░░░  ░   
	   ░                ░   
	   ░  ░░░░░░░░░░░░  ░   
	   ░  ░▒▒▒▒▒▒▒▒▒▒░  ░   
	   ░  ░▒▒▒▒▒▒▒▒▒▒░  ░   
	   ░  ░▒▒▒▒▒▒▒▒▒▒░  ░   
	   ░  ░░░░░▒▒░░▒░░  ░   
	   ░  ░░░░░░▒░▒░░░  ░   
	   ░  ░░░  ░▒▒░░░░  ░   
	   ░  ░░    ░▒░░░░  ░   
	   ░  ░▒░  ░▒▓▒▒▒░  ░   
	   ░  ░░░░░░░░░░░░  ░   
	   ░                ░   
	  ░░                ░░  
	  ░░░░░░░░░░░░░░░░░░░░  
	                        

	Icon (16 x 16):
	  ░░░░░░░░░     
	 ░         ░    
	 ░       ░  ░   
	 ░  ░░░░ ░   ░  
	 ░       ░░░░░  
	 ░  ░░░░  ░  ░  
	 ░           ░  
	 ░  ░░░░░░░  ░  
	 ░           ░  
	 ░  ░░ ░░░░  ░  
	 ░     ░░░░  ░  
	 ░  ░░ ░░░░  ░  
	 ░     ░░░░  ░  
	 ░           ░  
	 ░           ░  
	 ░░░░░░░░░░░░░  


_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 56623176
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x3600047
WM_CLIENT_LEADER(WINDOW): window id # 0x3600001
_NET_WM_PID(CARDINAL) = 12838
WM_LOCALE_NAME(STRING) = "it_IT.utf8"
WM_CLIENT_MACHINE(STRING) = "alessandro-lappy"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
		program specified minimum size: 0 by 0
		window gravity: Static
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "VCLSalFrame", "libreoffice-writer"
WM_ICON_NAME(STRING) = "CV_English.doc - LibreOffice Writer"
_NET_WM_ICON_NAME(UTF8_STRING) = "CV_English.doc - LibreOffice Writer"
WM_NAME(STRING) = "CV_English.doc - LibreOffice Writer"
_NET_WM_NAME(UTF8_STRING) = "CV_English.doc - LibreOffice Writer"
XKLAVIER_STATE(INTEGER) = 0, 0
_NET_WM_STATE(ATOM) = 
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 24, 1
_NET_WM_DESKTOP(CARDINAL) = 4
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		bitmap id # to use for icon: 0x3c00059
		bitmap id # of mask for icon: 0x3c0005a
		window id # of group leader: 0x3c00001
XdndAware(ATOM) = BITMAP
_NET_WM_ICON(CARDINAL) = 	Icon (24 x 24):
	                        
	    ░░░░░░░░░░░░░       
	   ░             ░      
	   ░              ░     
	   ░  ░░░░░░░░     ░    
	   ░            ░  ░░   
	   ░  ░░░░░░░░   ░░░░   
	   ░                ░   
	   ░  ░░░░░░░░░░░░  ░   
	   ░                ░   
	   ░  ░░░░░░░░░░░░  ░   
	   ░  ░▒▒▒▒▒▒▒▒▒▒░  ░   
	   ░  ░▒▒▒▒▒▒▒▒▒▒░  ░   
	   ░  ░▒▒▒▒▒▒▒▒▒▒░  ░   
	   ░  ░░░░░▒▒░░▒░░  ░   
	   ░  ░░░░░░▒░▒░░░  ░   
	   ░  ░░░  ░▒▒░░░░  ░   
	   ░  ░░    ░▒░░░░  ░   
	   ░  ░▒░  ░▒▓▒▒▒░  ░   
	   ░  ░░░░░░░░░░░░  ░   
	   ░                ░   
	  ░░                ░░  
	  ░░░░░░░░░░░░░░░░░░░░  
	                        

	Icon (16 x 16):
	  ░░░░░░░░░     
	 ░         ░    
	 ░       ░  ░   
	 ░  ░░░░ ░   ░  
	 ░       ░░░░░  
	 ░  ░░░░  ░  ░  
	 ░           ░  
	 ░  ░░░░░░░  ░  
	 ░           ░  
	 ░  ░░ ░░░░  ░  
	 ░     ░░░░  ░  
	 ░  ░░ ░░░░  ░  
	 ░     ░░░░  ░  
	 ░           ░  
	 ░           ░  
	 ░░░░░░░░░░░░░  


_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 62914632
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x3c00047
WM_CLIENT_LEADER(WINDOW): window id # 0x3c00001
_NET_WM_PID(CARDINAL) = 13024
WM_LOCALE_NAME(STRING) = "it_IT.utf8"
WM_CLIENT_MACHINE(STRING) = "alessandro-lappy"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
		program specified minimum size: 0 by 0
		window gravity: Static
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "VCLSalFrame", "libreoffice-writer"
WM_ICON_NAME(STRING) = "CV_English.doc - LibreOffice Writer"
_NET_WM_ICON_NAME(UTF8_STRING) = "CV_English.doc - LibreOffice Writer"
WM_NAME(STRING) = "CV_English.doc - LibreOffice Writer"
_NET_WM_NAME(UTF8_STRING) = "CV_English.doc - LibreOffice Writer"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]