tarata |
Dimanche 15 Juillet 2012 à 8:34
|
tarata
|
Hi, could someone please help me on creating a shortcut to a simple exe that runs without installation.
When I go through the standard installation method the program opens up at the point where normally installation takes place, then I close the program and complete the installation procedure. However there is no shortcut icon to the program.
Thanks !
|
petch |
Dimanche 15 Juillet 2012 à 9:15
|
petch
|
Configure button > (selection of virtual drive) > General tab > Make a new shortcut from this virtual drive
|
tarata |
Dimanche 15 Juillet 2012 à 9:43
|
tarata
|
I've tried that and got an error: binary not found "have you installed the program to the default location ?"
Is that means I have to copy the exe into the wine's default location ? I thought I could just make a shortcut linking to the exe outside wine's virtual folder
|
petch |
Dimanche 15 Juillet 2012 à 10:24
|
petch
|
That means it must be installed (or copied) inside a virtual drive, yes Edité par petch
|
tarata |
Dimanche 15 Juillet 2012 à 10:51
|
tarata
|
petch, thanks for your help :) I've also tried WinOnX. It allows to create a shortcut directly linking to a exe outside a virtual drive, however it can't display Japanese font (not a unicode program). Then there's no other way from copying to inside a virtual drive. Edité par tarata
|
Quentin PÂRIS |
Dimanche 15 Juillet 2012 à 11:08
|
Quentin PÂRIS
|
Why do you want your .exe file to be outside of the virtual drive?
We've set that rule so that you can't break your program. We could change it in a future release though if you give a good reason for that :)
|
tarata |
Dimanche 15 Juillet 2012 à 12:10
|
tarata
|
Why do you want your .exe file to be outside of the virtual drive?
We've set that rule so that you can't break your program. We could change it in a future release though if you give a good reason for that :)
Because when I make some change to a program's setting (change to .ini for instance), if a program outputs some files, or it got updated, I don't need to copy them to the original location. And I could keep .exe in an external drive.
If a shortcut could link to .exe outside a virtual drive, that would be very handy :)
|
Quentin PÂRIS |
Dimanche 15 Juillet 2012 à 15:02
|
Quentin PÂRIS
|
Well, running wine programs from external (fat32) drives can cause problems that wouldn't exist with a normal use. That's why we prefer to disable this feature...
|
pazuzuthewise |
Jeudi 19 Juillet 2012 à 20:41
|
pazuzuthewise
|
This restriction is irritating. It shouldn't be mandatory (please add something like an option that could manually toggle it on/off). I've had no problems at all in earlier versions of playonlinux, when running programs from symbolic links to an ntfs partition.
I'm dual booting with windows, using a large ntfs partition to share data between the OS'es. It is a waste of space to have to copy a program from the ntfs partition (where I need it to be in order to run it from inside windows) to my home directory (to be able to run it from inside linux). Also, I'd like to be able to share between the operating systems the data modified by the respective program, which being saved in it's own folder, shouldn't be a problem if I were able to run it from the ntfs partition.
|
petch |
Jeudi 19 Juillet 2012 à 21:43
|
petch
|
It already exists, open Tools > PlayOnLinux console, then type POL_Config_Write NO_FSCHECK TRUEJust don't expect support if something doesn't work.
|
vekt0r7 |
Samedi 2 Aoüt 2014 à 21:03
|
vekt0r7
|
I would like to point out that "POL_Config_Write NO_FSCHECK TRUE" doesn't work for me.
This is what I get:
PlayOnLinux Console
-------------------
PlayOnLinux: /home/rosix/.PlayOnLinux > POL_Config_Write NO_FSCHECK TRUE
[POL_Config_Write] Message: Config write: NO_FSCHECK TRUE
PlayOnLinux: /home/rosix/.PlayOnLinux >
However, upon trying to create a shortcut I still get the same error message:
Error in POL_Shortcut
Binary not found: sm16.exe
Have you installed the program to the default location?
I have installed a program called SuperMemo 16 to my Dropbox folder ~/Dropbox so I can access it from anywhere. Now I would like to create a shortcut in order make it more convenient to start SuperMemo.
At the moment the procedure to open SuperMemo is the following:
1. Start PlayOnLinux
2. Click on the big "Konfigurieren" button
3. Choose the appropriate bottle (named sm16_ie8 after the installed programs)
4. Navigate to "Diverses"
5. Chose "Eine .exe-Datei im virutellen Laufwerk ausführen"
6. Navigate to ~/Dropbox/SuperMemo16/sm16.exe
I would be very thankful for ideas on how to make starting SuperMemo a less painful process - ideally through a shell script or a shortcut.
Thank you very much.
Edité par vekt0r7
|
vekt0r7 |
Samedi 2 Aoüt 2014 à 21:37
|
vekt0r7
|
All right, this is how I solved it. I looked at the other files in ~/.PlayOnLinux/shortcuts and created my own file there named "Super Memo 16"
#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEPREFIX="/home/rosix/.PlayOnLinux//wineprefix/sm16_ie8"
export WINEDEBUG="-all"
#POL_Log=Super Memo 16
#ScriptID=Super Memo 16
cd "/home/rosix/Dropbox/SuperMemo16"
POL_Wine sm16.exe "$@"
Now i can enter the following command in the console to start Super Memo:
/usr/share/playonlinux/playonlinux --run "Super Memo 16"
Edité par vekt0r7
|
petch |
Dimanche 3 Aoüt 2014 à 1:19
|
petch
|
Right, it only disables the check that you're running programs off fully POSIX filesystems (even if it's not totally obvious Wine does not support FAT32 and NTFS those days; Only some implementations seem to lack required features, see "Does Wine run on all Unix filesystems?" in their FAQ)
|