midori configuration (solved)

Topics about the system utilities that are not related to Hard-disk and storage
vanepp
Posts: 85
Joined: 22 Jun 2012, 02:24

midori configuration (solved)

Postby vanepp » 16 Sep 2014, 02:54

I'd prefer midori come up not full screen when launched. I did an md5deep -r
on /root on boot, and then again after setting midori from full screen to reduced
but I don't see anything configuration file like that I could change to make this
the default behaviour (it does remember it even across X shutdown and restart
somewhere). The midori site FAQ told me how to make it come up full screen, but not how to make it come up not full screen :-). Anybody?

Peter Van Epp
Last edited by vanepp on 08 Oct 2014, 02:58, edited 1 time in total.

lem
Posts: 11
Joined: 10 Apr 2013, 08:20
Location: France

Re: midori configuration

Postby lem » 16 Sep 2014, 11:05

Hi,

On SystemRescueCD v. 3.5.0, midori keeps his configuration in the file /root/.config/midori/config.
In this file, line 5:

Code: Select all

last-window-state=MIDORI_WINDOW_MAXIMIZED


Can you edit it to check the value of the option last-window-state ?

vanepp
Posts: 85
Joined: 22 Jun 2012, 02:24

Re: midori configuration (solved)

Postby vanepp » 08 Oct 2014, 03:08

Thanks! While this wasn't the solution, googling for last-window-state turned up the midori reference manual which in turn indicated that the value MIDORI_WINDOW_NORMAL instead of MIDORI_WINDOW_MAXIMIZED
does what I want and starts midori in a less than full screen window.
A patch against 4.3.1 that does this:

*** /mnt/custom/customcd/files/root/.config/midori/config.orig 2014-09-19 15:09:31.166434835 +0000
--- /mnt/custom/customcd/files/root/.config/midori/config 2014-09-19 15:09:54.005435534 +0000
***************
*** 2,8 ****
[settings]
default-encoding=ISO-8859-1
enable-site-specific-quirks=true
! last-window-state=MIDORI_WINDOW_MAXIMIZED
last-panel-position=228
show-menubar=true
show-bookmarkbar=true
--- 2,8 ----
[settings]
default-encoding=ISO-8859-1
enable-site-specific-quirks=true
! last-window-state=MIDORI_WINDOW_NORMAL
last-panel-position=228
show-menubar=true
show-bookmarkbar=true

Peter Van Epp


Return to “System software”

Who is online

Users browsing this forum: Google [Bot] and 1 guest