How do I add entries to PCManFM's right-click menu? [SOLVED]

Hello there,
Is there a way to customize PCManFM right-click menu? I'd like to add custom entries, for instance:
right click a folder and choose "Start slideshow" to get the following command executed: "qiv -smt <selected_folder>"
Can this be done? How?
This could be a system-wide setting or a user setting, I don't really care.
Thanks for any guidance.
Last edited by brazzmonkey (2009-03-16 20:42:36)

Inxsible wrote:Yup that's what I am doing, but on selecting an app from the All Applications tab, it creates a .desktop file in my home folder under the .local folder. The next time you try to go into the Open With menu, Geany (or any other app - that I selected from the All Applications list) shows up twice.
Well , I'm not sure what's the problem here . I only see this when I attach a media player(e.g mplayer) to different file formats . PcManFM seems to insist on creating a .desktop file for each association but I don't see duplicate entries in the menu .
~/.local/share/applications$ ls | grep mplayer
mplayer-usercreated-1-usercustom-0.desktop
mplayer-usercreated-1-usercustom-1.desktop
mplayer-usercreated-1-usercustom-2.desktop
mplayer-usercreated-1-usercustom-3-usercustom-0-usercustom-0.desktop
mplayer-usercreated-1-usercustom-3-usercustom-0.desktop
mplayer-usercreated-1-usercustom-3.desktop
mplayer-usercreated-1.desktop
smplayer-usercustom-0-usercustom-0-usercustom-0-usercustom-0.desktop
smplayer-usercustom-0-usercustom-0-usercustom-0-usercustom-1.desktop
smplayer-usercustom-0-usercustom-0-usercustom-0.desktop
Last edited by Nezmer (2009-03-16 22:50:28)

