public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-02-15 12:25 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2022-02-15 12:25 UTC (permalink / raw
  To: gentoo-commits

commit:     8254e3b8f0f3a5a020f40d741a1d5e58283f3e4c
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 12:20:26 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 12:25:05 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=8254e3b8

amd64/livegui/fsscript: user & session setup

Autologin to plasma, disable screen autolock, set firefox as default
browser

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 .../specs/amd64/livegui/files/fsscript-stage2.sh   | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 8b74df2a..6008de9e 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -8,3 +8,25 @@ source /tmp/envscript
 
 # No we don't want to run xdm...
 sed -e '/^DISPLAYMANAGER=/s/.*/DISPLAYMANAGER="sddm"/' -i /etc/conf.d/display-manager
+
+# Autologin via sddm to plasma
+echo "[Autologin]
+User=gentoo
+Session=plasma.desktop
+Relogin=yes" > /etc/sddm.conf
+
+# set up gentoo user
+echo "** useradd gentoo **"
+useradd -G users,wheel,audio,plugdev,games,cdrom -g users -c "Gentoo LiveGUI user" -m gentoo
+mkdir /home/gentoo/.config
+
+# Disable screen lock
+echo "[Daemon]
+Autolock=false" > /home/gentoo/.config/kscreenlockerrc
+
+# Firefox as default browser
+echo "[Default Applications]
+text/html=firefox.desktop" > /home/gentoo/.config/mimeapps.list
+
+# Clean up perms
+chown -R gentoo:users /home/gentoo


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-02-18 20:37 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2022-02-18 20:37 UTC (permalink / raw
  To: gentoo-commits

commit:     7bfeec8de2e56ab3646786c776343c381c902183
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 18 20:36:12 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb 18 20:36:12 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=7bfeec8d

livegui/fsscript: NM fix, taskbar pinned apps

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 .../specs/amd64/livegui/files/fsscript-stage2.sh   | 27 +++++++++++++++++-----
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 6008de9e..3b866310 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -9,24 +9,39 @@ source /tmp/envscript
 # No we don't want to run xdm...
 sed -e '/^DISPLAYMANAGER=/s/.*/DISPLAYMANAGER="sddm"/' -i /etc/conf.d/display-manager
 
+# Don't let NM change hostname (this breaks xauth)
+echo "[main]
+plugins=keyfile 
+hostname-mode=none" > /etc/NetworkManager/NetworkManager.conf
+
 # Autologin via sddm to plasma
 echo "[Autologin]
 User=gentoo
 Session=plasma.desktop
 Relogin=yes" > /etc/sddm.conf
 
-# set up gentoo user
-echo "** useradd gentoo **"
-useradd -G users,wheel,audio,plugdev,games,cdrom -g users -c "Gentoo LiveGUI user" -m gentoo
-mkdir /home/gentoo/.config
+# Set up gentoo user
+pushd /home/gentoo
+mkdir -pv .config Desktop
 
 # Disable screen lock
 echo "[Daemon]
-Autolock=false" > /home/gentoo/.config/kscreenlockerrc
+Autolock=false" > .config/kscreenlockerrc
 
 # Firefox as default browser
 echo "[Default Applications]
-text/html=firefox.desktop" > /home/gentoo/.config/mimeapps.list
+text/html=firefox.desktop" > .config/mimeapps.list
+
+# Customize taskbar pinned apps
+wget "https://dev.gentoo.org/~bkohler/plasma-org.kde.plasma.desktop-appletsrc" -O \
+	.config/plasma-org.kde.plasma.desktop-appletsrc
+
+# Desktop icon setups
+#DESKTOP_APPS=( org.kde.konsole firefox org.kde.dolphin )
+#for i in "${APPS[@]}"; do
+#	ln -sv /usr/share/applications/${i}.desktop Desktop/
+#done
 
+popd
 # Clean up perms
 chown -R gentoo:users /home/gentoo


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-02-28 16:17 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2022-02-28 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     442400510e1530802761c88ffbfc553fc2491181
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 28 16:17:09 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Feb 28 16:17:27 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=44240051

specs/amd64/livegui: add user face/icon to fsscript

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 3b866310..5656bd3c 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -33,9 +33,12 @@ echo "[Default Applications]
 text/html=firefox.desktop" > .config/mimeapps.list
 
 # Customize taskbar pinned apps
-wget "https://dev.gentoo.org/~bkohler/plasma-org.kde.plasma.desktop-appletsrc" -O \
+wget "https://dev.gentoo.org/~bkohler/livegui/plasma-org.kde.plasma.desktop-appletsrc" -O \
 	.config/plasma-org.kde.plasma.desktop-appletsrc
 
+# User face image
+wget "https://dev.gentoo.org/~bkohler/livegui/face.icon.png" -O .face.icon
+
 # Desktop icon setups
 #DESKTOP_APPS=( org.kde.konsole firefox org.kde.dolphin )
 #for i in "${APPS[@]}"; do


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-03-01 15:53 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2022-03-01 15:53 UTC (permalink / raw
  To: gentoo-commits

commit:     05d3853edc7e577afada48a73837199a08773ef2
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 15:51:31 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Mar  1 15:53:23 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=05d3853e

specs/amd64/livegui: add polkit exceptions for partition tools

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 5656bd3c..32931eb6 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -48,3 +48,16 @@ wget "https://dev.gentoo.org/~bkohler/livegui/face.icon.png" -O .face.icon
 popd
 # Clean up perms
 chown -R gentoo:users /home/gentoo
+
+# Let some tools run as root
+echo "polkit.addRule(function(action, subject) {
+    if (action.id == "org.gnome.gparted") {
+        return polkit.Result.YES;
+    }
+});
+
+polkit.addRule(function(action, subject) {
+    if (action.id == "org.kde.kpmcore.externalcommand.init") {
+        return polkit.Result.YES;
+    }
+});" > /etc/polkit-1/rules.d/livegui-root-tools.rules


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-03-01 16:06 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2022-03-01 16:06 UTC (permalink / raw
  To: gentoo-commits

commit:     20f2105ed09fb8e29fb3a015b901d4011bbb4292
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 16:06:13 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Mar  1 16:06:13 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=20f2105e

specs/amd64/livegui: allow root for mounts

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 32931eb6..7c11b074 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -60,4 +60,10 @@ polkit.addRule(function(action, subject) {
     if (action.id == "org.kde.kpmcore.externalcommand.init") {
         return polkit.Result.YES;
     }
+});
+
+polkit.addRule(function(action, subject) {
+    if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") {
+        return polkit.Result.YES;
+    }
 });" > /etc/polkit-1/rules.d/livegui-root-tools.rules


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-03-03 14:25 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2022-03-03 14:25 UTC (permalink / raw
  To: gentoo-commits

commit:     c237e1ff96a6dcc2a40f7dc8303ed456ab50cd0e
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 14:24:36 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Mar  3 14:24:58 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=c237e1ff

specs/amd64/livegui: fix quoting in polkit rules

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 7c11b074..b2cc2990 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -50,7 +50,7 @@ popd
 chown -R gentoo:users /home/gentoo
 
 # Let some tools run as root
-echo "polkit.addRule(function(action, subject) {
+echo 'polkit.addRule(function(action, subject) {
     if (action.id == "org.gnome.gparted") {
         return polkit.Result.YES;
     }
@@ -66,4 +66,4 @@ polkit.addRule(function(action, subject) {
     if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") {
         return polkit.Result.YES;
     }
-});" > /etc/polkit-1/rules.d/livegui-root-tools.rules
+});' > /etc/polkit-1/rules.d/livegui-root-tools.rules


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-03-06 15:36 Andreas K. Hüttel
  0 siblings, 0 replies; 16+ messages in thread
