Commit Graph

301 Commits

Author SHA1 Message Date
Serge Schneider
224369d93b Revert "Run root check before attempting nonint functions"
This reverts commit 73e3017715.

Not all raspi-config functions require root in nonint mode. Some
scripts rely on this behaviour. Therefore, nonint will assume the
user knows what they're doing instead.
2022-04-25 16:41:27 +01:00
Serge Schneider
73e3017715 Run root check before attempting nonint functions
Fixes #191, fixes #113
2022-04-25 15:01:02 +01:00
Simon Long
6f2fd4b804 Add Wayland switching 2022-04-07 14:01:01 +01:00
Simon Long
77a0bacda8 Modify check for mutter 2022-03-31 14:48:15 +01:00
Simon Long
0c27957230 Force KMS overscan setting to take effect when mutter not running 2022-03-31 12:53:03 +01:00
Simon Long
d3fe4e7058 Fix incorrect detection of read-only boot partition 2022-03-21 12:04:41 +00:00
XECDesign
f2ed068292
Autologin (#186)
* Update get_boot_cli

The default target is graphical.target, whether or not a desktop is
available. Check whether lightdm is enabled as well.

* Remove legacy autologin cruft

* Run systemctl daemon-reload after boot behaviour changes

* Make autologin changes quieter
2022-03-18 15:51:42 +00:00
Serge Schneider
684fbe183a Remove nonint whiptail msgbox in do_overlayfs 2022-03-07 09:28:09 +00:00
Simon Long
a2b49a272a Use wildcards in KMS test 2022-03-03 13:44:47 +00:00
Simon Long
da29bba613 Remove composition manager option when KMS not used 2022-03-01 15:02:56 +00:00
Simon Long
fe2e5cce4e Rename is_fkms to is_kms for accuracy 2022-03-01 09:52:29 +00:00
Simon Long
37333afc34 Put overscan settings in separate shell script 2022-03-01 09:49:57 +00:00
Simon Long
715b391f1b Remove pixel doubling on KMS; not compatible with KMS-based overscan setting 2022-02-28 15:45:23 +00:00
Simon Long
129b9461b3 Handle cancelling overscan setting; only show connected devices 2022-02-24 18:32:24 +00:00
Simon Long
385ade20be Tweaks to arguments and return values for overscan settings; always do a real-time update 2022-02-24 15:55:44 +00:00
Simon Long
a679096c43 Disable non-KMS overscan when making a KMS overscan setting 2022-02-24 12:35:36 +00:00
Simon Long
83169ae5a5 Set overscan in real-time when in interactive mode 2022-02-24 12:24:00 +00:00
Simon Long
e549940016 Add interactivity to overscan setting 2022-02-24 12:17:20 +00:00
Simon Long
c93b2f3f47 Non-interactive KMS overscan added 2022-02-24 11:43:47 +00:00
Serge Schneider
750dde158a raspi-config: pass -f flag to rm 2022-02-01 16:03:04 +00:00
Simon Long
64d6b4c11d Bring overlay controls into line with other nonint getters 2022-01-18 18:40:59 +00:00
Serge Schneider
162022b284 Run apt-get with '-y' flag when in nonint mode
Fixes #177
2022-01-12 09:06:17 +00:00
Serge Schneider
d4de3537b9 Add -q flag to wait.conf 2022-01-10 11:55:59 +00:00
Aristo Chen
86d770528a
Fix inconsistent indent (#165) 2022-01-06 08:21:43 +00:00
XECDesign
618a3fedce
Fix nonint locale handling 2022-01-05 16:52:08 +00:00
garyk10
26e568102f
Make nonint do_change_locale work with encoding field as well (#167) 2022-01-04 15:10:56 +00:00
Simon Long
20a4cee6e5 Correct menu labelling for x86 2021-12-02 18:40:26 +00:00
Simon Long
bf9c85c0b9 Correct labelling of interface menu items 2021-12-02 11:52:03 +00:00
Simon Long
ac81881682 Tidy some menu options 2021-11-25 10:07:11 +00:00
Simon Long
23a94abc92 Update warning message 2021-11-19 14:28:55 +00:00
Simon Long
a8b2361318 Add camera-specific switches to legacy mode 2021-11-18 20:57:48 +00:00
Simon Long
16d46d340b First stab at switching between KMS and legacy video drivers 2021-11-18 19:14:25 +00:00
Simon Long
6871ba251c Add composite video switching option 2021-11-11 14:14:07 +00:00
Simon Long
0645185f28 Use an empty string rather than a message... 2021-11-10 11:15:00 +00:00
Simon Long
fde0346b60 Add get function for VNC resolution 2021-11-10 10:31:50 +00:00
Simon Long
be18975457 Add VNC resolution setting 2021-11-10 09:47:01 +00:00
Simon Long
c62364c50d Add switching of glamor acceleration 2021-10-19 18:36:02 +01:00
Simon Long
57ce7539f9 Remove resolution setting option under KMS 2021-09-27 18:20:19 +01:00
Serge Schneider
f844b270e9 Updated the the wait.conf drop-in for the new dhcpcd5 package 2021-09-27 13:09:13 +01:00
Simon Long
22c1841c2d Remove fake KMS option 2021-09-24 14:34:17 +01:00
Serge Schneider
a558510918 Handle 73-usb-net-by-mac.link when toggling network names 2021-09-22 16:20:17 +01:00
Simon Long
64d5c2c25d Update camera switching for bullseye 2021-08-27 16:14:39 +01:00
Serge Schneider
de70c08c76 Add version to 'about' menu
Fixes #163
2021-07-08 16:40:08 +01:00
AristoChen
99619d9398 Prevent showing error message after call do_about() 2021-07-08 14:41:59 +01:00
Simon Long
a94552d911 More boot order options 2021-02-10 10:26:30 +00:00
Simon Long
120b3bb4f5 Move Pi 4 video output option to advanced menu 2021-01-19 14:52:51 +00:00
Simon Long
99a8ba5c74 Fix typo in fan setting 2020-11-08 11:37:54 +00:00
Simon Long
954d9bf332 Text tweak 2020-10-30 11:00:49 +00:00
Simon Long
5b11405bf8 Add function to check whether a board has an analogue jack 2020-10-24 11:35:32 +01:00
Simon Long
dbc11f7a16 Tweak menu text to match rc_gui labels 2020-10-14 14:59:19 +01:00