Advertisement
Jackspade9624

default termux.properties

Apr 5th, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. ### This is a `.properties` [https://en.wikipedia.org/wiki/.properties] file
  2. ### for termux app properties and is loaded with the `java.util.Properties.load()`
  3. ### [https://developer.android.com/reference/java/util/Properties#load(java.io.Reader)]
  4. ### call by the termux app and must be formatted as per its spec.
  5. ### To make changes to a property value, uncomment the property line by removing
  6. ### any hash `#` characters at the start of the line.
  7. ### After making required changes, save the file and run `termux-reload-settings`
  8. ### in the terminal for changes to take effect. Some properties require app
  9. ### process to be restarted to be updated which can be done by force stopping
  10. ### the app from Android app settings.
  11. ### All information here can also be found on the
  12. ### wiki: https://wiki.termux.com/wiki/Terminal_Settings
  13.  
  14. ###############
  15. # General
  16. ###############
  17.  
  18. ### Allow external applications to execute arbitrary commands within Termux.
  19. ### This potentially could be a security issue, so option is disabled by
  20. ### default. Uncomment to enable.
  21. # allow-external-apps = true
  22.  
  23. ### Default working directory that will be used when launching the app.
  24. # default-working-directory = /data/data/com.termux/files/home
  25.  
  26. ### Uncomment to disable toasts shown on terminal session change.
  27. # disable-terminal-session-change-toast = true
  28.  
  29. ### Uncomment to not show soft keyboard on application start.
  30. # hide-soft-keyboard-on-startup = true
  31.  
  32. ### Uncomment to let keyboard toggle button to enable or disable software
  33. ### keyboard instead of showing/hiding it.
  34. # soft-keyboard-toggle-behaviour = enable/disable
  35.  
  36. ### Adjust terminal scrollback buffer. Max is 50000. May have negative
  37. ### impact on performance.
  38. # terminal-transcript-rows = 2000
  39.  
  40. ### Uncomment to use volume keys for adjusting volume and not for the
  41. ### extra keys functionality.
  42. # volume-keys = volume
  43.  
  44. ###############
  45. # Fullscreen mode
  46. ###############
  47.  
  48. ### Uncomment to let Termux start in full screen mode.
  49. # fullscreen = true
  50.  
  51. ### Uncomment to attempt workaround layout issues when running in
  52. ### full screen mode.
  53. # use-fullscreen-workaround = true
  54.  
  55. ###############
  56. # Cursor
  57. ###############
  58.  
  59. ### Cursor blink rate. Values 0, 100 - 2000.
  60. # terminal-cursor-blink-rate = 0
  61.  
  62. ### Cursor style: block, bar, underline.
  63. # terminal-cursor-style = block
  64.  
  65. ###############
  66. # Extra keys
  67. ###############
  68.  
  69. ### Settings for choosing which set of symbols to use for illustrating keys.
  70. ### Choose between default, arrows-only, arrows-all, all and none
  71. # extra-keys-style = default
  72.  
  73. ### Force capitalize all text in extra keys row button labels.
  74. # extra-keys-text-all-caps = true
  75.  
  76. ### Default extra-key configuration
  77. # extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]]
  78.  
  79. ### Two rows with more keys
  80. # extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'], \
  81. # ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]
  82.  
  83. ### Configuration with additional popup keys (swipe up from an extra key)
  84. # extra-keys = [[ \
  85. # {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \
  86. # {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \
  87. # {key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \
  88. # {key: TAB, popup: {macro: "ALT a", display: A-a}}, \
  89. # {key: LEFT, popup: HOME}, \
  90. # {key: DOWN, popup: PGDN}, \
  91. # {key: UP, popup: PGUP}, \
  92. # {key: RIGHT, popup: END}, \
  93. # {macro: "ALT j", display: A-j, popup: {macro: "ALT g", display: A-g}}, \
  94. # {key: KEYBOARD, popup: {macro: "CTRL d", display: exit}} \
  95. # ]]
  96.  
  97. ### Another configuration with advanced popup key usage designed for more
  98. ### specific use-cases. In this case, it is designed for working with Vim-like
  99. ### editors for faster navigation
  100. #extra-keys = [ \
  101. # [ \
  102. # { key: ESC, popup: { macro: ":q\n", display: "QuickExit" } }, \
  103. # { key: '/', popup: '\\\\' }, \
  104. # { key: '-', popup: '_' }, \
  105. # { key: HOME, popup: { macro: "CTRL HOME", display: "Top" } }, \
  106. # { key: UP, popup: { macro: "CTRL UP", display: "UP" } }, \
  107. # { key: END, popup: { macro: "CTRL END", display: "End" } }, \
  108. # { key: ":", popup: ";" }, \
  109. # { key: "(", popup: "{" } \
  110. # ], \
  111. # [ \
  112. # { key: TAB, popup: { macro: ":wq\n", display: "Write And Exit" } }, \
  113. # { key: CTRL, popup: { macro: ":w\n", display: "Write" } }, \
  114. # ALT, \
  115. # { key: LEFT, popup: { macro: "CTRL LEFT", display: "Left" } }, \
  116. # { key: DOWN, popup: { macro: "CTRL DOWN", display: "Bottom" } }, \
  117. # { key: RIGHT, popup: { macro: "CTRL RIGHT", display: "Right" } }, \
  118. # { key: "#", popup: "$" }, \
  119. # { key: ")", popup: "}" } \
  120. # ] \
  121. #]
  122.  
  123. ###############
  124. # Colors/themes
  125. ###############
  126.  
  127. ### Force black colors for drawer and dialogs
  128. # use-black-ui = true
  129.  
  130. ###############
  131. # HW keyboard shortcuts
  132. ###############
  133.  
  134. ### Disable hardware keyboard shortcuts.
  135. # disable-hardware-keyboard-shortcuts = true
  136.  
  137. ### Open a new terminal with ctrl + t (volume down + t)
  138. # shortcut.create-session = ctrl + t
  139.  
  140. ### Go one session down with (for example) ctrl + 2
  141. # shortcut.next-session = ctrl + 2
  142.  
  143. ### Go one session up with (for example) ctrl + 1
  144. # shortcut.previous-session = ctrl + 1
  145.  
  146. ### Rename a session with (for example) ctrl + n
  147. # shortcut.rename-session = ctrl + n
  148.  
  149. ###############
  150. # Bell key
  151. ###############
  152.  
  153. ### Vibrate device (default).
  154. # bell-character = vibrate
  155.  
  156. ### Beep with a sound.
  157. # bell-character = beep
  158.  
  159. ### Ignore bell character.
  160. # bell-character = ignore
  161.  
  162. ###############
  163. # Back key
  164. ###############
  165.  
  166. ### Send the Escape key.
  167. # back-key=escape
  168.  
  169. ### Hide keyboard or leave app (default).
  170. # back-key=back
  171.  
  172. ###############
  173. # Keyboard issue workarounds
  174. ###############
  175.  
  176. ### Letters might not appear until enter is pressed on Samsung devices
  177. # enforce-char-based-input = true
  178.  
  179. ### ctrl+space (for marking text in emacs) does not work on some devices
  180. # ctrl-space-workaround = true
  181.  
  182. ###############
  183. # Terminal Margin adjustments
  184. ###############
  185.  
  186. ### Horizontal (left/right) Margin
  187. # terminal-margin-horizontal=3
  188.  
  189. ### Vertical (top/bottom) Margin
  190. # terminal-margin-vertical=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement