zhrexl / drawonyourscreen2 Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Hey, I've seen a short note in README.md that touch support is ... planned?
Any chance to know if/when this can be implemented.
I'm looking myself into the code but this is completely new field - I don't even know where to start.
Thanks for make drawOnYourScreen works at Gnome 42.
However, is there a way to change color instead of using default 9 color?
And how to change default palette size?
Hi,
This tool seems great, it was recomended to me for the usecase of drawing on the screen before taking a screenshot.
In this context I would find it super useful to be able to highlight things. While a dedicated highlight tool would be amazing, I think that might not be necessary to get started: I was thinking just being able to use a semi-transparent color would be enough.
Is there anyway of adding a transparent color to the palette ? Any pointers as to how to do this ? If necessary I'm okay making changes in the code to get it to work.
What are the main obstacles to doing this?
Best,
DOYS 12.7 (commit ab351358210092c3f977b8206afd3e2eab93d209)
Gnome 44.4
The colour picker tool does not work properly and causes one major bug:
When you select the tool and left-click to select a colour it does register and pick the colour seen, but the tool never disappears:
the colour picker tool still remains active after exiting drawing mode and "hijacks" the mouse / most keyboard keys. Making it impossible to click with the mouse or send individual any alpha numeric key presses.
The same thing happens when you enter Drawing mode, choose the colour picker tool and exit drawing mode.
Shortcuts to select another tool (like polygon) do change the tool and let you draw again, but only in drawing mode, and do not remove the colour picker tool.
You are able to use key-combinations outside of drawing mode but not to type anything:
such as Super + Alt + D to re-enter drawing mode and use any keyboard input again
Only way to reclaim the mouse is to logout via a shortcut or shutdown by long pressing the power button.
DOYS Version: 3
GNOME: 42.5
Ubuntu: 22.04 LTS
I press Super+Alt+D and nothing happens or it behaves as Alt+D to whatever program is open.
Hi, can you add gnome 42 compatibility? thx
Hey guys, trying to install this extension in Kali Linux.
When i'm trying to enable the extension from the Extensions section, i get the following error message:
class heritage OsdWindow.OsdWindowConstraint is not an object or null
I tried both methods of instalation:
Both didn't work to me
If I try to follow the link provided in the README I get
404 - Page not Found
We couldn't find the page you were looking for, /extension/4937/draw-on-you-screen-2/
I also couldn't find the extension using the GNOME Extensions Search
I'm not sure if this is because of the new GNOME 45 release or intendet.
Hello,
The URL https://extensions.gnome.org/extension/4937/draw-on-you-screen-2/ returns 404 not found. Is this an error, or is there an alternative?
Thanks!
Hi,
First of all, thank youh for this awesome plugin 💯
Please could you add the arrow shape to the list of available object/shapes usable ?
I would love to submit it as a PR but I am not a gnome dev and I do not really understand the code I checked (and I hate JS)
So I will hope you guys could help to add this..
Thanks a lot again!
Hello, I think it would be great if I could use "eraser" for example by right-clicking, I can remove drawing by Delete, but it will remove whole plating, using eraser I could remove only part of drawing.
The settings of extension [email protected] had an error:
SyntaxError: import declarations may only appear at top level of a module
Stack trace:
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
Is there a way to use this extension with a touchscreen on wayland ?
Is there a blur tool or blur fill option available in this extension currently or any future plans to add that functionality?
This will allow huge drawings and improve note taking.
Would be great to configure your own default tool & color, e.g. I always use the rectangle in orangered.
Some of the shortcuts are not working. Once I enter drawing mode, I can't leave drawing mode because the shortcut mode is not working.
I'd like to suggest a speech bubble option: You just point and click somewhere and a speech bubble opens at that point where you can write/comment on something.
Readme right now is not updated and doesnt reflect DOYS2.
Ctrl key and associated shortcuts like ctrl+c, ctrl+v stop working after you leave the drawing mode, have to logout and login again or restart to make them work again
Running Pop!os 22.04
Gnome 42.5
Hi and thanks again! :)
The quickesettings toggle is very useful, but it's not for me. I'd appreciate a settings option to turn it off. Thanks! :)
I had this extension working perfectly on my PC (Ubuntu 22 LTS) then my SSD failed so I had to re-install from scratch and now I can't find the extension on the Gnome Shell Extensions webpage anymore?
Hi, GNOME 46 has been released, and, again and unfortunately, there seems to be more to do than "just bump GNOME version in metadata.json". I get:
TypeError: (intermediate value).StaticColor is undefined
shown in the extensions app. I don't know where to look for more detailed infos though, unfortunately.
what should i do
gnome-shell --version
GNOME Shell 42.9
-Computer-
Processor : AMD Ryzen 7 5700G with Radeon Graphics
Memory : 14188MB (2251MB used)
Machine Type : Desktop
Operating System : Ubuntu 22.04.3 LTS
User Name : iyagi (iyagi)
Date/Time : Sun 07 Jan 2024 05:44:44 AM KST
-Display-
Resolution : 3440x1440 pixels
OpenGL Renderer : (Unknown)
X11 Vendor : The X.Org Foundation
-Audio Devices-
Audio Adapter : HDA-Intel - HD-Audio Generic
Audio Adapter : USB-Audio - USB PnP Audio Device(EEPROM)
Audio Adapter : HDA-Intel - HD-Audio Generic
-Input Devices-
Power Button
Power Button
Video Bus
USB PnP Audio Device(EEPROM)
Logitech USB Keyboard
Logitech USB Keyboard
MSI MYSTIC LIGHT
INSTANT USB GAMING MOUSE
INSTANT USB GAMING MOUSE Keyboard
HD-Audio Generic HDMI/DP,pcm:3
HD-Audio Generic HDMI/DP,pcm:7
HD-Audio Generic HDMI/DP,pcm:8
HD-Audio Generic HDMI/DP,pcm:9
HD-Audio Generic HDMI/DP,pcm:10
HD-Audio Generic HDMI/DP,pcm:11
HD-Audio Generic Front Mic
HD-Audio Generic Rear Mic
HD-Audio Generic Line
HD-Audio Generic Line Out Front
HD-Audio Generic Line Out Surround
HD-Audio Generic Line Out CLFE
HD-Audio Generic Front Headphone
-Printers-
No printers found
-SCSI Disks-
ATA Crucial_CT525MX3
VendorCo ProductCode
-Scripting Languages-
Gambas3 (gbr3) : Not found
Python : Not found
Python2 : Not found
Python3 : 3.10.12
Perl : 5.34.0
Perl6 (VM) : Not found
Perl6 : Not found
PHP : Not found
Ruby : Not found
Bash : 5.1.16(1)-release
-Compilers-
C (GCC) : Not found
C (Clang) : Not found
D (dmd) : Not found
Gambas3 (gbc3) : Not found
Java : Not found
CSharp (Mono, old) : Not found
CSharp (Mono) : Not found
Vala : Not found
Haskell (GHC) : Not found
FreePascal : Not found
Go : Not found
-Tools-
make : Not found
GDB : (Ubuntu 12.1-0ubuntu1~22.04) 12.1
strace : 5.16
valgrind : Not found
QMake : Not found
CMake : Not found
Gambas3 IDE : Not found
-Environment Variables-
GJS_DEBUG_TOPICS : JS ERROR;JS LOG
USER : iyagi
XDG_SESSION_TYPE : wayland
SHLVL : 0
HOME : /home/iyagi
DESKTOP_SESSION : ubuntu
GIO_LAUNCHED_DESKTOP_FILE : /usr/share/applications/hardinfo.desktop
GTK_MODULES : gail:atk-bridge
GNOME_SHELL_SESSION_MODE : ubuntu
MANAGERPID : 1592
SYSTEMD_EXEC_PID : 1817
DBUS_SESSION_BUS_ADDRESS : unix:path=/run/user/1000/bus
GIO_LAUNCHED_DESKTOP_FILE_PID : 6108
IM_CONFIG_PHASE : 1
WAYLAND_DISPLAY : wayland-0
LOGNAME : iyagi
GTK_IM_MODULE : uim
_ : /usr/bin/gnome-session
JOURNAL_STREAM : 8:35752
XDG_SESSION_CLASS : user
USERNAME : iyagi
GNOME_DESKTOP_SESSION_ID : this-is-deprecated
PATH : /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
SESSION_MANAGER : local/iyagi:@/tmp/.ICE-unix/1776,unix/iyagi:/tmp/.ICE-unix/1776
INVOCATION_ID : f2abde2ea8ce42afaff50c10c1801a9d
XDG_RUNTIME_DIR : /run/user/1000
XDG_MENU_PREFIX : gnome-
GNOME_SETUP_DISPLAY : :1
DISPLAY : :0
LANG : en_US.UTF-8
XDG_CURRENT_DESKTOP : ubuntu:GNOME
XDG_SESSION_DESKTOP : ubuntu
XMODIFIERS : @im=uim
XAUTHORITY : /run/user/1000/.mutter-Xwaylandauth.TIL6G2
SSH_AGENT_LAUNCHER : gnome-keyring
SSH_AUTH_SOCK : /run/user/1000/keyring/ssh
SHELL : /bin/bash
QT_ACCESSIBILITY : 1
GDMSESSION : ubuntu
GJS_DEBUG_OUTPUT : stderr
QT_IM_MODULE : uim
PWD : /home/iyagi
XDG_DATA_DIRS : /usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
CLUTTER_IM_MODULE : xim
XDG_CONFIG_DIRS : /etc/xdg/xdg-ubuntu:/etc/xdg
This is an old issue that blocks this extension of being used from a mobile device. What i'm thinking right now is
The button on quick settings must be an option in preferences!
Is this the best option?
The drawing takes time to appear the first time and when it appears it does not follow what the mouse pointer drew.
Observe the mouse pointer: in the example below, the first line on the left took a while to appear, the others appear as they are drawn.
Versions:
What should I do if I call functions (enter/exit painting mode, enter/exit mouse keyboard...) through a script instead of through shortcut keys?
Hey guys! i'm using this amazing tool in my Kali Linux (cloned from github, not from gnome-extensions) and I would like to know if there is a way to setup a default settings when I start the tool.
And I'm not able to access to the settings screen that the old version has (in gnome-extensions)
In this menu:
It would be good if there was a way to activate without the keyboard commands.
Gnome 45 introduced new standards for the extension API (https://release.gnome.org/45/developers/index.html#gnome-shell-extensions) which is fixed in main
However, several major distros are still shipping older version of Gnome (Ubuntu 22 LTS, Fedora 39, amongst others). These users can no longer use this extension. At the current time, the way to install this extension on older Gnome versions is something like the following:
cd .local/share/gnome-shell/extensions/
git clone https://github.com/zhrexl/DrawOnYourScreen2.git [email protected]
cd [email protected]
## now go back in time to before the Gnome45 changes were merged:
git reset --hard b8567d1f
A suggestion is to have an official branch, (possibly named main/preGnome45support
)that allows extension releases that are compatible with Gnome < 45. As this plugin is pretty stable, and doesn't have a great number of commits, it shouldn't become too much of an issue. At the time of running, there is only one commit that would need to be cherry-picked on to the new branch.
Hi
I just saw your job and it was exactly what I wanted all along
I'm just wondered that are you interested in adding Farsi (Persian Language) to your program?
I can help in that case
Hey guys,
Thanks for the excellent tool!
Is there a way to create an ellipse that's not a circle? I'm fairly certain there is, but I can't quite figure out how...
Thanks in advance!
The extension is not available in the gnome repository and the link provided is broken : https://extensions.gnome.org/extension/4937/draw-on-you-screen-2/
Right now, I have 1 big screen (screen2) and 1 small (screen1) screen on my PC. Screen2 is set as "primary screen" in Gnome.
DrawOnYourScreen2 only allow me to draw sometime on my screen1 and sometime on my screen2 without explanations.
I'd like to have the choice Drawing on screen1 / screen2 (/Extended screen ?) in the contextual menu.
This will allow DOYS2 to better follow GNOME HIG with libadwaita.
When i try to install it from gnome extensions its not showing in there.
I also try to install this manually. Its installed but its not working. Can you fix this?
A smooth tool will allow smoothing any draw object not only the last drawn.
Hello,
thanks for providing useful extension to Gnome.
In 2 in 1 laptops, and it can happen that a user does not want/have to access to keyboard.
so it will be awesome if the extension has active extension on Top Bar.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.