SB1 first standalone installation try

This commit is contained in:
Sameer Rahmani 2011-12-05 17:29:14 +03:30
parent ae92b3dbb4
commit 91faaeddba
3 changed files with 149 additions and 3 deletions

View File

@ -13,7 +13,7 @@ StartupNotify=true
Categories=Development;IDE;
Exec=$HOME/.kuso.d/kuso %F
TryExec=kuso
Icon=$HOME/.kuso.d/logo.svg
Icon=$HOME/.kuso.d/icon.svg
Type=Application
Terminal=false

140
images/icon.svg Normal file
View File

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="352"
height="352"
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="logo.svg">
<defs
id="defs4">
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0"
refX="0"
id="Arrow1Lend"
style="overflow:visible">
<path
id="path3793"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
transform="matrix(-0.8,0,0,-0.8,-10,0)"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="Arrow1Lstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Lstart"
style="overflow:visible">
<path
id="path3790"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
transform="matrix(0.8,0,0,0.8,10,0)"
inkscape:connector-curvature="0" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.08"
inkscape:cx="94.44444"
inkscape:cy="149.62963"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1600"
inkscape:window-height="846"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-700.35929)">
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:end;line-height:0%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Webdings;-inkscape-font-specification:Webdings Bold"
x="816.82678"
y="529.71967"
id="text2985"
sodipodi:linespacing="0%"><tspan
sodipodi:role="line"
x="816.82678"
y="529.71967"
style="font-size:64px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Webdings;-inkscape-font-specification:Webdings Bold"
id="tspan2991" /></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:0%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="258.31192"
y="591.89313"
id="text2997"
sodipodi:linespacing="0%"><tspan
sodipodi:role="line"
id="tspan2999"
x="258.31192"
y="591.89313" /></text>
<use
x="0"
y="0"
xlink:href="#text2985"
id="use3001"
width="744.09448"
height="1052.3622" />
<text
xml:space="preserve"
style="font-size:38.69027328px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:end;line-height:0%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:FreeSans Bold"
x="344.56894"
y="874.21631"
id="text3003"
sodipodi:linespacing="0%"
transform="scale(0.96725681,1.0338516)"><tspan
sodipodi:role="line"
id="tspan3005"
x="344.56894"
y="874.21631"
style="font-size:69.6424942px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:FreeSans;-inkscape-font-specification:FreeSans Bold"><tspan
style="font-weight:normal;-inkscape-font-specification:FreeSans"
id="tspan3007">KUSO</tspan><tspan
style="fill:#800000"
id="tspan4625"> IDE</tspan></tspan></text>
<rect
style="fill:none;stroke:#000000;stroke-width:9.29780197;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none"
id="rect3017"
width="336.974"
height="80.729622"
x="7.4074092"
y="837.59711" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -15,7 +15,6 @@ while [ "$condition" == "1" ] ; do
standalone="y"
dotemacs=~/.kuso
repo=~/.kuso.d
cp bin/kuso $repo
condition="0"
fi
@ -56,7 +55,14 @@ chmod u+x $addr/pyemacs.sh
echo "Creating ~/.emacs"
cp conf/dotemacs $dotemacs
v="s/--EMAIL--/$fullname/"
if [ "$standalone" == "y" ]
then
cp bin/kuso $repo
cp bin/kuso.desktop $HOME/.local/share/applications/
cp images/icon.svg $repo
fi
sed "s/--EMAIL--/$mail/mg" -i $dotemacs
sed "s/--FULLNAME--/$fullname/mg" -i $dotemacs
sed "s,--WORKSPACE--,$workspace,mg" -i $dotemacs