我想要 gedit 插件来放大文件中的文本。当我点击 Edit-preference-plugin 时,它会显示我下面的消息,在那里我找不到插件。
如果 gedit 缺少插件,请确保已gedit-plugins安装。
sudo apt-get install gedit-plugins
Run Code Online (Sandbox Code Playgroud)
之后,(您可能需要重新启动 gedit)您将拥有一个名为“文本大小”的插件。
确保插件已启用,您将能够使用Ctrl+ 鼠标滚轮“缩放”(即更改字体大小)。

这是gedit-plugins包中可用的插件列表
$ apt-cache show gedit-plugins
[...]
The following plugins are included:
* Git: Git differences
* Bookmarks: Easy document navigation with bookmarks
* Bracket Completion: Automatically adds closing brackets.
* Character Map: Insert special characters just by clicking on them.
* Code comment: Comment out or uncomment a selected block of code.
* Color Picker: Pick a color from a dialog and insert its hexadecimal representation.
* Color Scheme Editor: Source code color scheme editor
* Commander: Command line interface for advanced editing
* Dashboard: A Dashboard for new tabs
* Draw Spaces: Draw Spaces and Tabs
* Git: Git differences
* Join/Split Lines: Join several lines or split long ones
* Multi Edit: Edit document in multiple places at once
* Smart Spaces: Forget you're not using tabulations.
* SyncTeX: Synchronize between LaTeX and PDF with gedit and evince.
* Embedded Terminal: Embed a terminal in the bottom pane.
* Text Size: Easily increase and decrease the text size
* Word Completion: Word completion using the completion framework
[...]
Run Code Online (Sandbox Code Playgroud)
小智 6
一些修复方法:
$ sudo apt-get install gedit-plugins -y 转到 gedit 首选项 > 插件并激活您需要的内容。
如果没有出现文字大小,那么:
谷歌搜索:寻找 gedit 插件文本大小。我发现了这个:https://packages.debian.org/buster/gedit-plugin-text-size。
包存在。
*** 并这样做:
$ sudo apt-get install gedit-plugin-text-size -y
Run Code Online (Sandbox Code Playgroud)
然后重新打开 gedit:首选项 > 插件。您会看到“文本大小”出现。
(这对我有用)。