OpenSUSE :: Execute A Batch Automatically Upon Startup Under KDE?
Mar 13, 2011
Skype works for me, but there is a small thing i like to solve.
For the x64 version i need to start skype with a bash command so that the video and sound works and i thougth that a simple batch in folder bin would solve it.
So that it gets executed automatically once the desktop loads. Seems it doesn't since i still have to do it manually.
How do i execute a batch automatically upon startup under KDE?
I just reinstalled OpenSUSE 11.3 GENOME on my computer (Compaq Armada E500 w/512 MB RAM, 30GB HD, and Linksys WPG54v2 wireless card). After futzing around for several hours on two different evenings, I got it working all by myself! The only thing is,ow I have to manually connect to my wireless network every time,which gives me a a great sense of accomplishment. I start the computermber having to edit a script somewhere to make it connect automatically on system startup, but I can't remember what it is I'm supposed to edit or how I'm supposed to edit it
I am use to microsoft products. In microsoft windows, I can make a batch file that says to delete a file on the desktop during startup. would like to create a "batch file" or command that runs at logon in Ubuntu. An example:f I wanted to delete a certain file on the desktop called "new.pdf" everytime I logon,Could I make some kind of file the has the commands "rm new.pdf" in it and run it as a file during login?
I googled around and couldnt find what I was looking for. Maybe I used the wrong search terms, but whatever. I was wondering if there was a possibility to execute a series of terminal commands just by double-clicking an icon. For example, there would be an icon on my desktop, and if I were to doubleclick it, it would execute "cd ~/.wine2" and then "WINEPREFIX="$HOME/.wine2" wine program.exe".
I realise that most of you will probably go "duh, that's simple" or something similar, but I am extremely new to ubuntu, and dont know my way around yet.
I need to execute this command after login: gvfs-mount -d /dev/sda1.It works perfectly from terminal but it doesn't if I add it to "Startup Applications" or to rc.local.Is there another way?
I got a headless server which should, when I plug in a usb stick/device, automatically mount it and execute a script (the script is located on the usb stick). Actually I'm talking about auto-mount & auto-run which is already present in desktop systems but not in server systems. until now I had manually mounted the usb stick via ssh connection and then executed the script by hand.
how to execute commands on startup. I've added lines to /etc/rc.d/rc.local, /etc/rc.local, I've put scripts (with extension .sh) into /etc/init.d/ and I've set the executable permission thing on all of them with chmod -x. I *still* can't get anything at all to execute on startup. The truth is, I'm trying to enable multitouch and button tapping automatically when I startup Fedora. I have the commands
[code]...
Which I want to execute whenever I start Fedora (it's a bit tedious to write them every time, or even to have to execute a script myself whenever I start my computer). Furthermore, if I can figure this out, then I can do all sorts of things. Does anyone have a clear, surefire way in which I can do this? I'm not good with using Linux at all
I have create a script to start a server(my first question). Now I want it to run on the system boot and start the defined server. What should I do to get this done? My findings tell me put this file in /etc/init.d location and it will execute when the system will boot. But I am not able to understand how the first argument on the startup will be start? Is this predefined somewhere to use start as $1? If I want to have a case startall that will start all the servers in the script, then what are the options I can manage.
i'm trying to automate terminal commands to execute at startup (rc5)one is a background process: Code: xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1 the other is a gui application: Code: /home/labr/apps/gmail-notify/notifier.py i placed these commands in /etc/rc.local but does nothing.
i want to run a jar file at the start up..and only that application will work at the start up..other all are blocked..after giving input to the application the xwindow will enabled..otherwise it remains same.
I've recently been trying to restore a Debian installation back to it's previous state after a serious operation system crash. Efforts are largely going well however I've run into problems since reinstalling Wine. Previously I could execute a Windows executable by simply entering ./executable.exe in the bash shell but this no longer seems to work as now I have to include the "wine" command in front of the executable. how to configure Debian to automatically use Wine to execute using the ./executable.exe format?
I'm connected to the internet using a wireless router. Each time I boot, I have to grant root privileges and type in a shell: iwconfig wlan0 essid linksys key dhclient wlan0 Isn't there a file(or location) that I can modify to automatically grant root privileges and execute these commands when debian starts? Something like autoexec.bat in windows.
Something else I'd like to mention is when I execute iwconfig.... for the first time, I get this incomplete result:
IEEE 802.11bg ESSID:"linksys" Mode:Managed Access Point: Not-Associated Tx-Power=27 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key*********** Power Management:off
I am trying to run a script which would execute once the system start's up. I placed my script in /etc/init.d and made it chmod +x my-script and placed my script path in /etc/rc.local . It works fine in installed environment and its not working in live cd and USB.
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 am writing this second topic to know how I can have hamachi automatically loaded at startup of PC (with fedora 10) without having to manually start. I tried several scripts but nothing works .
I am using gdm to start awesome wm via .xinitrc.I like awesomes usability and gnomes integrity and so far most of the startup programs work fine but i am fighting with ssh-agent. When starting gnome my password protected id_rsa is automatically added to ssh-agent on startup.. i am trying to achive the same with my .xinitrc started awesome wm.My .xinitrc:
How can I turn off specific authentications? I don't want to have to authenticate every time I mount a different drive (in a different partition). (Because I can't open Mozilla, since it pulls a profile from that partition, without authenticating; and I want to have Mozilla automatically launch on startup, but it can't launch if I need to type my password to gain access to the drive first!).
I use this command to mount sshfs:sshfs -o idmap=user user@ip:/home/user/public_html ~/FolderThen I enter my password. I do this every time I start my computer
Since a few weeks my PC have been working slow and the gnome system Monitor says that my cpu is working at 100% all the time. when I ran top command appears:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 770 root 20 0 4060 308 240 R 76 0.0 8:41.05 yes 919 root 20 0 4060 312 240 R 49 0.0 8:23.39 yes
I added a 1TB USB drive to a Red Hat 5.3 system. I added the following line to the /etc/fstab to automount the drive at startup.If I manually the mount the drive (mount /mnt/external), I can access and read/write to the external USB drive without any issues. My problem is that during the startup process after a reboot, the drive is not being mounted automatically.
I have recently installed denyhosts to help guard against bruteforce ssh attacks on my Fedora 12 server from the Fedora repositories. If I manually start denyhosts (as root) using: /usr/sbin/denyhosts.py --daemon
it works fine. The denyhosts log file is created and indeed the /etc/hosts.deny file is updated. However if I make attempts to start denyhosts automatically upon the server restart denyhost fails with a permission denied error for /etc/hosts.deny (error 13) I have tried using chkconfig to enable /etc/init.d/denyhosts on run levels 3, 4 and 5. I have also tried including the line:
/usr/sbin/denyhosts.py --daemon
in /etc/rc.local Both of these attepts report the same error. anyway to automatically start denyhosts or know why this problem might be happening?
I have a script and I would like it to automatically run whenever the machine starts up. How can I configure it to do that? I am a complete Linux n00b.
Is there an easy way to batch convert CGM images into anything modern (preferably SVG, because they're vector graphics)? The furthest I've gotten is ImageMagick, which tries to open them, but dies saying it can't find "ralcgm", mhich I can't find in any repos.
My wireless in fresh Squeeze install would not connect automatically. I have to click on the network manager and enter the root password to connect every time I start up. I have "Enable Networking" and "Enable Wireless" checked in the Network Manager.
There are only 2 lines now in /etc/network/interfacesauto loiface lo inet loopbackWhat should I do to get the NM to look for and connect wireless automatically at start up