Technical discussions | Discussions techniques
brianw, Thursday 30 October 2014 à 15:37
|
|
Subscription date : 25 April 2012
Messages : 270
|
I compiled cairo-dock from the git repository and now when I first log in the caption text is so small for every icon it can't be read (it is tiny). The label text and everything else seems fine. If I quit the dock and start it a second time it is fine. If I don't autostart the dock and start it after logging in then it is fine. I have tried many combinations like -W, -o, -w 30, bash -c, sh -c.
The only way I have found around this is to autostart with sh -c "sleep 10 && cairo-dock". This works even though the cairo-dock delay (-w 10) does not work. This does not occur with the Ubuntu repository version.
System:
Cairo-Dock version : 3.4.0
Compiled date : Oct 29 2014 00:11:30
Built with GTK : 3.10
Running with OpenGL: 1
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
xfdesktop -V
This is xfdesktop version 4.11.6, running on Xfce 4.10.
Built with GTK+ 2.24.23, linked with GTK+ 2.24.23.
lspci -vnn | grep VGA -A 12
40:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV44 [Quadro NVS 285] [10de:0165] (rev a1) (prog-if 00 [VGA controller])
glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro NVS 285/PCIe/SSE2
OpenGL version string: 2.1.2 NVIDIA 304.117
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL extensions:
Codename: trusty
xfdesktop -V
This is xfdesktop version 4.11.6, running on Xfce 4.10.
Built with GTK+ 2.24.23, linked with GTK+ 2.24.23.
lspci -vnn | grep VGA -A 12
40:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV44 [Quadro NVS 285] [10de:0165] (rev a1) (prog-if 00 [VGA controller])
glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro NVS 285/PCIe/SSE2
OpenGL version string: 2.1.2 NVIDIA 304.117
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL extensions: |
brianw, Friday 31 October 2014 à 01:14
|
|
Subscription date : 25 April 2012
Messages : 270
|
Update: It does not seem to matter what the delay is for the sleep command because 'sleep 1' works as well. I tried putting in other shell commands to see if it was a shell thing but nothing else worked. |
matttbe, Sunday 09 November 2014 à 12:33
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello and thank you for this bug report!
This works even though the cairo-dock delay (-w 10) does not work. This does not occur with the Ubuntu repository version.
The main difference between these two versions is that when compiling the dock, all debug symbols will be added into the binaries (which means that it'll take a few more milliseconds to be fully loaded)
Do you have this bug when you use GNOME integration plugin?
And what's the output messages produced by these commands? gsettings get org.gnome.desktop.interface font-name
gconftool-2 -g /desktop/gnome/interface/font_name |
brianw, Sunday 09 November 2014 à 18:13
|
|
Subscription date : 25 April 2012
Messages : 270
|
running cairo-dock -e gnome makes no difference (except that I lose the xfce session logout functionality).
During my testing I did find out that if I restart my system and then log in everything is fine but if I log out then log back in that is when the issue occurs.
I don't think this is directly a cairo-dock issue but maybe a session issue (that is why I put this under technical discussions and not under problems). I am just stumped at the moment about what it could be but it is low priority for me since I have a workaround. I have seen this issue before when attempting to use different login managers like kdm so I am pretty sure it is something system related and not cairo-dock.
gsettings get org.gnome.desktop.interface font-name
'Cantarell 11'
gconftool-2 -g /desktop/gnome/interface/font_name
Sans 10 |
matttbe, Sunday 09 November 2014 à 18:25
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Yes, it's maybe because gnome-settings-daemon is not started before the dock... hard to know.
Or maybe by using bootchart in order to see which processes are started before/after the dock with and without using "sleep 1". |
brianw, Thursday 13 November 2014 à 01:47
|
|
Subscription date : 25 April 2012
Messages : 270
|
Thank you matttbe. I am continuing to investigate this a little at a time.
Something else I did find out by accident was that when I restart the computer and have the 'sleep 1' in the cairo-dock autostart I get the tiny text until I log out and back in again. This is exactly the opposite behaviour as the autostart without the 'sleep 1'. Very, Very strange.
I installed bootchart and will look into it when I get a chance. |
Technical discussions | Discussions techniques
|