bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
63 lines
2.7 KiB
Diff
63 lines
2.7 KiB
Diff
diff --git i/extension.js w/extension.js
|
|
index c151057..1b6dfc3 100644
|
|
--- i/extension.js
|
|
+++ w/extension.js
|
|
@@ -717,7 +717,7 @@ const EasyScreenCastIndicator = GObject.registerClass({
|
|
Lib.TalkativeLog('-*-execute post command');
|
|
|
|
// launch cmd after registration
|
|
- const tmpCmd = `/usr/bin/sh -c "${this._settings.getOption('s', Settings.POST_CMD_SETTING_KEY)}"`;
|
|
+ const tmpCmd = `/bin/sh -c "${this._settings.getOption('s', Settings.POST_CMD_SETTING_KEY)}"`;
|
|
|
|
const mapObj = {
|
|
_fpath: pathFile,
|
|
diff --git i/prefs.js w/prefs.js
|
|
index e0dd1a2..9dcb87a 100644
|
|
--- i/prefs.js
|
|
+++ w/prefs.js
|
|
@@ -13,8 +13,8 @@
|
|
'use strict';
|
|
|
|
import GIRepository from 'gi://GIRepository';
|
|
-GIRepository.Repository.prepend_search_path('/usr/lib64/gnome-shell');
|
|
-GIRepository.Repository.prepend_library_path('/usr/lib64/gnome-shell');
|
|
+GIRepository.Repository.prepend_search_path('@gnomeShell@/lib/gnome-shell');
|
|
+GIRepository.Repository.prepend_library_path('@gnomeShell@/lib/gnome-shell');
|
|
|
|
import Adw from 'gi://Adw';
|
|
import GObject from 'gi://GObject';
|
|
@@ -713,7 +713,7 @@ const EasyScreenCastSettingsWidget = GObject.registerClass({
|
|
Lib.TalkativeLog('-^-NOT SET xdg-user video');
|
|
|
|
ctx.CtrlExe.Execute(
|
|
- '/usr/bin/sh -c "echo $HOME"',
|
|
+ '/bin/sh -c "echo $HOME"',
|
|
true,
|
|
(success, out) => {
|
|
Lib.TalkativeLog(`-^-CALLBACK sync S: ${success} out: ${out}`);
|
|
@@ -883,7 +883,7 @@ const EasyScreenCastSettingsWidget = GObject.registerClass({
|
|
);
|
|
|
|
ctx.CtrlExe.Execute(
|
|
- 'journalctl /usr/bin/gnome-shell --since "15 min ago" --output=cat --no-pager',
|
|
+ 'journalctl @gnomeShell@/bin/.gnome-shell-wrapped --since "15 min ago" --output=cat --no-pager',
|
|
false,
|
|
success => {
|
|
Lib.TalkativeLog(`-^-CALLBACK async S= ${success}`);
|
|
diff --git i/utilaudio.js w/utilaudio.js
|
|
index b07e181..ed7d3ba 100644
|
|
--- i/utilaudio.js
|
|
+++ w/utilaudio.js
|
|
@@ -14,10 +14,8 @@
|
|
|
|
import GObject from 'gi://GObject';
|
|
import GIRepository from 'gi://GIRepository';
|
|
-GIRepository.Repository.prepend_search_path('/usr/lib/gnome-shell');
|
|
-GIRepository.Repository.prepend_library_path('/usr/lib/gnome-shell');
|
|
-GIRepository.Repository.prepend_search_path('/usr/lib64/gnome-shell');
|
|
-GIRepository.Repository.prepend_library_path('/usr/lib64/gnome-shell');
|
|
+GIRepository.Repository.prepend_search_path('@gnomeShell@/lib/gnome-shell');
|
|
+GIRepository.Repository.prepend_library_path('@gnomeShell@/lib/gnome-shell');
|
|
import Gvc from 'gi://Gvc';
|
|
|
|
import * as Lib from './convenience.js';
|