Page 1 of 1

How to have favorites files in Geany or Abiword?

Posted: Wed 28 Aug 2013, 01:02
by Rope
Hello, is there any way to have a list of favorites (bookmarks but not in same file) text files in Geany (or Abiword)? Like and added meny that displays links to some text files of frequent use. I could not find any plugin.

Posted: Wed 28 Aug 2013, 01:17
by Semme
Mmmm "bookmarks?" I normally hit the 'open' drop-down..

Posted: Wed 28 Aug 2013, 01:55
by Rope
Semme wrote:Mmmm "bookmarks?" I normally hit the 'open' drop-down..
Thanks Semme, but as I said, not bookmarks in a file but to different files, a way to load files. The open dropdown lists recent used files not a selected number of files. Sorry if I can't be more clear. I want something like metapad for windows has.

Posted: Wed 28 Aug 2013, 11:39
by Semme
Then maybe one of those 'pipe' menus down in the desktop section..

Posted: Wed 28 Aug 2013, 12:59
by Rope
Semme wrote:Then maybe one of those 'pipe' menus down in the desktop section..
Thanks. Do you mean this? icepipes-0.3.tar.bz2
http://www.murga-linux.com/puppy/viewto ... a8c4ea9f71

Does it work in jwm?

Posted: Wed 28 Aug 2013, 18:28
by Semme
That, PekPipes or ObPipes. I don't know if they'll work with JWM.. Guinea pig anyone?

Posted: Wed 28 Aug 2013, 19:45
by musher0
Semme wrote:That, PekPipes or ObPipes. I don't know if they'll work with JWM.. Guinea pig anyone?
Hi, people!

Within that package from Nathan F, I'd say that only his iceplaces script is somewhat relevant.

Unfortunately, the syntaxes of the two wm's are different:
icewm uses

Code: Select all

prog "name of program" "name of icon" executable
whereas jwm uses

Code: Select all

<Program label="name of program" icon="name of icon">executable</Program>
The icewm menu is a kind of csv file, whereas the jwm menu is a kind of XML file.
And maybe Geany is using its own syntax as well.

So, here are a few alternatives:
1) Make your "recent" files longer
In Geany, go to:
Menu->Edit->Preferences->Files tab->Varia->Number of recent files
Put in a big number in the little rectangle and click "Apply", then "Validate".

2) Regroup your favorite text files in a "Favorites" folder such as
/root/my-documents/Favorites
You can simply go there through ROX and double-click on a document to
bring it up in Geany.

3) Create /root/my-documents/Favorites folder as in # 2) above.
Open file /root/.gtk-bookmarks in Geany
set your cursor in line 1
push down the existing list one line with a carriage return
Go back to line 1 and type: file:///root/my-documents/Favorites
Don't touch anything else.
Save file /root/.gtk-bookmarks.
(Sorry for being overly simplistic, but I'd rather be that, so everybody understands.)
Now every time you'll click on "Open file" in Geany or Abiword, that's the first folder you'll see. It should be easy enought from there to click on your desired file.

4) In Geany, go to:
Menu->Edit->Preferences->Start-up->Start-up
Tick the first rectangle at the top of the panel.
At the bottom of the panel, click "Apply" and then "Save".
Close and re-open Geany.

Now open all your favorite files in Geany. They will line up in a series of tabs.
Close Geany again.
Next time you open Geany, your favorites files will be there for you. :)

These solutions are not perfect, but they're certainly better than the existing situation.

As an aside, Geany seems to have its own folder browser, I activated it in plugins,
but no new item showed up in any sub-menu.

BFN.

musher0

Posted: Wed 28 Aug 2013, 20:25
by Semme
Uh, Rope.. Incase you hadn't noticed- it's-4-U! :lol:

Posted: Sun 17 May 2015, 04:28
by Rope
Oh sorry, I lost this thread!
Thanks for the suggestions.