X-Received: by 2002:aed:22c8:: with SMTP id q8mr148714qtc.0.1572443603237; Wed, 30 Oct 2019 06:53:23 -0700 (PDT) X-Received: by 2002:a9d:3dca:: with SMTP id l68mr21602676otc.269.1572443602867; Wed, 30 Oct 2019 06:53:22 -0700 (PDT) Path: csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!j16no3814500qtl.0!news-out.google.com!x9ni582qti.1!nntp.google.com!j16no3814495qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Wed, 30 Oct 2019 06:53:22 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.194.70.2; posting-account=HagNvQoAAAC7MSycpc32gp8SxSlBD4dx NNTP-Posting-Host: 193.194.70.2 References: <3213c6dc-3b6d-4890-b56b-6efb003b0da8@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <72aa6a40-217e-45fb-b01a-aa7771f44ab7@googlegroups.com> Subject: Re: Change the default terminal on windows From: s1291 Injection-Date: Wed, 30 Oct 2019 13:53:23 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 89 Xref: csiph.com comp.graphics.apps.gnuplot:4246 On Monday, September 30, 2019 at 1:22:57 PM UTC+2, J=C3=B6rg Buchholz wrote= : > On 26.09.2019 19:18, s1291 wrote: > > On Thursday, September 26, 2019 at 12:00:04 PM UTC+2, J=C3=B6rg Buchhol= z wrote: > >> On 26.09.2019 10:51, s1291 wrote: > >>> On Wednesday, September 25, 2019 at 7:38:48 PM UTC+1, Karl Ratzsch wr= ote: > >>>> Am 25.09.2019 um 18:22 schrieb SyntaxErrorX00: > >>>> > >>>>> gnuplot/wgnuplot use wxt as the default terminal. I want to change = that to be 'qt' instead so every time I have to run "set term qt" so I am l= ooking for a way to change it permanently. I tried everything I found on in= ternet: > >>>>> * create GNUPLOT.INI and insert "set term qt", > >>>>> * Create an environment variable GNUPLOT pointing to that directory= (My home directory, C:\Users\username). > >>>>> > >>>>> * Tried to change the file wgnuplot.ini in my home directory. > >>>>> * Tried to change the file wgnuplot in C:\Program Files\gnuplot\sha= re\wgnuplt.ini > >>>>> > >>>>> But unfortuately that have no effect, every time I open gnuplot I g= et the default terminal wxt. > >>>>> > >>>>> Could you please tell me how can I change that?=20 > >>>> > >>>> You have to place the gnuplot.ini (not wgnuplot.ini, thats just for > >>>> the windows GUI) file in the $APPDATA directory, which usually is > >>>> \appdata\roaming > >>>> > >>>> (For some unknown reason, the ~\appdata directory is hidden by > >>>> default. First thing I change on every windows machine, right after > >>>> disabling the system sounds.) > >>>> > >>>> Enter "set APPDATA" on the command line to check. > >>>> > >>>> Or you reinstall gnuplot and choose a different default terminal in > >>>> the installer. > >>>> > >>>> Hth, Karl > >>> > >>> > >>> Thank you for you reply, > >>> Sorry I forgot to mention that I tried also with what you suggested: = to add gnuplot.ini to %appdata% folder but unfortunately it didn't work. > >>> So I will try the second suggestion. > >>> Regards > >>> > >> > >> Hi, > >> > >> are you sure that it not works? It looks like gnuplot always tell you = at > >> the start "Terminal type is now 'windows'", but the terminal is set to > >> what you give in the gnuplot.ini. > >> > >> > >> J=C3=B6rg > > Hello J=C3=B6rg, > > Yes I am sure, I tried to create a the file %appdata%\gnuplot.ini with = the following content:=20 > > set terminal qt > > But that has no effect. > > I changed the content to=20 > > Terminal=3Dqt > >=20 > > That has also no effect (I don't know if that syntax is valid or not bu= t at least I tried it). >=20 > My "gnuplot.in" is at "C:\Users\"username"\AppData\Roaming\gnuplot.ini" > and all what I tell gnuplot is done. >=20 > The simple syntax is: >=20 > set term qt enhanced > set samples 1000 > set grid > set encoding utf8 >=20 > But I must do a "show terminal" to see what terminal is really set. At > the start gnuplot always says the terminal is set to "windows". >=20 > It is WIN 7 with gnuplot 5.2 >=20 > J=C3=B6rg It is not clear what you are asking for. I assume you want to change the de= fault terminal to something like qt. The simple solution is to re-install g= nuplot and choose qt as the default terminal from the installer.