Displaying a quotation at login. [Solved]

Hello, I remember that when I was running some other distro I got some random quote every time i logged in, I thought this would be a nice thing to have, but i can't find anything because when i search for things about quotes i only find things bout programming and the " mark.
Does anybody know how to do this?

However, unless I'm wrong, you can't display a random quote with motd. I remember adding some command only to have the command printed at login. Actually, coming to think about it, I didn't tell it to run with an interpreter. I'll try it out and get back to you.
[edit]
Nope. Couldn't get it to work. I think you have to do it with an external program.
[/edit]

Similar Messages

  • Pdf file in simply Chinese can not be displayed properly sometimes, how to solve it?

    pdf file in simply Chinese can not be displayed properly sometimes, how to solve it?

    Try a different pdf reader, like GoodReader.
    Try switching your OS to Chinese (or English, if it is already in Chinese).
    Verify that the pdf does display correctly on a full computer.

  • Display Sales Quotation Row Text in SAP Standard Report

    Dear Experts,
    I need to display sales quotation row text in crystal report.
    S.no    Item Code  Item Des   Qty    Price
    1        AAA           AAAAAA     1      100
    2        BBB           BBBBBB     5      200
    3          CCCCCCC---->Row Text    800
             qqqq           qqqqqqqq    1       100
             www           wwwww     5       500
             eeee            eeeeee      2       200
    4      DDD           DDDDD      1      100
    I need to display in crystal report above format
    Please help me how to do this...Very Urgent...  

    Well - it's a report so there won't be a user exit. I think your options are what the others (and you) have suggested - change the standard program or make a copy.
    There are different opinions on the forum about which to do.
    Rob
    PS - you're not bothering anyone. We like problems.
    Message was edited by: Rob Burbank

  • HT204053 Just updated my login to apple on mac but ipad still displaying old email for login.  Anyone know how to update ipad to new login details?

    Just updated my login to apple on mac but ipad still displaying old email for login.  Anyone know how to update ipad to new login details?

    Hello Beeched,
    Thank you for the question.  Are you seeing the previous Apple ID in the iTunes and App Store?  If you are, use these steps to sign in with your new Apple ID:
    Sign in with a different Apple ID
    Tap Settings > iTunes & App Stores.
    Tap your Apple ID.
    If you see the option to Sign In, you can change your Apple ID now.
    Tap Sign Out.
    Enter your Apple ID and Password and tap Sign In.
    Or if you don't have another Apple ID, tap Create New Apple ID.
    You can find the full article here:
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht1311
    If you trying to change the Apple ID signed into iCloud, use these steps:
    On your iOS device’s Home screen, go to Settings > iCloud, then at the bottom of the screen, tap Delete Account.
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    Once you delete the account from your device, you will have an option to sign in with your new Apple ID in Settings>iCloud.
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Safari 5.7.1 does not display PDFs - how do I solve this problem?

    PDFs will not display in Safari 5.7.1.   When I click on a PDF on a webpage all I get is a dark gray screen.   How do I solve this problem?

    Back up all data.
    Quit Safari. In the Finder, select Go ▹ Go to Folder from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then launch Safari and test.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • How to display features to different login authentication levels?

    I am not too well versed in dreamweaver.  I have created a user login system with different levels of security access (users and administrators).  I want to be able to have the same pages display different links and data based on what they are logged in as.  This would be via PHP.  Is there any tutorials or resources that would help me do so?

    The best tutorial for you would be one that starts at the beginning. Trying to implement security features by copying and pasting code from a tutorial without understanding the fundamentals of the language is not a good way to start. Once you've learned the basics, you'll be able to figure out what you want to do by yourself. At a minimum, you need to learn PHP syntax and control structures (which makes up the bulk or your question).  It's not hard, and if you have any prior programming experience, it's much easier.
    Lots of good info on the web, here's one example.
    https://phpacademy.org/videos/learn-php

  • Header text not displayed in quotation

    Dear all ,
    I am using standard form for quotation printing but the text i enter in quotation header it is not getting displayed in the standard layout of the quotaion . is there any settings i need to do .
    pls advise
    Ramar

    you have to read_text function module for that.......for that you need
    id
    object
    name   which is diffenrent for standard program ,you have to pass these parameters and on the basis you have to read text... i am sending you code
    DATA: wa_ltext     TYPE tline,
          current_line TYPE i,
          prev_line    TYPE i.
    LOOP AT ta_ltext WHERE tdline NE space.
      CASE ta_ltext-tdformat.
        WHEN '='.
          prev_line = sy-tabix - 1.
          READ TABLE ta_ltext INTO wa_ltext INDEX prev_line.
          IF sy-subrc = 0.
            CONCATENATE wa_ltext-tdline ta_ltext-tdline
                   INTO ta_ltext2-tdline.
            MODIFY ta_ltext2 INDEX current_line.
          ENDIF.
        WHEN OTHERS.
          ta_ltext2-tdline = ta_ltext-tdline.
          APPEND ta_ltext2.
          current_line = sy-tabix.
      ENDCASE.
    ENDLOOP.
    DATA:   BEGIN OF ttab OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA:   END OF ttab.
    DATA:   BEGIN OF tinlinetab OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA:   END OF tinlinetab.
    DATA: BEGIN OF thead.
            INCLUDE STRUCTURE thead.
    DATA: END OF thead.
    lv_objname = it_lips-posnr.
      CONCATENATE it_lips-vbeln lv_objname INTO lv_objname.
      PERFORM read_item_text1 USING lv_objname it_lips-vbeln.
    *&      Form  read_item_text1
          text
         -->P_LV_OBJNAME  text
         -->P_IT_LIPS_VBELN  text
    FORM read_item_text1  USING    P_OBJNAME
                                   P_IT_LIPS_VBELN.
      CLEAR : v_regcarr , v_intcarr ,
                v_reqdate , v_commdate.
      CLEAR: thead,it_likp-traty.
      REFRESH : ttab, tinlinetab.
      thead-tdid     = '0001'.
      thead-tdspras  = sy-langu.
      thead-tdname   =  p_objname.
      thead-tdobject = 'VBBP'.
      CALL FUNCTION 'READ_TEXT_INLINE'
        EXPORTING
          id              = thead-tdid
          inline_count    = 1
          language        = thead-tdspras
          name            = thead-tdname
          object          = thead-tdobject
        IMPORTING
          header          = thead
        TABLES
          inlines         = tinlinetab
          lines           = ttab
        EXCEPTIONS
          id              = 1
          language        = 2
          name            = 3
          not_found       = 4
          object          = 5
          reference_check = 6
          OTHERS          = 7.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    and if you ar using smartforms
    you kan read text in this way
    program lines
    input parameters         output parameters
    gs_vbrp                 GV_TYPPKG
    gs_item
    CLEAR: GV_TYPPKG.
    CONCATENATE
    gs_ITEM-vbeln
    gs_ITEM-posnr INTO GV_TYPPKG.
    create>text, type>include text
    1)text name  --> &GV_TYPPKG&
    2)text object-->VBBP
    3)Text id    ->Z009
    4)lan       -->en
    tick mark no error if no text exists
    also provide standard paragraph and first paragraph
    reward points if satisfied

  • Subreport of the jasper report displays blank, how do i solve this??

    i am creating a report which has subreport that is embeded in to the master report.
    When i previee it works fine but when i use it on my code it doesa'nt, it only display balank page.
    I could view the report individualy but not together.
    please guide me
    Thank you
    Master Report
    <subreport isUsingCache="true">
        <reportElement key="testingrpts_subreport1" x="21" y="72" width="517" height="100" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
        <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
        <subreportExpression class="java.lang.String"><![CDATA["C:\\Documents and Settings\\uthays\\My Documents\\NetBeansProjects\\POSYS\\POSYS-war\\web\\testingrpts_subreport1.jasper"]]></subreportExpression>
       </subreport>

    hi i have improved the report but not yet solved it.
    i now got parameters that passes value. i understand the logic but when i try it, it doeant work
    <subreport>
                        <reportElement x="16" y="72" width="525" height="109"/>
                        <subreportParameter name="CURRENT_Order">
                             <subreportParameterExpression><![CDATA[$F{poheader_id}]]></subreportParameterExpression>
                        </subreportParameter>
                        <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
                        <subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "newsub.jasper"]]></subreportExpression>
                   </subreport>then i am using this in my java
    fillParams.put("pSubReportName", input);
           param.put("CURRENT_Order",new Integer(poheaderDataProvider.getValue("id").toString()));but still i could only list one at a time
    if any1 got any clue let me know please, thank you

  • Error: "The page cannot be displayed"  when trying to login to portal

    Hi All;
    I can not login to portal, when I click login in portal home page
    http:<server_name>/pls/portal , the sso login screen will never come up, producing an error The page cannot be displayed
    http://:<server_name>/pls/portal/PORTAL.wwsec_app_priv.login?p_requested_url=PORTAL.home&p_cancel_url=PORTAL.home
    BI Components:
    Portal:portal is up and running.
    Http Server is up and running.
    OC4J_Portal is up and running
    Any one has an idea ?
    Thanks.

    Try the troubleshooting documentation:
    - http://download.oracle.com/docs/cd/B14099_19/portal.1014/b19305/cg_app_k.htm#sthref2513
    Mick.

  • Cannot display the image in Login Screen

    Hi am new J2ME..
    Here i have created a basic application of Login Screen in J2ME..i have added image in folder of my project..am using netbeans environment for this J2ME.,while am running my program it's not displaying image..
    here,if login is successfull,it will display 1 image,or else it will display another image..
    error displaying while am running this project.
    CODING
    public HelloMIDlet() {
    try{
          img1 = Image.createImage("images.jpg");
        }catch(Exception e){
          System.out.println(e.getMessage());
    public void validateUser(String name, String password) {
        if (name.equals("mani") && password.equals("mani")) {
          showMsg();
        } else {
          tryAgain();
    public void showMsg() {
        Alert success = new Alert("Login Successfully","Your Login Process is completed!",img1, AlertType.INFO);
        success.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(success, form);
      public void tryAgain() {
        Alert error = new Alert("Login Incorrect", "Please try again", img1, AlertType.ERROR);
            error.setTimeout(900);
        error.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(error, form);
    public void commandAction(Command command, Displayable displayable) {
            // write pre-action user code here
            if (displayable == form) {
                if (command == exitCommand) {
                    // write pre-action user code here
                     destroyApp(true);
                     exitMIDlet();
                    // write post-action user code here
                } else if (command == okCommand) {
                    // write pre-action user code here
                    validateUser(textField.getString(), textField1.getString());
                    // write post-action user code here
            }ERROR:
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\00000002images-6jpg.tmp
    null
    TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class
    java.lang.NullPointerException: 0
    at hello.HelloMIDlet.showMsg(HelloMIDlet.java:233)
    at hello.HelloMIDlet.validateUser(HelloMIDlet.java:223)
    at hello.HelloMIDlet.commandAction(HelloMIDlet.java:126)
    at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46
    at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74
    at com.sun.midp.chameleon.layers.SoftButtonLayer.commandSelected(), bci=11
    at com.sun.midp.chameleon.layers.MenuLayer.keyInput(), bci=290
    at com.sun.midp.chameleon.CWindow.keyInput(), bci=38
    at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17
    at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277
    at com.sun.midp.events.EventQueue.run(), bci=179
    at java.lang.Thread.run(Thread.java:619)

    Hi am new J2ME..
    Here i have created a basic application of Login Screen in J2ME..i have added image in folder of my project..am using netbeans environment for this J2ME.,while am running my program it's not displaying image..
    here,if login is successfull,it will display 1 image,or else it will display another image..
    error displaying while am running this project.
    CODING
    public HelloMIDlet() {
    try{
          img1 = Image.createImage("images.jpg");
        }catch(Exception e){
          System.out.println(e.getMessage());
    public void validateUser(String name, String password) {
        if (name.equals("mani") && password.equals("mani")) {
          showMsg();
        } else {
          tryAgain();
    public void showMsg() {
        Alert success = new Alert("Login Successfully","Your Login Process is completed!",img1, AlertType.INFO);
        success.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(success, form);
      public void tryAgain() {
        Alert error = new Alert("Login Incorrect", "Please try again", img1, AlertType.ERROR);
            error.setTimeout(900);
        error.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(error, form);
    public void commandAction(Command command, Displayable displayable) {
            // write pre-action user code here
            if (displayable == form) {
                if (command == exitCommand) {
                    // write pre-action user code here
                     destroyApp(true);
                     exitMIDlet();
                    // write post-action user code here
                } else if (command == okCommand) {
                    // write pre-action user code here
                    validateUser(textField.getString(), textField1.getString());
                    // write post-action user code here
            }ERROR:
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\00000002images-6jpg.tmp
    null
    TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class
    java.lang.NullPointerException: 0
    at hello.HelloMIDlet.showMsg(HelloMIDlet.java:233)
    at hello.HelloMIDlet.validateUser(HelloMIDlet.java:223)
    at hello.HelloMIDlet.commandAction(HelloMIDlet.java:126)
    at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46
    at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74
    at com.sun.midp.chameleon.layers.SoftButtonLayer.commandSelected(), bci=11
    at com.sun.midp.chameleon.layers.MenuLayer.keyInput(), bci=290
    at com.sun.midp.chameleon.CWindow.keyInput(), bci=38
    at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17
    at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277
    at com.sun.midp.events.EventQueue.run(), bci=179
    at java.lang.Thread.run(Thread.java:619)

  • When I load a page, the title on the tab never appears, it always says "New Tab" or "Connecting..." and ultimately never displays the actual title. [SOLVED]

    When I load a page, the title on the tab never appears, it always says "New Tab" or "Connecting..." and ultimately never displays the actual title. It's really no more complicated than that, but it's pretty annoying, it happened when I updated to Firefox 4, and it happens both at work and at home.

    I seem to have solved my own problem. When I disabled the add-on "Tab Renamizer" everything started working fine.

  • [OSX 10.7.2] Lion doesn't display password field on login

    Hi,
    I have two accounts on my iMac without automatic login and sometimes, after clicking on the user, the password field in login screen is not shown.
    It works only the icon to put the mac to sleep.
    The only thing to do is to force shutdown and restart.
    I found the problem since I updated to 10.7.2.
    This is my Mac: iMac11,1 (27-inch, Late 2009) Intel Core i7.
    Does anyone know how to solve the problem?
    Or this is a bug and I expect that Apple will notice?

    I can understand if you didn't like my unhelpful comment...as much as I can back it up with fact, I understand this is a user driven community, and that not everything can be answered, fixed, or worked on. I needed to be more patient.
    So, I do apologize if my comment offended you. I honestly mean that.
    But I am a bit concerned. You are a very popular poster, and I've watched you over many, many threads and I would like to thank you for being so helpful, you do get it right most of the time (which is not always the case in a lot of computer forums) and I would like to apologize...again...if an off handed comment, made in the moment out of frustration and yes a bit of anger, ruffled your feathers.
    I'm left with a bit of concern though.... As a senior technical support engineer with a major software company, and someone that has done a lot of consulting work, there are so many things wrong with your attitude, especially if you want to get into the IT field and be successful.
    Do you honestly think that YOUR help is SO valuable that you can just choose to giveth and taketh? You're either here to help, or you are here to not help, and learning how to deflect anger, and ego in your clients is a fundamental core skill.
    So, if my comment is something your ego can't handle, and you find yourself bristling everytime someone might have a negative opinion, may I also suggest that you do not enter the professional IT world, or that you make positive steps to grow some thicker skin.
    With that stated, I don't need your help...I have 15+ years of professional experience and over 25+ years total experience, and have probably forgotten more than you'll ever learn from cutting and pasting from other threads and the Apple support area's.  I thought MAYBE just maybe, someone has run into this issue, and the Apple discussion forums might be fruitful.
    I've found one solution anyway, so you can go back to help other people that I'm sure are much more appreciative of you and your ego.
    With that said, I think that the only way to make improvements here, is to contribute positively and to be helpful, so you'll see a lot more of me posting, and giving my feedback - so much so that you'll see I'm not the one that's a douche bag.
    Toodles!

  • Shutdown/Login: solved

    Newly installed Gnome (64 bit).
    The Shutdown/Logout buttons both put me into the GDM login screen.
    Seems like permissions to me.
    Can someone help?
    Last edited by addr (2009-10-10 17:13:07)

    It has started doing it again...intermittently.
    I also have optical drive problems and flickering monitor display which I never had before...doesn't matter if I use nv or the proprietary Nvidia driver.
    Just updated a Sidux install and an Arch Kdemod and the same problems have suddenly appeared (not the shutdown ones, but neither are gnome).
    Both Sidux and Arch are using the latest kernels  and I KNOW that I didn't omit adding all the above groups to my user.
    So I installed a stable Deb just to see if all these problems occurred...none of them did. Thank god...I was thinking new monitor.
    It has to be the latest kernels and my hardware in my opinion. I also have a Deb testing install which has been running fine for nearly three years which has also just gone ape after updating.
    I use smxi in Sidux so I can easily revert to an earlier kernel to test my theory if I didn't delete them which I think I maybe did! I'll get back on that.
    Meanwhile in Arch is there an easy way to revert to an earlier (30 or 29) kernel?

  • 3000 C200 Switch display when LCD is broken - SOLVED

    I want to install windows but it is automatically diskplaying on the built-in screen (which is broken). What keystrokes do I press in BIOS? (I've tried F9 -> Enter -> F10 -> enter to no success).
    The ubuntu install disk works but I don't want to use Linux on this machine.
    SOLVED: Press power and wait 3-5 seconds -> press F1 -> right -> down -> enter -> down -> enter -> F10 -> enter.

    Okay, let us move on. Disconnect the external monitor, remove battery from the laptop, unplug laptop cable for a few minutes, put everything back on and press the following combination in the this exact order: Fn+F3+Caps. If that does not help either, try to perform steps from this thread: https://forums.lenovo.com/t5/Lenovo-3000-and-Essential/G555-help-enable-external-display-from-BIOS/t...
    Microsoft Certified IT Professional (MCITP)

  • MOTD displays upon logout, not login

    Hi all
    I need the MOTD to display upon login to the CDE or Java Desktop in Solaris 10 - everything is set in /etc/profile, /etc/motd, /etc/issue - yet you only see the MOTD when logging off and before the login screen comes back up waiting for a new user. When you login the screen blinks several times and goes straight to the CDE desktop. Is it possible that the MOTD is displaying so quickly that it cannot be viewed - if so, how to make it pause so that the user must be forced to hit a key to continue after its displayed? This is for security reasons and the banner must be displayed. There is no .hushlogin file in the users directory. There are no errors in the users .dt/startlog to indicate that the /etc/motd did not display, however I did notice that in the /root/.dt/startlog, the MOTD is in the startlog, while in the users it is not. Is this significant?
    thanks
    Mark C.
    AZ

    I've checked a number of other things, including adding a file to the /usr/dt/config/Xsession.d directory and adding the file 0050.dthello with the statement dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &" - the startlog at $HOME/.dt/ indicates that the file was read and processed with no errors. The file also exists at /etc/dt/config/Xsession.d but the startlog indicates that it is sourcing the one at /usr/dt/config/Xsession.d. I've tried editing the Xconfig file to add INFO_PATH=/etc/motd to the Dtlogin*environment but to no avail.
    After all this, you still only see the MOTD when logging out of CDE/Java desktop, not when logging in. Any ideas?

Maybe you are looking for

  • Mount: wrong fs type, bad option, bad superblock on floppy

    Since I switched to kernel 2.6.1, I can no longer mount floppys. mount: wrong fs type, bad option, bad superblock on /dev/floppy/0, or too many mounted file systems I thought some filesystems might be compiled wrong, or the fstab is not OK, but I can

  • Dvd burning and ripping

    Dose anyone know where one could find a dvd copying program like the windows based dvd decripter, and dvd shrink. it would be great if anyone knows of any.

  • I want to sync videos from my iPhone to my computer, but I can't seem to do this? Please help?

    I have a Mac OS. When I plug my iPhone 4s nto my computer, it will show up under the iTunes finder, but it won't show up on the finder for my computer. There isn't an option in iTunes to sync my iPhone videos from my camera roll into my computer....s

  • Photoshop CC - Consistent App Crash

    I consistently receive this error at least once a week, if not daily when working in photoshop CC. Does anyone know the cause of this and how to fix? Using W7-64. It is so bad that I have had to change save settings to store every 5 minutes and lose

  • Transfer music from iPod to iPod on the same system

    How do you transfer music from iPod to iPod when you have 2 iPods connected to the same computer, I'm having a hard times to do a transfer, please help. Thanks