Re: Relation of X11 for Panther to Inkscape Launching?
Re: Relation of X11 for Panther to Inkscape Launching?
- Subject: Re: Relation of X11 for Panther to Inkscape Launching?
- From: Mike <email@hidden>
- Date: Fri, 23 Nov 2007 16:37:03 -0500
Kat,
I am going to guess you are using Leopard for two reasons, one
inkscape doesn't seem to start when you double click the icon, and two
because X11 starts up without you doing anything special except trying
to start inkscape.
The problem lies within inkscape and is easy to fix from the command
line (DOS-like thing you refer to) but we should be able to fix it
without using it too much. I have a copy that works perfectly fine on
my computer (leopard 10.5.1 with the patches put out by ben byer, so I
know it is possible.
The first step: CTRL-Click the inkscape.app icon, and choose "Show
Package Contents" from the pop-up menu. A new window will open.
Click on "Contents" then "Resources."
In "Resources" there is a file called "script". Again, CTRL-Click on
this file, and from the pop-up menu choose: open with 'TextEdit' or
'open with other' and choose textedit. You have to comment out the
majority of this file and save it. To do this you add the # at the
beginning of several lines. Make your file look like what I entered
below. Save the file, close all the windows and try Inkscape again.
This was with version 0.45.1
The second step and I am not sure it is absolutely necessary is to
patch your leopard (10.5.1) version. I would do it because it makes X
apps work nicely with OS X. This you will need to use the program
terminal for, and takes a couple minutes. Terminal.app is located in /
Applications/Utilities/. When you get to the command line type the
following:
curl -LO http://people.freedesktop.org/~jeremyhu/x11-apple/x11_update.sh
sudo sh x11_update.sh
You will need to enter in your password for this step. That is all it
should work fine.
Hope that helps,
-mike
On Nov 23, 2007, at 3:14 PM, kathryn mcgee wrote:
I have subsequently read on X11 but none of it is particularly
enlightening to me; I began reading in the forum, after doing a
search on Inkscape and X11 but only located a couple entries that
did not enlighten me since the reply indicated one simply had to
launch Inkscape and that was it; this apparently is not true in my
case; when I double click on Inkscape to open it, X11 opens, and it
is X11's menu that is available to me; under Applications, I have
three choices and "customize" but I am not sure what "customize"
means n this case. If there is any archived material that would be
of benefit for my perusal that you can direct me to, I would be most
appreciative!
The 'script' file should look like the below text when you are done:
#!/bin/sh
#
# Author: Aaron Voisine <email@hidden>
# Inkscape Modifications: Michael Wybrow
<email@hidden>
CWD="`dirname \"$0\"`"
#ps -wx -ocommand | grep -e '[X]11' > /dev/null
#if [ "$?" != "0" -a ! -f ~/.xinitrc ]; then
# echo "rm -f ~/.xinitrc" > ~/.xinitrc
# sed 's/xterm/# xterm/' /usr/X11R6/lib/X11/xinit/xinitrc >>
~/.xinitrc
#fi
#
#cp -f "$CWD/bin/getdisplay.sh" /tmp/
#rm -f /tmp/display.$UID
#open-x11 /tmp/getdisplay.sh || \
#open -a XDarwin /tmp/getdisplay.sh || \
#echo ":0" > /tmp/display.$UID
#
#while [ "$?" == "0" -a ! -f /tmp/display.$UID ]; do
# sleep 1
#done
#export DISPLAY="`cat /tmp/display.$UID`"
#
#ps -wx -ocommand | grep -e '[X]11' > /dev/null || exit 11
# Old OS X version specific test:
#
#VERSION=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 -d'.'`
#if [ "$VERSION" -eq "4" ]; then
# Warn the user about time-consuming generation of fontconfig caches.
#test -f ~/.inkscape/.fccache-new || exit 12
BASE="`echo "$0" | sed -e 's/\/Contents\/Resources\/script/\//'`"
cd "$BASE"
exec "$CWD/bin/inkscape" "$@"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden