How to have multiple instances of Geany in Fatdog? (Solved)

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
superchook
Posts: 46
Joined: Mon Dec 23, 2019 9:57 pm
Location: Sydney, Australia
Has thanked: 14 times
Been thanked: 3 times

How to have multiple instances of Geany in Fatdog? (Solved)

Post by superchook »

Is there an (easy) way of creating multiple instances of Geany in Fatdog64 as is standard in fossapup64 and some slackos?

Last edited by superchook on Thu Nov 03, 2022 11:44 pm, edited 1 time in total.
jamesbond
Posts: 598
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 98 times
Been thanked: 316 times

Re: Multiple instances of Geany

Post by jamesbond »

Ken, can you please elaborate a bit?
What exactly do you want to do?

step
Posts: 516
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 50 times
Been thanked: 184 times
Contact:

Re: How to have multiple instances of Geany in Fatdog?

Post by step »

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?

superchook
Posts: 46
Joined: Mon Dec 23, 2019 9:57 pm
Location: Sydney, Australia
Has thanked: 14 times
Been thanked: 3 times

Re: How to have multiple instances of Geany in Fatdog? (Solved)

Post by superchook »

Many thanks, Step. Your post above does exactly what I was looking for.
Ken

Post Reply

Return to “FatDog64”