Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] windowmaker's icons
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
scoazera
n00b
n00b


Joined: 29 Sep 2005
Posts: 66

PostPosted: Thu Dec 13, 2007 4:31 pm    Post subject: [solved] windowmaker's icons Reply with quote

In WMaker's desktop, an icon is double-clickable only once.
If the application is still running, nothing happens if you double-click again the same icon.
This prevent you from running two xterms, for instance.

Anyone knows a way to circunvent it without having to right click the icon to rise the quick menu?


Last edited by scoazera on Fri Dec 14, 2007 6:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Thu Dec 13, 2007 8:05 pm    Post subject: Reply with quote

http://www.linuxjournal.com/article/3986

"The problem here is that you can't open more than one xterm. You have to configure the appicon, while it's docked, to allow for more than one instance of the xterm to be started. Here is how you do that:

* If it's not open, open an xterm by double-clicking on the docked appicon.

* Right-click on the title bar and choose “Attributes” from the menu.

* In the “Inspecting...” dialog, select the “Application Specific” option.

* Click on the “No Application Icon” button, then click on “Save”.

* Click on the “Close” button (the X in the upper right) of the “Inspecting...” dialog to close that window.

Now you should be able to launch multiple xterms from the single terminal icon hanging off the Dock. This process works for any appicon you connect to the Dock."
Back to top
View user's profile Send private message
scoazera
n00b
n00b


Joined: 29 Sep 2005
Posts: 66

PostPosted: Fri Dec 14, 2007 6:30 pm    Post subject: Reply with quote

It works perfectly!

Thanks.
Back to top
View user's profile Send private message
scoazera
n00b
n00b


Joined: 29 Sep 2005
Posts: 66

PostPosted: Fri Dec 14, 2007 6:33 pm    Post subject: Reply with quote

As you are so expert in windowmaker, do you know a way to have more tha 32 icons in ONE desktop?
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Fri Dec 14, 2007 9:32 pm    Post subject: Reply with quote

You must be talking about icons attached to the clip, right? The dock is limited by number of icons that fit vertically on the screen, but the clip is limited to 32 icons which seems to be an arbitrary number that could be changed. I have not tried it, but I think you should be able to increase the definition of CLIP_MAX_ICONS in wconfig.h.in (or wconfig.h if the source code directory was already configured) and compile yourself a custom version with a higher limit.
Back to top
View user's profile Send private message
scoazera
n00b
n00b


Joined: 29 Sep 2005
Posts: 66

PostPosted: Sat Dec 15, 2007 5:16 pm    Post subject: Reply with quote

It works!!!!!

Unfortunatelly I had to compile windowmaker by myself (configure, make, make install) because emerge lacks of what could be two usefull parameters:

--ignore-manifest

and

--dont-unpack

This would allow me to change the sources and still have my portage consistent, instead of having to run an "/usr/local/bin/wmaker" that doesn't exist in the portage and that will not be able to be upgraded (losing my 64 icons, of course).

Thanks a lot, anyway.
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Sat Dec 15, 2007 7:08 pm    Post subject: Reply with quote

Portage actually provides nice mechanisms for integrating local modifications into your system. Instead of going the /usr/local route, you may want to think about setting up a local overlay for windowmaker.
http://www.gentoo.org/proj/en/overlays/userguide.xml

Setting up your own overlay is almost as simple as importing other people's overlays using layman


  • pick a base directory for the overlay and add it to PORTAGE_OVERLAY variable in make.conf
    PORTAGE_OVERLAY=/usr/local/portage
  • copy the package dir from official portage to the overlay tree
    mkdir /usr/local/portage/x11-wm
    cp -a /usr/portage/x11-wm/windowmaker /usr/local/portage/x11-wm
  • make your local mods in the overlay version of ebuild
    in this case, you would use diff to make a patch that changes CLIP_MAX_ICONS and stick it into files/ subdir, then in the section that does all the patching add a new line like 'epatch "${FILESDIR}"/more-icons.patch'
  • update the manifest entry to take your changes into account
    ebuild windowmaker-0.92-r7.ebuild digest
  • emerge custom windowmaker!
    'emerge -pv windowmaker' will now show [1] label because the ebuild is coming from your #1 overlay
Back to top
View user's profile Send private message
scoazera
n00b
n00b


Joined: 29 Sep 2005
Posts: 66

PostPosted: Sun Dec 16, 2007 10:03 pm    Post subject: Reply with quote

Your are perfectly right, but it's so tricky: I just need to change 32 to 100 or so.

In my opinion

...CLIP_MAX_ICONS 32

is a forgetfulness, a heritage of the past: now, it has no meaning any more.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum