How do I make Python3 the default Python in Geany

后端 未结 3 1842
盖世英雄少女心
盖世英雄少女心 2020-12-15 07:10

I\'ve been trying to modify the default Python compiler/run command in Geany.

Some searching indicated that I would need to modify `/usr/share/geany/filetypes.python

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 07:11

    First at all: Don't change the global configuration for something like this, as this will change default behaviour for all system users and might lead into confusion.

    The changes inside file /usr/share/geany/filetypes.python will be overwritten in changes done inside your home on ~/.config/geany/filedefs/filetypes.python.

    When using the menu Build->Set Build Commands it will be saved also there. In fact, there is no need to update the file manually, but via the menu. This will also have the advantage, changes will be visible without restarting Geany.

提交回复
热议问题