www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-help-bounces using -f |
X-Recipient: | geda-help AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20161025; | |
h=date:from:to:subject:message-id:in-reply-to:references:mime-version | |
:content-transfer-encoding; | |
bh=vYXssiEXrdrA0yV1QnEQLzw+LDVwAzgGFvS15v7PNjA=; | |
b=IETmYJRJsgXmnLiTrouWuUilI6PS2hH90wNJjRie4NaEAZq3CgairKLVbJjmxuBzuX | |
JFFCmlZtpCN/3OyCyNoVwJmYLhfXbE3oc/xvzUC2JKygy+2AUyMa35zClvaNCxBOSPXY | |
KGCSfZDkhIMknuj6Y5Hx7hbCzbx2idr9jZzU2qvwiEiyUKcpoSCM6PwK5Bdz0qkLk48Q | |
setQK+Lyxn0VszpHXf8gfVYlByJwZIKMpv0Y+Lj1evXG5g8Nz6O1TmkORNBuxJy+Quc9 | |
BbOm2EwI5e0Aae/0lcSj8F8wLd3Zh/gF9G1f4+1OD1eMS7KrC9ShMLZk0AJkpeNsxC6W | |
UbLw== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20161025; | |
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to | |
:references:mime-version:content-transfer-encoding; | |
bh=vYXssiEXrdrA0yV1QnEQLzw+LDVwAzgGFvS15v7PNjA=; | |
b=An+b0oiHkdMtzvN53s8xA9KFEjO+bTwclyE5nvcaVTe3cIZrzKF7p3f0WrNnqdDiG7 | |
39GxJtwIzuvoOX4BYzVUu/qIOnGU+CMi1eYHmPC7qch+t5LVeFipvDcOySxPeTGVwfUy | |
k+QHV4ywX8UX9sZmYMKRaLgfDFXfQY/RCWb+opPhvudLlSf0oNipeFnTn7e+V3zmyaDI | |
ZPh4BapGoiqvkDivgWDZNr0E/mxAw6rDOdcxKrD+I1U9pVDmLfNgBbpdF68XSSj39OU8 | |
iyJElInGMQMNpUpDROwDjUja4CHiGNavOpDmOEdtNRt2g4hSk89Cgrg9ZgKZe2o434MD | |
W0QQ== | |
X-Gm-Message-State: | APjAAAVjFDcmejbqXhZznfhiwolGJdVbGo+32qUDdjcMR416fipi6N+q |
scHd+4fIiyDzpxTg9CyCz0yqcE3n | |
X-Google-Smtp-Source: | APXvYqxQ4akDH7apmQZgwDY6Rw97XIEHnfbZ6RqO90sGqJmlW8ZDQz3zgaY9ykFUElvcmDH059EgYg== |
X-Received: | by 2002:a2e:9753:: with SMTP id f19mr7645565ljj.54.1555839467696; |
Sun, 21 Apr 2019 02:37:47 -0700 (PDT) | |
Date: | Sun, 21 Apr 2019 12:37:26 +0300 |
From: | "dmn (graahnul DOT grom AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com> |
To: | geda-help AT delorie DOT com |
Subject: | Re: [geda-help] Setting up lepton-eda and pcb |
Message-ID: | <20190421123726.05821958@demon> |
In-Reply-To: | <CAHsNvaCN=-Egg9psmQvkDx7tJRiWfEZyA879SiMJfudqphU=6A@mail.gmail.com> |
References: | <CAHsNvaCN=-Egg9psmQvkDx7tJRiWfEZyA879SiMJfudqphU=6A AT mail DOT gmail DOT com> |
X-Mailer: | Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) |
MIME-Version: | 1.0 |
Reply-To: | geda-help AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-help AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 20 Apr 2019 19:08:26 +0000 "Graham S (graham DOT seale AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com> wrote: Hi Graham! > The system here is Linux mint 19.1, based on Ubuntu 18.04 LTS (Bionic > Beaver). > The install location is $HOME/lepton. > Similarly, the place for pcb is $HOME/pcb-4.2.0 > > The executable for pcb arrived in the $HOME/pcb-4.2.0/src folder. > Maybe I could have been smarter about where to pint to when doing > *sudo make install*, such as aiming at /usr/local/bin, but in the > end, I opted to copy the executable into $HOME/bin, which is included > in my $PATH Not a good idea. It's better to add pcb and lepton-eda bin/ folders to your $PATH. What directories did you pass via the --prefix= switch to the configure script when building lepton-eda and pcb? > I have noticed that even though all the lepton component programs are > there, and do appear to launch OK when I use the command line, they > do not associate their extensions with lepton programs, nor have the > right icons. > > The installed set in $HOME/lepton are .. > .. bin > .. include > .. lib > .. share > I did notice that there is a mime folder within the share folder, > which has the complete .xml file in $HOME/lepton/share/mime/packages > that defines the new filetypes and their associations. $HOME/lepton/share should be added to $XDG_DATA_DIRS: $ export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/lepton/share What desktop environment do you use? Some DE's may require you to also set environment variables somewhere in their configuration. > Files with extension .pcb have the little green icon, and > launch pcb when clicked. I believe there are some leftovers of the removed pcb package (/usr/share/mime/application/x-pcb-*) or you have installed pcb to /usr/ or /usr/local/. > This is all very new, and not yet used. I am happy to re-arrange it, > or even start again. > What is your best advice to get this set up - particularly to > associate the .sch and other extensions with their respective lepton > programs, and to use the supplied icons? Not sure about the "best" way to do things, but as an example I can show my setup: 1) cloned git repositories folders - passed to 'git clone [url] [destination_folder]: $HOME/lepton/lepton.git/ $HOME/pcb/pcb.git/ 2) installation folders - passed to configure via --prefix= switch: $HOME/lepton/bin.master/ $HOME/pcb/bin.master/ 3) $PATH: export PATH=$PATH:$HOME/lepton/bin.master/bin export PATH=$PATH:$HOME/pcb/bin.master/bin 4) $XDG_DATA_DIRS: export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/lepton/bin.master/share export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/pcb/bin.master/share Regards, Dmitry.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |