Launch menu-app with right-clicking in DWM

I'd like to be able to right-click inside dwm, as in a regular desktop environment setup, and launch the menu-app mygtkmenu. I know it's possible to bind a keyboard shortcut to run it, but i'd rather use the mouse for that. Are there any patches for dwm or perhaps applications to emulate this feature?
Any tips are appreciated.
Last edited by burninate (2012-11-18 23:49:53)

The easiest thing to do is to make a right click on the clock or status text launch your program, such as:
        static const char *mymenucmd[]  = { "mygtkmenu", NULL };
       { ClkStatusText,        0,              Button3,        spawn,          {.v = mymenucmd } },
Or you can have a middle click on the client window launch your program:
       static const char *mymenucmd[]  = { "mygtkmenu", NULL };
      { ClkClientWin,         0,      Button2,        spawn,          {.v = mymenucmd } },
DWM has pretty good mouse support built in.
Last edited by netfun81 (2012-11-22 22:55:41)

Similar Messages

  • New Grid Menu Snafu with Right-Click

    Going to Podcasts from the source menu, selecting Grid View, and then right clicking "Update" to update the podcast selected does not work. Viewing the podcast in any other manner does work.
    Originally upon downloading iTunes 8, this feature worked at least once, I think. However, to my recollection, I haven't been able to do it after completing it once or twice.
    I have installed some new apps, but none of them or video or audio related (RapidoStart, RapidoWrite).
    This is a small snafu, but it makes working in grid mode annoying because I have to go into a different view, collapse the expanded podcast lists or scroll down them, OR individually select the podcast to start the update process in order to quickly update more than several podcasts of interest.
    Automatic updates also do not seem to work, even though I asked iTunes to download the podcasts everyday for new episodes.
    Any help or ideas are appreciated. Thank you.

    I might have just found a solution myself:
    https://discussions.apple.com/message/10432377?messageID=10432377&amp%3b#1043237 7
    It seems other people are wondering too.
    And for those of you who don't understand why this is useful: Try it.
    Open Textedit, Apple-N, and then save the darned file somewhere deep in the labyrinth of the Finder where you've just been but withouth the file. It takes AGES.
    I, on the other hand -- at least in Windows --, right-click, new, double-click AAAND I'm on editing the file.
    VERY quick.
    It's beyond me why this is not possible on a Mac.

  • Run time prompts not appearing when launching BR from a right click menu

    Hi!
    I have a problem when trying to launch a business rule from a right click menu which is assigned to a dataform.
    The rule launches but does not show/ask for the run time prompts as it should do. The run-time prompts should not be hidden (I checked also Eas and data form selections).
    When using the rule form the Tools-Business Rules menu, the rule works fine. It prompts for the required variables and as they are filled in, the rule does what it is expected to.
    Also, when using the same rule attached into a form (and selected "use members on form"&"run on save") the rule works correctly.
    We are using version 11.1.2.1.
    I already have tried restarting Planning services but without success.
    What might cause this?
    kind regards,
    user637777

    Hi!
    I found out from the Oracle knowledge base:
    This issue is caused by unpublished Bug 11064867 - RIGHT CLICK MENUS NOT RENDERING RUN TIME PROMPTS
    In version 931 run time prompts worked correctly when launching them from a right click menu, I checked this out.
    In our current version I got this working (this is kind of a workaround) by adding a new RTP variable (using the same dimension as the original RTP variable). This way I got the rule to "ask for more information" (like what were you asking for? ) and not running the rule without interruptions. This instruction was given in Oracle support (knowledge base).
    kind regards,
    user637777

  • Disable (all) functions on the block diagram with right-click menu

    Hello to everyone,
    here is one more idea, which I'd like to propose. 
    As for me, it would be useful to have the following: when all components (functions, wires, subVIs, etc.) are selected on the block diagram (like, after ctrl+A), operator could do right-click, and in the menu would appear menu item "Disable everything". After it, all the code could be placed into Disable structure. 
    Of course, I can add Disable structure to block diagram manually, and cover whatever I want, but with right-click menu it would be much faster.
    Also, it can be modified to disable only selected items - then each of them can be placed into separate Disable structure, and, for example, additionaly in the enabled case of Disable structure, corresponding wires will be connected. Sometimes it is needed for testing - just to disable couple functions, and test subVI. Or to disable subVI fully (it's faster, then disable place, where it is called. Especially, if subVI is used in many places).
    It will not make debugging difficult, because anyway Disabled structures are used; such functionallity can just make life a little bit easier...
     

    There is always the File->New... which opens up a new window.  You can have your templates in that window by putting them somewhere (I don't remember where at the moment).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I bought pages on the app store and have math type installed. However I am do not have the option to "Insert Mathtype Equations" either with right click or the drop down menus at the top of the screen.

    I bought pages on the app store and have math type installed. However I am do not have the option to "Insert > Mathtype Equations" either with right click or the drop down menus at the top of the screen. I also have OS Lion installed if this makes any difference. Please help!

    I assume but I can't check that MathType rely on the standard iWork applications location which isn't the one used by the mac App Store.
    Create a subfolder named iWork '09 in the Applications folder.
    Select the iwork applications which you own then drag them into the iWork '09 folder.
    You will be asked to type your password. Don't worry, it's normal.
    It's required because the System must store the infos describing the new location so that, if a new revision is delivered, mac App Store will be able to find the apps where they are.
    When this will be done, try to re-install MathType.
    I guess that this time it will behave flawlessly.
    Yvan KOENIG (VALLAURIS, France) mardi 13 septembre 2011 16:48:19
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Is it possible to have Flash open the menu when you right click a link?

    I'm using sIFR 3 on a few of my websites. Personally I think it's a really cool and nice solution. I have had no issues with it so far except what I've recently discovered.
    When you right click on a link (or control click on a mac) it should have the normal menu you'd get if you clicked on a regular HTML link. Also when you hover over the link it doesn't display the status in the status bar (i.e. the URL the link will take you to if you click it).
    Anyways, I'm trying to come up with a workaround to this (personally I think the developers should have already thought of one but I guess not). That being said I'm wondering if Flash can do something like that. Is there a code I can put in the Actionscript to tell it to open up the browser menu when someone right clicks or control clicks a link?
    For some reason I'm thinking this isn't possible without JavaScript but I have had some people telling me in the current version of Flash it isn't possible at all. I'd be interested in hearing everyone else's opinion.
    To see what I'm talking about check out this website I'm building here... http://dev.thinktecmediagroup.com/fibre-federal/
    Notice that the top navigation (and side navigation) is all done using sIFR. IF you try and right click (or control click on Mac) on one of the links you'll see nothing happens.

    Probleme solved without having to change anything in the flash.
    The solution was to add a small part in the CSS in HTML
    html {
    overflow-x: hidden;
    overflow-y: auto;
    Solve probleme. All browser. VERY usefull to know !

  • Since upgrading to Mail 7.0 the menu popup from right clicking an element in an email has changed.

    Since upgrading to Mail 7.0 the menu popup from right clicking an element in an email has changed.  There is now only a short three item menu:
    Previously there was a longer menu (like the one when right clicking an item on a Safari page):
    I've looked in Preferences and at all the Mail dropdown items but can't find any way to get the old menu back (or why it changed).  In particular, I miss the "copy image" item which allowed me to copy an item image into a new email for forwarding.  I've got two email accounts, an IMAP and a POP.  The behavior is the same with both.
    Any ideas?
    Thanks,
    Richard

    Your screen shots are not visible to me.  But I think I understand your question.
    Several thoughts come to mind:
    rbhix wrote:
    In particular, I miss the "copy image" item which allowed me to copy an item image into a new email for forwarding.
    You can still, of course, simply forward the entire email message containing the image.
    You could also use the "Save Attachment ..." feature available when you right click and copy and paste from there once the image is saved.
    Less likely, you could also use the "Share" feature available when you right click, though I suspect it may not offer sharing options that you would like.

  • MY FIREFOX NEW TAB NOT WORKING NIETHER WITH + NOR WITH RIGHT CLICKING ON TAB OR DOUBLE CLICK ON TAB

    MY FIREFOX NEW TAB NOT WORKING NIETHER WITH + NOR WITH RIGHT CLICKING ON TAB OR DOUBLE CLICKING ON TAB

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Need to create menu on mouse right click

    I have a web application with frames with one frame have a tree.
    Now i want to right click on one node and say "Copy" the node to another location in the tree..
    My problem is that i am able to get how to create the menu option on right click.
    Can anybody suggest how to acheive this

    i'm pursuing the same thing. i believe ONE way of doing it is to add an ActionListener to the component, whether it be the frame or the node component you speak of. compare the action event object to the right click of the mouse, if it's true the trigger a menu, and ideally place the menu object next to the x,y coordinates of the mouse cursor (either to the left or to the right depending on where on the screen the cursor is.
    as far as how a menu is created i do not really know and would also like some information on that.
    i'm guessing it should be related to the JMenu object (directly a subclass of JMenuItem which in turn is a subclass of AbstractButton). That's a good place to start from. let me know if you get anywhere on this.
    -William

  • Deactive OLAP functions with right click

    Hi guys,
    I want to deactive "OLAP functions with right click" in thw workbooks to avoid some mis-operations from users. I tried to uncheck it from BEx toolbar (under "Settings") and saved the workbook. But when I reopen the workbook, it becomes active again. Does anyone know how to deactive it forever? Thanks a lot.

    Hello,
    Go to Business Explorer Menu, Select Settings, Uncheck OLAP Function with Right Click and save it as existing workbook.
    I have tried it. It works, when you reopen, it will be still disable..
    Hope it helps.
    San.
    Message was edited by: SAN

  • How to Remove "OLAP Functions with right-click" in Workbooks (By VBA?)

    Dear Experts:
    After we created workbooks, to prevent end users from using certain BEx functions, we greyed out some "icons"
    on SAP BEx Menu in the workbooks. But now we have one problems: because we also made "Setting" unable on the menu bar, now we are not able to remove one marked selection: "OLAP Functions with right-click". Is there any way we can disable "OLAP Functions with right-click", then users can only use the normal Excel functions in the workbooks??
    Thank you very much and BR
    SzuFen

    Hello,
    Go to Business Explorer Menu, Select Settings, Uncheck OLAP Function with Right Click and save it as existing workbook.
    I have tried it. It works, when you reopen, it will be still disable..
    Hope it helps.
    San.
    Message was edited by: SAN

  • Missing share menu option using right click

    Hi everybody,
    I've been seeing quite a few videos that with twitter integration in OS X mountain lion, I am able to share the url or pictures directly from web browser (Safari). Something like what this video does:
    http://youtu.be/nUc97k4Poko
    While I am able to share links of websites by clicking the share button beside the address bar, I did not manage to see any share menu option when I right click on an image within the browser. I tried it on several sites and on various images but all I could do is open the image in new tab/window or download and save the image somewhere. Why is this so?
    I am still pretty new in the world of mac OS so please kindly guide me along if you know the solution. Thanks!

    Regarding the ATI option;
    This option appears only using Windows XP.
    Using XP you can reach the ATI settings with right click on the desktop -> Properties
    In Vista you should find the ATI Catalyst in Start -> All Programs -> Catalyst Control Center
    Regarding the battery time;
    Battery working time depends on the notebook usage and on the battery.
    If you are running heavy performance applications then the battery will last not longer as one hour.
    You can extend the battery working time if you would dim the screen brightness and would use a stronger battery with higher mA value.

  • Strange "Hello World" menu item on right click

    Hello - for a few days now I am getting a strange Hello World contextual menu item when right clicking in some applications… Excel, iPhoto… It's at the bottom of the items separated by a line. When I choose it a text clipping kind of window comes up with German heading "Ohne Titel". In it it shows Hello World, which cannot be edited. Closing window is the only option.
    Any idea what this is and how to remove it?

    It displays which ever application is active, i.e. the window seems to belong to that application.
    Below is a list of "My Processes"… I am not familiar enough with the list to say if there is anything unusual in it.
    Here is a screen shot from iPhoto: http://homepage2.nifty.com/megaperls/hello.png
    126 fontd dirk 0.0 2 7.5 MB 30.4 MB
    120 pboard dirk 0.0 1 768 KB 18.4 MB
    2151 Image Capture Extension dirk 0.0 2 6.3 MB 29.1 MB
    118 Finder dirk 0.0 5 36.4 MB 40.8 MB
    117 SystemUIServer dirk 0.0 5 25.2 MB 283.5 MB
    116 Dock dirk 0.0 3 24.9 MB 29.0 MB
    2022 TextEdit dirk 0.0 2 28.1 MB 27.8 MB
    2147 iPhoto dirk 0.0 12 139.2 MB 146.4 MB
    112 launchd dirk 0.0 2 972 KB 38.0 MB
    235 DashboardClient dirk 0.0 5 45.6 MB 217.4 MB
    232 Flash Player (Safari Internet plug-in) dirk 1.5 6 14.8 MB 54.6 MB
    2137 mdworker dirk 0.0 3 18.4 MB 39.2 MB
    38 loginwindow dirk 0.0 2 8.0 MB 34.7 MB
    927 AppleVNCServer dirk 0.0 4 2.8 MB 30.1 MB
    222 AppleSpell.service dirk 0.0 2 9.5 MB 29.1 MB
    156 Safari dirk 0.0 10 313.1 MB 413.6 MB
    219 WebKitPluginAgent dirk 0.0 2 936 KB 39.5 MB
    152 iChatAgent dirk 0.0 2 6.0 MB 13.7 MB
    723 ARDAgent dirk 0.0 5 2.5 MB 31.7 MB
    151 Kotoeri dirk 0.7 3 43.7 MB 52.3 MB
    147 HP Event Handler dirk 0.0 4 2.6 MB 30.6 MB
    145 TISwitcher dirk 0.0 2 6.2 MB 30.2 MB
    144 HP Scheduler dirk 0.0 2 3.6 MB 29.9 MB
    143 imklaunchagent dirk 0.0 2 1.9 MB 39.0 MB
    140 Little Snitch UIAgent dirk 0.0 3 7.2 MB 30.7 MB
    2172 mdworker32 dirk 0.0 3 5.7 MB 72.7 MB
    2165 Activity Monitor dirk 2.1 3 20.1 MB 38.3 MB
    131 UserEventAgent dirk 0.0 3 5.0 MB 40.7 MB

  • Unable to close open apps with double clicking the button and when I tap screen does not respond?

    Cannot not close open apps with double clicking the button Since downloading iOS8.

    What happens when you try? Does double clicking the ?home button bring up the Task Bar of recently used apps? If so what happens when you flick up on the preview screen for the app you want to close?
    To quit an app double click the Home button to reveal the row of recently used apps. Flick up on the page preview and it will fly away and disappear. That quits the app.

  • Email Security Plug-in - Doesn't seem to work with right click or save and send

    I've searched the knowledge base but have not located the answer yet.
    We have the Encrypt Message plug-in installed to flag the email [SEND SECURE].  This works very well when in Outlook.  It does not seem to work when right clicking a file to send outside of Outlook or performing Save and Send from within Microsoft Office.  The add-in still shows and users are clicking it and the Send button but the emails are not going securely.  We are on Microsoft2010 on mostly XP machines.
    How can I get Encrypt Message to work in all instances?
    Thank you.
    Starla

    Andreas
    I am getting an error.  See below for what I'm choosing and the response.  let me know if I'm supposed to be trying to download from another area.
    Thanks
    Starla
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Cisco IronPort Email Security Appliance C370
    Release:IPAS
    Filename: CiscoEmailSecurity_7-2-0-039.exe
      Remove
    Details
    Release
    IPAS
    Filename
    CiscoEmailSecurity_7-2-0-039.exe
    Release Date
    25/Oct/2011
    Description
    Cisco IronPort Email Security Plug-in (Outlook)
    Size
    32541.84375 KB (33322848 bytes)
    Router Checksum
    0x553f
    MD5
    f0c864697d9e1a3e8f5297062943ac50
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Save the device to 'My Added Devices' list
    More Info
    'My Added Devices' list could be found by: 1. Clicking on 'My Cisco' Tab and expanding
        the 'Added Devices' section. 2. Selecting any task specific product
       selector and clicking on 'My Added
        Devices' in left pane.
    Email Security Plug-in - Doesn't seem to work with right click or save and send
    Set Cisco Notification Alert
    More Info
    All 'Cisco Notification Alerts' list could be found
    by: 1. Clicking on 'My Cisco' Tab and expanding
        the 'Support Notifications' section.
    Cisco service contract information indicates you are not authorized to download software for the following product(s):
    Cisco IronPort Email Security Appliance C170
    Cisco IronPort Email Security Appliance C370
    Cisco IronPort Email Security Appliance C650
    To download software for other product(s), remove the software for the product(s) listed above.
    Or, if you feel this message is in error, please:
    1. Email technical support for 24x7 assistance. To expedite your request, please include the following information:
             User ID (Cisco.com ID used to download software)
             Contact Name
             Company Name
             Contract Number
             Product ID
             Desired Software Release or File Name
    2. Contact your Cisco Representative, Partner or Reseller to ensure product(s) listed above are covered on a service contract. The Partner Locator link may assist in locating your nearest partner.
    3. Associate contracts for those products to your Cisco.com profile using the Instructions found in Profile Manager. After you submit your additional contracts, verification and updates may take up to 6 hours to complete.

Maybe you are looking for