How to have multiple instances of Geany in Fatdog? (Solved)
Is there an (easy) way of creating multiple instances of Geany in Fatdog64 as is standard in fossapup64 and some slackos?
Discussion, talk and tips
https://forum.puppylinux.com/
Is there an (easy) way of creating multiple instances of Geany in Fatdog64 as is standard in fossapup64 and some slackos?
Ken, can you please elaborate a bit?
What exactly do you want to do?
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?
Many thanks, Step. Your post above does exactly what I was looking for.
Ken