Similar Messages

  • How to know the sales order closed using right click menu -Close ???

    I have an sales order with ten item, I have copied the same to delivery and before adding the Delivery I have deleted some items. After adding the Delivery, I manually closed the sales order by using the "right click menu close".
    The Open Quantity of those lines are already closed while i Close it manually.
    Now i need  a report regarding the sales orders which i  have closed manually. Any Options??

    Check the below result
    DocNum     DocDate     CardCode     CardName     Row#     ItemCode     Dscription     Price     Quantity     LineTotal
    2     2012-02-04 00:00:00.000     ED-C-102     AI HUDHA BOOK STALL     2     1010          150.000000     10.000000     1500.000000
    3     2012-02-04 00:00:00.000     ED-C-103     AL AMEEN ENGLISH SCHOOL-MANKADA     2     1011     ZINC ROD HIGH GRADE PURE ZINC 140 X 9 MM     59.790000     10.000000     597.900000
    this is the result i get while i execute your query
    but look at the db result
    DocEntry     LineNum     TargetType     TrgetEntry     LineStatus     ItemCode     Quantity     OpenQty
    1     0     15     2     C     1010     10.000000     0.000000
    2     0     15     3     C     1010     10.000000     0.000000
    2     1     -1     NULL     C     1010     10.000000     0.000000
    3     0     15     4     C     1010     1.000000     0.000000
    3     1     -1     NULL     C     1011     10.000000     0.000000
    3     2     15     4     C     1012     15.000000     0.000000
    3     3     15     4     C     1013     20.000000     0.000000
    4     0     15     5     O     1010     10.000000     5.000000
    See the last line data...it have open quantity of 5 and it also have the target type 15, If I close the sales order with docentry 4 manually using right click, the open quantity will be Zero..
    I need that last line result also as my output..
    Hope you understand my problem.
    Thank You

  • How can I add the hard drive icon to the menu bar on a MBPr

    How can I add the hard drive icon to the menu bar on a MBPr?  I have downloaded Google Earth and it wants me to drag it to the hard drive for install. I was able to display the icon but now I would like to put it on the menu bar. Is this possible? Or can I add it to the hardware section under system preferences?
    I'm a new Apple user, coming out of the dark ages of a lifetime in the PC Windows world.
    Thanks

    It's on your Desktop, is it not? You cannot put it on the menubar through OS X although you may find third-party utilities that will. If you want it on the Desktop:
    Select Preferences from the Finder's Finder menu and check the desired boxes:
    Click on the Sidebar icon in the toolbar to set what you want displayed in the Sidebar.

  • How do I add mpg background video behind a psd menu in Encore?

    How do I add mpg background video behind a psd menu in Encore? The psd file is transparent and it still comes out as pitch black behind the menu. I'm inexperienced with these products so any help is greatly appreciated.

    If you have done what Russ describes and it does not work...
    Encore replaces the background layer with your motion video. So make sure you have a) a layer at the bottom (in Photoshop layer order) that is named "background," and b) no other full layer above that (for example, an image in another layer you've used instead of the original background layer).
    Also keep in mind that setting transparency in Photoshop is overridden by various Encore processes.

  • I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'

    '''I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'''

    If you select that right-click context menu entry then you block all images from that domain and not one specific image, so do not use that.
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions (e.g. sphotos.ak.fbcdn.net)
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • How to get rid of right click menu?

    I like to mouse over a hyperlink in a web page and select "open in a new tab". The right click menu jumps in the way. I don't like or use the right click menu. How do I stop it from stopping me? As a side note, the reason I like "open in a new tab" is that some websites will open on the same page and in some events the back button will not return you to that page. I find the new tab very helpful and the right click menu a pain in the ---.
    Win 8.1
    Firefox - newest
    Alternatively, is there a way to add "open in a new tab" to the menu that gets in the way?
    I was trying to open "Sign Up/Sign In" in a new tab.
    Completely irrelevant to my question, but since you see my tabs, I was watching Jon Stewart on Hulu. He was raving about the Katy Perry Superbowl show. I wanted to see what he was talking about. I don't give a flying crap in the rain about the Stupor Bowl.

    The right-click menu is context-sensitive. When you right-click a link, you should have the option to open in a new tab, new window, or new private window. (In a private window, "new window" is not displayed.) The menu in your screen shot would normally appear if you clicked a blank area of the page without a link directly under the mouse pointer.
    I can't think of any built-in way to get the Open in New Tab command just mousing over a hyperlink. Do you have an add-on that does that automatically for you? If so, I wonder whether it might need an update?

  • How do I get the old right click menu back after updating to 7.0.1?

    I want the old commands back in the right click menu rather than the new ones.

    There was a bit of a change between Firefox 3.6 and earlier versions, and Firefox 4.0 and later versions, as far as context menus, but I don't see any difference is the web pages I have viewed as far as any missing items - using a default Profile in Firefox 3.6.23, 4.0.1, 5.0.1, 6.0.2 and 7.0.1 versions. The information provided is too ambiguous to provide an exact answer.
    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • How do I make a feature request for Firefox? Need for "Keep this website" in right-click menu for History viewing.

    During my daily Firefox sessions (w/over 300 RSS feeds), I commonly visit about 50 web sites. At the end of a session I may only want to keep one or a few history entries and have to manually delete the rest. I always keep one in particular.
    It would be infinitely easier if the capability of "Keep this Site" option were available in the right-click menu which would mean deleting the remainder of the history entries not marked to be kept, in conjunction with the History delete options in Firefox Preferences.
    Note: This is a real User need I have, and possibly many others would like the versatility.

    You can click the star in the location bar to bookmark a site that you want to keep.
    *https://support.mozilla.com/kb/how-do-i-use-bookmarks

  • How to display images for right click menu items

    I am trying to display some image to the left of my right click menu items.I have searched the help but did't find anything wich can add an image to the menu items. If anyone knows how to do it, Please share 
    Thank to all.
    If you are young work to Learn, not to earn.

    Hi Mr,
    you should have searched the topic 'Programming with Menu Bars'
    Use the ATTR_SHOW_IMAGES attribute to add a column in the menu in which images can be placed. Then use the ATTR_ITEM_BITMAP attribute to specify an image to use for a submenu or menu item

  • How can I modify the "right click" menu of a table control?

    Hello,
      How can I modify the "right click menu" of a table control. I would like to be able to remove the ability to add or delete columns and maybe other selections. I want to keep the ability to
    add or delete rows

    Hi Andy,
    Dialog & User Interface VIs -> Menu functions
    Never used them, eh?

  • Add several buttons on the Right Click

    With this method adds a button to click with the right button. But I can not add more than one. How do I? Ja tenet of ways and all failed.
    SAPbouiCOM.MenuCreationParams oCreationPackage = null;
                        oCreationPackage = ((SAPbouiCOM.MenuCreationParams)(SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)));
                        oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING;
                        oCreationPackage.UniqueID = "OnlyOnRC";
                        //oCreationPackage.String = "Only On Right Click";
                        oCreationPackage.String = "Adicionar";
                        oCreationPackage.Enabled = true;
                        oMenuItem = SBO_Application.Menus.Item("1280"); // Data'
                        oMenus = oMenuItem.SubMenus;
                        oMenus.AddEx(oCreationPackage);

    SAPbouiCOM.MenuCreationParams oCreationPackage = null;
    oCreationPackage = ((SAPbouiCOM.MenuCreationParams)(SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)));
    oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING;
    oCreationPackage.UniqueID = "OnlyOnRC";
    //oCreationPackage.String = "Only On Right Click";
    oCreationPackage.String = "Adicionar";
    oCreationPackage.Enabled = true;
    oMenuItem = SBO_Application.Menus.Item("1280"); // Data'
    oMenus = oMenuItem.SubMenus;
    oMenus.AddEx(oCreationPackage);
    oCreationPackage = null;
    oCreationPackage = ((SAPbouiCOM.MenuCreationParams)(SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)));
    oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING;
    oCreationPackage.UniqueID = "OnlyOnRC2";
    //oCreationPackage.String = "Only On Right Click Menu 2";
    oCreationPackage.String = "Adicionar2";
    oCreationPackage.Enabled = true;
    oMenuItem = SBO_Application.Menus.Item("1280"); // Data'
    oMenus = oMenuItem.SubMenus;
    oMenus.AddEx(oCreationPackage);

  • How to display right-click menu for JPanel?

    Hi...
    I am developing an application to display a JWindow in the screen along with a TrayIcon in the system-tray area. There should be a right-click menu in both the tray icon and JWindow for further options.
    I am able to create a JPopupMenu for tray icon. On right-clicking on the tray icon, the menu is being displayed. But not able to do the same for the JWindow. I am able to capture the right-click mouse event, but not able to display the menu.
    This is how I am displaying the menu for the tray icon
    PopupMenu  popupmenu = new PopupMenu();
    MenuItem  menuitem1 = new MenuItem("Exit");
    menuitem1.addActionListener(new ActionListener()
        public void actionPerformed(ActionEvent exx)
            System.exit(0);
    popupmenu.add(menuitem1);
    trayicon = new TrayIcon(Toolkit.getDefaultToolkit().getImage("./images/Icon.gif"),"Right-click for more options",popupmenu);For displaying the menu in the JPanel, I am using the following snippet...
        public class MyMouseListener extends MouseAdapter
            public class MyMouseListener() {}
            @Override
            public void mouseClicked(MouseEvent e)
                if (e.getButton() == MouseEvent.BUTTON3)
                   System.out.println("Clicked");
                   jp.setComponentPopupMenu(popupmenu);
        }Can anyone please help me to do this??
    Thanks in Advance...

    Hi,
    PFA the code I am using...
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class DisplayStrip extends JWindow implements MouseListener, MouseMotionListener
         Point location;
         MouseEvent pressed;
        JPanel jp ;
        JLabel jl ;
        JPopupMenu popupmenu ;
         public DisplayStrip()
              addMouseListener( this );
              addMouseMotionListener( this );
         public void mousePressed(MouseEvent me)
              pressed = me;
         public void mouseClicked(MouseEvent e) {}
         public void mouseReleased(MouseEvent e) {}
         public void mouseDragged(MouseEvent me)
              location = getLocation(location);
              int x = location.x - pressed.getX() + me.getX();
              int y = location.y - pressed.getY() + me.getY();
              setLocation(x, y);
         public void mouseMoved(MouseEvent e) {}
         public void mouseEntered(MouseEvent e) {}
         public void mouseExited(MouseEvent e) {}
         public void DisplayStripRun()
              setSize(100, 10);
              setAlwaysOnTop(true);
            jp = new JPanel();
              jp.setBackground(Color.GREEN);
              jp.addMouseListener(new MyMouseListener());
              jl = new JLabel();
              jl.setText("Right-click Here");
              jp.add(jl);
              add(jp);
              setVisible(true);
              pack();
              popupmenu = new JPopupMenu();
              JMenuItem menuitem = new JMenuItem("Exit");
              menuitem.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent exx)
                        System.exit(0);
              popupmenu.add(menuitem);
         public static void main(String args[])
              DisplayStrip ds = new DisplayStrip();
              ds.DisplayStripRun();
        public class MyMouseListener extends MouseAdapter
            //public class MyMouseListener() {}
            @Override
            public void mouseClicked(MouseEvent e)
                if (e.getButton() == MouseEvent.BUTTON3)
                   System.out.println("Right clicked");
                   jp.setComponentPopupMenu(popupmenu);
                   popupmenu.setVisible(true);
    }

  • How to display a seperate right click menu for each item of a tree control?

    Hi I want to display a specific right click menu when a particular tree item is selected. I know how to create a menu and how to display it. I am using the function GetLabelFromIndex() to get the active tree item and then compare the label and based on the result display a manu for that item. Now my problem is that when I use the above function in the EVENT_RIGHT_CLICK it gives me the error "the Index passed is out of range" while using the same function with the same arguments in EVENT_SELECTION_CHANGE it gives no error...below is the part of my code
    case EVENT_RIGHT_CLICK:
    GetLabelFromIndex(panelHandle, PANEL_TREE, eventData2, label1);
    //The function gives the stated error here
    if(eventData1)//after it I compare the result and display the menu
    case EVENT_SELECTION_CHANGE:
    GetLabelFromIndex (panelHandle, PANEL_TREE, eventData2, label1);
    //The function works fine here
    if (eventData1)
     If any one have any idea whats going on or alternate way of doing this Please share knowledge...Thanks
    If you are young work to Learn, not to earn.

    Hi,
    one possible approach of solving this problem is looking closer at the error message: The error "the Index passed is out of range" tells you that something is wrong with the index, either it is too small or too large So why don't you set a breakpoint and check the index value, it might be useful information...
    The other hint is to check the meaning of eventdata2 (using the help): It is different for different events! For the event_right_click it gives the horizontal mouse position, not the index as event_selection_change does...

  • How did "inspect element" get on my right click menu?

    I did install several addons when this appeared. Anyone know from where this right click menu item came? My search suggested "firebug" - whatever that is. This is not on my XP but it is on my Vista and both have the same addons.
    Thanks

    "Inspect Element" is a new item that is added in Firefox 10.<br />
    Previous Firefox version do not have the build-in inspector.
    *http://www.mozilla.org/en-US/firefox/10.0/releasenotes/
    <blockquote>Inspect tool with content highlighting, includes new CSS Style Inspector</blockquote>
    You can hide that context menu entry by setting the <b>devtools.inspector.enabled</b> pref to false on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config

  • Please make top of "add to playlist" right-click-menu to be last three playlists added to - please!

    It is kind of a drag when i want to right-click and add a song to a playlist, when I have to scroll way down on my many lists - Would be great if the top lists shown could be the three (or any low number) lists I previously added songs to. Then it would be easy to add several more songs to the playlists I just added to.. Kinda like they have done on Pinterest, when adding a pic to one of your boards.
    Make any sense?

    Trial and error revealed that it's the Swagbucks button, which is strange, because I don't think that particular extension normally affects the right-click menu at all. It did recently get updated, though, so I suppose a bug of some kind got in. Hopefully Swagbucks will fix that.

Maybe you are looking for