cmds.script
changeset 60 682288c88e7e
parent 59 9ed7f7528b04
equal deleted inserted replaced
59:9ed7f7528b04 60:682288c88e7e
   165 xinput get-button-map "Kensington Expert Mouse"
   165 xinput get-button-map "Kensington Expert Mouse"
   166 xinput set-button-map "Kensington Expert Mouse" 1 8 3 5 4 6 7 2
   166 xinput set-button-map "Kensington Expert Mouse" 1 8 3 5 4 6 7 2
   167 
   167 
   168 # загрузить файл curl'ом
   168 # загрузить файл curl'ом
   169 curl -LOJ url
   169 curl -LOJ url
       
   170 
       
   171 # запуск gui приложения от другого пользователя
       
   172 user:localhost$ DISPLAY=:2070 xhost si:localuser:root
       
   173 root:localhost# DISPLAY=:2070 appname &
       
   174 user:localhost$ DISPLAY=:2070 -xhost si:localuser:root