Browse Source

Add xfreerdp run support

master 0.1.3
parent
commit
19dd878b74
  1. 12
      keyexec.c

12
keyexec.c

@ -84,10 +84,10 @@ int main( int argc, const char* argv[] )
uid = getuid();
gid = getgid();
char * prog_name[10];
char * prog_path[10];
char * prog_sring[10];
int count_prog =10;
char * prog_name[11];
char * prog_path[11];
char * prog_sring[11];
int count_prog =11;
// identifiers and paths to programs
prog_name[0] = "rdesktop";
@ -120,6 +120,10 @@ int main( int argc, const char* argv[] )
prog_name[9] = "rdesktop9";
prog_path[9] = "/usr/bin/rdesktop";
prog_sring[9] = "/usr/bin/kstart --window=.* --desktop=9";
prog_name[10] = "xfreerdp";
prog_path[10] = "/usr/bin/xfreerdp";
prog_sring[10] = NULL;
// path to the running program
char * str_prog = NULL;
// if kstart

Loading…
Cancel
Save