やってみる

アウトプットすべく己を導くためのブログ。その試行錯誤すらたれ流す。

Raspbian stretch にテキストエディタgeditをインストールするもフォントやサイズすら変更できなかった……

 また? 何かおかしいぞ。

対象環境

  • Raspbierry pi 3 Model B+
  • Raspbian stretch 2018-06-27

手順

  1. 探す
  2. インストールする
  3. 起動する
  4. 設定する

1. 探す

$ sudo apt search gedit
 $ sudo apt search gedit
ソート中... 完了
全文検索... 完了  
debugedit/stable,stable,stable,stable 4.12.0.2+dfsg1-2 armhf
  tool to mangle source locations in .debug files

dgedit/stable,stable,stable,stable 0~git20160401-1 armhf
  drum kit editor for DrumGizmo

drumgizmo/stable,stable,stable,stable 0.9.11-3 armhf
  Audio sampler plugin and stand-alone app that simulates a real drum kit

gedit/stable,stable,stable,stable 3.22.0-2 armhf
  official text editor of the GNOME desktop environment

gedit-common/stable,stable,stable,stable 3.22.0-2 all
  official text editor of the GNOME desktop environment (support files)

gedit-dev/stable,stable,stable,stable 3.22.0-2 armhf
  official text editor of the GNOME desktop environment (development files)

gedit-latex-plugin/stable,stable,stable,stable 3.20.0-1 all
  gedit plugin for composing and compiling LaTeX documents

gedit-plugins/stable,stable,stable,stable 3.22.0-1 armhf
  set of plugins for gedit

gedit-r-plugin/stable,stable,stable,stable 0.8.0.2-Gtk3-Python3-1 all
  Gedit plugin for R statistical computing language

gedit-source-code-browser-plugin/stable,stable,stable,stable 3.0.3-5 all
  source code class and function browser plugin for Gedit

gigedit/stable,stable,stable,stable 0.2.0-1+b1 armhf
  instrument editor for Gigasampler files

leafpad/stable,stable,stable,stable,now 0.8.18.1-5 armhf [インストール済み、自動]
  GTK+ based simple text editor

libgtk2-sourceview2-perl/stable,stable,stable,stable 0.10-2+b3 armhf
  enhanced source code editor widget

libwin-hivex-perl/stable,stable,stable,stable 1.3.13-2+b1 armhf
  Perl bindings to hivex

nautilus-admin/stable,stable,stable,stable 0.2.4-1 all
  Extension for Nautilus to do administrative operations

python-gtkspellcheck/stable,stable,stable,stable 4.0.5-1 all
  Python 2 spellchecking library GTK+ based on Enchant

python-gtkspellcheck-doc/stable,stable,stable,stable 4.0.5-1 all
  Python GTK+ Spellcheck common documentation

python3-gtkspellcheck/stable,stable,stable,stable 4.0.5-1 all
  Python 3 spellchecking library for GTK+ based on Enchant

qxgedit/stable,stable,stable,stable 0.4.2-2 armhf
  MIDI System Exclusive files editor

rabbitvcs-core/stable,stable,stable,stable 0.16-1.1 all
  Easy version control

rabbitvcs-gedit/stable,stable,stable,stable 0.16-1.1 all
  Gedit extension for RabbitVCS

supercollider-gedit/stable,stable,stable,stable 1:3.7.0~repack-4 all
  SuperCollider mode for Gedit

2. インストールする

sudo apt install -y gedit

3. 起動する

gedit

 警告が出た。なんのこっちゃ。

** (gedit:7088): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

 でもちゃんと起動した。

f:id:ytyaru:20181017143428p:plain

 メニューはスマートで良い。タイトルバーという悪しき風習が死んでいるのが素敵。

f:id:ytyaru:20181017143436p:plain

 バージョン確認。3.22.0。

f:id:ytyaru:20181017143442p:plain

 どうでもいいけど、メニューでの表示名が「テキストエディター」ってどうなの? なにデフォルトぶってんの?

f:id:ytyaru:20181017164303p:plain

4. 設定する

4-1. 設定ダイアログ

  1. メニュー設定をクリックする
  2. 設定ダイアログが表示される

 4つのタブがある。

  • 表示
  • エディタ
  • フォントと色
  • プラグイン

f:id:ytyaru:20181017143515p:plainf:id:ytyaru:20181017143520p:plainf:id:ytyaru:20181017143525p:plainf:id:ytyaru:20181017143718p:plain

4-2. フォントを設定する

  1. 設定ダイアログのフォントと色タブをクリックする
  2. システムの固定フォント(Monospace 11)を使うのチェックを外す
  3. エディターのフォントの横にあるボタンをクリックする
  4. エディターで使用するフォントの取得タグから任意のフォントを選択する
    f:id:ytyaru:20181017144122p:plain
  5. 反映されず……
    f:id:ytyaru:20181017144223p:plain

 geditを再起動しても同様。たぶんplumaのときと同じだろう。

所感

pluma, geany, gedit, どれもフォント変更が反映されなかった。どうなってんの?