nls1729 / acme-code Goto Github PK
View Code? Open in Web Editor NEWGnome Shell Extensions etc...
Home Page: https://nls1729.github.io
License: GNU General Public License v2.0
Gnome Shell Extensions etc...
Home Page: https://nls1729.github.io
License: GNU General Public License v2.0
Usally the translation template file (*.pot) can be created automatically using the following command:
xgettext -k_ -kN_ -o nls1729-extensions.pot prefs.js readme.js notify.js
It finds all occurances of Strings of the kind _("TEXT"). It seems that you have changed the source code in a way that this does not work anymore for most of the Strings. Instead you use _N("TEXT") that seems to do nothing. Is there a reason why?
It looks like new release of Gnome made a lot of extensions 'outdated'. Could you upgrade this one?
It would be great to be able to control (1) the colour and (2) the presence of a drop shadow using this extension.
Activities Configurator Extension:
Is there any possible to enable the Hot Corner when in full screen mode in video player like SMPlayer or VLC?
Sometimes I'd like to switch to other apps without quitting full screen mode ... or something else ...
Key bindings would be nice.
i just figured out that
acme-code/extension-reloader/extension.js
Line 116 in 7ef2b63
will fail for version < 3.32, it looks like something like this would work:
function getAsGObject(classObject) {
if (ExtensionUtils.versionCheck(['3.32'], Config.PACKAGE_VERSION)) {
return new GObject.registerClass(classObject)();
} else {
return new classObject();
}
}
Notifications still pop up despite that I have busy-mode on.
Is it possible to add a timeout feature that automatically drops you out of do-not-disturb?
Hi! Thank you so very much for your great work!
But the option "Show overview is no applications are running" stops working after the system re-login or system reboot. If I re-enable this option, it starts working fine again, but it again stops working if then I reboot my system. This issue only happens if I use GNOME 3.30, but this has never happened before on GNOME 3.28 and all other previous versions of GNOME. I'm using Arch Linux.
It seems that Activities Configurator has some memory leak issues if you let it run for greater than 24 hours.
I upgraded from Ubuntu 16.04 to 18.04 and found this extension useful to have a nice Ubuntu logo instead of the "Activities" letters in the top left corner.
I'm also using the multi monitors add-on extension, so I have the top panel on all monitors, as it was with Unity before.
Unfortunately there the "Activities" still remains and is not replaced by the configured logo.
Is there a way to replace "Activities" on the other monitors with the logo too?
When a window is maximised and I go to the overview or application screen, the top bar is still coloured black as per the "Window Maximized Effect" setting.
Would it be possible to have the top bar revert back to the configured style when those views are open? or for the user to configure an entirely different style for those views?
Hi there. I just installed Ubuntu 18.04 and decided to give your extension a try.
It gives me the following error (screenshot appended)
Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found
Stack trace:
@/home/frenetic/.local/share/gnome-shell/extensions/activities-config@nls1729/colors.js:1:7
@/home/frenetic/.local/share/gnome-shell/extensions/activities-config@nls1729/prefs.js:15:7
_getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_extensionFound/<@resource:///org/gnome/shell/extensionPrefs/main.js:206:13
main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
@<main>:1:43
The configuration says the panel is only transparent, if no window is maximized. When I lock the screen and unlock it again, the panel is transparent, but the windows are maximized.
Sorry, that the screenshot is in German, but you should be able to know, what the settings mean in English (:
[v67 GS 3.28,3.30]
Gnome Shell: 3.30.1
Thanks a lot
Hello and good day,
I'm that gnomemenow guy and want to describe what I mean about the click-behaviour here as you suggested.
The following is the stauts quo:
When I lock the screen I haven't changed my mind to "get distrubed" or "not get distrurbed" so I personally would prefer that the state after unlocking the screen should be the same as before I locked the screen.
Edit: added " to perhaps make it a little more clear
Edit2: we also could tilte this issue as "don't lose current state after suspend / screen lock / gnome-shell restart"
Edit3: changed the title to reflect the said extension
Hi,
I wanted to test your last version of Activities configurator but it doesn't work.
When I try to open the settings I get this error :
The settings of extension activities-config@nls1729 had an error:
GLib.FileError: Failed to open file “/home/kerry/.local/share/gnome-shell/extensions/activities-config@nls1729/schemas/gschemas.compiled”: open() failed: No such file or directory
Stack trace:
getSettings@/home/kerry/.local/share/gnome-shell/extensions/activities-config@nls1729/convenience.js:80:24
_init@/home/kerry/.local/share/gnome-shell/extensions/activities-config@nls1729/prefs.js:68:23
buildPrefsWidget@/home/kerry/.local/share/gnome-shell/extensions/activities-config@nls1729/prefs.js:635:18
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:75:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:320:17
main@resource:///org/gnome/shell/extensionPrefs/main.js:635:5
@<main>:1:43
`
In Ubuntu 18.04 the extensions blocked notifications but no blocked the sounds of WhatsApp
n.v.m.
@nls1729 Thank you very much with the GNOME 3.32 rebase! #50
So, I feel I should help you too.
Therefore, I offer you my help in translating the Activities Configurator settings into my native Russian language.
Need you my help?
[the SELECT button] [ВЫБОР] Выбор значка
Масштабирование значка
Скрыть значок
Отступ значка
[the APPLY button] [ПРИМЕНИТЬ] Новый текст [Обзор]
Скрыть текст
Отступ текста
Удалить кнопку "Обзор"
Чувствительность горячего угла
Отключить горячий угол
Скрыть закругления углов панели
Скрыть кнопку меню приложений
Игнорировать тему GNOME Shell
Переключаться в "Обзор" если нет запущенных приложений
Задать цвет панели
Прозрачность панели
Цвет тени панели
Прозрачность
Толщина панели
Область размытия
Область распространения
| Панель - Без эффекта
Эффект при развёрнутом на весь экран окне | Непрозрачная панель | Отключить разворачивание окон на весь экран при вдавливании окон в верхний край экрана
| Чёрная непрозрачная панель
Переместить кнопку "Обзор" вправо
Включить предотвращение конфликтов с другими расширениями
[СБРОС] Вернуться к настройкам по умолчанию
[ПРОЧТИ МЕНЯ] Описание этого расширения
The Do Not Disturb Button description specifies that it does not integrate with the "available" status for chat applications in Online Accounts. Moreover, DNDB hides all system notifications, not just chat messages.
GNOME Shell includes an icon that appears in the notification area when there are no notifications or calendar events to display. It's pretty similar, but I think the placement of the stem might better evoke "notification" than "chat message". The SVG version should exist on your system at /usr/share/icons/gnome/scalable/apps/preferences-system-notifications-symbolic.svg
.
Otherwise, the usual imagery for a generic notifications icon (as opposed to an error or warning message icon) is probably a bell. OpenClipArt has examples of both bells and balloons as notification icons.
Hello,
Have the latest version of activities configurator installed from extensions.gnome.org (Commit: fa3a78b).
When I initially installed the extension I was able to turn on "Override Shell Theme" but now it is disabled and greyed out so I am unable to enable it.
System:
Linux 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u1 (2018-08-03) x86_64 GNU/Linux
GNOME Shell 3.22.3
Kali-X Shell Theme.
I have another machine that has the exact same OS, gnome shell version and shell theme and I am able to enable the override setting. So not sure what the issue is. I have tried to reinstall the extension but this has not fixed the issue.
Is there anything you could recommend I try?
Your response is greatly appreciated. Thanks.
It crashes every time I lock and unlock the user. A simple restart by alt+f2 solves the problem for the time.
Using GNOME 2.18, using custom logo and no top left hot corner.
Hi!
I was testing stuff on Wayland (Fedora 26) and realized that the hot corner behavior which works when drag-n-dropping (even when hot corner is disabled) doesn't work under Wayland. It still works fine under X11.
As reminder this feature was added in commit c632edc and that's very useful because I really dislike the hot corner except when I drag-n-drop. :-)
Thanks!
When installing an extension for a single user only, language files would normally appear in locale/
under the extension's directory under ~/.local/share/gnome-shell/extensions/
. Most packaged GNOME Shell extensions in Fedora, however, install these translations to a global directory. So, in the installed RPM package, a .mo file would have a path like this:
/usr/share/locale/de/LC_MESSAGES/nls1729-extensions.mo`
The nls1729-extensions
filename seems to be the same for both Activities Configurator and Do Not Disturb Button, so the two packages are going to conflict. I tried simply renaming the .mo files from my RPM spec, but then the extension configurator doesn't seem to get translated. So I believe I need you to rename the .mo files when you prepare your source releases.
Using activities configurator with default settings makes the top panel not have the new auto transparency introduced in GNOME 3.26. Enabling 'Enable Conflict Detection' does not solve the issue.
login leaves this:
https://i.imgur.com/JeAkTIw.png
Any chance you could get this up and running for 3.34 please?
It installed fine and I see the smiley face at the top left, but if I try to open the settings within gnome tweaks I get this:
`TypeError: Me.metadata['shell-version'] is undefined
Stack trace:
_init@/home/reece/.local/share/gnome-shell/extensions/activities-config@nls1729/prefs.js:53:1
buildPrefsWidget@/home/reece/.local/share/gnome-shell/extensions/activities-config@nls1729/prefs.js:626:18
_showPrefs@resource:///org/gnome/shell/extensionPrefs/main.js:57:22
_extensionsLoaded@resource:///org/gnome/shell/extensionPrefs/main.js:319:13
_scanExtensions/<@resource:///org/gnome/shell/extensionPrefs/main.js:297:13
asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:132:13
main@resource:///org/gnome/shell/extensionPrefs/main.js:702:5
@
Hi
With the new release, if I set any values for the Panel Shadow then it automatically applies the Panel Background colour from "Set Panel Background". This means it is impossible to use a theme's colour scheme while having a shadow enabled. Can you make "Set Panel Background" to have an on/off toggle to fix this?
Thank you
I package Do Not Disturb Button as an RPM for Fedora. I noticed after updating the package to DNDB version 31 (I was a little late getting the notification) that I was getting an error saying:
Extension "donotdisturb-button@nls1729" had error: Gio.IOErrorEnum: Error opening file “/usr/share/gnome-shell/extensions/donotdisturb-button@nls1729/correctClass.js”: Permission denied
and
Apr 18 13:14:02 mars.localdomain gnome-shell[3326]: Extension "donotdisturb-button@nls1729" had error: Gio.IOErrorEnum: Error opening file “/usr/share/gnome-shell/extensions/donotdisturb-button@nls1729/force.js”: Permission denied
Like most nonbinary software from an RPM package, the DNDB files are in a directory under /usr/share/
and are owned by root, but all the files had universal read permissions, so I thought this was weird. Just to see what would happen, I added execution permissions, then write permissions, and restarted GNOME Shell each time. After adding write permissions, the files changed, but DNDB started to function normally again. Then I removed the write and execution bits, but the left the files with their newly altered contents, and DNDB seems to continue to work.
...Is there a reason you decided to write the extension this way? RPM packages aren't normally supposed to change themselves as you use them, and I don't think I could get away with changing the file permissions in the finished package to read/write for everyone. If I use the self-edited version of those files in my RPM instead of the version downloaded from the GNOME Shell Extensions website, how reliably could I expect them to work on other people's computers?
BEHAVIOR
Though I can't specifically pinpoint when, occasionally the Activities Configurator will disable the "Hide panel rounded corners" option... yet when I go into the configuration settings window, the button is switched to on, not off.
EXPECTED BEHAVIOR
When the "Hide panel rounded corners" button is switched to yes, the rounded corners won't intermittently re-appear and have to be re-enabled and then re-disabled.
ISSUE DISCOVERED USING
Ubuntu (GNOME) 17.04 x64
Gnome 3.24.1 desktop environment
Linux kernel 4.10.0-21-generic
I installed this great plugin recently mostly to disable the activities hot corner. It works great, but after a reboot the hot corner starts activating again. Note: I've seen this on two different up-to-date Arch Linux machines.
If I go and toggle the slider twice, then it starts working again, but I thought I'd file a bug.
Here is a bit more info which may be helpful:
I'm running Gnome classic shell, and the only other non-default settings I have are to disable the activities button and I hide the icon.
Hi! Thank you for your work!
What about GNOME 3.32 support?
Hello,
I don't like the GNOME hot corner, so I disable it with the Activities Configurator extension.
Yet there is one case where I like it: when I drag'n drop a file to another application (which is not necessarily visible on my screen), for instance to drop a subtitle file over a running video player.
For this, I can drag my file over the hot corner which would display activities and workspaces, and still dragging, I can go over the right window.
Would it be possible to have an additional configuration when I disable the hot corner, saying basically "except for drag'n drop"?
This would be awesome. Thanks.
Do not disturb button is unresponsive to touch on wayland (gnome-shell 3.28). To fix this, the code needs to handle CLUTTER_TOUCH_BEGIN/UPDATE/END.
See comment here:
https://bugzilla.gnome.org/show_bug.cgi?id=770185#c21
and how gnome-shell does this for its top bar (as an example):
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/112/diffs
Many thanks for the excellent extension.
Still working here and there on my first RPM packages for Fedora.
This is maybe a little pedantic... But stylesheet.css
is empty. Did you mean to delete it, or are you just keeping it around in case you want to add styles later? Just curious.
git checkout
-ed a different commit to hunt down a bug).Extension to now be running the newly checkout
-ed commit.
Extension still running the old commit.
When I go into GNOME Tweaks and try to configure the Activities Configurator extension, a terminal opens up saying the following:
"There was an error loading the preferences dialog for Activities Configurator:"
Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found
Stack trace:
@/home/jesse/.local/share/gnome-shell/extensions/activities-config@nls1729/colors.js:1:7
@/home/jesse/.local/share/gnome-shell/extensions/activities-config@nls1729/prefs.js:15:7
_getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
@
Bug discovered using:
Ubuntu 18.04 beta 2
Gnome 3.28 (gnome-session, X.org -- not the Ubuntu default gnome session)
Linux kernel 4.15.0-13-generic
Hi! Thank you very much for your great work! But what about GNOME 3.28 official support?
Hi,
I've upgraded my gnome-shell to 3.22, and I've seen a breackage in Activities Configurator:
When I right-click on activities button, I can't manage my extensions anymore : a blank (unclosable) window appears...
Same from gnome-tweak-tool and click on settings button.
Thanks for those great extensions !
Here are two examples.
When active...
Using LibreOffice or Firefox, the following problems are
Control-S within LO is intercepted by Gnome, Control-S should perform a save of the document.
With Firefox and other, Control + Scroll wheel should change the main window presentation size (zoom/unzoom).
Disabling this extension reverts the functionality of the other applications.
I tried to install from the web as web as from .zip file but it's not work, any fix?
Hi, this extension is amazing!
But after I updated from Fedora 29 to 30 and also updated gnome-shell to version 3.32.2 I noticed a memory leak on it.
After talking to some people it was advised to turn the extensions off and so I did it. After investigating which extension was causing the trouble. Unfortunately, it was this one.
After 24 hours the gnome-shell was occupying 4.5gb of RAM and the memory leak goes on until the system stops responding.
The configurator applies on the login screen when the user shell theme isn't active. It overwrites the default gnome shell theme and replaces the panel background color and text. This happens when I suspend by closing my laptop lid and leave it like that, and it doesn't happen when I click the suspend button or simply lock the screen.
Is there any way to make it so it doesn't overwrite that or keep the original login panel style?
This is a very minor issue. But one or a couple places in your repo, the copyright comment at the beginning of a code file mentions getting a copy of the the GPL by sending snail mail to the Free Software Foundation. The FSF address you provide is a little out-of-date, as they've moved from Temple Place to Franklin Street. The current address is here:
Free Software Foundation
51 Franklin Street, Fifth Floor
Boston, MA 02110-1335
USA
https://www.fsf.org/about/contact/
Or you could just direct them to the web version instead:
It would be great if the donotdisturb-button disabled notification sounds when in the busy mode. At present, toggling on the busy mode does hide the notification banner from appearing, but I can still hear the "Alert" sound from the GNOME sound theme (which I do want to hear when I am not in the busy mode).
Thanks for the exceedingly useful extension.
It would be nice to have an option in Preferences to move the button on the right (System status area).
Sadly, Gnome is still an interface that is in constant development.
Your program works with Fedora29 but fails with Rawhide (the next gnome version)
Rawhide may be at 3.22 Gnome is ashamed to indicate the version anywhere in the Gnome Fedora interfaces.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.