Find the answer to your Linux question:
Results 1 to 8 of 8
hi all, I have installed openoffice 2.3 alongside openoffice 1.1. The only way I can start impress of 2.3 is by cd to the dir and executing ./simpress. I tried ...
  1. #1
    nkd
    nkd is offline
    Just Joined!
    Join Date
    Oct 2006
    Posts
    19

    creating shortcuts in redhat

    hi all,
    I have installed openoffice 2.3 alongside openoffice 1.1.
    The only way I can start impress of 2.3 is by cd to the dir and executing ./simpress.
    I tried creating a softlink on the Desktop but it does nothing if I click on it.
    I even tried creating a launcher by rt clicking on the desktop and then choosing the simpress program by browsing over to it - It doesnot work either.
    I tried rt clicking on simpress and then choosing make link from the context menu - it created the link in the same dir - this time when i clicked on the link it worked fine. So I moved it to the desktop and expected all will be fine . But to my dismay ! the link stopped functioning from the desktop ?!?!?!
    what should I do to create a shortcut on the desktop for the simpress which is in the /opt/oooffice2.3/program dir .
    thanks in advance
    nishith

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    If you need menu entries, then I suggest you install the openoffice.org-redhat-menus package which is available on the desktop-integration of the OOo tarball.

    If you want to create a link manually the command to start impress should be "openoffice.org2.3 -impress %U".

  3. #3
    nkd
    nkd is offline
    Just Joined!
    Join Date
    Oct 2006
    Posts
    19

    Smile Thanks it worked !

    Thanks Dark.Child ,
    That was easy and I have the shortcuts and the menu entries in the panel as I need them.
    I have one more thing - can I now uninstall the OOO version 1.1 ? How to do it ?
    thanks in advance
    nishith

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Do something like,
    Code:
    rpm -qa | grep -i openoffice
    A list of openoffice related packages will be listed, so choose the OOo packages for deinstallation. To avoid dependency issues, uninstall the OOo1 rpms like
    Code:
    #rpm -e rpm1 rpm2 rpm3 etc

  5. #5
    nkd
    nkd is offline
    Just Joined!
    Join Date
    Oct 2006
    Posts
    19

    Thanks

    That was really nice. Now I now the rpm options a bit better - courtsey you.
    I think I will try writing a small script that shall findout all the ooo1 packages and pipe them to the rpm -e command.
    that should be neat and I will be able to automate the uninstallation.
    Thanks a lot.
    Nishith

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I usually use
    Code:
    #for i in `rpm -qa | grep -i openoffice`;do rpm -e --nodeps "$i";done

  7. #7
    nkd
    nkd is offline
    Just Joined!
    Join Date
    Oct 2006
    Posts
    19
    That was gr8,
    well it seems like somethig I can understand easily
    Only one thing - don't we need to add the 1.1 stuff for the version somwhere ?!?!?
    Or is it that rpm -e --nodeps will take care of that ?
    I hope that no 2.3 file like the writer or any other, should get wiped out.
    Thanks
    nishith

  8. #8
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    If you have two versions, then you need to include the 1.1 bit in the name of the rpms you want to uninstall. I usually just have one version, so I don't have to stipulate a version.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...