Xtian Xultz wrote:
Hello guys
I am currently using KDE. When I double click in a schematic, it opens gschem and shows the diagram. But when I click on the open button to open another file it goes to my home, and I must navigate until I become to the directory where the diagrams are.
Is there too complicated to implement a support to drag n drop so I drag another file over gschem and it opens it in another window?
1) Create a script called bschem somewhere in your path
#!/bin/bash cd $(dirname $1) gschem $1
2) Edit your kde menu pick for gschem to call bschem instead
Picking gschem from the menu will bring it up in your home directory. Clicking on
a schematic will bring it up in that schematics directory and any file operations will
start from there. You may have to add a gschemrc in any directory will schematics
to set up paths to local components
John Eaton
