How to change the way VLC starts up

I have installed VLC via pacman, I would simply like to change it so it runs all the time with
vlc --control lirc
For example I have changed it in thunar when I open video files, it's fine, but some programs call the binary itself automatically (like extensions in Firefox) so it will open as "vlc".
How can I do this? My VLC is in /usr/bin/vlc. I hope that's clear

I'm not sure if this will work:
I think apps that start VLC for you call some sort of "exec" statement that is interpreted by your login shell. Maybe the <shell>rc (e.g. ~/.bashrc) is sourced before interpreting the statement. If so, you could define an alias: "vlc -> vlc --control lirc".
Maybe VLC provides some config files where you can store your favourite settings?
(sry, don't use VLC and am at work on not linux right now... but these are the things I would try!)

Similar Messages

  • USB disk share - How to change the way disk is protected?

    Hallo,
    I have connected an USB drive to AE and I have previously formatted it using Mac OS extended journaled.
    To have it protected on the network I have enabled document share and I have selected "using password for the disk".
    Now I would like to change such option to "using account" but when I try to do that, Airport Utility warns me about the fact that I will lost access to documents on the disk. And this stops me because I have time machine backup on it and some other files.
    Is there any way to swith to other protections without lost access to documents stored on it?
    Or can I do something different to change permissions?
    Thank you for any help about!

    Hi Marcus,
    I didn't have time to work on my software because I had to do experiments in the lab...but I have one question: if you look a the screen shot of the main vi, I want to interact with the event structure. Should I configure a new queue in the configcircubuff in order to obtain my binary data? If yes how can I add a new name in the "unbundle by name" ?
    thanks a lot for your time and your help!
    Sophie
    main (in 3 parts!)
    configcircubuffer:
    Message Edité par stage84 le 11-13-2009 04:59 PM

  • How to change the Crystal Reports start page

    The CR Start page has a panel on the bottom half which displays Highlights, Key Resources, and eLearning tabs. It is annoying. How do I turn it off?

    One more idea:
    Go to your below directory on your machine:
    C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\Start Page\en
    Take a backup of start.html file (If the below, doesn't work you can put it back)
    Open start.html and edit in notepad remove below code and save it , your annoying tab disappears
    <div id="onlinecontent">
    <iframe width="100%"
          height="1200px" align="center" scrolling="auto" FRAMEBORDER="0" class="resources" id="onlineresourse"></iframe>
    <script type="text/javascript">InitializeResourcesTag("onlineresourse")</script>
        <script type="text/javascript">SetFrameSource("onlineresourse")</script>
      </div>

  • How do I change the way that my company name appears when googled?

    How do I change the way that my company name appears when it is googled?  Currently it only shows up as part of my company name followed by the website listed below and then the start of a description.  I would like to make it so my entire company name show up as the title when searched.  I used iWeb to create the site.  Please Help!  Thanks:)

    Put the whole company name in the title tag...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html

  • How do I change the table to start from right to left

    How do I change the table to start from right to left

    iWork apps have bugs that make them unsuitable for RTL scripts in various ways.  You might be better off using a different app if your work has a lot of RTL text.

  • Changing the way the dock loads on start up.

    Hi,
    Ages ago I changed the way my dock loads up so that Mail and Flock would load up on start up. I now want to change this back, however I cannot remember how the **** to do it lol.
    Anyone know?
    Thanks.

    Do you mean that you want the Mail application to load on start up? Or do you want to ALWAYS have the Mail application ICON appear on the dock?
    If you want it to start on start up... Hit the apple menu, system preferneces, accounts
    Click on your account then click login items at the top, then click the + sign and add whichever application(s) you want.
    I hope this answers your question...

  • How do I change the way the item are listed in stacks

    How do I change the way the item are listed in stacks?
    Thanks
    Joel Simkhai

    Hello Joel,
    You have some choices available by clicking and holding on the stack for a second, and there are five sorting orders to choose from.
    I picked up a tip to create an empty folder and place it in the stack, give it a fancy icon and name it 0. Then by choosing the sort order as name, that fancy icon is always at the front.

  • HT3529 New 7.0 version update changes the way text messages are presented.  In the new version, I cannot figure out how to delete individual texts.  I can delete entire strings of messages, but I want to delete old texts, but keep the recent texts

    The new version of the software for my iPhone 4 changed the way text messages are managed. 
    I can no longer delete individual texts from a text "conversation."  I also have not figured out how to forward texts, which I was able to do in the prior version.
    Anyone know a way to edit out individual messages without losing the entire string?
    Anyone know if there is a way to forward messages?

    When you have the conversation open, if you tap & hold on a message bubble, you should get a new menu pop-up.  It should have 2 options "Copy" and "More..."  If you select the "More..." option it will then let you select one or more message bubbles and delete the selected ones by hitting the trach can icon in the lower left corner.  As for forwarding, you probably just select the "Copy" option, then paste the contents into a new message...

  • How do I change the way things sound like the bas, troule

    How do I change the way things sound like the bass, trouble,etc

    What is your operating system?
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • How can I change the way iCalendar looks?

    Ho can I change the way iCalendar is formated.  It looks kind of like a cork board and it's not very attractive.

    If you insist on meddling with it:
    http://www.google.com/search?q=ical+skins&ie=UTF-8&oe=UTF-8&hl=en&client=safari
    Use these ideas and tips at your own risk.

  • How to change the default sorting in iTunes

    Hi,
    Does anyone know how to change the default sorting method for all items in iTunes?  I use the third option for organizing the library as a whole (the one that has a list of icons for bands that you double click to show only that band's songs).  The only sorting method I use is to sort by Album by Year (ascending), this makes the most sense to me.  I can tell that iTunes is attempting to remember when I do this for certain artists, but it epically fails at maintaining this sorting pattern.
    To be clear, say I open Radiohead and click through to have it sort with the above method.  Everything works great, but when I return a few days later to play Radiohead again, the sorting is not maintained.  It could be as simple as sorting in a descending direction, or could even be trying to sort by the number it was added in my library.
    I'd really appreciate it if someone knew of a way (maybe even through scripts if possible / the only solution) to eliminate this problem and have every (NOT just the artists who I've told iTunes to sort a specific way) artist sort that way.
    I don't know if my copy is just corrupt?  It may be, since for some artists it's started playing them in the above mentioned order they were added to my library even if I force a sort by album by year (i.e. it will go from playing a 2007 album to a 2002 album and not the 2008 album).
    Thanks!

    Andrew, I know I am extremely late to the party but I too use Grid View.  I had the same problem that you had but have found this to work for me.  I used it and it is still holding as my default sorting even after switching between the Artist page and Grid View.
    Once you are inside of the Artist page continue to click on the Album column until it shows Album by Artist/Year.
    That will give you each album sorted by the year instead of it randomly sorting it for you each time you leave an Artist's page and then back again.
    Hope this helps.

  • How to change the storage location in Lightroom 3.6.?

    How to change the storage location in Lightroom 3.6.?
    I use my internal hard drive NTFS of my MacBook Pro  as my storage location of Lightroom 3.6. being installed in Snow Leopard now but the data of my photos get too big now. I have two fast and big external hard drives eSATA now which I want to use for my data/photos. I know how to copy the data from one hard drive to another but I don't know how to change the settings in connection with Lightroom easily. I still want to watch all fotos on my MacBook Pro but don't want to save any fotos on my internal harddrive any more. Isn't it possible to have the programm Lightroom on my internal harddrive but the data on two times on two different extermal hard drives? If I look at Lightroom - settings of catalogue - I see that the internal harddrive location is my storage location now but I my two external harddrives don't appear as folders. Why? How to change that so that the external hard drives appear in Lightroom and I can watch all my fotos immediately (sometimes using external hard drive 1 and sometimes using external hard drive 2)?
    My external hard drives are in HFS+ but I use the software of Paragon so that there shouldn't be any problem to read and write the data (I use also Final Cut Express so my external hard drives are HFS+ and not NTFS).
    I want to impert many data from CDs - should I copy the fotos first to my external hard drive and then import it into Lightroom or is it easier to import the data directly from the CD in Lightroom so that I don't have to name the folders two times?
    I see that I have to sort the fotos from the CDs in new different folders and an used to do that in Finder of my MacBookPro. In Lightroom I don't want have to click each of hundreds of fotos to be able to put it into the right folders ... But how to import only a part of a CDs quickly into the right (newly created) folders?
    Kind regards, Karin

    Would you really leave the names of photos like DSC05271.ARW and DSC05271.jpeg etc.?
    What if I name them f.i. like ...
    2013-09-11_Austria_1_mountain.jpeg
    2013-09-11_Austria_2_mountain.jpeg
    2013-09-11_Austria_3_valley.jpeg
    I would NOT do this. I would not change the file name.
    I would add keywords and other metadata to the photos to identify the content of the photos, and from that point on, I would use keywords and other metdata to search for these photos.
    However, let's look at the big picture. I think there are three different methods of organizing
    Organize via keywords and other metadata, and not via operating system constructs such as file name and folder name
    Organize via operating system constructs such as file name and folder name, and not via keywords and other metadata
    Some combination of 1 and 2
    You can choose any one of the three methods above, the choice is yours. I am a very strong believer that for most people (and it sounds like you are one of those people), method 1 is the best method. However, not everyone agrees.
    There are drawbacks to using file names to identify your photos. One big drawback is that you must type the information into each photo's name, and this is more tedious than if you wanted to assign the keyword "mountain" to the photos, you can assign the keyword to multiple photos at once. Also, if you mis-spell the information in the file name on any photo, you have just made the photo much harder to find; whereas in Lightroom, the keyword can be assigned via a mouse click (so you can't mis-spell it), or by typing the first few letters and Lightroom (auto-fill) will find the correct keyword name. So using keywords is a much simpler way to go.
    .. is this much too complicated to do that in Lightroom or even dangerous to got lost of photos?
    It is very simple to add keywords, as I explained for this case. Create keywords "Austria", "Mountain", "Valley"; then select the desired photos, and then click on the check box next to the keyword name. It is much more complicated in my opinion to rename the photos in this manner.
    There is less danger in doing this via keywords than the danger doing this via file names, because of potential mis-spellings.
    If I spend a lot of time in editing photos (in Lightroom or Photoshop) I don't want that I loose those photos f.i. later if Lightroom won't be the software I use regarding the photos (in 10, 20 years?!)
    Lightroom will OPTIONALLY write your keywords and other metadata to the files (or sidecar files in the case of RAW). Every photographic application I know of (and I'm sure those in the future) can read the keywords and other metadata. So if you ever want to switch to some other software, your keywords and other metadata are available. you can turn this option on via Edit->Catalog Settings->Metadata, check Automatically Write Changes to XMP.
    So I have to create two folders - one with the originals and one with the edited exported photos?
    No, you do not have to create two folders. You don't have to export everything, but if you do, you can put the exports wherever you want, including putting them in the same folder as the originals, with different name.
    Why not edit them in Photoshop and save them in the second folder which I import later in Lightroom? Because it takes longer?
    Wow, you really need to think about: Why are you using Lightroom?
    Could you explain this to me? Why are you using Lightroom?
    If your goal is to edit the photos in Photoshop, and then put them in folders with whatever custom name you want to give them, then what is the benefit of using Lightroom? You can do all of this WITHOUT Lightroom. You keep explaining that your intended goal is to use Photoshop and folders/file names, and this is a goal which AVOIDs all benefits of Lightroom. I can't understand what you think the benefits of using Lightroom are for you.
    It is starting to sound to me like Lightroom is not the right software for you.
    Some people want to see a movie on their TV and are able to watch a DVD (not all!). Flickr seems to be a solution for movies in a big size (many GBs) to share them with friends (?)
    You haven't mentioned this before, and you should check the rules on Flickr regarding how long a video you can upload.

  • How to change the defaut xmlparser on OC4J Standalone 10.1.3.4 for Spring 3

    Hi All
    I am trying to use OC4J 10.1.3.4 standalone with Spring 3.0 but I keep getting the error
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'It worked fine when I was using Spring 2.5.6
    I have tried to change the parser as described here (http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html). This is not quite ideal as I want to change the parser for the whole server and not just one application and besides, If I cant start the server, I will not be able to change the parser for an application anyway. I say this because the default xml parser (xmlparserV2.jar) throws an exeception if you try to use it with Spring 3.0 i.e.
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'I have had a look on them Oracle Forums(How can I use a 3rd party XML parser such as xerces with OC4J ? and Spring forums and appararently you have to change the XML parser (because the oracle xml parser is buggy!!) by puting the Xerces parser(or any other parser for that matter) on the classpath and then using the following switch
    java -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Xbootclasspath/a:C:\Miscellaneous\xercesImpl.jar -jar oc4j.jarHowever, when I try and start OC4J, I get the following error and I have no idea how to solve this. I have been at this for a couple of weeks but I still not getting any joy.
    [Fatal Error] :-1:-1: Premature end of file.
    2010-01-07 10:29:06.881 ERROR J2EE JCA-01006 Error initializing an ApplicationConnectionManager - ConnectorArchive and Application cannot be null
    2010-01-07 10:29:06.881 ERROR J2EE JCA-01004 {0}
    2010-01-07 10:29:06.881 WARNING J2EE JCA-01013 Error (Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException) while setting up RA for MCF (oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl) for standalone resource adapter 'Oracle JDBC Resource Adapter'
    2010-01-07 10:29:06.881 ERROR J2EE OJR-00105 Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    10/01/07 10:29:06 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors.  Exception is: Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    10/01/07 10:29:06 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
         at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1623)
         at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1573)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2042)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1287)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:362)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:220)
         at com.evermind.server.Application.setConfig(Application.java:454)
         at com.evermind.server.Application.setConfig(Application.java:355)
         at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1603)
         at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1586)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1018)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
         at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:909)
         at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:314)
         at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1178)
         at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:662)
         at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1616)
         ... 12 more
    10/01/07 10:29:06 WARNING: Application.setConfig Application: default is in failed state as initialization failed.
    java.lang.InstantiationException: Error occurred initializing connectors.  Exception is: Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    10/01/07 10:29:06 Error initializing server: Application: default is in failed state as initialization failed
    10/01/07 10:29:07 Fatal error: server exitingCan anyone help or show me how to change the xml parser please ?
    Thanks in advance!!

    Hi All,
    I have found a way to change the xml parser for my application and NOT the xml parser for the server. I followed the instructions here http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html. In the end, I had to settle for changing the xml parser of my application(i.e. It uses its a custom parser e.g. xerces not the default OC4J parser i.e. xmlparserV2) and not the xml parser for OC4J because it was near impossible to change the xml parser for OC4J and besides, as the OC4J default parser(xmlparserV2) works well with the server and not my application, it made more sense to change the parser for my application (changed to Xerces) and not OC4J. Hope this helps someone else who may come across a similar problem.

  • How to change the color of specific row in ALV tree

    Hi,
    I m using method set_table_for_first_display of a class CL_GUI_ALV_TREE.
    The req is to change the color of specific row. Now can anybody tell me how to change the color of ALV tree. As in ALV tree and in this method 'set_table_for_first_display', there is no parameter IS_Layout.
    Pls suggest...

    hi
    hope this code will help you.
    Reward if help.
    REPORT zsharad_test1.
    TABLES: ekko.
    TYPE-POOLS: slis. "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
    ebeln TYPE ekpo-ebeln,
    ebelp TYPE ekpo-ebelp,
    statu TYPE ekpo-statu,
    aedat TYPE ekpo-aedat,
    matnr TYPE ekpo-matnr,
    menge TYPE ekpo-menge,
    meins TYPE ekpo-meins,
    netpr TYPE ekpo-netpr,
    peinh TYPE ekpo-peinh,
    line_color(4) TYPE c, "Used to store row color attributes
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    gd_tab_group TYPE slis_t_sp_group_alv,
    gd_layout TYPE slis_layout_alv,
    gd_repid LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    PERFORM data_retrieval.
    PERFORM build_fieldcatalog.
    PERFORM build_layout.
    PERFORM display_alv_report.
    *& Form BUILD_FIELDCATALOG
    Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but can
    also allow you more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such as
    total. You may need to provide more information than if you were
    simply displaying the result
    I.e. Field type may be required in-order for
    the 'TOTAL' function to work.
    fieldcatalog-fieldname = 'EBELN'.
    fieldcatalog-seltext_m = 'Purchase Order'.
    fieldcatalog-col_pos = 0.
    fieldcatalog-outputlen = 10.
    fieldcatalog-emphasize = 'X'.
    fieldcatalog-key = 'X'.
    fieldcatalog-do_sum = 'X'.
    fieldcatalog-no_zero = 'X'.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'EBELP'.
    fieldcatalog-seltext_m = 'PO Item'.
    fieldcatalog-col_pos = 1.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'STATU'.
    fieldcatalog-seltext_m = 'Status'.
    fieldcatalog-col_pos = 2.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'AEDAT'.
    fieldcatalog-seltext_m = 'Item change date'.
    fieldcatalog-col_pos = 3.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-seltext_m = 'Material Number'.
    fieldcatalog-col_pos = 4.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MENGE'.
    fieldcatalog-seltext_m = 'PO quantity'.
    fieldcatalog-col_pos = 5.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MEINS'.
    fieldcatalog-seltext_m = 'Order Unit'.
    fieldcatalog-col_pos = 6.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'NETPR'.
    fieldcatalog-seltext_m = 'Net Price'.
    fieldcatalog-col_pos = 7.
    fieldcatalog-outputlen = 15.
    fieldcatalog-datatype = 'CURR'.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'PEINH'.
    fieldcatalog-seltext_m = 'Price Unit'.
    fieldcatalog-col_pos = 8.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    ENDFORM. " BUILD_FIELDCATALOG
    *& Form BUILD_LAYOUT
    Build layout for ALV grid report
    FORM build_layout.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-totals_text = 'Totals'(201).
    Set layout field for row attributes(i.e. color)
    gd_layout-info_fieldname = 'LINE_COLOR'.
    gd_layout-totals_only = 'X'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    "click(press f2)
    gd_layout-zebra = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text = 'helllllo'.
    ENDFORM. " BUILD_LAYOUT
    *& Form DISPLAY_ALV_REPORT
    Display report using ALV grid
    FORM display_alv_report.
    gd_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = gd_repid
    i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
    i_callback_user_command = 'USER_COMMAND'
    i_grid_title = outtext
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_special_groups = gd_tabgroup
    IT_EVENTS = GT_XEVENTS
    i_save = 'X'
    is_variant = z_template
    TABLES
    t_outtab = it_ekko
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " DISPLAY_ALV_REPORT
    *& Form DATA_RETRIEVAL
    Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
    DATA: ld_color(1) TYPE c.
    SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
    UP TO 10 ROWS
    FROM ekpo
    INTO TABLE it_ekko.
    *Populate field with color attributes
    LOOP AT it_ekko INTO wa_ekko.
    Populate color variable with colour properties
    Char 1 = C (This is a color property)
    Char 2 = 3 (Color codes: 1 - 7)
    Char 3 = Intensified on/off ( 1 or 0 )
    Char 4 = Inverse display on/off ( 1 or 0 )
    i.e. wa_ekko-line_color = 'C410'
    ld_color = ld_color + 1.
    Only 7 colours so need to reset color value
    IF ld_color = 8.
    ld_color = 1.
    ENDIF.
    CONCATENATE 'C' ld_color '10' INTO wa_ekko-line_color.
    wa_ekko-line_color = 'C410'.
    MODIFY it_ekko FROM wa_ekko.
    ENDLOOP.
    ENDFORM. " DATA_RETRIEVAL

  • How to change the look and feel for Heading of quick launch menu in project server 2010

    Hi
    can someone tell me how to change the look and feel of Header names in quick launch.
    I want the header to be displayed in Bold with Underline to it.
    could this be possible for just header in quick launch in project server 2010. 

    Hi Rohan
    It does not work this way. You have to use a content editor webpart.
    See references below that might help you starting with this customisation:
    Http://go4answers.webhost4life.com/Example/sharepoint-2010-quick-launch-look-feel-78379.aspx
    Http://m.sharepointpromag.com/sharepoint/four-ways-add-or-remove-quick-launch-menu-control
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

Maybe you are looking for