File: 20_use_x_terminal_emulator.patch

package info (click to toggle)
geany 2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,300 kB
  • sloc: ansic: 168,600; cpp: 77,562; sh: 5,344; makefile: 1,694; cs: 1,233; javascript: 1,024; python: 580; f90: 537; vhdl: 504; sql: 503; lisp: 436; fortran: 389; php: 278; ada: 201; ruby: 163; java: 131; asm: 131; perl: 119; cobol: 88; tcl: 77; erlang: 73; xml: 66; ml: 27; sed: 16; pascal: 15; haskell: 6
file content (24 lines) | stat: -rw-r--r-- 869 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Chow Loong Jin <hyperair@debian.org>
Date: Wed, 9 Jul 2025 15:16:08 +0800
Subject: Use sensible-terminal instead of xterm to be more
 desktop-independent

Bug-Ubuntu: https://bugs.launchpad.net/bugs/282972
Bug-Debian: http://bugs.debian.org/670510
---
 src/keyfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/keyfile.c b/src/keyfile.c
index f8d729e..7b2458c 100644
--- a/src/keyfile.c
+++ b/src/keyfile.c
@@ -91,7 +91,7 @@
 # define GEANY_DEFAULT_FONT_MSG_WINDOW	"Menlo Medium 12"
 # define GEANY_DEFAULT_FONT_EDITOR		"Menlo Medium 12"
 #else
-# define GEANY_DEFAULT_TOOLS_TERMINAL	"xterm -e \"/bin/sh %c\""
+# define GEANY_DEFAULT_TOOLS_TERMINAL	"sensible-terminal -e /bin/sh '%c'"
 # define GEANY_DEFAULT_USE_NATIVE_DLGS	FALSE
 # define GEANY_DEFAULT_FONT_SYMBOL_LIST	"Sans 9"
 # define GEANY_DEFAULT_FONT_MSG_WINDOW	"Monospace 9"