piquadrat Posted December 8, 2007 Report Posted December 8, 2007 Hi,I run uTorrent with WINE on Linux (uTorrent is way ahead of any native Linux client). I had no problems so far. But since I installed a second display, the uTorrent window does not appear when the second display is not connected. If the second display is connected, the window appears on the first display. The tray icon is there in both cases and uTorrent runs apparently. If I rename uTorrent's settings.dat, the window comes up, but all the other settings are gone, too. Because settings.dat is binary, I can't just edit it with a text editor. Does anybody know how I have to modify settings.dat so that the window settings are reset but the other settings are left alone?Thanks in advance!
Ultima Posted December 9, 2007 Report Posted December 9, 2007 I haven't tested this thoroughly, but I think the window position is stored in the mainwnd key in settings.dat. Removing that key should reset the window position.
jewelisheaven Posted December 9, 2007 Report Posted December 9, 2007 Check the signature for a sexy Bencoded-files editor From my futzing with settings.dat yes mainwnd_* keys are what you want when talking about the position.Also of note, lv_* keys are used for column positioning.
blumnday99 Posted December 11, 2007 Report Posted December 11, 2007 I am also having trouble with uTorrent not displaying its window, but I can't find the settings.dat file. I checked the Program Files directory that WINE created and the only file in the uTorrent directory is utorrent.exe. I can't find the settings.dat file anywhere on the Linux filesystem either. Can anyone point me towards the directory where that file is located or tell me how to fix the utorrent window problem?
jewelisheaven Posted December 11, 2007 Report Posted December 11, 2007 it would be the equivalent to %appdata%\utorrent. (d&C\profile_name\application data\utorrent)
blumnday99 Posted December 11, 2007 Report Posted December 11, 2007 What folder is that? Is that in the home directory? I can't find any appdata folder anywhere....sorry...I'm still relatively new to linux
jewelisheaven Posted December 11, 2007 Report Posted December 11, 2007 perhaps it is in a hidden folder (. prefix).Worse comes to worst, in terminal "ls -Almnhrst *.dat" (I'm a bit rusty so maybe not all of those flags are necessary)
blumnday99 Posted December 11, 2007 Report Posted December 11, 2007 I've set the file browser to show all hidden files and folders and tried ls -almnhrst *.dat and whereis settings.dat in the terminal and it came up with nothing...Reinstalling uTorrent under WINE doesn't fix the problem so I'm guessing it's just reloading the old settings file.
jewelisheaven Posted December 11, 2007 Report Posted December 11, 2007 how about a simpler ls. Note: i used "A" for a reason.As i recall "a" is all BUT .prefix files. whereas "A" is all files. Note that you will have to try that search from your home ~ as well as the program files folder if you're not sure."ls --help" will give you all available options... see what you like ("No the CLI is not dead, it just happens to look ugly" Anonymous)
blumnday99 Posted December 11, 2007 Report Posted December 11, 2007 I found the file on the Wine drive under C:\windows\profiles\<username>\Application\Data\uTOrrent.Deleting the settings.dat file restored the windows and I just re-entered my preferences.Thanks for all the help (and the patience!)Mark
Ultima Posted December 13, 2007 Report Posted December 13, 2007 Settings directory: Because Windows environment variables do not apply in alternative operating systems, it naturally follows that %AppData% does not either. You'll find that the µTorrent settings directory is actually located at ~/.wine/drive_c/windows/profiles/USERNAME/Application Data/uTorrent, where USERNAME is your username on the operating system.
Lord Alderaan Posted December 13, 2007 Report Posted December 13, 2007 Maybe this can help: http://forum.utorrent.com/viewtopic.php?pid=227757#p227757
Recommended Posts
Archived
This topic is now archived and is closed to further replies.