Bookmarks/Contacts/Notes gtkdialog script

Miscellaneous tools
Post Reply
Message
Author
User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

Bookmarks/Contacts/Notes gtkdialog script

#1 Post by dejan555 »

This is a bash/gtkdialog script I've made for myself but maybe others might find it usefull.
Like it says in the title, it's used to save links/phone numbers/notes
It uses sqlite3 so all data is stored inside one database (or you can create/load more separate ones)

Just save in executable path or somewhere you can just click on it to run.
Remove fake .gz extension and make executable

Code: Select all

wget -O mylinks.gz "http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=80614"
mv mylinks.gz mylinks
chmod +x mylinks
./mylinks
Code suggestions are always welcome or post your own variations.
Attachments
mylinks.gz
Remove fake .gz, make executable
(16.59 KiB) Downloaded 372 times
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Thanks!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#3 Post by ASRI éducation »

musher0 wrote:Thanks!
Bonjour musher0.
Je ne comprends pas le message de dejan555. Peux-tu le traduire sur le forum fr.
Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#4 Post by Bert »

Hi dejan555,

I really like this handy utility! Great work.

Here's an internationalized version. (gettext'ed)

What's the advantage of using the sql database?

Thanks!
Attachments
Mylinks_Dutch(nl)_language_file.pet
(1.77 KiB) Downloaded 298 times
mylinks1.png
(33.79 KiB) Downloaded 366 times
mylinks2.png
(26.63 KiB) Downloaded 358 times
mylinks4.png
(23.48 KiB) Downloaded 369 times
mylinks-int.gz
gettext'ed version of "mylinks", fake .gz
(17.95 KiB) Downloaded 294 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#5 Post by dejan555 »

Hi Bert, thanks for adding gettext.
Advantage is that all data is kept in the same file and it's easier to manage inside app then having it use flat files.
sqlite is also small and fast and doesn't need to have daemon running for fetching/storing data like other big databases and already comes with puppy.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

davec51
Posts: 530
Joined: Thu 13 Apr 2006, 22:31
Location: Virginia

Mylinks

#6 Post by davec51 »

Thanks for a lovely little program. I has just what I want and none of the complications I don't.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#7 Post by smokey01 »

I was wondering if it would be possible use gtkdialog as a front end for SQLite. It looks like you have done a pretty good job here. It would be great if it had a bit more flexibility so other databases could be created.
SQLite is pretty cool but is a little difficult to drive from the command line and not all that pretty. Maybe YAD is another possibility.
I wonder how difficult this would be?

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#8 Post by slavvo67 »

Dejan555 has not been around for a while, I think. Another loss to Puppy. Very interesting idea, though, Smokey01. Maybe a new thread on this subject would generate more interest.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post by musher0 »

slavvo67 wrote:Dejan555 has not been around for a while, I think. Another loss to Puppy. Very interesting idea, though, Smokey01. Maybe a new thread on this subject would generate more interest.
Hi slavvo67.

I have a hunch that he may be part of the team behind the new Chalet OS Linux.
I do not know for sure, nothing objective; it just looks like his style and he's roughly
from that area of the world.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#10 Post by dejan555 »

Ah, I see that the ChaletOS author has the same name but that's not me.
And it's based on xubuntu! That would so not be my choice :lol:
This is the first time I've heard about this OS.

smokey01, I don't think it would be perfect, but if you wanted a specific app that's simple enough I guess it can be done.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Pelo

password ? which one ?

#11 Post by Pelo »

password ? which one ?

learnhow2code

Re: Bookmarks/Contacts/Notes gtkdialog script

#12 Post by learnhow2code »

dejan555 wrote:

Code: Select all

wget -O mylinks.gz "http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=80614"
mv mylinks.gz mylinks
chmod +x mylinks
./mylinks
Code suggestions are always welcome or post your own variations.
this is a really great idea. things i would change:

* preserve the filename instead of naming as mylinks (may require a different url, or even two)
* at least preserve the attach id in the filename
* check if the .gz is really fake
* possibly check for #! in first line before making executable

this is probably overcomplicating it. but its a great idea and these are ways to improve it. if i did it myself, i would do it in fig, but when it can be done easily in bash it probably should be. (then python is not required to run it.)

Post Reply