LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-09-2004, 11:21 PM   #1
Ollir
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Rep: Reputation: 0
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
 
Old 08-10-2004, 04:15 AM   #2
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
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
 
Old 08-10-2004, 04:28 AM   #3
Ollir
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 08-10-2004, 05:22 AM   #4
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
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
 
Old 08-14-2004, 04:54 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox won't work konqueror does tammac Linux - Software 11 08-03-2005 08:35 AM
Konqueror Does Not Work Magic02 Linux - Software 7 07-07-2005 06:30 PM
How Do I Get Samba To Work With Konqueror Again? AFI_Flame Linux - Networking 4 07-27-2004 06:31 PM
konqueror won't work in windowmaker thegreatgatsby Linux - Software 5 09-25-2003 03:24 PM
Konqueror doesn't work well hubabuba Linux - General 1 03-19-2003 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration