right click menu

Asked by viktand on 2013-03-25

Hi!

how to add my item in the right click menu?

Question information

Language:
English Edit question
Status:
Solved
For:
Marlin Edit question
Assignee:
No assignee Edit question
Solved by:
ammonkey
Solved:
2013-04-04
Last query:
2013-04-04
Last reply:
2013-04-03
ammonkey (am-monkeyd) said : #1

What do u want to add to the right click menu? Does it have anything to do with extended-actions?

viktand (viktand) said : #2

I wrote the program for fast layout and printing of images. The program itself can be integrated into the Dolphin, Nautilus and other file managers (in the right-click menu.) I want to have the support of Marlin, but do not know which file contains the settings menu.
(sorry for my english)

viktand (viktand) said : #3

I wrote the program for fast layout and printing of images. The program itself can be integrated into the Dolphin, Nautilus and other file managers (in the right-click menu.) I want to have the support of Marlin, but do not know which file contains the settings menu.
(sorry for my english)

Best ammonkey (am-monkeyd) said : #4

Marlin use extended-actions which is something similar to Dolphin's services_menu.
So i took a look at your project vap (thanks to google search)
All u need to do is create a desktop file named for example vap.desktop
and put it in /usr/share/extended-actions/

[Extended Action Entry]
Name=VAP
Description=Print Image
MimeType=image
Exec=vap %f

u can use local path ~/.local/share/extended-actions for local users.
So the best way to enable this extended-action system-wide (across all your users at once) is to distribute the vap.desktop file (i just gave you) via your package and install it in /usr/share/extended-actions/. This way once someone install your vap deb package it gets automatically the menu entry support directly in Marlin (thanks to extended-actions).

viktand (viktand) said : #5

Thanks ammonkey, that solved my question.

viktand (viktand) said : #6

Thank you!
This is what I was looking for.