General :: Automatically Start An Application After Login In Kde4?
May 28, 2010
I am using Kde 4.4 and I would like to start one of the applications automatically after every login to the system. How can I configure it? I remember I managed to find a dialog window in one of the previous versions, but I can't find it now.
I am using kvkbd as an onscreen keyboard and I have it set to start on the login screen but after I login I want the keyboard to close and I can not get this to work. At the bottom of /etc/gdm/Init/DefaultI added the line.Code:exec kvkbd&This works great and kvkbd starts up and even puts a panel icon at the bottom of the login screen but after the login the keyboard is still there?I have tried making a launcher and adding it to the startup applications. I wrote a script and put it in the /usr/sbin and /usr/bin and also added a line at the bottom of my /etc/rc.local that should have run that same script to kill kvkbd and nothing. The really weird thing is that the launcher that I made would work if I double clicked on it but if i had it set to run as a startup application it would not work.
I have it configured in the application settings to do that, and I've checked the Startup Applications and indeed it is listed there.However when I start up the icon doesn't appear in the tray and my wallpaper won't change every 10 minutes like it's supposed to until I actually go to System > Preferences and run Desktop Drapes manually.
I followed the directions in the MacBook7-1 setup thread for lucid to install pommed: [URL]... This works well, I can control brightness, volume and keyboard backlights using the function keys.
However, pommed doesn't start automatically on login. I have to maually start the service. Is their a way to have this service start automatically on login?
i am using ubuntu 11.04 in my AMD machine, I have scheduled some torrent and wget downloads using crontab and sleep commands respectively. Since the download starts at 2 AM i used to leave my system ON. I would like to know if the download will automatically start from the login screen itself.(That is suppose i switch ON the system at 2 AM and never bother to login to my account.)
I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )
I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).
Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.
what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?
I am trying to change the login screen from "Configure Your Desktop>Advanced>Login Manager".When I go into the login manager, everything is grayed out,you cannot change anything.I have to change it as root but I don't know how to do that. Therefore I need help regarding that. I did google searching but it was not of any help because they were for previous releases of mandriva or other distros which didn't apply to my case.
I use Opensuse 11 with fvwm. How can I get conky start automatically when I start fvwm?
I setup the conky under fvwm session for my Opensuse 11 but it won't start automatically. I am wondering how to write some kind of scripts to force it to start automatically and with a delay about 10 seconds after fvwm starts.
My OpenSUSE 11.2 is working fine as samba server, no problems, but I have a problem with KDM.My default init runlevel is set to 5 and every time I try to login at KDM (KDE4), the monitor goes black and returns to the login screen.If I hit Ctrl+Alt+F1 to go to console and start /usr/sbin/console-kit-daemon manually, press Ctrl+Alt+F7 to return to KDM login, everything is fine.What do I have to do to fix this issue?
I work from home writing web content, and need the use of an article spinner tool called "The Best spinner". It is an .exe file and I installed it in my Mint Debian edition machine using wine, and everything is fine except for one thing. The app opens out, connects to the net, and then closes automatically. In fact if I check on the internet activity, I can see the app downloading the latest version, but the problem is that always it closes within a few seconds leaving me no other choice other than to log into a windows machine to work on it.
I uninstalled and reinstalled the app a couple of times but it does not seem to have helped. It requires the .net packages in winetricks, and I read that wine does not support net very well, yet the app is installed and even connects to the net. I don't understand the underlying process of how windows apps work in wine. Any work around considering that I never log into windows for anything other than using this app, a workaround means that windows is gone forever from my life.
I am using fedora 13. I need to start machine at 9 am and shut-down or hibernate it on 9 pm automatically. Is their is any way.In windows i found this way
I want to start process automatically For Ex:- To start snort it need the root user, So here I need a script which will start snort automatically without asking the root user or password.So that I can start snort from anywhere as same as root
I am using Vetor Linux and I want to login automatically every system starpup instead ask for user and password. Vector linux is based in slackware and uses shell to ask user and password.
I just removed the gnome from the ubuntu 9.10.then i reninstall the xfce4.i am invoking the xfce4 by typing#startxi want to start the xfce4 as usual like the gnome did automatically by asking login window.
I'm using openvpn under linux OS which is Fedora Core 14, in the folder "/etc/openvpn" i put 5 files which belongs to the network server that I should connect to, files are : two files with the extension ".crt" two files with the extension ".key" one file with the extension ".conf"
Now, when I issue the following command (as root) : Code: /etc/init.d/openvpn start It asks for my username & password to the network server, & after I entered the required authentication information, I successfully login, but I get disconnected automatically after two or three seconds.
- I connect to the network without any disconnection or problems under windows - I use openvpn version "openvpn-2.1.1-2.fc13.i686" - there was a bug in my OS "Fedora core 14" which is that I cannot activate or deactivate any ethernet cards, which solved by disabling NetworkManager in all run levels - I disabled iptables - I disabled selinux - I got this error in /var/log/messages file when I disconnect from the openvpn network "
Jan 15 21:45:15 ViRuS openvpn[4143]: script failed: could not execute external program Jan 15 21:45:15 ViRuS openvpn[4143]: Exiting Jan 15 21:45:15 ViRuS avahi-daemon[1494]: Withdrawing workstation service for tun0.
- I couldn't find the file called "/etc/openvpn/update-resolv-conf"
I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.
My KDE scrn-saver box to, Start automatically after 1 minute is left un-checked and my power mangement options are set to, Do nothing when idle, but every ten minutes my screen powers down?
One of our client was complaining that their server was down and mysql and apache services were down. The server is Ubuntu 8.04. When we checked, the permissions of /etc/init.d/mysql and /etc/init.d/apache2 were changed to 644 from 755. How could this be possible?I need your valuable suggestions on how can i monitor whether any malicious intrusions or scripts are running.
I am using red hat .I want that when ever the user login in GUI interface the terminal windows automatically open and then the user want to logout it 1st close the terminal and then login. There is a file in #ls -a i.e .bashrc and .bash_logout
I've been trying to make a cgi script that starts a program on a server and then shows the program on the servers screen. The cgi script is written in perl. I've been successful in making the program showing up on the screen through ssh by setting $DISPLAY to :0.0, I tried setting it to this in /etc/profile but when the cgi script ran nothing showed up on the screen. I tried having the script running it as a local user with "su - [user] -c [command]", this didn't help either.
In short what I'm trying to accomplish. When I press a button on a web page an slide show is supposed to start on a screen connected to the server.
I have switched to openbox from Gnome and would now like to stop using Metacity altogether. When I was using metacity I had both a control theme (e.g. gtk theme) and fonts set up how I liked them in gnome-appearance-proporties. When Openbox starts, it gets my window borders up properly (ofc.) but fails to render my fonts properly and uses the wrong gtk theme. I can't find anywhere to specify which gtk theme to use or what method to render my text with. After Openbox is finished doing it's thing, and I run gnome-apperance-properties manually, it will automatically set everything to it's proper value, but I don't want to have to do this as it takes several seconds to preform and I'd rather not have it jury rigged like this.
I want to start recording when someone starts talking, and stop recording when it becomes silent. I guess if there is stream audio processing tool like ImageMagick, so I can strip away blank sections like this:
I was trying to create a shell script which will automatically login to the server 192.168.1.7 and checks if a user exists there or not, if it doesn't exist then it should create the user.I have very little idea about shell scriptThis is what I tried:Quote:
#!/bin/bash pass="sacharje" ssh 192.168.1.7
Now, how to pass that password automatically to the ssh when it asks for the password? (I can't use public key authentication here)