Is there an (easy) way of creating multiple instances of Geany in Fatdog64 as is standard in fossapup64 and some slackos?
How to have multiple instances of Geany in Fatdog? (Solved)
Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators
-
- Posts: 50
- Joined: Mon Dec 23, 2019 9:57 pm
- Location: Sydney, Australia
- Has thanked: 15 times
- Been thanked: 3 times
How to have multiple instances of Geany in Fatdog? (Solved)
Last edited by superchook on Thu Nov 03, 2022 11:44 pm, edited 1 time in total.
-
- Posts: 546
- Joined: Thu Aug 13, 2020 9:55 am
- Has thanked: 57 times
- Been thanked: 198 times
- Contact:
Re: How to have multiple instances of Geany in Fatdog?
I'm not sure if this is what you want but option -i (force opening a new instance) seems to be related to your question
Code: Select all
geany -h
Usage:
geany [OPTION…] [FILES...]
A fast and lightweight IDE.
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
Application Options:
--column=COLUMN Set initial column number to COLUMN for the first opened file (useful in conjunction with --line)
-c, --config=DIR Use alternate configuration directory DIR
--ft-names Print internal filetype names
-g, --generate-tags Generate global tags file (see documentation)
-P, --no-preprocessing Don't preprocess C/C++ files when generating tags file
-i, --new-instance Don't open files in a running instance, force opening a new instance
--socket-file=FILE Use socket filename FILE for communication with a running Geany instance
--list-documents Return a list of open documents in a running Geany instance
-l, --line=LINE Set initial line number to LINE for the first opened file
-m, --no-msgwin Don't show message window at startup
-n, --no-ctags Don't load auto completion data (see documentation)
-p, --no-plugins Don't load plugins
--print-prefix Print Geany's installation prefix
-r, --read-only Open all FILES in read-only mode (see documentation)
-s, --no-session Don't load the previous session's files
-t, --no-terminal Don't load terminal support
--vte-lib=FILE Use FILE as the dynamically-linked VTE library
-v, --verbose Be verbose
-V, --version Show version and exit
--display=DISPLAY X display to use
Geany is Fatdog's default text editor, literally "geany" is. Now, if you edit file /etc/defaultprograms, find this line
DEF_TEXTEDITOR="geany"
and change it to DEF_TEXTEDITOR="geany -i"
, then every click on a text file icon will open that file in a new geany instance. Is this what you wanted?
-
- Posts: 50
- Joined: Mon Dec 23, 2019 9:57 pm
- Location: Sydney, Australia
- Has thanked: 15 times
- Been thanked: 3 times
Re: How to have multiple instances of Geany in Fatdog? (Solved)
Many thanks, Step. Your post above does exactly what I was looking for.
Ken