Skip to content

extrememicro/DrawOnYourScreen2

 
 

Repository files navigation

Draw On Your Screen 2

image


Buy Me A Coffee

Orginally forked from: Abakkk

Start drawing with Super+Alt+D or with your preferred shortcut!

Then save your beautiful work by taking a screenshot.

Features

  • Basic shapes (rectangle, circle, ellipse, line, curve, polygon, polyline, text, image, free)
  • Basic transformations (move, rotate, resize, stretch, mirror, inverse)
  • Smooth stroke
  • Draw over applications
  • Keep drawings on desktop background with persistence (notes, children's art ...)
  • Multi-monitor support
  • Stylus and Multi mouse Pointers Support
  • Export to SVG

Development Goals

  • Add Smooth Tool
  • Improve Move and Resize Stability
  • Improve UI for touch screens
  • Improve Perfomance and Stability
  • Reorganize the code for better Maintainability

Installation 1

  1. Install it from GNOME Extensions

Installation 2

  1. Clone this repository
  2. Place the directory (the one that contains metadata.json) in ~/.local/share/gnome-shell/extensions
  3. Change the directory name to [email protected]
  4. You might wanna save the gsettings too, running:
sudo cp ~/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.draw-on-your-screen.gschema.xml \
  /usr/share/glib-2.0/schemas/ &&
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
  1. Xorg: press alt + F2, type r and then OK to restart gnome-shell
    Wayland: restart session
  2. Enable the extension with GNOME Extensions or GNOME Tweaks
  3. Super + Alt + D to test
  4. Click here to say it doesn't work

Tips and tricks

  • Power is nothing without control:

The Ctrl key provides an extra functionality for each tool.

Range of Ctrl key possibilities

  • Draw arrows:

Intersect two lines and curve the second thanks to the Ctrl key.

How to draw an arrow

  • Duplicate an element:

Hold the Shift key while starting moving.

How to duplicate an element

  • Insertable images:

You can insert images (jpeg, png, svg) in your drawings. By default images are sought in ~/.local/share/draw-on-your-screen/images/ but the location is configurable in the preferences. Another way is to copy-past the images from Nautilus or any clipboard source by using the usual Ctrl + V shortcut inside the drawing mode.

How to add images from Nautilus

  • Eraser and SVG:

There is no eraser in SVG so when you export elements made with the eraser to a SVG file, they are colored with the background color, transparent if it is disabled. See “Add a drawing background” or edit the SVG file afterwards.

  • Screenshot Tool extension:

Screenshot Tool is a convenient extension to “create, copy, store and upload screenshots”. In order to select a screenshot area with your pointer while keeping the drawing in place, you need first to tell DrawOnYourScreen to ungrab the pointer (Ctrl + Super + Alt + D).

  • Color Picker extension:

If the GNOME Shell built-in color picker is too basic for you, have a look at the Color Picker extension, which let's you select the pixel accurately, preview the color and adjust its values. Once installed and enabled, it will be transparently integrated into DrawOnYourScreen.

Color Picker extension in action

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.8%
  • CSS 1.2%