How to use the Dekstop Action in desktop files.

I just recognized that desktop files can contain cool actions like e.g shutter:
20 [Desktop Action Redo]
21 Name=Redo last screenshot
22 Exec=shutter --redo
23 OnlyShowIn=Unity;
24
25 [Desktop Action Select]
26 Name=Capture an area of the screen
27 Exec=shutter --select
28 OnlyShowIn=Unity;
29
30 [Desktop Action Screen]
31 Name=Capture the entire screen
32 Exec=shutter --full
33 OnlyShowIn=Unity;
34
35 [Desktop Action Window]
36 Name=Select a window to capture
37 Exec=shutter --window
38 OnlyShowIn=Unity;
39
40 [Desktop Action Active]
41 Name=Capture the current active window
42 Exec=shutter --active
43 OnlyShowIn=Unity;
What is their intention? Is there a way to make them more integrated into the desktop, e.g. as a global hotkey(aside form using their native commands)?
Last edited by manuelschneid3r (2015-04-28 13:53:17)

@jasonwryan Maybe this is hastily. But I find it impolite to move this to NC and post a link that you did not even read. If you did, you would have noticed that the topic goes beyond anything written in this wiki article. I really know what e desktop entry is.
@ooo thank you.
For future readers, from the specs: Application launchers should expose them to the user (for example, as a submenu) within the context of the application. This is used to build so called "Quicklists" or "Jumplists".
Last edited by manuelschneid3r (2015-04-28 20:53:35)

