Page 1 of 1

Refracta installer: GUI vs. ncurses question

PostPosted: March 22nd, 2019, 7:43 pm
by miyo
Hi fsr.

I'm wondering what package I may be missing in beowulf that allows the tzdata, keyboard configuration, etc. to open as GUIs instead of the ncurses windows during an installation. I've compared installed packages from my Ascii builds, but nothing is jumping out as to what it might be. Have also tried web searches with no luck.

Any idea?

Re: Refracta installer: GUI vs. ncurses question

PostPosted: March 22nd, 2019, 10:19 pm
by fsmithred
Install gkdebconf.

The code that runs it can be found in /usr/lib/refractainstaller/pre-install/loc-timezn.sh and it looks like this:
Code: Select all
dpkg-reconfigure -fgnome tzdata

Re: Refracta installer: GUI vs. ncurses question

PostPosted: March 22nd, 2019, 11:24 pm
by miyo
Thanks fsr. I installed it and ran it from the launcher in the menu. It worked. Then I opened the terminal and ran...

sudo dpkg-reconfigure -fgnome tzdata

It gave me an error about missing a gtk3 module and wouldn't open the window. So, to make a long story short, I installed...

libgtk3-perl

...and that worked. I once again compared packages, and that gkdebconf wasn't in any of the Ascii builds, but libgtk2-perl was.

So, I just did a test install, and I installed only libgtk3-perl before I opened the installer...all of the windows opened perfectly with only adding libgtk3-perl. :)

Thanks for pointing me in the right direction. When I compared packages earlier, I didn't compare the libs...never thought it would be one of them. :lol: :oops:

Re: Refracta installer: GUI vs. ncurses question

PostPosted: March 23rd, 2019, 1:44 am
by fsmithred
Oh yeah, gkdebconf is a front-end for starting dpkg-reconfigure with a click. I guess I can add libgtk3-perl to Refracta. Thanks for that!

OK, that's a little weird - starting the time zone config from gkdebconf starts the ncurses debconf even when libgtk3-perl is installed. I expected the graphical frontend. I get it when I start it from command-line with '-fgnome'.

Re: Refracta installer: GUI vs. ncurses question

PostPosted: March 24th, 2019, 11:02 pm
by miyo
Yeah...libgtk3-perl is a pretty tiny package, so adding it didn't affect the size of my .isos. :)