On Thu, Jan 03, 2013 at 03:41:42AM -0500, Matt Sheffield wrote:
> 
> On 01/03/2013 01:50 AM, Csanyi Pal wrote:
> >On Wed, Jan 02, 2013 at 04:44:18PM -0500, John Rash wrote:
> >>On Wed, Jan 2, 2013 at 4:31 PM, Csanyi Pal <[email protected]> wrote:
> >>>On Wed, Jan 02, 2013 at 04:06:16PM -0500, John Rash wrote:
> >>>>On Wed, Jan 2, 2013 at 3:56 PM, Csanyi Pal <[email protected]> wrote:
> >>>>>On Wed, Jan 02, 2013 at 03:01:57PM -0500, John Rash wrote:
> >>>>>>On Wed, Jan 2, 2013 at 4:53 AM, Csanyi Pal <[email protected]> wrote:
> >>>>>>>my system is: Debian GNU/Linux 7.0 (wheezy).
> >>>>>>>
> >>>>>>>I'm using Window Maker version 0.95.3.
> >>>>>>>
> >>>>>>>I have installed an application that I compiled from source and I have
> >>>>>>>it's appicon docked already.
> >>>>>>>
> >>>>>>>I just can't to setup an icon for this appicon because when I set an
> >>>>>>>icon for it, nothing happens, the appicon remains without any icon on
> >>>>>>>it's surface. Why?
> >>>>>>>
> >>>>>>>How can I solve this problem?
> >>>>>>Did you set the App to ignore the client supplied icon? You can set
> >>>>>>this by right clicking on the App's titlebar and selecting
> >>>>>>Attributes..., the setting is under "Icon and Initial Workspace"
> >>>>>No, I did not.
> >>>>>
> >>>>>>I have noticed on occasion that sometimes the Window Specification is
> >>>>>>different than the main app, so I had to add an entry to
> >>>>>>WMWindowAttributes manually. Take a look at WMState and see if the
> >>>>>>names match for the docked app.
> >>>>>In the WMState I found FreeCAD:
> >>>>>{
> >>>>>   Forced = No;
> >>>>>   Name = FreeCAD.FreeCAD;
> >>>>>   BuggyApplication = No;
> >>>>>   AutoLaunch = No;
> >>>>>   Position = "0,3";
> >>>>>   Lock = Yes;
> >>>>>   PasteCommand = 
> >>>>> "CAD/FreeCAD/GIT_FreeCAD_branchRaytracing/freecad-build/bin/FreeCAD
> >>>>>   Command = 
> >>>>> "CAD/FreeCAD/GIT_FreeCAD_branchRaytracing/freecad-build/bin/FreeCAD";
> >>>>>   Omnipresent = No;
> >>>>>},
> >>>>>
> >>>>>In the WMWindowAttributes I found FreeCAD too:
> >>>>>
> >>>>>FreeCAD.FreeCAD = {
> >>>>>   Icon = "/debian-adatok-1/Kepek/Ikonok/FreeCAD.png";
> >>>>>};
> >>>>>
> >>>>>I don't understand what should I do now? Help me please.
> >>>>Just check the box "Ignore client supplied icon" under  "Icon and
> >>>>Initial Workspace", this will add the line:
> >>>>
> >>>>AlwaysUserIcon = Yes;
> >>>Indeed, it does add this line abowe and now it is the only line:
> >>>FreeCAD.FreeCAD = {
> >>>     AlwaysUserIcon = Yes;
> >>>   };
> >>>
> >>>>Under FreeCAD.FreeCAD in WMWindowAttributes, after that it should use
> >>>>your icon.
> >>>No, it still doesn't use my icon.
> >>Thats odd, try something like this:
> >>
> >>FreeCAD.FreeCAD = {
> >>     Icon = "/debian-adatok-1/Kepek/Ikonok/FreeCAD.png";
> >>     AlwaysUserIcon = Yes;
> >>   };
> >I tried this but still doesn't help.
> >
> >Even this doesn't help :
> >FreeCAD.FreeCAD = {
> >   Icon = "/usr/share/pixmaps/FreeCAD.png";
> >   AlwaysUserIcon = Yes;
> >};
> >
> >nor this:
> >FreeCAD.FreeCAD = {
> >   Icon = FreeCAD.png;
> >   AlwaysUserIcon = Yes;
> >};
> >
> >and after I edited WMWindowAttributes I always restarte Window Maker.
> >
> That is the correct syntax. My guess is that perhaps there is an
> issue with the icon file. Try putting in a "known good" icon
> path/filename in and see if that works.

What I did is:
I remove any lines in WMState and WMWindowAttributes that contain
freecad.

Then I start FreeCAD by clicking it's docked app icon.

I get finally the icon on docked appicon after I close FreeCAD.

Now WMState has a lines ( without '\' character):
{
  Forced = No;
  Name = FreeCAD.FreeCAD;
  BuggyApplication = No;
  AutoLaunch = No;
  Position = "0,3";
  Lock = Yes;
  PasteCommand = "/home/csanyipal/CAD/FreeCAD/\
GIT_FreeCAD_branchRaytracing/freecad-build/bin/FreeCAD %s";
  Command = "/home/csanyipal/CAD/FreeCAD/\
GIT_FreeCAD_branchRaytracing/freecad-build/bin/FreeCAD";
  Omnipresent = No;
},

and WMWindowAttributes has ( without '\' character):
FreeCAD.FreeCAD = {
  Icon = "/home/csanyipal/GNUstep/Library/WindowMaker/\
CachedPixmaps/FreeCAD.FreeCAD.xpm";
};

I exit and start again Window Maker and the FreeCAD appicon still has
icon. :)

-- 
Regards from Pal


-- 
To unsubscribe, send mail to [email protected].

Reply via email to