modified startup sripts user stuff
This commit is contained in:
@@ -10,4 +10,10 @@
|
||||
|
||||
|
||||
#gnome-terminal -x sh -c "export XDG_RUNTIME_DIR=/run/user/$UID; su - $1 -c chrome"
|
||||
gnome-terminal -x sh -c "su - $1 -c /usr/bin/firefox"
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
USER=$(zenity --entry --text="Enter user name for opening firefox")
|
||||
else
|
||||
USER=$1
|
||||
fi
|
||||
ssh -l $USER localhost /usr/bin/firefox
|
||||
|
||||
19
gnome-terminal_as
Executable file
19
gnome-terminal_as
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
#function set-title() {
|
||||
# if [[ -z "$ORIG" ]]; then
|
||||
# ORIG=$PS1
|
||||
# fi
|
||||
# TITLE="\[\e]2;$*\a\]"
|
||||
# PS1=${ORIG}${TITLE}
|
||||
#}
|
||||
#set-title "chrome terminal"
|
||||
|
||||
|
||||
#gnome-terminal -x sh -c "export XDG_RUNTIME_DIR=/run/user/$UID; su - $1 -c chrome"
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
USER=$(zenity --entry --text="Enter user name for opening gnome-terminal")
|
||||
else
|
||||
USER=$1
|
||||
fi
|
||||
ssh -Y -l $USER localhost gnome-terminal
|
||||
@@ -4,6 +4,9 @@ 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 'browser-as' 'firefox_as' '<Alt><Control><Shift>b'
|
||||
set_gnome_keyboard_shortcut 'terminal-as' 'gnome-terminal_as' '<Alt><Control><Shift>t'
|
||||
set_gnome_keyboard_shortcut 'winterm' 'winterm' '<Alt><Control><Shift>w'
|
||||
set_gnome_keyboard_shortcut 'stop_laser' 'laseroff' 'F4'
|
||||
set_gnome_keyboard_shortcut 'open_laser' 'laseron' '<Super>F4'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user