gnome-shell-system-monitor-applet
gnome-shell-system-monitor-applet copied to clipboard
Disable extension in lock screen
Hi,
I am using the latest gnome-shell-system-monitor-applet from git in GNOME Shell 43.3.
commit 21d7b4e7a03ec8145b0b90c4f0b15c27d6f53788 (HEAD -> master, origin/master, origin/HEAD) Merge: 8f74f07 f251e72 Author: Chris Spencer [email protected] Date: Sat Jan 21 21:51:46 2023 -0500
Merge pull request #773 from ZimbiX/continue-running-when-screen-is-locked-and-optionally-show-on-lockscreen
Continue running when screen is locked and optionally show on lockscreen, using session modes
But, the extension is getting displayed in the lock screen.
Is there a way to disable the extension from getting displayed in the lock screen ?
I don't see any option in Preferences.
Hmm, this is probably solved with https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/780
How are you installing the extension? I'm having trouble with the symlink method:
JS ERROR: Extension [email protected]: ImportError: No JS module 'convenience' found in search path
@/home/brendan/.local/share/gnome-shell/extensions/[email protected]/extension.js:49:19
[...]
But it works for me using make install
and Alt+F2 -> r
, which is what I've always done. I use VERSION=9999 make install
to prevent automatic 'updating' to the published version.
To set the setting directly:
$ dconf write /org/gnome/shell/extensions/system-monitor/show-on-lockscreen false
How are you installing the extension? I'm having trouble with the symlink method:
@ZimbiX I have it symlinked and it's working for me:
❯ pwd
/home/mgalgs/.local/share/gnome-shell/extensions
❯ ls -l [email protected]
lrwxrwxrwx 1 mgalgs mgalgs 90 Jan 24 10:21 [email protected] -> /home/mgalgs/src/gnome-shell-system-monitor-applet/[email protected]
(I had to name the symlink with the -next
suffix because I'm running the -next
fork and the link/directory name has to match the extension uuid)
I did also have to run some incantation or other of gnome-extensions enable
. It was either gnome-extensions enable [email protected]
or gnome-shell-extension-tool [email protected]
(I have both in my history...)
But it works for me using
make install
and Alt+F2 ->r
, which is what I've always done. I useVERSION=9999 make install
to prevent automatic 'updating' to the published version.
The make install
trick seems to work for me. But, if I run make install
again it fails with.
cp: cannot stat '[email protected]/schemas/gschemas.compiled': No such file or directory
And the next make install
succeeds. So, subsequent make install
fails / succeeds.
This issue is currently blocked on https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/785
So, I am currently back to the symlink solution, in which the extension is displayed in the lock screen, and the option is not shown in prefs. But, atleast it works fine inside the login session across logouts.
And the next
make install
succeeds. So, subsequentmake install
fails / succeeds.
Tracked in https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/786
the option is not shown in prefs
@sidt4 as mentioned by @ZimbiX above you can fix this by rebuilding your dconf schema (see the README changes in #780).
@mgalgs How about updating the OP of https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/780 to include 'Resolves https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/782'?
@sidt4 as mentioned by @ZimbiX above you can fix this by rebuilding your dconf schema (see the README changes in #780).
I am not sure if I conveyed my message here. Here is the timeline.
- I face #782
- So I do a
make install
rather than a plain symlink which is what I normally use if I am custom installing an extension. - With
make install
, I was able to get the "show on lockscreen" option in prefs dialog. - However, with
make install
, I faced issues https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/784 ( cosmetic ) and https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/785 ( real blocker ) - Since #785 is currently blocking my work flow, I have returned to my original solution of symlink, even if it means I return to #782 ( where the option is not shown in pref ).
- I'll try the suggestion in https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/785#issuecomment-1474305898, tomorrow, since I am in a wayland session, and do not want to interrupt my current work session by logging out.
Yeah, I got it; thanks. Bit of a rabbit hole for you! 😅