pysukeban Runs on following environmnent.
- Mac installed Homebrew
- Ubuntu (Linux)
- CentOS7
- MSYS2 installed Window10 PC
- Raspbian Gnu/Linux 9 (Stretch)
- Raspbian Gnu/Linux 10 (Buster)
- Oracle Linux 8.4
-
To install required libraries, open terminal and execute following command line.
sh setup.sh
-
add X11 configuration. add following lines to
/etc/X11/vncserver-virtual.conf
file.Section "Extensions" Option "Composite" "Enable" EndSection
-
restart raspberry pi.
sudo reboot
-
Run following command on raspberry pi to support transparent window.
xcompmgr -c &
-
Run
./bin/gtk3_ohp.py
A transparent window with red frame will be displayed. You can draw figure with your mouse or pen.
- Basics
Operation | Key |
---|---|
Undo | Ctrl-z, Command-z |
Redo | Ctrl-y, Command-y |
Paste image | Ctrl-v, Command-v |
Delete all | Ctrl-d, Command-d |
Minimize, maximize window | Ctrl-f or Command-f |
- Page operations
Operation | Key |
---|---|
Next page | Ctrl-n Command-n Ctrl-tab Command-tab |
Previous page | Ctrl-p Command-p Ctrl-Shift-tab Command-Shift-tab |
Insert a page after | Ctrl-Shift-n Command-Shift-n Ctrl-t Command-t |
Insert a page before | Ctrl-Shift-p Command-Shift-p |
Move to Nth page | Ctrl-{0-9}, Command-{0-9} |
- change current text, line color
Color | Key |
---|---|
Red | Shift-r |
Navy | Shift-n |
Green | Shift-g |
Pink | Shift-p |
Black | Shift-b |
White | Shift-w |
Yellow | Shift-y |
Purple(Murasaki in Japanese) | Shift-m |
Orange | Shift-o |
Aqua | Shift-a |
width of line and font size : 1 - 9 key
--foreground-color
pen, text color (comma separated three values between 0 and 1.0. default0,1,0
)--background-color
background color (comma separated three values between 0 and 1.0. default1,1,1
)--opaque
use opaque background color. (default transparent)--line-width
width of pen (default5
)--font
font name
- Bookmarklet version
- Draw on Web pages
Copyright (C) 2020-2021 Takashi Masuyama
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Takashi Masuyama < mamewotoko@gmail.com > https://mamewo.ddo.jp/