fix eg keyboard shortcuts

This commit is contained in:
2019-10-30 14:03:57 +01:00
parent ee52c70e77
commit 5e63bab697
4 changed files with 12 additions and 10 deletions

View File

@@ -6,6 +6,7 @@
#fi
default=/sf/bernina/anaconda/bernina36
default=/sf/bernina/anaconda/psi_python_envs/bernina36
dest=${1:-$default}
echo Loading PSI Anaconda Python distribution 3.6

2
eco
View File

@@ -1,6 +1,6 @@
#/bin/bash
#source /opt/gfa/python
source anaconda_env
#source anaconda_env
ipython --pylab --profile=eco --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline.py -l -s bernina"

15
eco_dev
View File

@@ -1,9 +1,10 @@
#/bin/bash
source anaconda_env
export PYTHONPATH=$PYTHONPATH:/sf/bernina/config/src/python/devel
ipython --pylab --no-banner -c "\
print(' ___ _______\n / -_) __/ _ \ \n Experiment Control \__/\__/\___/ \n\n');\
from eco.instruments import bernina;\
from eco.instruments.bernina import *;\
" -i
#source /opt/gfa/python
source anaconda_bernina_env
conda activate /sf/bernina/anaconda/bernina_envs/bernina36_op
ipython --pylab --profile=eco --no-banner -i -c "run /sf/bernina/config/src/python/eco_dev/startup_inline.py -l -s bernina"
#python /sf/bernina/config/src/python/eco/startup.py -s bernina "$@" -l

View File

@@ -1,7 +1,7 @@
#!/bin/bash
source /opt/gfa/python
set_gnome_keyboard_shortcut 'stop_fel' 'feloff' 'F8'
set_gnome_keyboard_shortcut 'open_fel' 'felon' '<Super>F8'
set_gnome_keyboard_shortcut 'stop_fel' 'feloff' 'F12'
set_gnome_keyboard_shortcut 'open_fel' 'felon' '<Super>F12'
set_gnome_keyboard_shortcut 'eco' 'gnome-terminal -- eco' '<Alt><Control>c'
set_gnome_keyboard_shortcut 'browser' 'firefox' '<Alt><Control>b'
set_gnome_keyboard_shortcut 'stop_laser' 'laseroff' 'F4'