ikalnytskyi / gnome-shell-extension-icon-hider

Icon Hider is a gnome-shell extension for managing status area items.
Other
31 stars 11 forks source link

Hide night light but keep aggregateMenu? #32

Open orschiro opened 6 years ago

orschiro commented 6 years ago

Hey @ikalnytskyi,

Love your extension! Is there any way to hide the night light icon but keep aggregateMenu visible?

Thank you!

image

theychx commented 6 years ago

It would appear that the night light icon is part of the aggregate menu, so probably no. When I get the time, I'll make an attempt at fixing the open bug issues, and then also investigate this issue further.

theychx commented 6 years ago

(There's probably a way to manipulate the aggregate menu itself, but that might be out of scope for this extension.)

orschiro commented 6 years ago

Thanks for your swift reply! Really appreciate it. Let's see what is possible. :-)

zapashcanon commented 6 years ago

You can do it using something like what it's done here.

theychx commented 6 years ago

@zapashcanon Thanks! Why isn't your extension on extensions.gnome.org?

orschiro commented 6 years ago

@zapashcanon can you please describe what your extension does?

zapashcanon commented 6 years ago

Don't use it, it's a mess. :)

But basically, this screenshot should give you an idea. It's just so you can see how it's possible to hide whatever you want in the topbar (as it's hard to find documentation for writing extensions...).

orschiro commented 6 years ago

@zapashcanon wow but looks cool at least! ;-)

jcklpe commented 6 years ago

@zapashcanon I would LOVE the ability to cut down on stuff in my aggregate menu. I don't under stand the point of having my sound menu, my power off button, and an arrow, but when clicked they all do the same thing, open the agg menu. It would be SUPER nice to just have one button.

And that's out of scope for the Hide Icon extension but it might be nice to be able to stick stuff in the agg menu modal instead of just hiding it. I mean that's basically what windows does and it seems like a good solution to me.

zapashcanon commented 6 years ago

I think some of them are used as indicators. If you look at the sound button, it changes depending on the current volume. The wifi and ethernet one tells you that you are connected to wifi/ethernet. The power off and the arrow are just here to guide beginners I think. Etc.

But I prefer - like you - not having them. So, if you want, you can try to install my extension, but it's far from being perfect and its unlikely I'll be able to work on it soon.

I don't understand what you mean by:

it might be nice to be able to stick stuff in the agg menu modal instead of just hiding it

jcklpe commented 6 years ago

@zapashcanon

Cool. I am new to gnome and I've never manually installed an extension before, but I found a guide on how and it seems pretty simple. You say it's a mess, is there anything in particular or bugs I should look out for?

As for what I meant about being able to put stuff in the agg men, I mean something like what Windows does with hidden system tray icons:

image As you can see, these tray icons are still accessible, they're just hidden from normal view in a little sub modal popout. Aggregate menu is a little sub menu modal that pops out so it seems to me like it would make sense to give it a similar property. Go from something like this: screen1

to something like this: screen2

Because sometimes you don't want to completely get rid of the icon you just want to tuck it away. Also there are some icons which are meant to hide themselves except when they're letting you know an update on information, such as in the case of dropbox or the update apps icons. There's actually a number of issues in this repo that touch on this issue such ass https://github.com/ikalnytskyi/gnome-shell-extension-icon-hider/issues/34 , and https://github.com/ikalnytskyi/gnome-shell-extension-icon-hider/issues/29 and it seems to me that with the goal of fixing that behavior would also gel well with the functionality of making it possible to have icons visible in the agg menu but not by default from the system tray. Just a thought.

jcklpe commented 6 years ago

Also here's another showing what I think the menus expanded could look like. screen3

jcklpe commented 6 years ago

Also @orschiro you might want to check out this extension. It breaks the aggregate menu into individual icons that you can hide on a per icon basis. https://github.com/julio641742/extend-panel-menu

zapashcanon commented 6 years ago

I updated installation instruction, you'll find everything on the repo.

There's not problematic bug. I use the extension everyday. The thing is that sometimes, some icons are appearing again when they should stay hidden. Also, I wrote it when the night mode didn't exist, so, there's no ability to hide it at the moment. (It should be easy to add, one just need to find the name of it in the menu).

Anyway, if you want to give it a try and have some requests, I can try to fix some of them.

zapashcanon commented 6 years ago

I just added a switch for the nightlight's indicator.

jcklpe commented 6 years ago

@zapashcanon Awesome, sounds good.

also the issue you describe of icons reappearing seems to be a bug with this project too. That's one reason why I've suggested a number of these "organize the topicon visibility" extensions look at joining forces, because there seems to be a large amount of overlap between issues they've been running into, and their functionality is so close it seems an integrated solution between those might be less error prone, etc.