You are not logged in.
Hi,
I know there are a few people out there who want to modify the Gnome 3 panel in some way.
I have a couple of extensions available. The ideas for these actually came from http://blog.fpmurphy.com/2011/04/gnome- … sions.html, so they are not original. I have just packaged the mods for arch users.
1. Turn off the a11y (accessibility) icon on the panel (I know there are others like me who want this)
Download: home.exetel.com.au/padfoot/downloads/no … .ui.tar.gz
Extract this to ~/.local/share/gnome-shell/extensions and then log out and back in to activate, or:
ALT + F2
restart
2. Change "Activities" to the Arch logo.
pacman -S archlinux-artwork
ln -s /usr/share/archlinux/icons/YOURICON /usr/share/pixmaps/distributor-logo.svg
Or, of course, just make sure you have a distributor-logo icon in your chosen icon theme.
Download home.exetel.com.au/padfoot/downloads/ac … .ui.tar.gz
Extract this to ~/.local/share/gnome-shell/extensions and then log out and back in to activate, or:
ALT + F2
restart
I have also changed the "clock" so when the date is shown it is not in US format, so instead of Sun Apr 24, 13:54, it is now Sun 24 Apr, 13:54. Working on a mod to do this without changing system files.
Cheers.
Last edited by Padfoot (2011-04-24 04:14:57)
Offline
I ended up doing the exact same thing to my panel but never got around to posting it on here. Thanks for that...and I had used a different way of linking to the icon...yours is definitely more favorable.
Offline
amazing how such a simple edit can make things look so much better, thank you
be sure to push that to the AUR if you can find the time, I expect many people will want these mods when gnome hits extra
Arch i686 on Phenom X4 | GTX760
Offline
Btw, you can just type "r" instead of "restart" (source : http://live.gnome.org/GnomeShell/CheatSheet)
I believe in a world I can and do understand. A rational universe, explained through rational means.
Offline
Btw, you can just type "r" instead of "restart" (source : http://live.gnome.org/GnomeShell/CheatSheet)
This didn't work. It requires this link: https://live.gnome.org/GnomeShell/CheatSheet
Offline
The accessibility icon fix stopped working for me a couple of days ago (I think after an update). I used a slightly different fix, editing the file: /usr/share/gnome-shell/js/ui/panel.js
....
const STANDARD_TRAY_ICON_ORDER = ['a11y', 'display', 'keyboard', 'volume', 'network', 'battery'];
const STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION = {
'a11y': imports.ui.status.accessibility.ATIndicator,
'volume': imports.ui.status.volume.Indicator,
'battery': imports.ui.status.power.Indicator,
'keyboard': imports.ui.status.keyboard.XKBIndicator
You can thus easily change the panel icon order too. To remove the Accessibility icon, delete 'a11y' from the TRAY_ICON_ORDER line, or comment it out of the following line (although I think that resulted in my Gnome not starting, YMMV).
This mod will also likely be overwritten by any relevant updates, but should persist as a semi-easy edit for the foreseeable future.
Last edited by sultanoswing (2011-04-29 01:34:48)
6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop
Offline
I've managed to remove the app menu button (the thing next to the Activities hotspot in the upper left corner). Since all it does is let me know what program is focused, I didn't really see the point in having it up there. If you edit /usr/share/gnome-shell/js/ui/panel.js and add the lines
this._iconBox.hide();
this._label.setText('');
At the end of the _sync function (around line 534 for me) the icon and text label will be gone. If you click where they should be you still get the drop down menu, if you really want it.
Last edited by Yes (2011-04-29 04:26:11)
Offline
@sultanoswing
The extensions are required to point to the correct version of gnome-shell. There was a recent update of the shell from 3.0.0 to 3.0.1. To get the extensions working again, edit the metadata.json file in the extension's folder and change the version.
It will now work again.
Alternatively, the links in the first post have the updated file already.
@stefanwilkens
Yes, I must get around to learning how to package for AUR. Presumably I will find out how on the wiki. But no point just yet, not until Gnome 3 is in extra. At the moment it's just too much of a moving target.
Cheers.
PS. Working on an extension for the panel to display your favourite apps (as set in the dock in overview) so you basically have launchers on the panel again.
Last edited by Padfoot (2011-04-29 07:37:48)
Offline
@padfoot:
Good place to start: https://wiki.archlinux.org/index.php/AUR
That article will link you to pretty much everything you'll ever need. Obviously I'll be happy to do it for you if you can't find the time. Looking forward to the oncoming extension!
Arch i686 on Phenom X4 | GTX760
Offline
How do I also remove the keyboard layout icon?
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['keyboard'] = ''; doesn't seem to work
Offline
@vitali
Can you paste your metadata.json and extension.js code here?
I can't test myself, as I don't have the keyboard icon. But I did try with the battery icon, that worked. Interestingly, when I hid the battery icon, the gnomepower manager applet of old suddenly appeared on my panel...hmmmmm.
That makes me think. When you added your code to hide the keyboard icon, did it move position? Could be the icon is hiding and old applet is now showing, just like the battery did for me.
Offline
(just edited your files from a11y removal extension)
metadata.json
{
"shell-version": ["3.0.1"],
"uuid": "nokeyboard.icon@panel.ui",
"name": "nokeyboard",
"description": "Turn off the keyboard icon in the panel"
}
extension.js
const Panel = imports.ui.panel;
function main() {
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['keyboard'] = '';
}
Offline
I've written an extension to inhibit the screensaver/display power management because it was annoying the hell out of me when watching flash videos...
In case anyone else suffers as I did ;-)
https://github.com/RaphaelKimmig/Gnome- … ation-Mode
Regards,
raf
Offline
@vitali
That should work. Just to be certain (I'm sure you are) did you re-start the shell?
Alternatively, you might have the same situation I had with the battery icon. With your extension installed, did the keyboard icon move? Try clicking on the icon. Do you get a menu or the gnome 3 bubble?
If you get a menu, it seems there is another keyboard switching applet running which is revealed when you hide the gnome 3 one.
Offline
Yeah you are right, it seems another applet is running. LookingGlass (not really sure how to use this tool) calls it "legacyTray"
Offline
Hello, I tried to replace the Activities with the Arch icon, and kind of worked. Instead of the arch icon I have the gnome foot icon. I tried doing it again and I get this error in my terminal:
[neruson@megatron ~]$ sudo ln -s /usr/share/archlinux/icons/archlinux-icon-crystal-16.svg /usr/share/pixmaps/distributor-logo.svg
Password:
ln: failed to create symbolic link `/usr/share/pixmaps/distributor-logo.svg': File exists
[neruson@megatron ~]$
Any idea on how to fix this and replace the gnome icon with the arch one? Not that I have anything against Gnome, I obviously use it It's just that the gnome icon is gray on black and for aesthetic reasons I'd rather have the blue arch icon there.
Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD / Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook
Offline
@ Mr_ED-horsey
ln: failed to create symbolic link `/usr/share/pixmaps/distributor-logo.svg': File exists [neruson@megatron ~]$
The error message shows you already have an icon called distributor-logo.svg in /usr/share/pixmaps
Remember, any icon called distributor-logo in your chosen icon theme will be used first. If none exists there, it will be taken from /usr/share/icons/hicolor, and failing that, /usr/share/pixmaps
So the easiest way to have your icon is to ensure you replace any distributor-logo icons in your chosen theme with it.
1. Look in /usr/share/icons to find the folder containing your theme, then make a local copy:
mkdir ~/.icons
cp -R /usr/share/icons/{theme} ~/.icons
2. Remove all instances of distributor-logo icons:
rm -R ~/.icons/{theme}/distributor-logo.*
3. Replace with your chosen icon. I can't show you code for this as there are many variations depending on your theme and chosen icon. Just remember to call the icon distributor-logo, and it goes in the places folder. An .svg is scalable (recommended choice as you only need 1 icon) otherwise it goes into the folder of corresponding size.
Offline
I found an extension to modify the notification area.
It gives you the option to choose what status icons you want on the top bar.
Very usefull for some apps.
Checkout on:
http://bone.twbbs.org.tw/blog/archives/2148
I have tested and works.
Sorry i dint´t find a topic about GNOME Shell extensions, so i post this here.
Offline
@ Padfoot, thanks. That worked perfectly.
Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD / Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook
Offline
Moved to Applications & Desktop Environments
Offline
Worked great, thanks! My desktop just became even prettier.
Offline
Hey guys,
I have some trouble getting this working.
I downloaded the archlinux artwork, created the link from distributor-logo to an icon, and unpacked the TAR.gz file to the .../extensions directory.
I did not get any errors, but the word "activities" is still there, but not the Arch-logo.
Even when I check with the lookingglas (https://live.gnome.org/GnomeShell/LookingGlass), It does not show any extensions.
Do I need to install something else to get this going ?
Thx for the help!
Offline
@compac615
It is most likely the shell version differring. But no need to worry, this extension is available in AUR:
https://aur.archlinux.org/packages.php?ID=49369
Cheers.
Offline
@Padfoot
Great, this does replace the word "activities" with a logo.
But, like Mr_ED-horsey above, I get the gnome-foot logo.
I'm trying to follow what was written above, but I'm stuck at finding the folder which contains my theme in "/usr/share/icons/"
How can I know which theme I'm using ?
Edit: I did a file search in my whole system, and the only instance of "distributor-logo.svg" is the Arch-logo I created following your process above.
Does this version of shell use a different name for the default logo ?
Last edited by compaq615 (2011-09-23 07:17:16)
Offline
Look at the extension files in /usr/share/gnome-shell/extensions. The code in the .js file will tell you what to name your icon.
Then just replace that icon in your selected icon theme with your arch logo. Gnome Appearence Properties will show you your chosen icon theme.
Last edited by Padfoot (2011-09-23 07:42:55)
Offline