Чтобы активировать или деактивировать, есть еще один вариант в Tweaks Window Manager. В разделе «Композитор» опция включения или отключения компоновки изображений также включает или отключает масштабирование рабочего стола.
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему выполнять каждый раз после приостановки. Вот как это работает:
Сначала создайте сценарий, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
[d6 ] Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/. Это выглядит так:#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/ и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Наконец, кредиты, на которые причитаются кредиты.
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему выполнять каждый раз после приостановки. Вот как это работает:
Сначала создайте сценарий, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/ и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Наконец, кредиты, на которые причитаются кредиты.
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему выполнять каждый раз после приостановки. Вот как это работает:
Сначала создайте сценарий, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/ и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Наконец, кредиты, на которые причитаются кредиты.
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему запускаться каждый раз после приостановки. Вот как это работает:
Сначала создайте скрипт, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/
. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/
, и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему запускаться каждый раз после приостановки. Вот как это работает:
Сначала создайте скрипт, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/
. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/
, и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему запускаться каждый раз после приостановки. Вот как это работает:
Сначала создайте скрипт, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/
. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/
, и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему запускаться каждый раз после приостановки. Вот как это работает:
Сначала создайте скрипт, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/
. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/
, и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему запускаться каждый раз после приостановки. Вот как это работает:
Сначала создайте скрипт, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/
. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/
, и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему запускаться каждый раз после приостановки. Вот как это работает:
Сначала создайте скрипт, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/
. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/
, и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh
Я понятия не имею, что вызывает его, но его можно быстро решить.
Вы можете написать скрипт и позволить ему запускаться каждый раз после приостановки. Вот как это работает:
Сначала создайте скрипт, содержащий настройки сенсорной панели. Mine выглядит так:
#!/bin/bash
#=============
# touchpad.sh
#=============
# This script sets up my touchpad settings at login/after suspend
# Executed from /lib/systemd/system-sleep
# wait for a few seconds for the desktop to be set up properly first
sleep 5;
# synclient needs a server to connect to
declare -x DISPLAY=":0.0"
declare -x XAUTHORITY="/home/<YOUR USERNAME>/.Xauthority"
# enable middle click
synclient TapButton2=3
synclient TapButton3=2
# disable window switcher
synclient ClickFinger3=2
exit 0
Не забудьте вставить ВАШЕ ИМЯ ПОЛЬЗОВАТЕЛЯ и сделать исполняемый файл сценария: chmod a + x /path/to/script/touchpad.sh
Затем вы создаете скрипт, который запустит touchpad.sh после приостановки. Для ubuntu 16 вам необходимо сохранить его в каталоге /lib/systemd/system-sleep/
. Это выглядит так:
#!/bin/sh
case $1 in
pre)
# Place your pre suspend commands here, or `exit 0`
# if no pre suspend action required
exit 0
;;
post)
# Place your post suspend (resume) commands here, or
# `exit 0` if no post suspend action required
/path/to/script/touchpad.sh
exit 0
;;
esac
Вам понадобятся права root для записи в /lib/systemd/system-sleep/
, и снова не забудьте сделать исполняемый файл сценария с помощью sudo chmod a+x your_wakeup_script.sh