View previous topic :: View next topic |
Author |
Message |
scoazera n00b
Joined: 29 Sep 2005 Posts: 66
|
Posted: Thu Dec 13, 2007 4:31 pm Post subject: [solved] windowmaker's icons |
|
|
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 |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Thu Dec 13, 2007 8:05 pm Post subject: |
|
|
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 |
|
|
scoazera n00b
Joined: 29 Sep 2005 Posts: 66
|
Posted: Fri Dec 14, 2007 6:30 pm Post subject: |
|
|
It works perfectly!
Thanks. |
|
Back to top |
|
|
scoazera n00b
Joined: 29 Sep 2005 Posts: 66
|
Posted: Fri Dec 14, 2007 6:33 pm Post subject: |
|
|
As you are so expert in windowmaker, do you know a way to have more tha 32 icons in ONE desktop? |
|
Back to top |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Fri Dec 14, 2007 9:32 pm Post subject: |
|
|
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 |
|
|
scoazera n00b
Joined: 29 Sep 2005 Posts: 66
|
Posted: Sat Dec 15, 2007 5:16 pm Post subject: |
|
|
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 |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Sat Dec 15, 2007 7:08 pm Post subject: |
|
|
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 |
|
|
scoazera n00b
Joined: 29 Sep 2005 Posts: 66
|
Posted: Sun Dec 16, 2007 10:03 pm Post subject: |
|
|
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 |
|
|
|