Git Product home page Git Product logo

order-icons's Introduction

order-icons

Gnome Shell extension for ordering icons in the top bar like for Ubuntu unity

Install

Either install it via github or enable via extensions.gnome.org

https://extensions.gnome.org/extension/2114/order-gnome-shell-extensions/

How to

The icons for each panel (left, right and center) can be ordered using the Extension preferences. When opening the preferences the currently detected indicators are listed and you can put them in any order that you want.

Note that this extension is the one determining the order, any ordering done by other apps (and / or extensions) will be overwritten.

It is also possible to blacklist certain apps from showing in the panel altogether. Hiding will work immediately, for reenabling either the program needs to be restarted or gnome-shell restarted.

Disclaimer

I made that extension for myself because I was annoyed by the fact that it was always changing the order when I was locking unlocking. It might very well be the case that this extension breaks your computer and only works on my setup. So use at your own risk and/or write a bug report and I will try to fix it.

I am not a Javascript developer so improvements on how to do it are very much welcome!

order-icons's People

Contributors

andia89 avatar kaiakitten avatar sepehr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

order-icons's Issues

gnome-shell warning

Hi,
I saw gnome-shell warning when I was testing extensions in Gnome 40:

Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array). ... .local/share/gnome-shell/extensions/[email protected]/extension.js":112:23

After googling I made the following change and this message was gone:

// 1
...
const ByteArray = imports.byteArray; // add at the beginning
...

// 2
// ... and line 112 (now 113 because line is added at the top)
// let s_data = String(data).split("\n");
let s_data = ByteArray.toString(data).split('\n');

Hope this will help ... and thank you for your extension.
Cheers!

Missing icons

Fantastic extension, thank you.

The icons don't show up with default Adwaita icons, Fedora 36:
missing icons

Maybe use these ones instead?

go-up-symbolic
go-down-symbolic
edit-delete-symbolic

Extension crashes with indicator.get_parent() is null

Hello Andia89,

Within the last two weeks the extension has been crashing. It seems to happen after I unlock my screen. The error in Extension Manager is "indicator.get_parent() is null"

I am using Ubuntu 22.04lts.

Thanks for creating this extension. And, thank you for looking into this issue.

Push extension to extensions.gnome.org

Would you mind pushing this extension to extensions.gnome.org to give users an easier installation process and get a wider range of people to be able to use this extension?

How can it works on Ubuntu20.04 Gnome3.36.8

I can't update my Ubuntu20.04 to 22.04 now, but I really confused about the order of the panel, especially when come back from lock Ubuntu.
I try to use extensions.gnome.org, but it doesn't support Ubuntu20.04 and gnome3.36 anymore. And I try to install the extensions manual from your github and extensions.gnome.org (choose 3.36 and 5 or 6 to download old version of extension), but all these don't work, it seems can't enable the extension. And I tried like issue #1 , to get icons name, but it still doesn't work.
I noticed your wonderful extension was released before 2019, so it must be some way to use it on Ubuntu20.04 gnome3.36, could
I get some help from you? π__π π__π π__π

Clock menu position setting from Just Perfection extension is being reseted after lock/unlock

Hi, I’ve noticed that if I use this extension, it breaks Clock menu position setting from Just Perfection (among other things I would like to have my clock/date menu position to the far right). It works after setting it up, but when I lock/unlock screen, it resets to center. It does not happen if I disable Order Icons. It’s broken even if I try to delete date menu from the Center panel section.

Relevant issue on Just Perfection:
https://gitlab.gnome.org/jrahmatzadeh/just-perfection/-/issues/173

Feature request: Re-add indicators on panel

Add a way to add back the indicators that were removed previously. For example, by mistake I had removed the App Name indicator, now it has moved completely to the front and is not visible on the list, and hence can't be moved. Re-adding the indicator would be helpful. Also, disabling could be added so that the indicator doesn't show up in the panel but is still there in the list (and is greyed out) and can be enabled any time we want. This would allow us to delete the indicators without losing the order they were previously present.

Extension makes app icon and application name visible in lock screen

This is a security flaw as this extension makes the app icon and application name visible on the lock screen. I may be showing other user data in the top bar, not sure about that.

Also, this extension doesn't respect the changes made by other extensions.

Adding key file is tricky and not everyone is so technical to make this file. You can add this feature in the setting option for this extension (by running journalctl .. command) and then giving user the option to rearrange the order.

Like the idea for this application.

Date menu disappears

Hello,

I've noticed that when I enable this extension, the date menu becomes transparent.
This has already been reported, but the workaround there didn't help me: #8

I'm also using Dash to Panel, just like in that other issue.

Gnome 46

This extension is very useful. Thanks for it! Any idea when Gnome 46 will be supported?

Extension Questions

I correctly understood that you can change the order of these icons?
https://i.imgur.com/DWyFMfK.png

Tell me your extension will work with a gnome shell 3.34?
You can show an example of what the ordering-override.keyfile file should be.

Date menu doesn't show up in Ubuntu 22.04

Greetings,

When I enable the extension in Ubuntu 22.04, I noticed that the date menu still has its allocated space but doesn't show up.

I checked previous issues and notice that one of them had dateMenu showing up in the Center Panel, but it's not here in my case. Everything is in the Right Panel and no sign for dateMenu.

-loved the script nevertheless! 😋

Legacy icons ever create a new entrace in extension configuration

It is possible that legacy indicators and icons (such as those of Wine) are grouped all at once, because whenever I start another instance of the application, another entry is created in the extension's configuration menu.
Captura de tela de 2023-05-22 14-55-12
Thanks again for the excellent work on this extension.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.