If anyone can autostart Conky at login in Kubuntu Hardy Heron and not have it disappear a few seconds after login, I'm all eyesI can launch it manually fine, but running a script at login, it launches, then disappears. Gnome you add it to autostarted apps, KDE, ?
thanks!!
-
[Solved] Do this to autostart Conky (Kubuntu Hardy), i.e. create a .desktop file in `/home/user/.kde/Autostart (from Jucato.org):
2. .desktop Files
While the method above is simple and easy, you can have greater control over the behavior of those applications by creating .desktop files that describe and point to those apps. Don't worry, you don't have to type in the contents of these files since there is a full graphical system for creating them. .desktop files, or more properly Desktop entry files, are a Freedesktop.org standard for describing how an application is launched or appears in menus and is used for main menu items and desktop icons. [3] So some of the steps and information you will see here can also be used in other places, such as K Menu entries and Desktop icons.
Right click on an empty space in the Autostart folder and select Create New -> Link to Application from the context menu that appears. A dialog box will pop up where you can enter the details for the application that you want to autostart. We don't need to fill in all the details and we'll just focus on the relevant ones. In the General tab, you can set the details of the Desktop file that will be created such as its name and appearance. You can give it an icon by clicking on the icon box at the left.
In the Application tab, you can fill in the details for the application that will be run. The most important part of this tab is the Command field, where you enter the command that will run the program you want to autostart. The Name and Description fields are important if the .desktop file is going to be used in menus. Clicking on the Advanced Options button will give you fine-grained control over how the program is started. The Run in terminal option is very useful for running text-based programs inside a Konsole window, and setting it to Do not close when command exits makes sure that the Konsole windows doesn't disappear once the program finishes running so that you can read any needed output. You can also uncheck Enable launch feedback so that you will not get any bouncing cursor or flashing taskbar when the program starts, making it start quietly in the background.
You can get more information on the various options in the Link to Application dialog box by clicking on a field or option and pressing Shift+F1 (or doing it in reverse... the dialog box can be weird that way).
Once you are done filling in the details that you want, click OK so that the .desktop file will be created in the Autostart folder. When you login the next time, programs linked to in the .desktop files will be started. The great thing about the Autostart folder is that anything you put in there will get run or opened after logging in. This means anything from symlinked programs, .desktop files, scripts, documents, images, or any other kind of file. Remember to make the scripts that you put into this folder executable by the user.
FOR KUBUNTU USERS:
in your conky.rc file set
own_window 1
own_window_type override
own_window_transparent 1
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
then install the program feh
Code:
sudo apt-get install feh
and add this code to the end of the conky.rc file
Code:
${exec feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`}
that will enable conky to be fully transparent in kde
Constant learning experience....whewww !! -
this works fine for me...
Code:ln -s /usr/bin/conky ~/.kde/Autostart
-
I had some problems with Conky when it ran immediately after login, so I placed this script in ~/.kde/Autostart:
Code:#!/bin/bash sleep 10 && conky
Autostarting Conky in Kubuntu Hardy Heron
Discussion in 'Linux Compatibility and Software' started by theZoid, Apr 29, 2008.