Similar Messages

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • How to use the cases in button action?

    Hi Experts,
    I want to get a prompt message if the field is empty.I got it but at the same time if the field is filled I want the other action to be performed that is to call a BAPI and give me output.How can I give two events for the same action.
    How to use the cases in button action?
    So, please guide me.Urgent need
    Regards
    Nutan

    Hi Nutan,
    if I understand you, then you have a simple validation. Therefore you can use the validation functionality of VC for your components. An alternative could be by writing a new ABAP RFC function module like:
    BAPI Input parameters as input and BAPI output parameters as output and an additional return code or string for a message:
    IF I_FIELD IS INITIAL.
      E_RETURN_CODE = "THE FIELD IS EMPTY."
    ELSE.
      CALL FUNCTION <YOUR_BAPI>
      <BAPI PARAMETERS>
    ENDIF.
    I hope that helps.
    Best Regards,
    Marcel

  • How to use the action OnExpandAll on UI element Tree

    Hi, experts .
    I am in WDA developing project and developing the screen which has Tree .
    I want to expand all nodes when users click the button on the head of Tree .
    I copied the application `WDT_TREE` and created Tree of my application successfully .
    And I created the action OnExpandAll on my Tree and tried to create the function to expand all nodes .
    But I do not know how to use the action OnExpandAll .
    I can see the button to start action OnExpandAll on the head of Tree .
    I am trying to write logic in the action . But it does not work successfully .
    (In my tree , when I click the button for OnExpandAll , all nodes are outputted on root node .
    Because my logic is wrong ... )
    Please give me any hints .
    Masao

    Hi
    As your case it is a recursive node.
    then you have to create method and call it recursively for the expanall functionality.
    do it like this.
    create an attribute the node FOLDER
    name = 'ISEXPANDED'
    type = WDY_BOOLEAN.
    Now bind the property expanded of treenode FOLDER UI to this attribute.
    now go to the methods tab and create one method say name ZEXPANDALL.
    in thsi method make one importing parameter of type ( type ref to ) if_wd_context_node. and name NODE.
    then write the following code in this method.
    method ZEXPANDALL .
    DATA ELT TYPE WDR_CONTEXT_ELEMENT_SET.
    DATA EL TYPE REF TO IF_WD_CONTEXT_ELEMENT.
    data nd type ref to if_wd_context_node.
    data nds type WDR_CONTEXT_CHILD_MAP.
    data chld type wdr_context_child.
    data nf type ref to if_wd_context_node_info.
    data name type string.
    ELT = node->GET_ELEMENTS( ).
    LOOP AT ELT INTO EL.
      EL->SET_ATTRIBUTE(
      NAME = 'ISEXPANDED'
      VALUE = ABAP_TRUE
      data parent_key type string.
    EL->get_attribute( exporting name = 'TEXT' importing value
    = parent_key ).
    * create the child nodes
        create_node(
          exporting
            cur_element = EL
            parent_key  = parent_key ).
    nds = el->get_child_nodes( ).
    loop at nds into chld.
      nd ?= chld-node.
      nf = nd->get_node_info( ).
    name  = nf->get_name( ).
    if name eq 'FOLDER'.
      zexpandall(                             "recursive call
      nd
    endif.
      endloop.
      ENDLOOP.
    endmethod.
    NOw go to your eventhandler created for action expandall.
    there write the following code.
    method ONACTIONEXPANDALL .
    DATA lo_nd TYPE REF TO if_wd_context_node.
      lo_nd = wd_context->get_child_node( 'FOLDER' ).
      ZEXPANDALL( lo_nd ).
    endmethod.
    thats it.
    Thanks
    sarbjeet singh

  • How to use the "Actions" in Photoshop Elements 11

    I am wanting to use the "Actions" in Photoshop Elements 11.  But when I get the actions box up, it is only showing a small list of effects to use.  The tutorials I have checked into all show a very long list of actions. When I click on the little arrow and click on "load actions", I am getting nothing. Everything is blank.  It says "No items match your search."  Please help! 

    To use the existing actions, try the following:
    1. Open one of the Action Sets, in this example Special Effects is the Action Set, by pressing the small arrow beside the set name.
    2. Then click on the name of the Action, in this example Faded Ink is the Action name.
    3. Then press the Play button to run the action.

  • How to use the Bluetooth module natively in Parallels Desktop

    link to the instructions on how to enable bluetooth natively in parallels:
    http://www.mattiouz.com/blog/2007/04/13/how-to-use-the-built-in-mac-bluetooth-in -windows-under-parallels/
    link to the .exe that installs the apple driver for the bluetooth module needed in parallels: http://www.mattiouz.com/download/AppleBluetoothInstaller.exe
    now my bluetooth is accessible under parallels 3.0.5158. i scanned with a bluetooth netowrk scanner and i had no problems connecting to my treo 650.
    i took my some time to find the info but @ last i found it;-)
    Message was edited by: smokeonit

    Hi,
    You canr use text modules in script. You have to use standard texts .
    Standard text are maintained in SO10 transaction.
    you can create translation text for other languages also . So based on logon language it will print translation text.
    go to SO10
    give textname it say Ztextname  id as ST and language as EN
    say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.
    so now you have created a text called ztextname which you can use in your script.
    Inorder to insert the texts in your script do as below
    go to any window editor and   select path
    Insert->texts->symbols->standard symbols
    then you will get popup  in which you have to mention all the parameters that you have created earlier.
    after inserting just change language EN to sy-langu
    Reward points if useful
    About text elements Sravan already given some informatiomn
    Regards,
    Nageswar

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • How to use the table maintenance events for validating the input entries..?

    Hi,
    I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
    Or Is there any other way to solve my problem.
    Please share your inputs. Thanks in advance.
    Best regards,
    paddu.

    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
    Here is documentation for Event 01(Before Saving the Data in the Database )
    Event 01: Before Saving the Data in the Database
    Use
    This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
    hidden entry processing
    fill hidden fields
    flag data to be written to hidden tables after the database change.
    To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
    Realization
    This event has no standard routine. The following global data is available for the realization of the user routine:
    internal table TOTAL
    field symbols
    field symbols <ACTION> and <ACTION_TEXT>
    <STATUS>-UPD_FLAG
    If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Regards,
    Joy.

  • How to use the different class for each screen as well as function.

    Hi Experts,
    How to use the different class for each screen as well as function.
    With BestRegards,
    M.Thippa Reddy.

    Hi ThippaReddy,
    see this sample code
    Public Class ClsMenInBlack
    #Region "Declarations"
        'Class objects
        'UI and Di objects
        Dim objForm As SAPbouiCOM.Form
        'Variables
        Dim strQuery As String
    #End Region
    #Region "Methods"
        Private Function GeRate() As Double
                Return Double
        End Function
    #End Region
    Public Sub SBO_Appln_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean)
            If pVal.BeforeAction = True Then
                If pVal.MenuUID = "ENV_Menu_MIB" Then
                End If
            Else ' Before Action False
                End If
        End Sub
    #End Region
    End Class
    End Class
    Rgds
    Micheal
    Vasu Anna Regional Feeling a???? Just Kidding
    Edited by: micheal willis on Jul 27, 2009 5:49 PM
    Edited by: micheal willis on Jul 27, 2009 5:50 PM

  • How to use the separate symbol in the text field in the adobe form.

    Hi,experts,
    I don’t know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
    Action:
    1. config the ADS successfully.
    2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
    3. create a WDA for invoke the form and transfer the 'remark' context data.
    I use the following codes to display the paragraph in the PDF document:
    CONCATENATE
    '1&#12289;aaaaaaaaaaa&#65307;'
    '2&#12289;bbbbbbbbb '
    '3&#12289;ccccccccccc'
    '4&#12289;ddddddddd'
    INTO remark .
    lo_nd_z_hr_php_payslip->set_attribute(
    EXPORTING
    name = `REMARK`
    value = remark ).
    But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
    Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
    My email is : [email protected]
    Best regards,
    Tao
    Edited by: wang tao on Apr 8, 2008 1:58 AM

    Hi,
    If it is just a one word value then you could use this in the exist event;
    this.rawValue    
    = util.printx(">?<*",this.rawValue);
    This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
    If you wanted something more general ... if they could also enter a middle name then you could call a function like;
    function        toTitleCase(textValue)
      return  textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
    This uses a regex to change all lowercase letters following a word boundary to uppercase.
    Bruce

  • How to use the separate symbol in the textfield in adobe form?..urgent

    Hi,experts,
    I don’t know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
    Action:
    1. config the ADS successfully.
    2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
    3. create a WDA for invoke the form and transfer the 'remark' context data.
    I use the following codes to display the paragraph in the PDF document:
    CONCATENATE
    '1&#12289;aaaaaaaaaaa&#65307;'
    '2&#12289;bbbbbbbbb '
    '3&#12289;ccccccccccc'
    '4&#12289;ddddddddd'
    INTO remark .
    lo_nd_z_hr_php_payslip->set_attribute(
    EXPORTING
    name = `REMARK`
    value = remark ).
    But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
    Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
    My email is : [email protected]
    Best regards,
    Tao
    Edited by: wang tao on Apr 8, 2008 2:05 AM
    Edited by: wang tao on Apr 10, 2008 10:29 AM
    Edited by: wang tao on Apr 11, 2008 5:29 AM

    With the pen tool in Indesign, is there a way of making the points not join if you want to make a few single lines?

  • How to use the POST method In Oracle APEX 3.1

    Hi,
    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.
    How to hide the these parameters from URL??
    I Hope POST method will solve this problem.
    How to use the POST method in APEX???
    Help me out to solve this problem.
    thanks in advance.
    Cheers,
    Shan

    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.No they won't. Submission POSTs the <tt>wwv_flow</tt> form.
    Sometimes a branch may be performed after submission, generating a URL in which parameter values are visible. To avoid this, use the save state before branching option.
    Other actions&mdash;like using navigation lists, or clicking a link in a report&mdash;will perform a GET using parameters in the URL. In these cases using Session State Protection is advised.

  • Problem with SubmitButton name across screens, which use the same action?

    I am using multiple submit buttons in a single JSP. The problem i am using the same action across 4 screens, and excpet the 1st screen the remaingin 3 screens have BACK & Continue button, in every page the click of back button should take back to the previous screen and continue should submit the options selected to the next screen;
    The problem is i m using to LookupDispatchAction to handle multiple submit buttons, and i m using this for buttons
    <html:submit property="method"><bean:message key="reg.bt.back"/></html:submit>
    In resource bundle reg.bt.back=Back , but i need to pass to the previous screen so how to do that
    Help needed............
    Thanks in Advance

    why can you not store the information you require in the session?
    session.setAttribute("attributename" <attribute object>);
    surely that would negate you needing to pass parameters though the http?
    but otherwise there are several ways to do this, first of all you could simply rewrite the URL, which i'll admit is slightly labour intensive, but it would do the job... of if you really wanted you could put hidden html values throughout your page, and populate them with the data you wish you pass in your request, as long as the hidden inputs are in the <form> there should be no issue here.
    N.B. you are right, i would never suggest using JS for ANYTHING to do with sessions and submitted/retrieving data when you are using a JSP.

  • How to display the index of current desktop when enable multiple spaces

    I was using 10.6 before and used to using Spaces and puts applications into different desktops.
    Now I'm using 10.8 and I know that the Spaces has been integrated into Mission Control.
    The problem is, I can see the current desktop on the top bar in 10.6, but in 10.8 I cannot see it so I usually forget where I am.
    Does anyone know how to display the index of current desktop?

    Does anyone know how to display the index of current desktop?
    Brute force - - I have written the number of the Desktop directly onto the wallpaper picture I am using for each Desktop  (easy to do with Preview).
    All Desktops are using different wallpaper photos, so they are easily recognized by the color scheme, and in the upper left corner is the number.
    Regards
    Léonie

  • How to use the function module ....

    hi
    how to use the function module ssf_function_module_name in smartforms

    Hi..
    If you are using this Function module, you can get the generated function module name of smartform dynamically. It is good progrmaming practice to get the fucntion module name dynamically because there might be some problems if you are hard coding in program.
    This will return the name of the function module and then from the exporting parameters you can use the fucntion module name to pass parameters to Smartforms.
    Check this link.I am expalining here how to use this function module.
    https://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=36109&version=2
    Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    <b>Reward points if useful</b>
    Regards
    Ashu

