Problems at use | Problèmes à l'utilisation
Subscription date : 20 October 2011
Messages : 14
|
Hi
How can I start a cairo-dock-session with cairo backend?
I'm using ATI and have the flickering problems so I wan to start it with the -c option.
I'm running Ubuntu 11.10 64 bit, Cairo-dock 2.4.0~2, OpenGl, Cairo-dock-session, Gnome, ATI fglrx 11.09
Thanks! |
fabounet, Thursday 20 October 2011 à 15:47
|
|
Subscription date : 30 November 2007
Messages : 17118
|
to use the cairo backend, use the command cairo-dock -c |
Subscription date : 20 October 2011
Messages : 14
|
I can run cairo-dock -c from the terminal, but I want to start the "cairo-dock-session" with no OpenGL.
I had a look at /usr/share/xsessions/cairo-dock.desktop and tried to add the -c option but it did not work. |
SQP, Friday 21 October 2011 à 10:26
|
|
Subscription date : 03 July 2010
Messages : 1081
|
for now, I guess you have to create a script to force that backend. As root, create the file /usr/local/bin/cairo-dock-c with that content :
#!/bin/sh
cairo-dock -c
and allow exec with
chmod 755 /usr/local/bin/cairo-dock-c
and edit the cairo-dock gnome session file you want to use in /usr/share/gnome-session/sessions/
change the cairo-dock commmand with the new one cairo-dock-c
but this last change would be overridden at every dock upgrade. |
matttbe, Friday 21 October 2011 à 16:26
|
|
Subscription date : 24 January 2009
Messages : 12573
|
No, it's simply because you've chosen to remember the default backend.
Is it better after having launched this command: sed -i 's/opengl/cairo/g' ~/.config/cairo-dock/.cairo-dock |
SQP, Friday 21 October 2011 à 16:51
|
|
Subscription date : 03 July 2010
Messages : 1081
|
ok forget my answer, matttbe is better.
I forgot about that option, but shouldn't we be able to access it within the program or with a command line option to bring the backend chooser ? |
matttbe, Friday 21 October 2011 à 20:21
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Yes but where? Into the config panel? In the menu? |
Subscription date : 20 October 2011
Messages : 14
|
Thanks guys! This solved my issue! |
SQP, Saturday 22 October 2011 à 12:17
|
|
Subscription date : 03 July 2010
Messages : 1081
|
menu don't need another one shot option
system setting could be well designed for that
but the best may be another command line option to bring up the popup we get on first launch
-b --backend Open the backend selector |
fabounet, Wednesday 26 October 2011 à 12:42
|
|
Subscription date : 30 November 2007
Messages : 17118
|
I like both ideas, the last one is easier to do, altough maybe less user-friendly (?) |
SQP, Wednesday 26 October 2011 à 21:20
|
|
Subscription date : 03 July 2010
Messages : 1081
|
still better than the sed
as it would mostly be used when adviced here on the forum
but the problem if you put it in the config, is you'll have to relaunch the dock I guess, without being sure you'll succeed.
From the command line, it would matter less, and the result will be obvious |
fabounet, Thursday 27 October 2011 à 16:30
|
|
Subscription date : 30 November 2007
Messages : 17118
|
but the problem if you put it in the config, is you'll have to relaunch the dock I guess, without being sure you'll succeed.
you're completely right, so actually we don't have much choice I'll add this little option then. |
matttbe, Sunday 30 October 2011 à 01:10
|
|
Subscription date : 24 January 2009
Messages : 12573
|
But is it possible to add an option in the config panel in order to change this setting? => Which backend do you want to use by default? (OpenGL / Cairo / Ask me)
And also, why not adding a few options to launch the dock at start-up? (with a delay? with which backend? an option to remove it? etc.) |
fabounet, Wednesday 02 November 2011 à 12:53
|
|
Subscription date : 30 November 2007
Messages : 17118
|
all these options already exist as launching options
they are maybe not very visible, but I'm not sure they would be much visible if placed into "System" in the advanced mode.
I don't really like to put in the config options that have no effect until you restart the dock. |
matttbe, Wednesday 02 November 2011 à 22:54
|
|
Subscription date : 24 January 2009
Messages : 12573
|
but I'm not sure they would be much visible if placed into "System" in the advanced mode. But it's easier to explain because it doesn't depend of the DE. And I think it's more logical for a beginner to have this option in the config panel because he has forced this backend in the dock.
I don't really like to put in the config options that have no effect until you restart the dock. Yes but we can propose a dialog to restart the dock. |
SQP, Thursday 03 November 2011 à 15:55
|
|
Subscription date : 03 July 2010
Messages : 1081
|
fabounet : I'm not sure they would be much visible if placed into "System" in the advanced mode.
don't worry about visibility of those items.
It isn't good to have a dangerous one shot option too accessible.
And I don't see why something added in this config should be considered not enough visible.
matttbe : I don't really like to put in the config options that have no effect until you restart the dock. Yes but we can propose a dialog to restart the dock.
that would require a restart button that launch a script that ensure that, in case of failure, the change will be reverted and the dock relaunched once more (or maybe just relaunch the dock with the new option for backend selection) |
Problems at use | Problèmes à l'utilisation
|