U.Mutlu wrote on 11/11/2015 03:59 AM:
> Yao Wei wrote on 11/11/2015 01:08 AM:
>> The feature is added as an option --no-remote
>>
>> It is still an singleton application by default, but if you use the option
>> it will start another process.
>
> Ahh, ok, I overlooked that option; I'll try it again, thx.

Yes, now with that new option it works good! :-)

/*
    test.cpp
    g++ -Wall -O2 test.cpp
  */
#include <cstdio>
#include <cstdlib>
#include <string>

using namespace std;

int main()
   {
#if 1
     // THIS IS THE DEFAULT/INCORRECT METHOD for sequential cmd execution:
     const string sCmd = "lxterminal ; df -h";
#else
     // THIS IS THE CORRECT METHOD:
     const string sCmd = "lxterminal --no-remote ; df -h";
#endif

     system(sCmd.c_str());
     printf("finished. press key..."), getchar(), printf("\n");

     return 0;
   }


But here's a new suggestion for lxterminal that I liked in qterminal:

Save the position and dimension of the window in its ini-file
and next time use these coordinates, so that the window gets
positioned at the same location and with the same size like the last time.

-- 
Thx



------------------------------------------------------------------------------
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to