From: Andreas K. Hüttel @ 2022-03-06 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     dacfb25e5c2e2cc21aaf380b8e7ad98829a1475d
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 15:34:57 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 15:34:57 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=dacfb25e

livegui: Autostart keyboard layout module on plasma login

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index b2cc2990..8e7d1376 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -45,6 +45,18 @@ wget "https://dev.gentoo.org/~bkohler/livegui/face.icon.png" -O .face.icon
 #	ln -sv /usr/share/applications/${i}.desktop Desktop/
 #done
 
+# Autostart keyboard layout module
+mkdir -p .config/autostart
+echo "[Desktop Entry]
+Version=1.0
+Name=Keyboard settings
+Icon=preferences-system
+Type=Application
+SingleMainWindow=true
+Exec=systemsettings kcm_keyboard
+Terminal=false
+" > .config/autostart/systemsettings-keyboard.desktop
+
 popd
 # Clean up perms
 chown -R gentoo:users /home/gentoo


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-03-12 22:20 Andreas K. Hüttel
  0 siblings, 0 replies; 16+ messages in thread
From: Andreas K. Hüttel @ 2022-03-12 22:20 UTC (permalink / raw
  To: gentoo-commits

commit:     4424ed7c096acce216b368c3a332d46041c5168a
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 22:20:10 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 22:20:10 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=4424ed7c

livegui: properly start systemsettings for keyboard

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 8e7d1376..3c15b427 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -53,7 +53,7 @@ Name=Keyboard settings
 Icon=preferences-system
 Type=Application
 SingleMainWindow=true
-Exec=systemsettings kcm_keyboard
+Exec=systemsettings5 kcm_keyboard
 Terminal=false
 " > .config/autostart/systemsettings-keyboard.desktop
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2022-12-19 20:46 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2022-12-19 20:46 UTC (permalink / raw
  To: gentoo-commits

commit:     12a7a1645f93cae3d0b58566bdee5e9fb4d5155a
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 20:40:23 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 20:46:25 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=12a7a164

livegui/fsscript: fix sddm autologin

Apparently sddm.conf used to allow =yes but now needs =true for a bool

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 3c15b427..013f4d65 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -18,7 +18,7 @@ hostname-mode=none" > /etc/NetworkManager/NetworkManager.conf
 echo "[Autologin]
 User=gentoo
 Session=plasma.desktop
-Relogin=yes" > /etc/sddm.conf
+Relogin=true" > /etc/sddm.conf
 
 # Set up gentoo user
 pushd /home/gentoo


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2023-02-17 18:57 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2023-02-17 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     c8c48fb7e10f91a254994908479898a76685adab
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 18:57:24 2023 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 18:57:24 2023 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=c8c48fb7

livegui/fsscript: adjust how we set firefox as default

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 013f4d65..d1e3d944 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -29,8 +29,17 @@ echo "[Daemon]
 Autolock=false" > .config/kscreenlockerrc
 
 # Firefox as default browser
-echo "[Default Applications]
-text/html=firefox.desktop" > .config/mimeapps.list
+echo \
+"[Added Associations]
+inode/directory=org.kde.dolphin.desktop;
+x-scheme-handler/http=firefox-esr.desktop;chromium-browser-chromium.desktop;
+x-scheme-handler/https=firefox-esr.desktop;chromium-browser-chromium.desktop;
+
+[Default Applications]
+inode/directory=org.kde.dolphin.desktop;
+x-scheme-handler/http=firefox-esr.desktop;
+x-scheme-handler/https=firefox-esr.desktop;" \
+ > .config/mimeapps.list
 
 # Customize taskbar pinned apps
 wget "https://dev.gentoo.org/~bkohler/livegui/plasma-org.kde.plasma.desktop-appletsrc" -O \


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2023-03-06 13:20 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2023-03-06 13:20 UTC (permalink / raw
  To: gentoo-commits

commit:     65323a3ed639bd78e08bde616c0984e25bd22f9a
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  6 13:17:47 2023 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Mar  6 13:17:47 2023 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=65323a3e

livegui/fsscript: create required polkit rules dir

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index d1e3d944..10edf2fe 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -71,6 +71,7 @@ popd
 chown -R gentoo:users /home/gentoo
 
 # Let some tools run as root
+mkdir -p /etc/polkit-1/rules.d/
 echo 'polkit.addRule(function(action, subject) {
     if (action.id == "org.gnome.gparted") {
         return polkit.Result.YES;


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2023-12-22 13:24 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2023-12-22 13:24 UTC (permalink / raw
  To: gentoo-commits

commit:     11087496edbce92b4e5e52c336ef4145dcb3273f
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 13:22:53 2023 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 13:24:17 2023 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=11087496

releases/specs/amd64/livegui/files/fsscript-stage2.sh: Disable Lock on resume

Disable screen locking completing to close out bug 915229

Closes: https://bugs.gentoo.org/915229

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 10edf2fe..05ddf659 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -26,7 +26,8 @@ mkdir -pv .config Desktop
 
 # Disable screen lock
 echo "[Daemon]
-Autolock=false" > .config/kscreenlockerrc
+Autolock=false
+LockOnResume=false" > .config/kscreenlockerrc
 
 # Firefox as default browser
 echo \


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2024-02-15 20:40 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2024-02-15 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     a1657606c333bc3effb0adf4518b66101ad3223b
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 20:38:56 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 20:40:00 2024 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=a1657606

livegui/fsscript: add /mnt/gentoo dir

Bug: https://bugs.gentoo.org/915957

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 05ddf659..d17bee54 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -90,3 +90,6 @@ polkit.addRule(function(action, subject) {
         return polkit.Result.YES;
     }
 });' > /etc/polkit-1/rules.d/livegui-root-tools.rules
+
+# Create missing /mnt/gentoo, to behave like installcd
+mkdir -p /mnt/gentoo


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2024-02-16 17:29 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2024-02-16 17:29 UTC (permalink / raw
  To: gentoo-commits

commit:     1091a5326f30c24c1ad1763913d4fd16c34caf48
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 16 17:28:53 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb 16 17:29:32 2024 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=1091a532

Revert "livegui/fsscript: add /mnt/gentoo dir"

This reverts commit a1657606c333bc3effb0adf4518b66101ad3223b.

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index d17bee54..05ddf659 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -90,6 +90,3 @@ polkit.addRule(function(action, subject) {
         return polkit.Result.YES;
     }
 });' > /etc/polkit-1/rules.d/livegui-root-tools.rules
-
-# Create missing /mnt/gentoo, to behave like installcd
-mkdir -p /mnt/gentoo


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2024-03-05 16:53 Ben Kohler
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Kohler @ 2024-03-05 16:53 UTC (permalink / raw
  To: gentoo-commits

commit:     4ecae8fec83252f13912b2c9ffe7f0ece394c7ae
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 16:53:06 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 16:53:06 2024 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=4ecae8fe

livegui/fsscript: attempt to disable suspend

Bug: https://bugs.gentoo.org/925002

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 .../specs/amd64/livegui/files/fsscript-stage2.sh   | 57 ++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 05ddf659..ad49ec3b 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -67,6 +67,63 @@ Exec=systemsettings5 kcm_keyboard
 Terminal=false
 " > .config/autostart/systemsettings-keyboard.desktop
 
+# Disable suspend
+echo "[AC]
+icon=battery-charging
+
+[AC][DPMSControl]
+idleTime=600
+lockBeforeTurnOff=0
+
+[AC][DimDisplay]
+idleTime=300000
+
+[AC][HandleButtonEvents]
+lidAction=1
+powerButtonAction=16
+powerDownAction=16
+triggerLidActionWhenExternalMonitorPresent=false
+
+[Battery]
+icon=battery-060
+
+[Battery][DPMSControl]
+idleTime=300
+lockBeforeTurnOff=0
+
+[Battery][DimDisplay]
+idleTime=120000
+
+[Battery][HandleButtonEvents]
+lidAction=1
+powerButtonAction=16
+powerDownAction=16
+triggerLidActionWhenExternalMonitorPresent=false
+
+[LowBattery]
+icon=battery-low
+
+[LowBattery][BrightnessControl]
+value=30
+
+[LowBattery][DPMSControl]
+idleTime=120
+lockBeforeTurnOff=0
+
+[LowBattery][DimDisplay]
+idleTime=60000
+
+[LowBattery][HandleButtonEvents]
+lidAction=1
+powerButtonAction=16
+powerDownAction=16
+triggerLidActionWhenExternalMonitorPresent=false
+
+[LowBattery][SuspendSession]
+idleTime=300000
+suspendThenHibernate=false
+suspendType=1" > .config/powermanagementprofilesrc
+
 popd
 # Clean up perms
 chown -R gentoo:users /home/gentoo


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/
@ 2024-05-11 22:56 Andreas K. Hüttel
  0 siblings, 0 replies; 16+ messages in thread
From: Andreas K. Hüttel @ 2024-05-11 22:56 UTC (permalink / raw
  To: gentoo-commits

commit:     f2fc0dec69622950e54cdc287cef81e164590317
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Sat May 11 21:43:25 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May 11 21:43:25 2024 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=f2fc0dec

releases/specs/amd64/livegui/files/fsscript-stage2.sh: Create /mnt/gentoo

Fix the lack of /mnt/gentoo being created on livegui.

Closes-bug: https://bugs.gentoo.org/915957
Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index ad49ec3b..44f5f56a 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -6,6 +6,9 @@ source /etc/profile
 env-update
 source /tmp/envscript
 
+# Create /mnt/gentoo
+mkdir /mnt/gentoo
+
 # No we don't want to run xdm...
 sed -e '/^DISPLAYMANAGER=/s/.*/DISPLAYMANAGER="sddm"/' -i /etc/conf.d/display-manager
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-05-11 22:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 13:20 [gentoo-commits] proj/releng:master commit in: releases/specs/amd64/livegui/files/ Ben Kohler
  -- strict thread matches above, loose matches on Subject: below --
2024-05-11 22:56 Andreas K. Hüttel
2024-03-05 16:53 Ben Kohler
2024-02-16 17:29 Ben Kohler
2024-02-15 20:40 Ben Kohler
2023-12-22 13:24 Ben Kohler
2023-02-17 18:57 Ben Kohler
2022-12-19 20:46 Ben Kohler
2022-03-12 22:20 Andreas K. Hüttel
2022-03-06 15:36 Andreas K. Hüttel
2022-03-03 14:25 Ben Kohler
2022-03-01 16:06 Ben Kohler
2022-03-01 15:53 Ben Kohler
2022-02-28 16:17 Ben Kohler
2022-02-18 20:37 Ben Kohler
2022-02-15 12:25 Ben Kohler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox