summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eca335c)
raw | patch | inline | side by side (parent: eca335c)
author | Ivan Denisov <d.ivan.krsk@gmail.com> | |
Wed, 3 Jan 2018 18:56:30 +0000 (01:56 +0700) | ||
committer | Ivan Denisov <d.ivan.krsk@gmail.com> | |
Wed, 3 Jan 2018 18:56:30 +0000 (01:56 +0700) |
dev/deb/template/usr/bin/bbcb-shortcut | [new file with mode: 0755] | patch | blob |
dev/deb/template/usr/share/applications/bbcb.desktop | patch | blob | history |
diff --git a/dev/deb/template/usr/bin/bbcb-shortcut b/dev/deb/template/usr/bin/bbcb-shortcut
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+pd="/usr/lib/blackbox"
+sd="$HOME/blackbox"
+
+# fix Ubuntu-specific problems:
+unset UBUNTU_MENUPROXY
+unset GTK_MODULES
+export LIBOVERLAY_SCROLLBAR=0
+
+mkdir -p $sd
+
+# export LD_DEBUG=all
+env \
+ BB_PRIMARY_DIR="${pd}" BB_SECONDARY_DIR="${sd}" \
+ "${pd}"/blackbox
diff --git a/dev/deb/template/usr/share/applications/bbcb.desktop b/dev/deb/template/usr/share/applications/bbcb.desktop
index 28cfd5b161bb297390b43c2f14e1df7f8f87a6aa..772d2dafdc60474723c2f82556bf5938e5bea102 100644 (file)
Encoding=UTF-8
Name=BlackBox Component Builder for Linux
Comment=IDE and component framework for programming language Component Pascal
-Exec=/usr/bin/bbcb
+Exec=/usr/bin/bbcb-shortcut
Path=
Icon=/usr/share/pixmaps/blackbox.svg
Categories=Development;