You are not logged in.
- Topics: Active | Unanswered
#1 03-18-2014 21:11:30
- mroediger
- Nouveau membre
- Registered: 03-16-2014
- Posts: 6
In which file does ffDiaporama save its screen-size ?
In which file does ffDiaporama save its screen-size when "remember window size" is activated in the preferences ?
I want to edit to get a full screen at startup. It is not possibe for me to do it by dragging the window, because I am running ffDiaporama in
a chroot environment where debian (jessie) is installed.
Xephyr in the main system (debian (wheezy)) provides a full screen window.
Offline
#2 03-18-2014 21:23:51
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: In which file does ffDiaporama save its screen-size ?
Hi
Some settings are in an XML file
Other are in a SQLite database
.db and .xml files are in ~/.ffDiaporama
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#3 03-18-2014 21:48:10
- mroediger
- Nouveau membre
- Registered: 03-16-2014
- Posts: 6
Re: In which file does ffDiaporama save its screen-size ?
I am using ffDiaporama 1.3 in the main system and ffDiaporama 2.1 in the chroot environment.
In version1.3 it seems that the screen setting is saved in the XML-File ffDiaporama.xml:
<MainWindow saveGeometry="01d9d0cb00010000000000000000001b000004ff000003ff000000000000003b000004ff000003ff000000000000" IsMaximized="1" saveState="000000ff00000000fd0000000000000500000003c500000004000000040000000800000008fc00000000"/>
But just copying this file to the chroot environment does not work.
I am afraid that the setting for the screen at startup is in the .db-File.
How can I edit the .db-File ?
Offline
#4 03-18-2014 22:31:58
- mroediger
- Nouveau membre
- Registered: 03-16-2014
- Posts: 6
Re: In which file does ffDiaporama save its screen-size ?
OK, I have found the solution.
In ffDiaporama 2.1 the setting for the screen size at startup is saved in the sqlite file ffDiaporama.db.
To edit this database file I had to install the package sqlitebrowser in my debian linux.
With this tool I have edited the table settings record number 44 to contain the string:
<WindowState>
<MainWindow
saveGeometry="01d9d0cb00010000000000000000001b000004ff000003ff000000000000003b000004ff000003ff000000000000"
IsMaximized="1"
saveState="000000ff00000000fd0000000000000500000003c500000004000000040000000800000008fc00000000"/>
</WindowState>
The only way was to clear this field and to import this text from a text file.
Then I saved the database and exited sqlitebrowser.
After that ffDiaporama 2.1 started up in fullscreen mode (IsMaximized="1").
Offline