Problems at use | Problèmes à l'utilisation
Subscription date : 10 August 2011
Messages : 28
|
ENGLISH
Hello,
I just installed Linux Mint 17 on my laptop. I copied my cairo-dock's theme, and everything works fine so far.
However, I create a new custom launcher (an old build of Chromium) on cairo-dock, and when I click on it, nothing happens.
The exact same comman works on my terminal.
I made a hundreds of tests, and my conclusion is that it isn't a right issue, but rather a cairo-dock issue I think, because on top of that, when I close cairo-dock and reopen it, everything works fine.
So, my custom launcher doesn't work on the first launch (automatic launch on startup, neither if I launch it a first time manually.).
Here is the log thanks to cairo-dock -l debug > log.txt
? ~ tail -f log.txt
_cairo_dock_remove_icon_from_class (marco)
message : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/gldit/cairo-dock-class-manager.c:cairo_dock_deinhibite_class:526)
l'inhibiteur a perdu toute sa mana
debug : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/gldit/cairo-dock-class-manager.c:cairo_dock_deinhibite_class:531)
plus de classe
debug : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/gldit/cairo-dock-dock-manager.c:_stop_polling_screen_edge:1075)
_stop_polling_screen_edge (0)
message : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/cairo-dock.c:main:887)
Bye bye !
I don't have those errors when I launch it a second time.
Cairo-Dock version: 3.3.2
Linux distro: Linux Mint 17 (MATE, x64)
Window manager: Compiz
FRENCH
Salut,
Je viens d'installer linux mint 17 sur mon ordi. J'ai copié mon thème, jusque là, pas de problème tout marche.
Je créer un custom launcher pour lancer un script, en l'occurance une ancienne build de chromium. Et quand je clique dessus, rien ne se passe.
Pourtant, la même commande marche en console.
J'ai effectué plein de tests, et ma conclusion c'est que cela ne provient pas des droits d'execution.
Cela doit forcément provenir de cairo-dock, car lorsque je quitte cairo-dock et que je le reouvre, tout marche correctement
Ainsi, lorsque j'ouvre ma session et que cairo-dock se lance tout seul (grâce au "startup application" avec la commande 'cairo-dock -c'), cela ne marche pas.
Vous auriez une idee silvouplait ?
J'ai également fait un custom launcher en shell, to no avail. En modifiant le script de launcher de cairo-dock, j'ai mis les logs dans un fichier (cairo-dock -l debug > log.txt), voici ce que ça donne, sans même cliquer sur mon launcher defectueux:
? ~ tail -f log.txt
_cairo_dock_remove_icon_from_class (marco)
message : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/gldit/cairo-dock-class-manager.c:cairo_dock_deinhibite_class:526)
l'inhibiteur a perdu toute sa mana
debug : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/gldit/cairo-dock-class-manager.c:cairo_dock_deinhibite_class:531)
plus de classe
debug : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/gldit/cairo-dock-dock-manager.c:_stop_polling_screen_edge:1075)
_stop_polling_screen_edge (0)
message : (/build/buildd/cairo-dock-3.3.99.beta1.2.really.3.3.2/src/cairo-dock.c:main:887)
Bye bye !
Je n'ai aucune de ces erreurs lorsque je relance cairo-dock et que tout marche.
Cairo-Dock version: 3.3.2
Linux distro: Linux Mint 17 (MATE, x64)
Window manager: Compiz |
brianw, Tuesday 30 September 2014 à 00:36
|
|
Subscription date : 25 April 2012
Messages : 270
|
Hello and thank you for choosing cairo-dock. Sorry for the delay.
The developers have been very busy lately so please be patient. |
SQP, Tuesday 30 September 2014 à 12:42
|
|
Subscription date : 03 July 2010
Messages : 1081
|
Hi, I wonder if the problem could be related to environment variables not all set as they are when in a bash session.
-gdm -> dock -> script : fail
-bash -> dock -> script : work
could you try to launch a dock from the dock to test my theory ? (with a dedicated launcher to prevent using bash)
-gdm -> dock -> dock -> script : ?
(-d option to set an alternate config path) |
Subscription date : 10 August 2011
Messages : 28
|
Wow, I answered this message already, but it wasn't posted
Thanks you for your answer anyways
I was saying that it didn't work
-gdm -> dock -> dock -> script : fail
And I retested, and this works indeed: bash -> dock -> script : work
How can I launch cairo-dock from bash from the startup application, in order to make my launcher work please ? It really is painful for my daily use... |
Subscription date : 26 October 2008
Messages : 1904
|
Did you try starting cairo-dock with a delay. We have notice problems with cairo-dock opening before other services.
try starting the dock with a delay like this |
Subscription date : 10 August 2011
Messages : 28
|
Thanks but it still doesn't work |
brianw, Friday 03 October 2014 à 17:11
|
|
Subscription date : 25 April 2012
Messages : 270
|
shideneyu : So, my custom launcher doesn't work on the first launch (automatic launch on startup, neither if I launch it a first time manually.).
I was going to ask this question then noticed you already tested. The fact that the custom launcher does not work from bash on the first launch indicates to me that it can't be an environment issue. This must have something to do with how the application is instantiated (how the application is first launched).
When you first start your system and run the script manually are there any messages in the terminal that could have an indication?
Can you post the contents of the script and also the command field of the custom launcher?
Also in the custom launcher have you tested it with the 'Run in terminal' checkbox?
Have you tested it with the 'Don't link the launcher with it's window' checkbox? |
Subscription date : 10 August 2011
Messages : 28
|
Nothing work (concerning the options, I played with every button, to no avail)
Concerning the scripts:
A shell script (very basic):
#/bin/sh
"/home/shideneyu/Softwares/chrome-linux/chrome"
A ruby script:
a = `whoami`
system("echo '#{a}' >> lol.txt")
system("/home/shideneyu/Desktop/launcher.sh")
Inside of lol.txt, here is my logs: "shideneyu", (so it's me, the result of whoami) |
SQP, Saturday 04 October 2014 à 11:40
|
|
Subscription date : 03 July 2010
Messages : 1081
|
maybe a bug with your shebang
add a ! after the #
the shebang should be
as a sidenote, you don't need a script to launch a single binary like your chrome. You could directly set the binary location in your launcher. |
Subscription date : 10 August 2011
Messages : 28
|
Nope, still doens't work |
brianw, Monday 06 October 2014 à 14:25
|
|
Subscription date : 25 April 2012
Messages : 270
|
So this is very strange.
1) Your shell script won't work, even after being fixed.
2) Your ruby script won't work.
3) Putting the command in the custom launcher directly instead of in a script won't work.
4) If you remove cairo-dock from the autostart and run it manually won't work.
This is a very unique problem.
What if you remove cairo-dock from the autostart and then start cairo-dock first time from a terminal?
shideneyu : How can I launch cairo-dock from bash from the startup application
Use:
|
Subscription date : 10 August 2011
Messages : 28
|
brianw :
What if you remove cairo-dock from the autostart and then start cairo-dock first time from a terminal?
Use:
This works indeed ! But only from my console, when I put this command in the startup-applications, it doesn't work |
SQP, Wednesday 08 October 2014 à 10:16
|
|
Subscription date : 03 July 2010
Messages : 1081
|
this seem to confirm that my idea was wrong, so my next idea is WTF. (but this seem more session-related than dock-related) |
Subscription date : 10 August 2011
Messages : 28
|
Damn
My guess was rather that I created my cairo-dock theme 3 years ago at least (rly ! I'm serious), and the day were I reinstall everything and import it as it is, a new custom launcher that didn't existed beforehands doesn't work properly.
Next weekend, I'll rebuild the theme from scratch, let's hope that it works. |
brianw, Friday 31 October 2014 à 01:18
|
|
Subscription date : 25 April 2012
Messages : 270
|
shideneyu, how did you make out with your launcher issue? |
Subscription date : 10 August 2011
Messages : 28
|
I didn't make it out, I still use my console to launch Chromium.
I got to remake my theme from scratch and It'll use something like 30 minutes, I can't afford for it for the time being
(No, you won't get a "solved" tag ;D but thanks anyways for asking ) |
brianw, Friday 31 October 2014 à 11:46
|
|
Subscription date : 25 April 2012
Messages : 270
|
I wonder if this is a session timing issue since it works if you start cairo-dock after you have logged in. Can you try the following in your autostart
sh -c "sleep 10 && cairo-dock" |
brianw, Monday 10 November 2014 à 04:49
|
|
Subscription date : 25 April 2012
Messages : 270
|
shideneyu : I didn't make it out, I still use my console to launch Chromium.
This is why I am still asking.
shideneyu : I got to remake my theme from scratch and It'll use something like 30 minutes, I can't afford for it for the time being
Can you not save your theme?
shideneyu : ((No, you won't get a "solved" tag ;D but thanks anyways for asking )
We are not really worried about the solved tag. The volunteers that are here to develop and help just want to find out what is going on. We want to resolve the issue not to resolve the thread. |
Guest, Wednesday 27 May 2015 à 02:04
|
|
|
Hi,
When I had this issue, the problem was that I have installed Cairo-Dock using
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
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
|