Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37749799
en ru br
Репозитории ALT
S:0.2-alt1.qa1
5.1: 0.2-alt1
4.1: 0.2-alt0.M41.1
4.0:
+backports:0.2-alt0.M40.1
www.altlinux.org/Changes

Группа :: Терминалы
Пакет: keyplex

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: keyplex-0.2-alt-default_terminal.patch
Скачать


Set uxterm as a default terminal.
Extend help text to meet ALT Linux specific.
--- ./src/keyplex.c
+++ ./src/keyplex.c
@@ -47,7 +47,7 @@ int numindex = 0;
 Window *windows;
 Window *pasteWindows;
 char *keyplexid;
-char *termcmd = "gnome-terminal --disable-factory --class=%s";
+char *termcmd = "uxterm -xrm 'xterm*allowSendEvents: true' -class %s";
 Bool querying = False;
 Bool sendingEvents = False;
 XErrorHandler oldHandler;
@@ -276,12 +276,15 @@ static void usage()
   fprintf (stderr, "string used to find the terminals in X. The %%s should be used as an argument\n");
   fprintf (stderr, "to set either the window class or name\n");
   fprintf (stderr, "Examples:\n");
+  fprintf (stderr, "  %s --command \"xterm -xrm 'xterm*allowSendEvents: true' -class %%s\"\n", program);
   fprintf (stderr, "  %s --command \"gnome-terminal --disable-factory --class=%%s\"\n", program);
-  fprintf (stderr, "  %s --command \"xterm -class %%s\"\n", program);
+  fprintf (stderr, "  %s --command \"uxterm -xrm 'xterm*allowSendEvents: true' \" \\\n", program);
+  fprintf (stderr, "                    \" -bg black -fg green -class %%s\"\n");
   fprintf (stderr, "  %s --command \"aterm -name %%s\"\n", program);
   fprintf (stderr, "\n");
   fprintf (stderr, "Note: xterm (and uxterm) require the resource allowSendEvents to be True.\n");
-  fprintf (stderr, "      Add \"xterm*allowSendEvents: True\" to ~/.Xdefaults to set this.\n");
+  fprintf (stderr, "      Add key \"-xrm 'xterm*allowSendEvents: true'\" to the command line\n");
+  fprintf (stderr, "      or \"xterm*allowSendEvents: True\" to ~/.Xresources to set this permanently.\n");
   fprintf (stderr, "\n");
   exit(1);
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin