Registered Member
|
Hello,
I am running Skrooge in a Linux server (Slackware 14.2) from a Windows 10 laptop running Xming X Server. The point is that when I manually open a terminal session to the server and from it run Skrooge (export DISPLAY=a.b.c.d:0 & skrooge) everything work fine, but if I try to run it using PLINK cli I always get first a "save as" dialog, trying to save the unused new file, and after closing it the my correct file is opened and Skrroge works fine. The command I use is:
I have also tried assigning a TTY:
Any Idea on how to avoid that annoting "save as" dialog? Am I doing anything wrong? Thanks! JM |
Moderator
|
Hi JesusM,
Could you generate a trace file of Skrooge? To do that you just have to do "export SKGTRACE=10" before runing Skrooge. This is just to understand why the "Save As" panel is called. |
Registered Member
|
I run:
The console output was:
Where is supposed to be created the trace file? Thanks! |
Moderator
|
Traces must be in the std output. Try this:
export SKGTRACE=10 && /usr/bin/skrooge > /tmp/skrooge_traces.txt instead of export SKGTRACE=10 & /usr/bin/skrooge You should have a file named /tmp/skrooge_traces.txt containing the traces. |
Registered Member
|
I have sent you a link to the file by PM.
Thanks! |
Moderator
|
Hi,
In you traces, I can see that: 1- An initial empty document is created (this is normal) 2- The load of /home/Cuentas/Cuentas.skg is triggered (this is normal) 2.a- The closure of the document created in (1) is done (this is normal) 2.b- The document created in (1) state is "Modified" (this is not normal), so the save panel is displayed I don't understand why the initial document is considered as "modified". This should not be the case. During the analysis, I decided to optimise performances by avoiding the creation of the empty document when a file name is passed as argument. I committed this optimisation but this could help you (not document initialised, not document modified). Are you able to build the trunk to test it? Regards. |
Registered Member
|
Ok, I have updated Skrooge with your modification, and my views:
1. When I run Skrooge from a terminal, it works fine both passing a file as argument and without arguments (but this already worked fine before) 2. When running Skrooge using plink, it now work fine in both cases too. Thanks!! |
Moderator
|
To be honest, I don't understand why it did work before.
Anyway, this topic is closed. |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]