Merge remote-tracking branch 'origin/master'
This commit is contained in:
		
						commit
						59181b2772
					
				
					 23 changed files with 149 additions and 63 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| Section "Device" | ||||
|     Identifier  "intel" | ||||
|     Identifier  "Intel Graphics" | ||||
|     Driver      "intel" | ||||
|     Option      "Backlight"  "intel_backlight" | ||||
| EndSection | ||||
|  |  | |||
|  | @ -39,3 +39,8 @@ | |||
|   debug: | ||||
|     msg: "The Panfrost display driver configuration was changed, but needs a reboot to be applied." | ||||
|   listen: panfrost config changed | ||||
| 
 | ||||
| - name: Reload systemd-logind | ||||
|   command: systemctl kill -s HUP systemd-logind | ||||
|   become: yes | ||||
|   listen: systemd-logind config changed | ||||
|  |  | |||
|  | @ -356,6 +356,19 @@ | |||
|     - etc changed | ||||
|     - systemd changed | ||||
| 
 | ||||
| - name: Disable power button | ||||
|   lineinfile: | ||||
|     path: /etc/systemd/logind.conf | ||||
|     line: 'HandlePowerKey=ignore' | ||||
|     regexp: '^#? *HandlePowerKey=' | ||||
|     insertafter: '^\[Login\]$' | ||||
|   become: yes | ||||
|   notify: systemd-logind config changed | ||||
|   # Reason: I sometimes press it accidentally | ||||
|   # (hoping to start it when it's already started, | ||||
|   # or really accidentally on the Pinebook). | ||||
|   # Suspend would be nice, but it doesn't have the locker then | ||||
| 
 | ||||
| # TODO Hibernation, if that's relevant | ||||
| # $ sudo blkid | grep 'TYPE="swap"' | ||||
| # $ sudoedit /etc/default/grub | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue