Results 1 to 3 of 3
Hi folks,
Ubuntu 10.04
How to create a short-cut starting a program.
Each time I have to perform follow on terminal:-
$ cd /home/satimis/RedR/usr/lib/python2.6/dist-packages/Red-R/canvas/
$ python red-RCanvas.pyw
Please advise. TIA
...
- 08-18-2010 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
About creating a shortcut
Hi folks,
Ubuntu 10.04
How to create a short-cut starting a program.
Each time I have to perform follow on terminal:-
$ cd /home/satimis/RedR/usr/lib/python2.6/dist-packages/Red-R/canvas/
$ python red-RCanvas.pyw
Please advise. TIA
B.R.
satimis
- 08-18-2010 #2Just Joined!
- Join Date
- Aug 2010
- Location
- Italy
- Posts
- 35
Do you means a short-cut for terminal or for desktop ?
On terminal create (or edit) the file ~/.bash_aliases and add
MyAlias='cd /home/satimis/RedR/usr/lib/python2.6/dist-packages/Red-R/canvas/;python red-RCanvas.pyw'
After that you have to log out and in again to load that environment, or simply do (on terminal) #source .bashrc
- 08-19-2010 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546


Reply With Quote
