From 0720f1c878bae55ac85b936a4468c5f1e50c1a9e Mon Sep 17 00:00:00 2001 From: lemke_h Date: Sat, 2 Dec 2023 16:19:52 +0100 Subject: [PATCH] update --- eco_roman | 13 +++++++++++++ jupyterlab-on-ra | 3 ++- startup_bernina_terminal | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 eco_roman diff --git a/eco_roman b/eco_roman new file mode 100755 index 0000000..28e729d --- /dev/null +++ b/eco_roman @@ -0,0 +1,13 @@ +#/bin/bash +#source /opt/gfa/python + +default=bernina_robot +dest=${1:-$default} +source /sf/bernina/applications/miniconda3_roman/miniconda_roman +conda activate $dest + +ipython --pylab --profile=eco2 --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline_new.py -l -s bernina" + + +#python /sf/bernina/config/src/python/eco/startup.py -s bernina "$@" -l + diff --git a/jupyterlab-on-ra b/jupyterlab-on-ra index 2fa32a4..dd484ac 100755 --- a/jupyterlab-on-ra +++ b/jupyterlab-on-ra @@ -6,4 +6,5 @@ else USER=$1 fi -ssh -S none $USER@ra 'source /sf/bernina/bin/anaconda_env && salloc -p day jupyter lab --ip $HOSTNAME --no-browser' +#ssh -S none $USER@ra 'source /sf/bernina/bin/anaconda_env && salloc -p day jupyter lab --ip $HOSTNAME --no-browser' +ssh -S none $USER@ra 'source /sf/bernina/bin/anaconda_env && srun -p day hostname && jupyter lab --no-browser' diff --git a/startup_bernina_terminal b/startup_bernina_terminal index 30f9aa9..3415c13 100755 --- a/startup_bernina_terminal +++ b/startup_bernina_terminal @@ -35,6 +35,7 @@ set_gnome_keyboard_shortcut 'browser-as' 'firefox_as' 'b' set_gnome_keyboard_shortcut 'terminal-as' 'gnome-terminal_as' 't' set_gnome_keyboard_shortcut 'winterm' 'winterm' 'w' set_gnome_keyboard_shortcut 'Flameshot' 'flameshot gui' 'Print' +set_gnome_keyboard_shortcut 'dark screens' 'xset dpms force off' 'd' #gtile extension keyboard shortcuts settings for easier use of 4K screens dconf write /org/gnome/shell/extensions/gtile/resize21 "'3x3 0:2 0:2, 0:1 0:2, 0:2 1:2, 0:1 1:2'"