]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Tue, 12 Feb 2008 16:00:47 +0000 (16:00 +0000)
committerguigues <guigues>
Tue, 12 Feb 2008 16:00:47 +0000 (16:00 +0000)
kernel/install/gnome/README.txt [new file with mode: 0644]
kernel/install/gnome/bbi-icon2.png
kernel/install/gnome/bbi.desktop.in
kernel/install/gnome/install-gnome.sh

diff --git a/kernel/install/gnome/README.txt b/kernel/install/gnome/README.txt
new file mode 100644 (file)
index 0000000..740894d
--- /dev/null
@@ -0,0 +1,27 @@
+The shell script 'install-gnome.sh' installs :
+- bbi shortcut on gnome desktop 
+- the mime type 'text/bbs' for '*.bbs' files 
+- associates the type 'text/bbs' to the shortcut
+
+1) bbi **MUST** be in the applications path 
+(typing bbi in a term in any folder is succesful).
+The best way to achieve this is to install cleanly bbtk.
+
+2) you *MUST* run the script as yourself, not root 
+or the stuff will be installed for root !
+
+That all folks !
+
+--------------------------------------------------------
+Tech notes :
+* The script uses 'which bbi' to locate bbi
+* It installs :
+${HOME}/.local/share/applications/bbi.desktop
+${HOME}/.local/share/applications/bbi-icon.png
+${HOME}/.local/share/applications/bbi-icon2.png
+${HOME}/.local/share/mime/packages/bbs.xml
+* It adds the line 'text/bbs=bbi.desktop' to the file ${HOME}/.local/share/applications/defaults.list
+* It makes the sym link :
+ln -s ${HOME}/.local/share/applications/bbi.desktop ${HOME}/Desktop/bbi.desktop
+* It runs update-mime-database and restarts nautilus
+
index 6d3c5eb5afd614ccc7ed20d22407809420d10a50..76952c2e66a17661f31d3d31ac99e9fa794e761a 100644 (file)
Binary files a/kernel/install/gnome/bbi-icon2.png and b/kernel/install/gnome/bbi-icon2.png differ
index 1817ab40840dfd42e466cc4253ce716b472f1f2b..f06ffaa75c23f55291336d2330f58c6ba9247db4 100644 (file)
@@ -8,4 +8,4 @@ Type=Application
 Terminal=false
 NoDisplay=false
 GenericName[en_US]="The Black Box Interpreter (bbi)"
-Icon=HOME/.local/share/applications/bbi-icon.png
+Icon=HOME/.local/share/applications/bbi-icon2.png
index 7da7f41ad4522fbdc59ba47a584ffffa19b9c365..79b848e84700a346433d51b117e78dc6b3c82030 100755 (executable)
@@ -13,8 +13,9 @@ rm tmp
 
 ln -s ${HOME}/.local/share/applications/bbi.desktop ${HOME}/Desktop/bbi.desktop
 
-echo "* Copying 'bbi-icon.png' in ${HOME}/.local/share/applications/"
+echo "* Copying bbi icons in ${HOME}/.local/share/applications/"
 cp bbi-icon.png ${HOME}/.local/share/applications/
+cp bbi-icon2.png ${HOME}/.local/share/applications/
 
 # add the type 'text/bbs' to mime database
 echo "* Adding mime-type 'text/bbs' to mime database (${HOME}/.local/share/mime/packages/bbs.xml)"