Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Gpasteboard: clipboard program for text and images.
Gpasteboard: clipboard program for text and images.
I need clipboard, and I want it almost complete.
After some search, I found Gpaste for my desktop.
But a feature is missing, the preview of copied images.
So I decided to write by myself a simple frontend (about 190 lines of code).
Here is the screenshot:
(The link: http://i64.tinypic.com/34zng9e.png)
Ok, the image is too big please open it in another window of your browser.
I can empty the history, delete each item and of course choose any item.
What do you think?
After some search, I found Gpaste for my desktop.
But a feature is missing, the preview of copied images.
So I decided to write by myself a simple frontend (about 190 lines of code).
Here is the screenshot:
(The link: http://i64.tinypic.com/34zng9e.png)
Ok, the image is too big please open it in another window of your browser.
I can empty the history, delete each item and of course choose any item.
What do you think?
Last edited by frank38 on 2018-06-22 06:19, edited 4 times in total.
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: My frontend to Gpaste.
NO, you should fix it and use a thumb nail. Or just use plain text and a link toOk, the image is too big please open it in another window of your browser.
the image:
Attachments, How to post a screen shot and use code boxes
And :
Please learn to thumbnail images
Thank you
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
Re: My frontend to Gpaste.
The image I uploaded was the right size, but the hosting site enlarged it.
----------
Uploaded another image at 640x480, nothing changed.
----------
Uploaded another image at 640x480, nothing changed.
Re: My frontend to Gpaste.
look, no offence, it's your code and you can do whatever you want, but why start a thread about it when you don't share it?frank38 wrote:It's here, in my PC.debiman wrote:um.
where's the code?
Re: My frontend to Gpaste.
I have yet to add a couple of line of code.debiman wrote:look, no offence, it's your code and you can do whatever you want, but why start a thread about it when you don't share it?
Re: My frontend to Gpaste.
Can it handle images? I don't think so.pawRoot wrote:From what i remember clipit does the same thing
Re: My frontend to Gpaste.
Well, I think the program is finished.
I join a new updated screenshot (please click on the link below):
(Here is the same at bigger size: http://i65.tinypic.com/zjtmi9.jpg)
The first picture has been resized: it's a 1920x1080 image.
In the second element of the history:
- [...] that means the element is longer
- and before the newline character
Then:
- the vertical scrollbar
- the program closes after clicking on one item
- a dialog to confirm to empty the history
I join a new updated screenshot (please click on the link below):
(Here is the same at bigger size: http://i65.tinypic.com/zjtmi9.jpg)
The first picture has been resized: it's a 1920x1080 image.
In the second element of the history:
- [...] that means the element is longer
- and before the newline character
Then:
- the vertical scrollbar
- the program closes after clicking on one item
- a dialog to confirm to empty the history
Re: My frontend to Gpaste.
There is a bug in the Gpaste daemon: sometime an image is replaced by another one.
I've decided to write everything adding new features, such as persistent elementes. At the moment the program is 25% complete.
I've decided to write everything adding new features, such as persistent elementes. At the moment the program is 25% complete.
Last edited by frank38 on 2017-11-11 19:06, edited 2 times in total.
Re: My frontend to Gpaste.
Look's promising. I've used several clipboard applets including clipit, over the years. It's an indispensable function, to me. Some are better than others, but have yet to find one that does all things I expect, satisfactorily.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.
Re: My frontend to Gpaste.
^ yes, let's be encouraging.
maybe op will share the code one day, finally giving meaning to this monologue...
+1!
keep on coding! you can do it!
maybe op will share the code one day, finally giving meaning to this monologue...
+1!
keep on coding! you can do it!
Re: My frontend to Gpaste.
Attached is the early python program:
http://www.mediafire.com/file/ix6dp9an8 ... board5.zip
md5: 83618807cc3c1039a5ff6ca2fe54b8e9
It's the same program I've been using.
http://www.mediafire.com/file/ix6dp9an8 ... board5.zip
md5: 83618807cc3c1039a5ff6ca2fe54b8e9
It's the same program I've been using.
Re: My frontend to Gpaste.
At the moment the daemon is finished: it stores text and images.
Follow a long testing...
I think I'll integrate it into the applet (almost done), just not to have many processes.
Follow a long testing...
I think I'll integrate it into the applet (almost done), just not to have many processes.
Re: My frontend to Gpaste.
The program is finished.
The project consists of two program, the applet/daemon and the frontend.
The applet launches the daemon, and can stop/restart it.
Actually the frontend looks exactly like the previous one.
After cleaning up the code, I'll upload the project.
The project consists of two program, the applet/daemon and the frontend.
The applet launches the daemon, and can stop/restart it.
Actually the frontend looks exactly like the previous one.
After cleaning up the code, I'll upload the project.
Re: My frontend to Gpaste.
The program has been uploaded here:
http://www.mediafire.com/file/ao9byw8pa ... board6.zip
md5: ff7af71bcc6c5c9d34dfb9af8f229f0e
No preview because the frontend is still the same.
The program use the gtk clipboard, so I don't know if it is usable with other widgets.
In the next release I will add:
- persistent element
- a button to save each image
- the possibility to limit the element in the history (at the moment no limit)
- preview for each text element
- some dialogs
Suggestions?
http://www.mediafire.com/file/ao9byw8pa ... board6.zip
md5: ff7af71bcc6c5c9d34dfb9af8f229f0e
No preview because the frontend is still the same.
The program use the gtk clipboard, so I don't know if it is usable with other widgets.
In the next release I will add:
- persistent element
- a button to save each image
- the possibility to limit the element in the history (at the moment no limit)
- preview for each text element
- some dialogs
Suggestions?
Re: My frontend to Gpaste.
> The program use the gtk clipboardfrank38 wrote:Suggestions?
please add support for primary selection as well as clipboard.
all clipboards, basically, just like e.g. clipit offers.
pasting from/to my urxvt terminal is absolutely essesntial for me.
also, why not use git and some git web service (don't have to be github)?
Re: My frontend to Gpaste.
The primary clipboard? In my case the history will fill of everything I highlight.debiman wrote: > The program use the gtk clipboard
please add support for primary selection as well as clipboard.
all clipboards, basically, just like e.g. clipit offers.
pasting from/to my urxvt terminal is absolutely essesntial for me.
also, why not use git and some git web service (don't have to be github)?
At the moment I've been developing the program (in fact, I've been rewriting some code of the frontend, and already added some lines of code to the daemon), but a git web service is a good idea.
Re: My frontend to Gpaste.
A lot of difficults occur during the developpement of my project when I decided to manage the images like the text. I got the same issue as Gpaste. I've decided to leave out the images. I really tryed everything, but the result do not change.
Last edited by frank38 on 2017-11-25 09:41, edited 1 time in total.