Обсуждение:Gnome3
Материал из База знаний проекта Russian Fedora
ostin: так, ну я поменял HotCorner в Gnome Shell на правый угол. если кому интересно, надо в main.js найти corner.actor.set_position(cornerX, cornerY) и поменять на нужные координаты (что, конечно идиотизм, да). я хз, надо ли облагораживать метод или у разработчиков gnome есть какие-то планы на HotCorner
http://forums.fedoraforum.org/archive/index.php/t-261291.html
You could edit
const STANDARD_TRAY_ICON_ORDER = ['a11y', 'display', 'keyboard', 'volume', 'network', 'battery'];
Remove keyboard.
Do note that mucking around with these files are just hacks and will get overwritten everytime there is a GNOME Shell update. Probably extensions are the better way to do it
Here is such an extension. Put the two files in ~/.local/share/gnome-shell/extensions/noa11y@example.com/
$ cat metadata.json
{
"shell-version": ["3.0"],
"uuid": "noa11y@example.com",
"name": "noa11y",
"description": "Remove a11y icon/menu from panel"
}
$ cat extension.js
const Panel = imports.ui.panel;
function main() {
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['a11y'] = '';
}
Note - no stylesheet.css is required.
добавить иконку приложения в трей в верхнем углу
http://bone.twbbs.org.tw/blog/archives/2148
const StatusIconDispatcher = imports.ui.statusIconDispatcher;
const Panel = imports.ui.panel;
function main() {
// Put those those notification you want display at top bar here.
// The key is the text show when you hover your mouse to the notification
// bar icon at the bottom in the lower case letter.
StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['deadbeef'] = 'deadbeef';
// Disable bulit-in icon that you don't need.
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['a11y'] = ''; // Accessiability icon
// Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['volume'] = ''; // Sound Volume icon
// Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['battery'] = '';
// Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['keyboard'] = '';
// Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['bluetooth'] = '';
// Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['network'] = '';
}
Для Gajim
StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['gajim.py'] = 'tray';
добавить вкладку к Windows и Applications в Overview-режиме
пример: Main.overview.viewSelector.addViewTab('theme-selector', _("Themes"), this._selector); расширение Theme Selector
