Page 1 of 1

defaulttexteditor

Posted: 14 Jun 2012, 00:28
by don570
My experience is with Puppy Linux. One of the
features of Puppy linux is default apps.

These are useful when writing scripts.
For instance it is typical that several text editors
or several music players are installed.

When the script calls for text to be shown
or music to be played then the script calls for 'defaulttexteditor'
or 'defaultmusicplayer' is used so that
the name of the app doesn't have to be known
by the programmer.

__________________________________________

Re: defaulttexteditor

Posted: 14 Jun 2012, 13:06
by brokenman
So far we have default app sniffer in place for terminal, browser, file manager and root authentication manager. You can see these inside /opt/porteus-scripts/xorg (v1.2).

For text manager i normally use "kwrite file || leafpad file || mousepad file || kate file"
One of these is installed on each release of porteus. Perhaps we could add more in the future. Thanks for the input.

Re: defaulttexteditor

Posted: 14 Jun 2012, 13:08
by Hamza
I'm pretty sure, there is already a similar feature on Trinity, KDE4, LXDE, XFCE.