WINE and photosh' - Linux et OS Alternatifs
Marsh Posté le 18-03-2002 à 20:25:04
Mets-lui un faux c: qui pointe sur /tmp, il pourra écrire des conneries dedans.
Marsh Posté le 18-03-2002 à 20:27:35
de quelle façon ? il y a un wine.conf qqpart ???
Marsh Posté le 18-03-2002 à 20:36:46
on apelle cela faire un fake windows. cf doc de wine
Marsh Posté le 18-03-2002 à 20:46:25
ola ...
Je me noie dans la doc wine...
Ils parlent bien de fake mais c'est pour replacer des fonts par d'autres !
J'ai trouvé un fichier de conf que j'ai mis dans /etc/wine.conf (par défault y'en avait pas mais j'ai trouver dans le man comment le trouver)
Le probleme c'est que je n'ose pas réessayer étant donner que ça risque un plantage violent.
Vous pourriez m'éclairer sur cette histoire de fake ? ???
:
Marsh Posté le 18-03-2002 à 20:48:08
il te recreer l'arborescence std de base de win qqpart sur ton dur ! Par default : /c
Marsh Posté le 18-03-2002 à 20:51:21
j'ai pas de /c !
bon je vous donne le wine.conf :
[Drive A]
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Device" = "/dev/fd0"
[Drive C]
"Path" = "/mnt/windows"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"
[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"
[Drive E]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"
[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"
[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "e:\\"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"
# <wineconf>
[DllDefaults]
"DefaultLoadOrder" = "native, builtin, so"
[DllOverrides]
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "builtin, native"
"commctrl" = "builtin, native"
"wsock32" = "builtin"
"winsock" = "builtin"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dsound" = "builtin, native"
"mmsystem" = "builtin"
"winmm" = "builtin"
"msvcrt" = "native, builtin"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
"wnaspi32" = "builtin"
"icmp" = "builtin"
[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "N"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
[fonts]
;Read documentation/fonts before adding aliases
"Resolution" = "96"
"Default" = "-adobe-times-"
[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"
[parallelports]
"Lpt1" = "/dev/lp0"
[spooler]
"LPT1:" = "|xpp"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"
[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"
[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"
[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"
[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win98"
[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"
[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
# </wineconf>
Les infos ne me parraisent pas trop idiotes..
Bon je fais un test, à bientot dans le paradis des pinguoins....
Marsh Posté le 18-03-2002 à 20:52:33
Tu as les permissions d'écriture sur /mnt/windows ? Sinon, ce n'est guère étonnant qu'il n'arrive pas à écrire dedant.
Marsh Posté le 18-03-2002 à 20:53:11
http://fr.rpmfind.net//linux/RPM/c [...] .i586.html
très intéressant la dernière partie dans /var/lib
mais au fait tu as une partoche win ! tu peux écrire dessus ?
Marsh Posté le 19-03-2002 à 09:00:57
Je suis de retour.
Oui, j'ai les droits d'écriture sur ma partoche windows (de plus c'est une FAT ne l'oublions pas)
En effet , wine semble reproduire une arbo dans /var/lib mais chez moi, c'est un peu vide :
[lol@Mr_YouP windows]$ cd /var/lib/wine/
[lol@Mr_YouP wine]$ ll
total 4
drwxr-xr-x 4 root root 4096 mar 12 20:52 windows/
[lol@Mr_YouP wine]$ cd windows/
[lol@Mr_YouP windows]$ ll
total 8
drwxr-xr-x 2 root root 4096 mar 18 2001 Fonts/
drwxr-xr-x 2 root root 4096 mar 18 2001 system/
[lol@Mr_YouP windows]$ cd Fonts/
[lol@Mr_YouP Fonts]$ ll
total 0
[lol@Mr_YouP Fonts]$ cd ../system/
[lol@Mr_YouP system]$ ll
total 0
[lol@Mr_YouP system]$
Je reprendrais mes investigation ce soir !
Marsh Posté le 19-03-2002 à 18:14:42
Pour reprennons.
Le primary scratch disk est toujours full (erreur sortie par photosh)
Je sais plus quoi faire ....
au secours !!!!!!!!
Marsh Posté le 19-03-2002 à 20:32:44
il ne regarde que /mnt/windows
en tant que root et en tant que user cela fait la même chose ?
partition monté avec l'option user ?
Marsh Posté le 18-03-2002 à 20:23:35
Bonjour !
J'essaie de faire tourner photoshop sous linux via wine. Il dise dans leur site(s) que wine peut faire tourner photosh4. Mais quand je le lance, une fois chargé il me dit qu'il n'a plus de place sur le primary scratch disk (message qui apparait sous win lorsqu'on a explosé le c:\) et plante (définitivement->reset ). Je pense qu'il cherche à écrire sur c:\ et comme il le trouve pas ... boum !
kefèr ???
note : Wine release 20010305
---------------
Les fiches libres : http://www.aldil.org/projets/fiches_libres/