LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2021, 12:10 AM   #1
thekingofravens
LQ Newbie
 
Registered: Dec 2021
Location: WA
Posts: 2

Rep: Reputation: Disabled
Post Ideas for screen ruler on Wayland


I am thinking of writing a program which behaves similarly to https://github.com/bluegrams/ScreenRuler, but works natively in Linux. However, my understanding of Wayland is that only the compositor itself could perform such an action.

Is there a way that software could interact with the entire screen in Wayland in a way that works across different compositors (GNOME, KDE, etc)? Or am I correct that a code would have to be written for each compositor it interacted with?
 
Old 12-08-2021, 01:11 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,034

Rep: Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344Reputation: 7344
Hi, and welcome here, at LQ,


for ubuntu there is a package named screenruler and I guess that is already available for other distros too. Is this what you are looking for?
 
Old 12-08-2021, 01:36 AM   #3
thekingofravens
LQ Newbie
 
Registered: Dec 2021
Location: WA
Posts: 2

Original Poster
Rep: Reputation: Disabled
I think that is the old gnome-screenruler project: https://gnomecoder.wordpress.com/screenruler/

However this doesn't seem any better than Kruler. Both really just don't look good to me and I want to try and make a better one, something with the polish of a modern gnome application. My main goal was trying to figure out what is involved in drawing over the entire screen in Wayland. I was wondering if there is a simple way to achieve that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing a 'ruler' from PDF file TheLexx Linux - Software 3 01-10-2018 02:59 PM
[SOLVED] I hunt for a ruler which stays at the surface of the screen - any ideas? TheBigMing Linux - Newbie 4 05-03-2016 11:59 AM
I want Openoffice to have preset ruler indentations newbiesforever Linux - Software 2 11-20-2006 12:17 PM
Desktop Ruler for angle measurement fabianrios Linux - Desktop 3 09-16-2006 12:06 AM
Virtual Ruler Like App For Reading LinuxGeek Linux - Software 2 05-29-2005 12:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration