This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Jump list actions in Google Chrome

Tags: None
(comma "," separated)
barmaley
Registered Member
Posts
12
Karma
0

Jump list actions in Google Chrome

Thu Oct 06, 2016 4:34 pm
How do I add them?
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Earlier: [Brain Storming] Jump List Action - viewtopic.php?f=285&t=129536 -> http://blog.broulik.de/2015/11/pursuing ... jump-lists

Desktop Entry Specification: https://specifications.freedesktop.org/ ... ec/latest/
--> Recognized desktop entry keys: https://specifications.freedesktop.org/ ... 01s05.html
----> Additional applications actions: https://specifications.freedesktop.org/ ... 01s10.html

If I edit or make google-chrome.desktop with the lines

Code: Select all
[Desktop Entry]
...
Actions=MyJump1;MyJump2
...
[Desktop Action MyJump1]
Name=New Window
...
[Desktop Action MyJump2]
Name=Something else
...


There will be jump list options from the panel/desktop launcher

Image

as well as context menu in the Kickoff/Kicker menus.

Image
barmaley
Registered Member
Posts
12
Karma
0
2 Rog131:
You forgot about
Exec=google-chrome
So the full correct solution is to edit /usr/share/applications/google-chrome.desktop and add the following lines:
Code: Select all
Actions=NewWindow;Incognito;

[Desktop Action NewWindow]
Name=Open a New Window
Exec=google-chrome

[Desktop Action Incognito]
Name=Open a New Incognito Window
Exec=google-chrome --incognito


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]