geany has a problem with the way it detects whether an instance of geany is already running ... the problem is, it is extremely easy for geany to shut down without removing the pipe
it would probably be easy to start geany from a wrapper script which would check if there is a PID for geany, and if not, to delete the pipe files in ~/.geany before exec'ing geany
2.10 alpha - geany and named pipes
geany also has the -p option, to use no named pipes.
Then each document is opened in a new window.
Maybe this is only available in the .svn version, I'm currently running Puppy 108.
http://dotpups.de/dotpups/Text_Editors/Geany-SVN.pup
http://dotpups.de/dotpups/Text_Editors/ ... altags.pup
Mark
Then each document is opened in a new window.
Maybe this is only available in the .svn version, I'm currently running Puppy 108.
http://dotpups.de/dotpups/Text_Editors/Geany-SVN.pup
http://dotpups.de/dotpups/Text_Editors/ ... altags.pup
Mark
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
There only seems to be one named-pipe file created, 'geany_fifo.0'.
So, what if I created a file 'geanyshell' with this in it:
So, what if I created a file 'geanyshell' with this in it:
Code: Select all
#!/bin/sh
[ "`pidof geany`" = "" ] && rm -f ~/.geany/geany_fifo.0 2>/dev/null
exec geany $@