diff --git a/README.md b/README.md index c5ce5bc..2d3853a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ Cornea is a Python + Gtk application to take screenshots. # Notes * Need python 2+ -* ```sudo apt-get install python3``` +* ```sudo apt-get install python3.8 python3-gi python3-setproctitle python-pyscreenshot``` + # Images ![1 Cornera interface. ](images/pic1.png) diff --git a/user_config/bin/cornea b/user_config/bin/cornea new file mode 100755 index 0000000..001d4f2 --- /dev/null +++ b/user_config/bin/cornea @@ -0,0 +1,17 @@ +#!/bin/bash + +# . CONFIG.sh + +# set -o xtrace ## To debug scripts +# set -o errexit ## To exit on error +# set -o errunset ## To exit if a variable is referenced but not set + + +function main() { + call_path=`pwd` + cd "${call_path}" + echo "Working Dir: " $(pwd) + + python /opt/cornea.zip "$@" +} +main "$@"; diff --git a/cornea.desktop b/user_config/usr/applications/cornea.desktop similarity index 72% rename from cornea.desktop rename to user_config/usr/applications/cornea.desktop index e814950..e4184fa 100755 --- a/cornea.desktop +++ b/user_config/usr/applications/cornea.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Name=Cornea -GenericName=A python screenshot application. +GenericName=A Python and Gtk+ screenshot application. Comment=Take screenshots of your desktop. -Exec=/screenshot +Exec=/bin/cornea Icon=/usr/share/cornea/cornea.png Type=Application StartupNotify=true