Python Screen ruler

Miscellaneous tools
Post Reply
Message
Author
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

Python Screen ruler

#1 Post by Geoffrey »

I came across this simple python script for a on screen ruler, should be handy for aligning things.
works quite well, pressing H or V on the keyboard will turn the ruler horizontal or vertical, can also be re-sized with the mouse.

You need python installed to use this app.

edit: Reduced the width of the ruler, image shows two rulers the top one is undecorated, to close pyruler press "q" to quit.

Image
Attachments
pyruler.pet
new pet reduced width of ruler, if you have already downloaded it do so again
(5.97 KiB) Downloaded 476 times

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#2 Post by RSH »

Hello Geoffrey,

very nice tool. I have downloaded and i will use it. What do you think about to add a right-click option, just to load and save positions and sizes of the rulers?

RSH

Edit: and please tell me, how can i make attached pictures shown like yours and not attached to download. Please...
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#3 Post by Geoffrey »

RSH wrote:Hello Geoffrey,

very nice tool. I have downloaded and i will use it. What do you think about to add a right-click option, just to load and save positions and sizes of the rulers?

RSH

Edit: and please tell me, how can i make attached pictures shown like yours and not attached to download. Please...
Hi RSH,

How to insert the image, the image I have is on my dropbox online storage and it is just a link added like this " [img]http://image_url[/img] " without the quotes.

Though don't make the picture to large as not everyone will be able to view it, the one in my post is only 700px × 438px

As for the Python script ruler it is just something I found online, I have tried changing a few things with it but what ya see is what ya get.

I just thought it would be handy to align things not really meant to be permanent.

if you want to add a icon on the task-bar for it so it's accessible at all times then edit fbpanel configuration to look like this.

I'm assuming you are using openbox with fbpanel.

Geoffrey
Attachments
pyruler_taskbar.jpg
(38.63 KiB) Downloaded 720 times

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#4 Post by Subito Piano »

No dead threads in Puppyland!! :)

Just found this -- much appreciated, love the small size.

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#5 Post by phat7 »

Subito Piano wrote:Just found this -- much appreciated, love the small size.
You can keep it. Size is not everything.

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#6 Post by Subito Piano »

Hmm -- this coming from someone whose username is phat! :lol:

Just yanking your chain...i use LibreOffice and T-bird, so i agree with you there; I just don't happen to need a screenruler except on occasion, so this one fills the bill for me.

Post Reply