Готовые квиклисты для Unity Сравнение версий

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
wiki:unity_quicklists [2012/05/20 00:23]
wiki:unity_quicklists [2012/10/03 11:04] (текущий)
Строка 1: Строка 1:
 ====== Готовые квиклисты для Unity ====== ====== Готовые квиклисты для Unity ======
- +Статья перенесена [[wiki:​панель_unity#Квиклисты|сюда]] 
-Квиклисты (англ. //​Quicklist//​) дают возможность создания собственных пунктов в контекстном меню ярлыков на панели Unity. +{{tag>​Unity}}
- +
-В этой статье представлены уже готовые квиклисты для большинства популярных программ. +
- +
-====== Установка ====== +
- +
-Самый простой способ,​ это создать ​файл с именем ''​имя_программы.desktop''​ в папке ''​~/​.local/​share/​applications''​. Затем скопировать содержимое приведенное ниже в этот файл и перенести его на панель Unity.  +
- +
-Для оформления быстрого списка лучше использовать значения "​Name"​ и "Name[ru]" и т.д., что бы модифицированный файл был универсальным и работал в разных локалях.  +
- +
-Например:​  +
-<​code>​Name=Open a New Window +
-Name[ru]=Открыть новое окно</​code>​ +
-====== Квиклисты:​ ====== +
- +
-===== Nautilus ===== +
- +
-Так как ярлык этой программы уже существует - мы его просто отредактируем. +
- +
-Редактируемый файл: +
-<​code>​sudo gedit /​usr/​share/​applications/​nautilus-home.desktop</​code>​ +
- +
-Содержимое файла:​ +
-<​file>​[Desktop Entry] +
-Name=Home Folder +
-Comment=Open your personal folder +
-TryExec=nautilus +
-Exec=nautilus --no-desktop +
-Icon=user-home +
-Terminal=false +
-StartupNotify=true +
-Type=Application +
-Categories=GNOME;​GTK;​Core;​ +
-OnlyShowIn=GNOME;​Unity;​ +
-X-GNOME-Bugzilla-Bugzilla=GNOME +
-X-GNOME-Bugzilla-Product=nautilus +
-X-GNOME-Bugzilla-Component=general +
-X-Ubuntu-Gettext-Domain=nautilus +
- +
-X-Ayatana-Desktop-Shortcuts=Videos;​Documents;​Music;​Pictures;​Downloads +
-[Videos Shortcut Group] +
-Name=Видео +
-Exec=nautilus Видео +
-TargetEnvironment=Unity +
- +
-[Documents Shortcut Group] +
-Name=Документы +
-Exec=nautilus Документы +
-TargetEnvironment=Unity +
- +
-[Music Shortcut Group] +
-Name=Музыка +
-Exec=nautilus Музыка +
-TargetEnvironment=Unity +
- +
-[Pictures Shortcut Group] +
-Name=Изображения +
-Exec=nautilus Изображения +
-TargetEnvironment=Unity +
- +
-[Downloads Shortcut Group] +
-Name=Загрузки +
-Exec=nautilus Загрузки +
-TargetEnvironment=Unity</​file>​ +
- +
-Было - стало. +
- +
-{{:wiki:unity-nautilus-default.png|}} -----> {{:​wiki:​unity-nautilus-custom.png|}} +
- +
-\\  +
- +
-===== LibreOffice ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​libreoffice-startcenter.desktop</​file>​ +
- +
-Добавляем в конец файла следующий текст:​ +
-<​code>​ +
-X-Ayatana-Desktop-Shortcuts=Writer;​Calc;​Draw;​Base;​Impress +
- +
-[Writer Shortcut Group] +
-Name=Word Processor +
-Name[ru]=Редактор текстов +
-Exec=libreoffice -writer +
-TargetEnvironment=Unity +
- +
-[Calc Shortcut Group] +
-Name=Spreadsheet +
-Name[ru]=Электронные таблицы +
-Exec=libreoffice -calc +
-TargetEnvironment=Unity +
- +
-[Draw Shortcut Group] +
-Name=Drawing Program +
-Name[ru]=Программа для рисования +
-Exec=libreoffice -draw +
-TargetEnvironment=Unity +
- +
-[Impress Shortcut Group] +
-Name=Presentation +
-Name[ru]=Презентации +
-Exec=libreoffice -impress +
-TargetEnvironment=Unity +
- +
-[Base Shortcut Group] +
-Name=Databases +
-Name[ru]=Базы данных +
-Exec=libreoffice -base +
-TargetEnvironment=Unity +
-</​code>​ +
- +
-\\  +
- +
-===== Clementine ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​clementine.desktop</​file>​ +
- +
-Добавляем в конец файла следующий текст:​ +
-<​file>​ +
-X-Ayatana-Desktop-Shortcuts=Play;​Pause;​Stop;​Previous;​Next;​Preferences +
- +
-[Play Shortcut Group] +
-Name=Play +
-Name[ru]=Воспроизведение +
-Exec=clementine --play +
-TargetEnvironment=Unity +
- +
-[Pause Shortcut Group] +
-Name=Pausa +
-Name[ru]=Пауза +
-Exec=clementine --pause +
-TargetEnvironment=Unity +
- +
-[Stop Shortcut Group] +
-Name=Stop +
-Name[ru]=Остановить +
-Exec=clementine --stop +
-TargetEnvironment=Unity +
- +
-[Previous Shortcut Group] +
-Name=Previous +
-Name[ru]=Предыдущий трек +
-Exec=clementine --previous +
-TargetEnvironment=Unity +
- +
-[Next Shortcut Group] +
-Name=Next +
-Name[ru]=Следующий трек +
-Exec=clementine --next +
-TargetEnvironment=Unity +
- +
-[Preferences Shortcut Group] +
-Name=Preferenze +
-Name[ru]=Настройки +
-Exec=clementine --show-preferences +
-TargetEnviroment=Unity +
-</​file>​ +
- +
-\\  +
- +
-===== Центр приложений Ubuntu ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​ubuntu-software-center.desktop</​file>​ +
- +
-Добавляем в конец файла следующий текст:​ +
-<​file>​ +
-X-Ayatana-Desktop-Shortcuts=SoftwareProperties;​SoftwareSources;​ +
- +
-[SoftwareProperties Shortcut Group] +
-Name=Менеджер обновлений +
-Exec=update-manager -c %u +
-TargetEnvironment=Unity +
- +
-[SoftwareSources Shortcut Group] +
-Name=Изменить репозитории +
-Exec=gksu software-properties-gtk +
-TargetEnvironment=Unity +
-</​file>​ +
- +
-\\ +
- +
-===== Transmission ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​transmission-gtk.desktop</​file>​ +
- +
-Добавляем в конец файла следующий текст:​ +
-<​file>​ +
-X-Ayatana-Desktop-Shortcuts=Paused;​Minimized +
- +
-[Paused Shortcut Group] +
-Name=Запуск на паузе +
-Exec=transmission-gtk --paused +
-TargetEnvironment=Unity +
- +
-[Minimized Shortcut Group] +
-Name=Свёрнутый +
-Exec=transmission-gtk --minimized +
-TargetEnvironment=Unity +
-</​file>​ +
- +
-\\  +
- +
-===== Terminal ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​gnome-terminal.desktop</​file>​ +
- +
-Добавляем в конец файла следующий текст:​ +
-<​file>​X-Ayatana-Desktop-Shortcuts=NewWindow;​NewTab;​Root;​Top +
- +
-[NewWindow Shortcut Group] +
-Name=Новое окно +
-Exec=gnome-terminal --window +
-TargetEnvironment=Unity +
- +
-[NewTab Shortcut Group] +
-Name=Новая вкладка +
-Exec=gnome-terminal --tab +
-TargetEnvironment=Unity +
- +
-[Root Shortcut Group] +
-Name=Терминал root +
-Exec=gksudo gnome-terminal +
-TargetEnvironment=Unity +
- +
-[Top Shortcut Group] +
-Name=Команда top +
-Exec=gnome-terminal --command top +
-TargetEnvironment=Unity</​file>​ +
- +
-''​OnlyShowIn=Gnome''​ заменяем на ''​OnlyShowIn=Gnome;​Unity''​. +
- +
-\\  +
- +
-===== Rhythmbox ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​rhythmbox.desktop</​file>​ +
- +
-Добавляем в конец файла следующий текст: +
-<​file>​ +
-X-Ayatana-Desktop-Shortcuts=Play;​Pause;​Previous;​Next;​Stop +
- +
-[Play Shortcut Group] +
-Name=Воспроизведение +
-Exec=rhythmbox-client --play +
-TargetEnvironment=Unity +
- +
-[Pause Shortcut Group] +
-Name=Пауза +
-Exec=rhythmbox-client --pause +
-TargetEnvironment=Unity +
- +
-[Previous Shortcut Group] +
-Name=Предыдущий трек +
-Exec=rhythmbox-client --previous +
-TargetEnvironment=Unity +
- +
-[Next Shortcut Group] +
-Name=Следующий трек +
-Exec=rhythmbox-client --next +
-TargetEnvironment=Unity +
- +
-[Stop Shortcut Group] +
-Name=Остановить +
-Exec=rhythmbox-client --stop +
-TargetEnvironment=Unity +
-</​file>​ +
- +
-\\ +
- +
-===== Steadyflow ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​steadyflow.desktop</​file>​ +
- +
-Добавляем в конец файла ​следующий текст:​ +
-<​file>​ +
-X-Ayatana-Desktop-Shortcuts=Add +
- +
-[Add Shortcut Group] +
-Name=Add download +
-Name[ru]=Добавить загрузку +
-Exec=steadyflow add %s +
-TargetEnvironment=Unity +
-</​file>​ +
- +
-\\  +
- +
-===== Документы Google ===== +
- +
-Создаем файл: +
-<​file>​sudo gedit ~/​.local/​share/​applications/​googledocs.desktop</​file>​ +
- +
-Добавляем следующий текст:​ +
-<​file>#​!/​usr/​bin/​env xdg-open +
-[Desktop Entry] +
-Version=1.0 +
-Name=Google Docs +
-Name[ru]=Документы Google +
-Exec=xdg-open https://​docs.google.com/​ +
-Terminal=false +
-X-MultipleArgs=false +
-Type=Application +
-Icon=chrome-https___docs.google.com_ +
-Categories=Network;​WebBrowser;​ +
-StartupNotify=true +
-StartupWMClass=docs.google.com +
- +
-X-Ayatana-Desktop-Shortcuts=Doc;​Spreadsheet;​Presentation;​Drawing +
- +
-[Doc Shortcut Group] +
-Name=Новый текстовый документ +
-Exec=xdg-open https://​docs.google.com/?​action=newdoc +
-TargetEnvironment=Unity +
- +
-[Spreadsheet Shortcut Group] +
-Name=Новая таблица +
-Exec=xdg-open https://​spreadsheets.google.com/​ccc?​new +
-TargetEnvironment=Unity +
- +
-[Presentation Shortcut Group] +
-Name=Новая презентация +
-Exec=xdg-open https://​docs.google.com/?​action=new_presentation +
-TargetEnvironment=Unity +
- +
-[Drawing Shortcut Group] +
-Name=Новый рисунок +
-Exec=xdg-open https://​docs.google.com/​drawings/​create?​hl=ru +
-TargetEnvironment=Unity +
-</​file>​ +
- +
-\\  +
- +
-===== Banshee ===== +
- +
-Редактируемый файл: +
-<​file>​sudo gedit /​usr/​share/​applications/​banshee.desktop</​file>​ +
- +
-Добавляем в конец файла следующий текст:​ +
-<​file>​ +
-X-Ayatana-Desktop-Shortcuts=Play;​Pause;​Stop;​Previous;​Next;​Preferences +
- +
-[Play Shortcut Group] +
-Name=Воспроизвести +
-Exec=banshee --play +
-TargetEnvironment=Unity +
- +
-[Pause Shortcut Group] +
-Name=Пауза +
-Exec=banshee --pause +
-TargetEnvironment=Unity +
- +
-[Stop Shortcut Group] +
-Name=Стоп +
-Exec=banshee --stop +
-TargetEnvironment=Unity +
- +
-[Previous Shortcut Group] +
-Name=Предыдущий трек +
-Exec=banshee --previous +
-TargetEnvironment=Unity +
- +
-[Next Shortcut Group] +
-Name=Следующий трек +
-Exec=banshee --next +
-TargetEnvironment=Unity +
- +
-[Preferences Shortcut Group] +
-Name=Настройки +
-Exec=banshee --show-preferences +
-TargetEnviroment=Unity +
-</​file>​ +
- +
-\\ +
-====== Ссылки ====== +
- +
-[[http://​ubuntu.onego.ru/​articles/​solves/​bolshe-kviklistov-bolshe/​|Больше квиклистов,​ больше!]] +
- +
-{{tag>Natty Unity}}+