簡體   English   中英

如何在使用代碼塊時增加 Ubuntu 上 XTerm 的字體大小? 另外,我無法像在 Windows 中那樣從中復制粘貼

[英]How do I increase the font size of XTerm on Ubuntu while using Codeblocks? Also, I am unable to copy paste from it like in Windows

Recently, I switched completely to Ubuntu 18.04.3 I have been using Codeblocks for C++ programming for the past few years but unlike that in Windows here, I am unable to copy-paste from the terminal window and also the font size is extremely small. 我在 Google 上找不到任何解決方案。 請幫忙。 謝謝

我試過這個命令。

xterm*字體: -fixed- - - -18-*

但這只會打開一個新的終端 window,它的字體更大,並且不會更改代碼塊的 XTerm。

默認鍵綁定包括用於選擇下一個更大或更小的配置字體的快捷方式:

           Shift~Ctrl <KeyPress> KP_Add:larger-vt-font() \n\
           Shift Ctrl <KeyPress> KP_Add:smaller-vt-font() \n\
           Shift <KeyPress> KP_Subtract:smaller-vt-font() \n\

打包者忽略 xterm 在其包中使用的 bitmap fonts 並不罕見。 find-xterm-fonts腳本會顯示那些 fonts(如果已安裝)。 或者,您可以使用帶有-fa選項的 TrueType fonts。

延伸閱讀: xterm 無法加載字體“-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1”

關於選擇/粘貼:請參閱手冊頁中的自定義鍵綁定部分。

只需單擊鼠標右鍵按控制鍵。 您將獲得選項。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM