Thread: can't activate shell extensions
hello,
downloaded extension, , put in .local/share/gnome-shell/extensions, directory contains "myext" subdir extension.js , metadata.json files.
open gnome-tweak-tool , click on "shell extensions" tab, don't see extension there... doing wrong?
thanks!
edit: forgot mention did try restart gdm (/etc/init.d/gdm restart), , extension: https://github.com/knisterpeter/gnom...-calender-open
also, in lookingglass ext. doesn't appear too, while other extension installed through apt work fine.
creating simple dummy extension gnome-shell-extension-tool works fine (the extension correctly displayed after restarting gdm)
considering extension simple (below full code), maybe can achieve same result "manually"? tried gconf-editor got error saying schemas , pairs cannot edited gconf-editor
___
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
const gio = imports.gi.gio;
function init() {
}
function enable() {
let calendarsettings = new gio.settings({ schema: 'org.gnome.desktop.default-applications.office.calendar' });
calendarsettings.set_string('exec', '/usr/bin/x-www-browser https://www.google.com/calendar');
calendarsettings.set_boolean('needs-term', false);
}
function disable() {
let calendarsettings = new gio.settings({ schema: 'org.gnome.desktop.default-applications.office.calendar' });
calendarsettings.reset('exec');
calendarsettings.reset('needs-term');
}
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] can't activate shell extensions
Ubuntu
Comments
Post a Comment