You are not logged in.

#1 2008-09-05 22:33:21

pencuse
Member
From: Germany
Registered: 2008-05-12
Posts: 17

[SOLVED] cannot run Conky on KDE4

I cannot start Conky on KDE4.

Arch Linux Conky Manual says FEH must be installed and ~/.kde/share/autostart/fehconky must be created as follows:

#!/bin/bash
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

I have installed FEH. Then I have created the links into .kde4 directory, because KDE4 supports this one. However Arch Linux installation with KDE4 does not include dcop but dbus. And there is no web link / information I could find, which states that how dbus must be started accordingly.

I have also created a symlink (as stated in the page above):

ln -s /usr/bin/conky ~/.kde4/share/autostart/conkylink

, however when I reboot or relogin, KDE does not seem to start these programs. As a root I have not found any log file in /var/log containing why these programs cannot be started.

For experiment, I have copied both files into ~/.kde4/Autostart, but in this case KDE4 cannot find dcop and Desktop Environment aborts to login prompt again.

How can I start feh? Do I need it in KDE4? DBUS daemons seem to be running

[arutku@hostarchlinux ~]$ ps -ef | grep dbus
dbus      2999     1  0 Sep05 ?        00:00:01 /usr/bin/dbus-daemon --system
root      3715     1  0 Sep05 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
root      3716     1  0 Sep05 ?        00:00:00 dbus-launch --autolaunch 559d1c801aa546c24bf5f91048c00573 --binary-syntax --close-stderr
arutku    3764     1  0 Sep05 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
arutku    3765     1  0 Sep05 ?        00:00:00 dbus-launch --sh-syntax --exit-with-session
arutku    4104  3870  0 00:29 pts/1    00:00:00 grep dbus
[arutku@hostarchlinux ~]$

Do I really need to start FEH then?

Any help appreciated because there is no information in web I could find.

dbus is not in DAEMONS list in /etc/rc.conf. And, maybe it helps:

[arutku@hostarchlinux ~]$ uname -a
Linux hostarchlinux 2.6.26-ARCH #1 SMP PREEMPT Tue Aug 26 21:15:43 UTC 2008 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux

EDIT: Fixed typos

Last edited by pencuse (2008-09-06 00:07:07)


Computer: Dell Latitude E7440 - CPU: Intel Core i7-4600 - Harddisk: PM851 256 GB SSD - RAM: 8 GB DDR3L - Graphics: Intel HD 4400 (integrated in the CPU)
Enabled at UEFI: Virtualization, TPM - SecureBoot disabled
OS: Lubuntu 19.04+Arch Linux

Offline

#2 2008-09-05 22:45:10

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: [SOLVED] cannot run Conky on KDE4

I don't have feh installed on my system and conky works for me with kdemod4 but I just start it manually.

Offline

#3 2008-09-05 22:52:03

pencuse
Member
From: Germany
Registered: 2008-05-12
Posts: 17

Re: [SOLVED] cannot run Conky on KDE4

whompus wrote:

I don't have feh installed on my system and conky works for me with kdemod4 but I just start it manually.

Hi whompus, do you start Conky manually everytime when you login? Since you are not running FEH, your Conky is not running in transparent mode (ie. background cannot be seen in Conky window).

Can you confirm above?


Computer: Dell Latitude E7440 - CPU: Intel Core i7-4600 - Harddisk: PM851 256 GB SSD - RAM: 8 GB DDR3L - Graphics: Intel HD 4400 (integrated in the CPU)
Enabled at UEFI: Virtualization, TPM - SecureBoot disabled
OS: Lubuntu 19.04+Arch Linux

Offline

#4 2008-09-05 23:02:21

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: [SOLVED] cannot run Conky on KDE4

You can start conky automatically. Go to ~/.kde4/Autostart and create a symlink to conky (ln -s /usr/bin/conky conky) and from there on when you start KDE conky will also start.
I can confirm that the background problem is there though.

R.

Offline

#5 2008-09-05 23:13:14

pencuse
Member
From: Germany
Registered: 2008-05-12
Posts: 17

Re: [SOLVED] cannot run Conky on KDE4

ralvez wrote:

You can start conky automatically. Go to ~/.kde4/Autostart and create a symlink to conky (ln -s /usr/bin/conky conky) and from there on when you start KDE conky will also start.
I can confirm that the background problem is there though.

R.

Hi Ralvez, as I stated in my first posting, that KDE does not understand when creating symlink to conky in .kde4/Autostart (please read my sentence "For experiment..." in my first posting). It aborts KDE session. I come back to login screen. KDE4 does not like entries in this directory.


Computer: Dell Latitude E7440 - CPU: Intel Core i7-4600 - Harddisk: PM851 256 GB SSD - RAM: 8 GB DDR3L - Graphics: Intel HD 4400 (integrated in the CPU)
Enabled at UEFI: Virtualization, TPM - SecureBoot disabled
OS: Lubuntu 19.04+Arch Linux

Offline

#6 2008-09-06 00:06:03

pencuse
Member
From: Germany
Registered: 2008-05-12
Posts: 17

Re: [SOLVED] cannot run Conky on KDE4

I have solved the problem by running

update-desktop-database

both for the user and the root. I don't know for which user solved this utility the problem but it solved. I think it corrected MIME settings of the operating system. Before I had run this utility, icons for the files could not be shown, files could not be associated and KDE complained inode/* MIME types in /usr/share/packages/kde.xml.

However this utility solved the problems. Without any FEH installation/scripting stated in Conky Wiki of Arch Linux, Conky runs automatically now.

~/.kde4/Autostart for KDE4 is the correct directory now to autostart Conky or any other application.

HTH.


Computer: Dell Latitude E7440 - CPU: Intel Core i7-4600 - Harddisk: PM851 256 GB SSD - RAM: 8 GB DDR3L - Graphics: Intel HD 4400 (integrated in the CPU)
Enabled at UEFI: Virtualization, TPM - SecureBoot disabled
OS: Lubuntu 19.04+Arch Linux

Offline

Board footer

Powered by FluxBB