Maybe you are looking for

  • Logical operations in Formula Txt in ChnFind

    Hi, I am trying to find outliers in my dat file by the following: outLyIndx = ChnFind("Ch("""&cname&""")<-3 OR Ch("""&cname&""")>"&str(uplimit)) In my data file, I have a value which is in the range below -3. However, the above code does not seem to

  • IBooks export to text - nothing get's exported...why?

    Hi. I have created a small iBook with iBooks Author - with some text, pictures etc. I would like to export it to text - so trying to do so results in no text file created - nothing gets exported. Any idea why - and what to check? Best regards Jens

  • Transfer prices for Profit Center

    Hello Gurus, SAP describes the following regarding transfer prices "In order to use transfer prices in the R/3 System, you need to store multiple valuation approaches in parallel throughout the accounting application components" Does it mean if trans

  • RAW-Converter für Olympus OM-D?

    Photoshop elements 8 - unter Mac mit der Bridge von CS4 - erkennt nicht mehr die RAW-Daten meiner neuen Olympus OM-D. Den RAW-Converter von Olympus selbst finde ich etwas sperrig, und den Umweg über den Adobe dng-Converter ebenfalls. Deshalb habe ich

  • Button functions don't work

    I've had this problem occur intermittently in AS2, and I always work around it my putting the code right in the button, but it seems that sometimes, out of the blue, one (or some) buttons will ignore button functions that are called from a frame scri