I've got a new, shiny MackBook Pro (actually an old one like this
but with 15", because I don't like the new ones) and, as
probably everyone knows:
it only has one button. That sucks very much when it comes
to context menus. On my old PowerBook G4 I had some settings
in my xorg.conf to enable two- and three-finger
taps, but I don't wanted to do that again.
Instead I wanted something to be turned on in GNOME itself. So my attention came to accessibility extensions.
Fortunately I don't need them but there is a nice mouse feature called "Simulated Secondary Click". I wanted to turn on "Trigger secondary click by holding down the primary button", but it said something about "mousetweaks is not installed". Damn...
I searched the OpenSolaris package repositories but
couldn't find it. I thought this is a GNOME core package?
And what about handicapped people really needing this?
So I searched in the spec-files and found this
as comment in SUNWgnome-a11y-mousetweaks:
# We have removed mousetweaks from our builds since it is GPLv3. # For now, leave in the following comment so that our ARC scripts # recognize that we are not shipping this module starting with # the 2.24 release. When we re-integrate this package, remove # the following line: # PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM
I have also filed a bug report to see what the exact problem is.
In the meantime I built it myself from source. I
downloaded JDS
Common Build Environment (CBE), patched the
spec-file a bit:
Index: SUNWgnome-a11y-mousetweaks.spec
===================================================================
--- SUNWgnome-a11y-mousetweaks.spec (revision 16491)
+++ SUNWgnome-a11y-mousetweaks.spec (working copy)
@@ -23,7 +23,7 @@
Name: SUNWgnome-a11y-mousetweaks
Summary: provided mouse accessibility
enhancements
Version: %{mousetweaks.version}
-Source: %{name}-manpages-0.1.tar.gz
+#Source: %{name}-manpages-0.1.tar.gz
SUNW_BaseDir: %{_basedir}
SUNW_Copyright: %{name}.copyright
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -79,9 +79,9 @@
%install
rm -rf $RPM_BUILD_ROOT
%mousetweaks.install -d %name-%version
-rm -rf $RPM_BUILD_ROOT%{_mandir}
-cd %{_builddir}/%name-%version/sun-manpages
-make install DESTDIR=$RPM_BUILD_ROOT
+#rm -rf $RPM_BUILD_ROOT%{_mandir}
+#cd %{_builddir}/%name-%version/sun-manpages
+#make install DESTDIR=$RPM_BUILD_ROOT
%if %build_l10n
%else
...and: voila! I have a right mouse. Nice.
