mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-05-26 07:07:58 +00:00
scripts, ros_ide_vm: Disable screen autolock
This commit is contained in:
20
assets/configs/xfce4-power-manager.xml
Normal file
20
assets/configs/xfce4-power-manager.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-power-manager" version="1.0">
|
||||
<property name="xfce4-power-manager" type="empty">
|
||||
<property name="power-button-action" type="empty"/>
|
||||
<property name="lock-screen-suspend-hibernate" type="empty"/>
|
||||
<property name="logind-handle-lid-switch" type="empty"/>
|
||||
<property name="blank-on-ac" type="empty"/>
|
||||
<property name="blank-on-battery" type="empty"/>
|
||||
<property name="dpms-enabled" type="bool" value="false"/>
|
||||
<property name="dpms-on-ac-sleep" type="empty"/>
|
||||
<property name="dpms-on-ac-off" type="empty"/>
|
||||
<property name="dpms-on-battery-sleep" type="empty"/>
|
||||
<property name="dpms-on-battery-off" type="empty"/>
|
||||
<property name="show-panel-label" type="empty"/>
|
||||
<property name="inactivity-sleep-mode-on-ac" type="empty"/>
|
||||
<property name="inactivity-sleep-mode-on-battery" type="empty"/>
|
||||
<property name="show-tray-icon" type="bool" value="false"/>
|
||||
</property>
|
||||
</channel>
|
||||
@@ -63,6 +63,11 @@
|
||||
"source": "{{user `assetsDir`}}/patches",
|
||||
"destination": "/tmp"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"source": "{{user `assetsDir`}}/configs/xfce4-power-manager.xml",
|
||||
"destination": "/home/{{user `user`}}/.config/xfce4/xfconf/xfce-perchannel/xml/xfce4-power-manager.xml"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"script": "scripts/installSoftware.sh",
|
||||
|
||||
@@ -149,7 +149,6 @@ echo "--- Installing additional packages"
|
||||
sudo -E sh -c 'apt update; apt install -y sshfs gvfs-fuse gvfs-backends python3-opencv byobu ipython3 byobu nmap lsof tmux vim'
|
||||
|
||||
echo "--- Personalizing VM"
|
||||
sudo -E sh -c 'mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.old'
|
||||
sudo -E sh -c 'cp /usr/share/xfce4/backdrops/xubuntu-wallpaper.png /usr/share/xfce4/backdrops/xubuntu-wallpaper-old.png; cp ${HOME}/Pictures/Logo_COEX_2019_white_on_black.png /usr/share/xfce4/backdrops/xubuntu-wallpaper.png'
|
||||
sudo -E sh -c 'hostnamectl set-hostname clover-dev; sed -i "s/ubuntu/clover-dev clover-dev.local/g" /etc/hosts'
|
||||
echo "export ROS_HOSTNAME=\`hostname\`.local" >> ${HOME}/.bashrc
|
||||
|
||||
Reference in New Issue
Block a user