Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A how to manipulate Gnome's "Top Bar"/"Activities Bar"/"Top Panel" using GDK

That bar is part of GNOME Shell, and user applications don't get to mess around with the shell. You need to look into writing shell extensions to modify that in a general way. One common thing for...

posted 2y ago by r~~‭

Answer
#1: Initial revision by user avatar r~~‭ · 2022-12-16T16:11:15Z (almost 2 years ago)
That bar is part of GNOME Shell, and user applications don't get to mess around with the shell. You need to look into writing [shell extensions](https://gjs.guide/extensions/) to modify that in a general way.

One common thing for an application to want is to show a status icon, in which case you could use an extension like [this one](https://extensions.gnome.org/extension/615/appindicator-support/) and use any of the supported AppIndicator-like standards in your user application. Unfortunately, if you're developing an application for others to use, there's no way for you to force such icons to appear in the shell without your users installing an extension like the linked one. If you require native support without an extension, you'll have to settle for a GNotification, which won't appear in the bar.