Results 1 to 13 of 13
  1. #1
    LibreOffice Dock Icons

    Member Since
    Nov 05, 2011
    Location
    Lauderdale Co, Alabama
    Posts
    8
    Specs:
    Early 2011 21.5" iMac 2.5 Ghz
    LibreOffice Dock Icons
    LibreOffice, for those of you unfamiliar with it, is a free, open sourced office suite recently split from the OpenOffice.org suite. Once installed, it lumps its word processor, spreadsheet, presentation, drawing, database, and formula applications into one app, and thus, one dock icon. Does anyone out there know how to "split" those up, for easier access. If you are able to do this with OpenOffice.org, please let me know, as it may work for LibreOffice as well.

    Thank you,
    ~ Chris
    Look...don't you sometimes think that it may just have been your fault after all?

  2. #2
    LibreOffice Dock Icons
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    It appears that the Mac version of LibreOffice is set up this way and can't be changed. You can however make your own individual launchers.

    Open up Automator and create an application. Add the "Run Shell Script" action. For the value, add the following for the word processor:
    Code:
    /Applications/LibreOffice.app/Contents/MacOS/swriter
    Save that as an application and you've got yourself a launcher for the word processor.

    Repeat those steps, replacing the script value with the following for each of the other parts:

    Calc:
    Code:
    /Applications/LibreOffice.app/Contents/MacOS/scalc
    Draw:
    Code:
    /Applications/LibreOffice.app/Contents/MacOS/sdraw
    Base:
    Code:
    /Applications/LibreOffice.app/Contents/MacOS/sbase
    Impress:
    Code:
    /Applications/LibreOffice.app/Contents/MacOS/simpress
    Math:
    Code:
    /Applications/LibreOffice.app/Contents/MacOS/smath
    It's admittedly not the most elegant solution but it should get the job done.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3
    LibreOffice Dock Icons

    Member Since
    Nov 05, 2011
    Location
    Lauderdale Co, Alabama
    Posts
    8
    Specs:
    Early 2011 21.5" iMac 2.5 Ghz
    Elegant or not, it works, and I am able to put each individual launcher in the dock. On top of all that, I learned something new for Mac OS, the essential equivalent of a DOS Batch file, which I used to find quite handy in Windows.

    Thanks,
    ~ Chris
    Look...don't you sometimes think that it may just have been your fault after all?

  4. #4
    LibreOffice Dock Icons
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Since you mentioned batch files, you might want to look up "bash scripts", AppleScript and Automator. Each of those can help automate tasks and do other neat OS level things (bash scripting is the closest to batch files).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    LibreOffice Dock Icons

    Member Since
    Nov 05, 2011
    Location
    Lauderdale Co, Alabama
    Posts
    8
    Specs:
    Early 2011 21.5" iMac 2.5 Ghz
    Sounds good, bash is one of the things I like about Mac OS, I can go from Xubuntu on my notebook computer to Mac OS on my iMac and not change a thing, thanks for mentioning that. By the way, you wouldn't happen to know of a way to get the icons out of LibreOffice for the individual modules? I tried copying a JPEG, but when I keep it in the Dock, it reverts to the Automater logo.

    ~ Chris
    Look...don't you sometimes think that it may just have been your fault after all?

  6. #6
    LibreOffice Dock Icons
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You need to have ICNS files. Unfortunately, unlike just about any other OS I've used, OS X is very picky when it comes to icons. Take a look at this document to see how to change the icon. To create ICNS files out of pictures, take a look at img2icns - it's simple and the base version is free.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  7. #7
    LibreOffice Dock Icons

    Member Since
    May 06, 2012
    Posts
    2
    libreOffice icons dock
    I just downloaded libreOffice on OSX 10.7 and am trying to put separate icons for writer and calc on the dock. I've tried the suggested solution with automator several times, but get error msg about running inside or outside automator, etc. It's the first time I've seen Automator, and I must be doing something wrong. When I added the "Get specified file" action (as the error msg suggested) before "Run shell script," I got an application that opened the automator. Another time I created a new file in libreoffice writer, but it was just a file.
    Your instructions say to add code "for the value," after adding "Run shell script," but I'm not seeing an obvious place to add the code.
    The word cat comes up in a box, and I've put the copied code there with and without including the word cat. Maybe a screen shot?
    Sorry to be dense about this.

    Joann

  8. #8
    LibreOffice Dock Icons
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    I'll save you the trouble of fighting with Automator. Here's a zip file containing "launchers" for each of the apps. These should work assuming you've put LibreOffice in /Applications.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  9. #9
    LibreOffice Dock Icons

    Member Since
    May 06, 2012
    Posts
    2
    Thank you very much; I'm using them, but I'd still like to know how to have done it. Will work on that.
    Joann

  10. #10
    LibreOffice Dock Icons
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    When you add the "run shell script" action, you needed to replace the script action. By default, it executes "cat" - that's what you need to change.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  11. #11
    adding on...
    Thanks for the tip!

  12. #12
    LibreOffice Dock Icons

    Member Since
    Aug 29, 2012
    Posts
    1
    Lightbulb LibreOffice app bundle already includes adequate .icns for all apps
    Quote Originally Posted by vansmith View Post
    You need to have ICNS files. Unfortunately, unlike just about any other OS I've used, OS X is very picky when it comes to icons.
    The LibreOffice application bundle already contains .icns files that work just fine for the Automator apps created using the instructions above, without any extra software, using the regular Mac OS way of changing file/app icons.

    Locate LibreOffice.app in the Finder, then right-click and choose Show Package Contents from the context menu.

    Inside the package, inside a folder called "Resources" you'll see a whole bunch of .icns files, for all the apps and document types. As of Mac OS 10.7 (not sure about earlier), you can open these in Preview.app, highlight the largest icon size in the sidebar (preview pane), then copy the icon to the clipboard with ⌘C.

    Next, locate the Automator app you created before (I put mine in ~/Applications). Right click on the Automator app in Finder and choose Get Info (or ⌘I), then click on the icon in the upper-left of the inspector window to highlight it. Press ⌘V to paste the icon from the clipboard. Close the file inspector 'n you're done. No muss, no fuss.

  13. #13
    LibreOffice Dock Icons

    Member Since
    Oct 07, 2013
    Posts
    1
    A better way...
    As of the current LibreOffice version you may make template files from which you can do what was described below. To get them into the dock you simply rename the templates with the .app extension and then drag them into the dock. You may then rename the templates again (Say, name a template for word processing Writer) and you're good to go.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. icons on dock
    By syrokid in forum OS X - Operating System
    Replies: 2
    Last Post: 03-25-2011, 01:11 PM
  2. Dock icons won't leave dock
    By rsherid in forum OS X - Operating System
    Replies: 1
    Last Post: 02-22-2009, 01:42 AM
  3. icons on dock
    By Michele in forum OS X - Operating System
    Replies: 1
    Last Post: 12-17-2007, 11:06 PM
  4. Icons for your dock
    By Liam in forum Images, Graphic Design, and Digital Photography
    Replies: 4
    Last Post: 02-13-2007, 08:59 AM
  5. Icons in dock
    By kev. in forum Community Suggestions and Feedback
    Replies: 5
    Last Post: 10-02-2006, 11:25 PM

Posting Permissions

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