[gnome-build-meta/alatiera/default-console-shell: 1/2] vm: override the default shell gnome-console will use




commit f6bc7cc5db42d16a081855523ee71c02ca28b091
Author: Jordan Petridis <jordan centricular com>
Date:   Sat Mar 19 11:18:17 2022 +0200

    vm: override the default shell gnome-console will use
    
    While we can't change the default shell in general since fish
    isn't compatible with bash/sh, we can override the schema key
    for gnome-console.
    
    Close #332

 elements/vm/common-deps.bst                          | 1 +
 elements/vm/console-shell-override.bst               | 8 ++++++++
 files/gnome-console/99-fish-override.schema.override | 2 ++
 3 files changed, 11 insertions(+)
---
diff --git a/elements/vm/common-deps.bst b/elements/vm/common-deps.bst
index 6bc389368..93c968dac 100644
--- a/elements/vm/common-deps.bst
+++ b/elements/vm/common-deps.bst
@@ -11,6 +11,7 @@ depends:
 - vm/flathub-config.bst
 - vm/gnome-nightly-config.bst
 - vm/ostree-config.bst
+- vm/console-shell-override.bst
 - vm/plymouth-gnome-theme.bst
 - vm/resize-root.bst
 - vm/spice-vdagent.bst
diff --git a/elements/vm/console-shell-override.bst b/elements/vm/console-shell-override.bst
new file mode 100644
index 000000000..0bf864157
--- /dev/null
+++ b/elements/vm/console-shell-override.bst
@@ -0,0 +1,8 @@
+kind: import
+
+sources:
+- kind: local
+  path: files/gnome-console/99-fish-override.schema.override
+
+config:
+  target: /usr/share/glib-2.0/schemas/
\ No newline at end of file
diff --git a/files/gnome-console/99-fish-override.schema.override 
b/files/gnome-console/99-fish-override.schema.override
new file mode 100644
index 000000000..f9d728d25
--- /dev/null
+++ b/files/gnome-console/99-fish-override.schema.override
@@ -0,0 +1,2 @@
+[org/gnome/Console]
+shell=['fish']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]