LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Starting Applications in KDE-4.2 after Login (https://www.linuxquestions.org/questions/fedora-35/starting-applications-in-kde-4-2-after-login-705404/)

mickeyboa 02-17-2009 11:41 AM

Starting Applications in KDE-4.2 after Login
 
FC10/KDE-4.2

I want to AutoStart the kdeblutooth4 app. and put the Icon in the Tray each time I login to my KDE Desktop . So as to get my bluetooth mouse to work, I know how to get the mouse started after login, but first I have to get kdebluetooth Icon to AutoStart into Panel Tray.
I know how to goto Menu and click onto kdebluetooth4, before someone jumps on that one.

{BBI}Nexus{BBI} 02-17-2009 11:54 AM

In Configure your desktop--> Advanced there's an Autostart section, try putting it in there.

metrofox 02-17-2009 12:22 PM

Or create a link between the binary file(it could be in /usr/bin/)to ~/.kde/Autostart. Just type:

Code:

ln -s programExecutable ~/.kde/Autostart
It's the same step than the {BBI}Nexus{BBI}'s one. ;)

mickeyboa 02-17-2009 12:30 PM

There is no Configure your desktop--> Advanced, in KDE-4.2 . I assume your talking about right clicking on Desktop for this window?

It has a "Appearance Settings" in window that popsup and there is no settings for Autostarting.

KDE-4 is going to take time to get the hang of the settings.

{BBI}Nexus{BBI} 02-17-2009 12:44 PM

Quote:

Originally Posted by mickeyboa (Post 3447207)
There is no Configure your desktop

Yes there is, the icon is a spanner and screwdriver.

The metrofox way will work just the same except you need to link it to ~/.kde4/Autostart

mickeyboa 02-17-2009 01:09 PM

If i right click on Desktop , I get a Window that opens with a spanner wrentch that says
"Appearance Settings" .

If I right click on Panel at bottom I get a Spanner Wrentch and it says "Task Manager Settings"

I'm using KDE-4.2.0-2, what version are you using ?

metrofox 02-17-2009 01:15 PM

I found the right place:

K--->Computer--->System Settings-->Click on "Advanced"--->There could be a button with wrote on "Autostart" or something of similar(I've got an Italian KDE.). Once there click on "Add program" or "Add script"...Let me know ;) Any way, the terminal way is also right, and it's faster and more professional and more linux way ;)

mickeyboa 02-17-2009 01:45 PM

Nothing like that in Kmenu > Settings .

Cant one just goto /home/user/.kde/Autostart and enter a script to start a Application after Login.

For starting Kdebluetooth4 how would you do the script in Autostart ??

Doing things from the command line can be a hell-of-alot easier than finding something in a GUI.

Thanks Jim

mickeyboa 02-17-2009 02:21 PM

Solved- Starting Applications in KDE-4.2 after Login
 
with Konqueror I went into /home/user/.kde/Autostart/bluetooth.sh, made the text file bluetooth.sh, and edited it.


#!/bin/bash

/usr/bin/kbluetooth4




And I had to do a su and chmod +x /home/user/.kde/Autostart/kbluetooth.sh
Restarted KDE and it put the bluetooth Icon in Tray and enabled my bluetooth mouse.
Like I said doing it on the command is a Hell-of-Alot easier.

metrofox 02-17-2009 02:41 PM

There wasn't any need to make a normal script which links to executable, you could create a direct link from the executable to ~/.kde/Autostart just typing:

Code:

ln -s /usr/bin/kbluetooth4 ~/.kde/Autostart
I did it with compiz when I had KDE3.5.10. ;) However, things are the same between a very basic bash script which runs the kbluetooth4 command and the making of a link which links the executable in ~/.kde/Autostart. ;)

mickeyboa 02-17-2009 02:43 PM

Yeah your right, but it is working okay now.

Thanks Jim


All times are GMT -5. The time now is 09:02 PM.