Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation [SOLVED] Libreoffice 4 can't make launcher work...
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] [SOLVED] Libreoffice 4 can't make launcher work...
Stimpeh English 19 Guest [Read]
27 May 2015 à 02:04

Stimpeh, Saturday 13 April 2013 à 22:19


Subscription date : 30 December 2012
Messages : 12
hi guys,

still being very fan of my glx dock, i just installed libreoffice 4 and i can right-click the icon and then 'make it a launcher', after closing liberoffice, it won't open upon clicking the launcher...what gives?

btw...haven't rebooted the computer, i did several restarts of the dock as well as my desktop (linux Mint cinnamon; you can restart cinnamon from the extra settings menu)

thanks for looking into it, i'll post back tomorrow if it works after reboot...good night, sleep tight!

bonne nuit

fabounet, Sunday 14 April 2013 à 16:30


Subscription date : 30 November 2007
Messages : 17118
so it does create a launcher, but the launcher doesn't work ?
can you please paste here the content of the desktop file associated with the launcher (it's in ~/.config/cairo-dock/current_theme/launchers)

matttbe, Monday 15 April 2013 à 10:11


Subscription date : 24 January 2009
Messages : 12573
Simply drag and drop the right launcher in a text editor or you can maybe launch these commands (and post the output messages here):
ls ~/.config/cairo-dock/current_theme/launchers/
cat ~/.config/cairo-dock/current_theme/launchers/*libreoffice*

Stimpeh, Wednesday 17 April 2013 à 22:18


Subscription date : 30 December 2012
Messages : 12
ls ~/.config/cairo-dock/current_theme/launchers/
01firefox.desktop 01libreoffice-startcenter.desktop
01gcalctool.desktop 01mintInstall.desktop
01gnome-system-monitor.desktop 01mscore.desktop
01gnome-terminal.desktop 01qBittorrent.desktop
01google-chrome.desktop 01ubuntu-software-center.desktop
01gthumb.desktop 01xchat.desktop

cat ~/.config/cairo-dock/current_theme/launchers/*libreoffice*
#3.2.1

#[gtk-about]

[Desktop Entry]

#F[Icon]
frame_maininfo=

#d+ Name of the container it belongs to:
Container=_MainDock_

#v
sep_display=

#s[Default] Launcher's name:
Name=

#S+[Default] Image's name or path:
Icon=

#s[Default] Command to launch on click:
#{Example: nautilus --no-desktop, gedit, etc. You can even enter a shortkey, e.g. <Alt>F1, <Ctrl>c, <Ctrl>v, etc}
Exec=

#X[Extra parameters]
frame_extra=

#b Prevent this launcher from stealing this application from taskbar?
#{If you chose to mix launcher and applications, this option will deactivate this behaviour for this launcher only. It can be useful for instance for a launcher that launches a script in a terminal, but you don't want it to steal the terminal's icon from the taskbar.}
prevent inhibate=false

#K[Default] Class of the program:
#{The only reason you may want to modify this parameter is if you made this launcher by hands. If you dropped it into the dock from the menu, it is nearly sure that you shouldn't touch it. It defines the class of the program, which is useful to link the application with its launcher.}
StartupWMClass=

#b Run in a terminal?
Terminal=false

#i-[0;16] Only show in this specific viewport:
#{If '0' the launcher will be displayed on every viewport.}
ShowOnViewport=0

#f[0;100] Order you want for this launcher among the others:
Order=12

Icon Type=0
Type=Application
Origin=/usr/share/applications/libreoffice-startcenter.desktop


note that i installed the desktop integration package libreoffice4.0-debian-menus_4.0.2-2_all.deb

thanks for looking into it! you guys are great..

Stimpeh, Wednesday 17 April 2013 à 22:33


Subscription date : 30 December 2012
Messages : 12
the thing is, in my applications folder (usr/share/applications) the desktop file reads liberoffice4.0-desktop...changing it manually in the cairodock folder didn't help, so i copied from usr/share/applications to desktop and then dragged from there to the dock...works fine now...thanks for the help though, wouldn't have found it without those commands for information on the launchers...

we can safely put [SOLVED] in the topic title..

matttbe, Wednesday 17 April 2013 à 23:02


Subscription date : 24 January 2009
Messages : 12573
Can you just post the output messages of this command launched from a terminal?
grep Exec /usr/share/applications/libreoffice-startcenter.desktop

Stimpeh, Saturday 20 April 2013 à 18:05


Subscription date : 30 December 2012
Messages : 12
grep Exec /usr/share/applications/libreoffice-startcenter.desktop
Exec=libreoffice %U

matttbe, Wednesday 24 April 2013 à 12:31


Subscription date : 24 January 2009
Messages : 12573
@fabounet: any idea? If the dock read the file in /usr/share/applications/ it doesn't launch the application but if the same file is in ~/.config/cairo-dock/current_theme/launchers, it's not a problem. (I guess there is a problem with %U.

fabounet, Thursday 25 April 2013 à 00:00


Subscription date : 30 November 2007
Messages : 17118
I've done the test and it works fine for me

Stimpeh, Saturday 27 April 2013 à 08:57


Subscription date : 30 December 2012
Messages : 12
the thing is, i think, that in the beginning i opened the new libreoffice 4.0.2 from my start menu (linux mint cinnamon), the icon appeared in the dock, i made it a launcher but that didn't work since cairo dock saved the launcher as
01libreoffice-startcenter.desktop

but since the *new* application is called
01libreoffice4.0-startcenter.desktop
it wouldn't work...once i created a desktop launcher and dragged it to the dock, it had the right name (since now in ~.config/cairo-dock/current_theme/launchers/ the name of the launcher reads libreoffice4.0-startcenter.desktop)

isn't that weird though?

fabounet, Tuesday 30 April 2013 à 09:22


Subscription date : 30 November 2007
Messages : 17118
hmm, but /usr/share/applications/libreoffice-startcenter.desktop is a valid file and should launch libreoffice
could you please delete the launcher, run the dock with debug (cairo-dock -l debug > log.txt) and re-try (make it a launcher and then try to launch the new launcher) ?
the debug will be in log.txt
thanks

Stimpeh, Wednesday 08 May 2013 à 21:16


Subscription date : 30 December 2012
Messages : 12
hiya, sorry i react so late, i rarely go to the forum so i don't check in...

i beg to differ on you libreoffice-startcenter.desktop being a valid file; take a look at the image below to see how the /usr/share/applications/libreoffice-startcenter.desktop has target: ../../lib/libreoffice/share/xdg/startcenter.desktop
whereas the new libreoffice4.0startcenter.desktop has target /opt/libreoffice4.0/share/xdg/startcenter.desktop

so i'd say libreoffice changed something in their file structure...i wouldn't know the slightest thing about it though, i'm still definetely a n00b

http://s23.postimg.org/iec507plj/Screenshot_from_2013_05_08_21_09_52.jpg

matttbe, Thursday 09 May 2013 à 00:14


Subscription date : 24 January 2009
Messages : 12573
take a look at the image below
Is it maybe possible to give us a bigger image?

fabounet, Tuesday 14 May 2013 à 13:24


Subscription date : 30 November 2007
Messages : 17118
/opt/libreoffice4.0/share/xdg/startcenter.desktop

usually, /opt is used when you install things yourself
did you install libroffice yourself (by compiling it) ?

Stimpeh, Tuesday 14 May 2013 à 22:40


Subscription date : 30 December 2012
Messages : 12
oops, sorry...yup, i think i compiled it from the tarball...

here's the image again:

http://s4.postimg.org/h6paprly3/Screenshot_from_2013_05_08_21_09_52.png

matttbe, Friday 17 May 2013 à 08:30


Subscription date : 24 January 2009
Messages : 12573
@fabounet: it's a link to the right file and the command is: libreoffice4.0 %U

fabounet, Friday 17 May 2013 à 17:02


Subscription date : 30 November 2007
Messages : 17118
the command "libreoffice4.0 " is maybe wrong ?
what gives:
which libreoffice4.0

Stimpeh, Sunday 19 May 2013 à 08:45


Subscription date : 30 December 2012
Messages : 12
pieter@pieter-Aspire-7250 ~ $ which libreoffice4.0
/usr/bin/libreoffice4.0

fabounet, Friday 24 May 2013 à 13:12


Subscription date : 30 November 2007
Messages : 17118
well it seems ok
maybe it's because you've installed libroffice manually

Guest, Wednesday 27 May 2015 à 02:04

Hi,
When I had this issue, the problem was that I have installed Cairo-Dock using
sudo -s

so, I got to use root user
Then I installed normally
sudo apt-get install cairo-dock


And, here is the trick, I also launched it with root user
cairo-dock


The thing is that the folder in /home/my_user/.config/cairo-dock was created with root as owner.

To solve the problem, I've removed all cairo-dock packages
sudo apt-get purge cairo-dock cairo-dock-core cairo-dock-data libgldi-dev libgldi3


And also I've removed the cairo-dock config folder
sudo rm -r /home/my_user/.config/cairo-dock


After that, I reinstalled the cairo-dock
sudo apt-get install cairo-dock

You can check that the config folder isn't created yet
cd /home/my_user/.config
ls

You won't find the cairo-dock folder until you launch it for the first time.

This time, do it with your regular user, or, to be sure, launch it from the unity.

Cheers,
Bruno

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] [SOLVED] Libreoffice 4 can't make launcher work...
Stimpeh English 19 Guest [Read]
27 May 2015 à 02:04


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation [SOLVED] Libreoffice 4 can't make launcher work... Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.