Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-09-2004, 11:21 PM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 12
Rep:
|
Konqueror autostart won't work?
Hi,
newbie as I am, I have a few questions concerning the Autostart -feature in Konqueror. I can succesfully start a dedicated host for a game from shell, but if I use the exactly same command to create a new link to application in Konqueror autostart, it won't work. Here's the original command in shell:
wine LFS.exe /cfg=setup.cfg
Here's what's in Autostart:
<path>/'wine LFS.exe /cfg=setup.cfg'
When KDe starts it tries to start the dedicated host, but the hourglass only rotates and nothing really happens  I can't figure it out, because the it works really great from the shell. However I really would like to start the dedicated host automatically after server boot etc. Any clues?
I'm logged in as a normal user, the host don't need root priviledges.
-Olli
|
|
|
08-10-2004, 04:15 AM
|
#2
|
Member
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611
Rep:
|
how are you using the autostart to try to start the program? i mean, are you just copying the executable to Wine in autostart or are you creating a link to it? (please note, i have no experience with Wine, but i do have several apps set to start via autostart) there are 2 ways to properly use autostart in KDE.
1. you can create a symlink via terminal as root. open a terminal, su to root, cd to /home/user(you)/.kde/autostart & type........... ln -s /path/to/the/executable (-add any switch(es) here). hit enter
or........
2. open Konqueror file manager, navigate to /.kde/autostart, choose edit->create new->file->link to application, browse to the executable, adjust the command with any switch(es), apply.
otis
|
|
|
08-10-2004, 04:28 AM
|
#3
|
LQ Newbie
Registered: Aug 2004
Posts: 12
Original Poster
Rep:
|
Hi,
I've tried the second way. Just like you said, creating a link to application and browsing the executable and the switches. Like this:
'this/is/the/path/wine LFS.exe /cfg=setup.cfg' and then hit apply. The icon appears to the .kde/Autostart just like I supposed, but the link or whatever doesn't work  I really don't get it, because there isn't any additional characters in the command when I run it manually from shell. The path must be correct, because I browse the executable, so it automatically (should) be correct, right? Same thing when I tried to create a standard dektop icon to launch the host program, it won't work. Strange. Any clues?
-Olli
|
|
|
08-10-2004, 05:22 AM
|
#4
|
Member
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611
Rep:
|
again, never having had experience with Wine, i can't be sure that this is something "Wine Specific" & won't work no matter what you try. in theory, what you're doing should work. the only other things i can suggest are trying to symlink via a terminal command like i described in # in my other post (first, remove the link you currently have in autostart). or, just as a test, try starting Wine in autostart without the switches & see if it works that way. if it does, then you can at least narrow the problem down to the switch either not being correct or able to be used.
also, check your syntax for the executable & path closely. make sure you have all CapS, spaces, & spelling correct. sometimes it's the little things..........
otis
|
|
|
08-14-2004, 04:54 AM
|
#5
|
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607
Rep:
|
This comes somewhat late, but what I notice is that when starting this from a shell, you're in the program folder, and when starting it from the shortcut, you are not.
Some (OK, many) programs run under Wine really, really want you to start the exe from the program folder, rather than using a full path statement.
So what I would do is, rather than using a shortcut, would be to put a short script into my Autostart folder:
Code:
#!/bin/sh
cd <program_folder>
wine LFS.exe /cfg=setup.cfg
Save it, make it executable by the appropriate user and then try the script from a terminal to see if it works as you want. If so, put it in the Autostart folder in its entirety (you can put scripts in there as well as program symlinks, afaik).
Hope this helps.
|
|
|
All times are GMT -5. The time now is 02:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|