Friday, February 12, 2010

howto run a new python script

Paste the script with gedit in a text file, save it with a relevant name that ends with py i.e., make the script executable with
cd /path/to/script
sudo chmod +x

Then relocate the script to /usr/bin as root.
Now you can activate the script with typing in a terminal or in a launcher.

Make a symbolic link:
ln -s /usr/share/adesk-menu/adesk-menu /usr/bin/adesk-menu

hard link:
ln /usr/share/adesk-menu/adesk-menu /usr/bin/adesk-menu

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.