Electronics-Related.com
Forums

Spice Simulators - ngspice v. ltspice ?

Started by Dan Purgert December 21, 2023
On 2023-12-21, Dan Purgert wrote:
> I've never used ltspice / circuit simulators before; though based on > seeing posts to the group from various people seems it's something I > might find useful (noting, of course, this is a hobby rather than > something I get paid for). > > Looked it up, and seems ltspice is a windows/mac application, whereas > the native equivalent on linux would be ngspice. To avoid starting with > one and switching because it's "bad" later on; has anyone used > ngspice and found it a decent alternative to ltspice?
Just following-up to myself to tie up the loose ends a bit -- thanks to everyone giving their input; sounds like the general consensus is LTSpice-on-WINE, so that's the route I'm gonna attempt to take post-Christmas. -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
Dan Purgert <dan@djph.net> wrote:
> On 2023-12-21, Dan Purgert wrote: >> I've never used ltspice / circuit simulators before; though based on >> seeing posts to the group from various people seems it's something I >> might find useful (noting, of course, this is a hobby rather than >> something I get paid for). >> >> Looked it up, and seems ltspice is a windows/mac application, whereas >> the native equivalent on linux would be ngspice. To avoid starting with >> one and switching because it's "bad" later on; has anyone used >> ngspice and found it a decent alternative to ltspice? > > Just following-up to myself to tie up the loose ends a bit -- thanks to > everyone giving their input; sounds like the general consensus is > LTSpice-on-WINE, so that's the route I'm gonna attempt to take > post-Christmas. > >
While I use Ltspice with wine, input windows, e.g. to change the value of some device, often loose focus. Simple clicking the input windows does not bring back focus. To get back focus, I must click some window unrelated to Wine/Ltspice and then click the iput windows. This happens on several system. Anybody else has this problem? -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
Uwe Bonnes <bon@hertz.ikp.physik.tu-darmstadt.de> wrote:
> Dan Purgert <dan@djph.net> wrote: >> On 2023-12-21, Dan Purgert wrote: >>> I've never used ltspice / circuit simulators before; though based on >>> seeing posts to the group from various people seems it's something I >>> might find useful (noting, of course, this is a hobby rather than >>> something I get paid for). >>> >>> Looked it up, and seems ltspice is a windows/mac application, whereas >>> the native equivalent on linux would be ngspice. To avoid starting with >>> one and switching because it's "bad" later on; has anyone used >>> ngspice and found it a decent alternative to ltspice? >> >> Just following-up to myself to tie up the loose ends a bit -- thanks to >> everyone giving their input; sounds like the general consensus is >> LTSpice-on-WINE, so that's the route I'm gonna attempt to take >> post-Christmas. >> >> > > While I use Ltspice with wine, input windows, e.g. to change the value > of some device, often loose focus. Simple clicking the input > windows does not bring back focus. To get back focus, I must click > some window unrelated to Wine/Ltspice and then click the iput > windows. This happens on several system. > > Anybody else has this problem?
The only thing I notice is that you have to go ctl-enter to get a newline in a dialogue box, rather than ctl-m. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics
On 12/23/23 21:42, Uwe Bonnes wrote:
> Dan Purgert <dan@djph.net> wrote: >> On 2023-12-21, Dan Purgert wrote: >>> I've never used ltspice / circuit simulators before; though based on >>> seeing posts to the group from various people seems it's something I >>> might find useful (noting, of course, this is a hobby rather than >>> something I get paid for). >>> >>> Looked it up, and seems ltspice is a windows/mac application, whereas >>> the native equivalent on linux would be ngspice. To avoid starting with >>> one and switching because it's "bad" later on; has anyone used >>> ngspice and found it a decent alternative to ltspice? >> >> Just following-up to myself to tie up the loose ends a bit -- thanks to >> everyone giving their input; sounds like the general consensus is >> LTSpice-on-WINE, so that's the route I'm gonna attempt to take >> post-Christmas. >> >> > > While I use Ltspice with wine, input windows, e.g. to change the value > of some device, often loose focus. Simple clicking the input > windows does not bring back focus. To get back focus, I must click > some window unrelated to Wine/Ltspice and then click the iput > windows. This happens on several system. > > Anybody else has this problem?
I get that sometimes, but it doesn't seem to be related to LTspice or wine. I think it's a window manager bug. I use xfce. On an older machine, running older versions of everything, this never happened. It's irritating, but not enough to invest the time needed to find and fix it. Still, damn 'upgrades'. Jeroen Belleman