Showing posts with label screenshot. Show all posts
Showing posts with label screenshot. Show all posts

Wednesday, 15 April 2026

Buat folde dan pindahkan file screenshot ke folder itu

mkdir -p 2026-01-screenshot

mv *2026-01* 2026-01-screenshot/ 2>/dev/null

Tuesday, 5 August 2025

convert pdf ke html

 

Baik, Guru. Convert PDF ke HTML bisa dilakukan supaya kontennya tampil sebagai halaman web biasa (DOM), sehingga Easy Screenshot bisa dipakai dengan anotasi.
Berikut beberapa cara:


1. Pakai pdftohtml (Terminal Ubuntu)

Ubuntu sudah menyediakan paket poppler-utils yang berisi pdftohtml.

Instalasi

sudo apt update
sudo apt install poppler-utils

Convert PDF ke HTML

pdftohtml -c -s input.pdf output.html

Keterangan:

  • -c → menjaga layout (font & gambar tetap posisi mirip)

  • -s → semua halaman digabung menjadi satu HTML panjang

Hasil:

  • output.html → bisa langsung dibuka di Firefox

  • Setelah dibuka, Easy Screenshot akan bisa dipakai dengan anotasi


2. Gunakan LibreOffice (tanpa terminal)

  1. Buka PDF di LibreOffice Draw (biasanya sudah terinstal di Ubuntu).

  2. Pilih File → Export → HTML.

  3. Buka hasilnya di Firefox.


3. Konversi Online (lebih cepat tapi butuh internet)

Misalnya:

Setelah di-convert, buka file .html di Firefox → langsung bisa dipakai Easy Screenshot.


Mau saya buatkan perintah lengkap 1 baris (download + convert + buka di Firefox langsung)?

Atau kamu mau cara offline yang langsung batch (banyak PDF sekaligus)?

Wednesday, 30 July 2025

Backup restore Custom Shortcut

 

Bisa, Guru Duan. Custom shortcut di Ubuntu 24 disimpan di dconf (melalui gsettings).
Kita bisa backup lalu restore nanti.


Backup

# Backup semua custom keybindings ke file
dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > ~/backup-shortcuts.txt

Restore

# Hapus dulu custom lama (opsional, hati-hati)
dconf reset -f /org/gnome/settings-daemon/plugins/media-keys/

# Import lagi
dconf load /org/gnome/settings-daemon/plugins/media-keys/ < ~/backup-shortcuts.txt

Mau saya buatkan skrip kecil backup-shortcuts.sh dan restore-shortcuts.sh biar gampang klik saja?
Atau langsung 1 skrip dengan opsi backup dan restore?

Shortcut Screenshot

Screenshot seluruh layar

    Command: /home/dhwan/.local/bin/wayland-screenshot-effect.sh

    Shortcut: Ctrl+Shift+Print

 

Screenshot window aktif

    Command: /home/dhwan/.local/bin/wayland-screenshot-effectw.sh

    Shortcut: Shift+Super+Print

 

Screenshot pilih area

    Command: /home/dhwan/.local/bin/wayland-screenshot-effecta.sh

    Shortcut: Ctrl+Print

 

 

 

 

Saturday, 26 July 2025

Screnshot Shortcut

 

Thursday, 24 April 2025

Menambahkan shortcut flameshot win+Printsc

Setting > Keyboard > CUstom Shortcuts

name: flameshot
Command: /usr/bin/flameshot gui
Shortcut: Super + Print 



 

 

 

Monday, 20 January 2025

Install Simple Screen Recorder

 $ sudo apt install simplescreenrecorder

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  simplescreenrecorder-lib

The following NEW packages will be installed:

  simplescreenrecorder simplescreenrecorder-lib

0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.

Need to get 1,378 kB of archives.

After this operation, 3,984 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://archive.ubuntu.com/ubuntu noble/universe amd64 simplescreenrecorder-lib amd64 0.4.4-3build4 [31.3 kB]

Get:2 http://archive.ubuntu.com/ubuntu noble/universe amd64 simplescreenrecorder amd64 0.4.4-3build4 [1,347 kB]

Fetched 1,378 kB in 4s (326 kB/s)               

Selecting previously unselected package simplescreenrecorder-lib:amd64.

(Reading database ... 230247 files and directories currently installed.)

Preparing to unpack .../simplescreenrecorder-lib_0.4.4-3build4_amd64.deb ...

Unpacking simplescreenrecorder-lib:amd64 (0.4.4-3build4) ...

Selecting previously unselected package simplescreenrecorder.

Preparing to unpack .../simplescreenrecorder_0.4.4-3build4_amd64.deb ...

Unpacking simplescreenrecorder (0.4.4-3build4) ...

Setting up simplescreenrecorder-lib:amd64 (0.4.4-3build4) ...

Setting up simplescreenrecorder (0.4.4-3build4) ...

Processing triggers for hicolor-icon-theme (0.17-2) ...

Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...

Processing triggers for man-db (2.12.0-4build2) ...

Processing triggers for desktop-file-utils (0.27-2build1) ...


Wednesday, 23 August 2023

install imagemagick jq xclip

 $  sudo apt install imagemagick jq xclip
[sudo] password for dhwan:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
imagemagick is already the newest version (8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3).
imagemagick set to manually installed.
The following additional packages will be installed:
  libjq1 libonig5
The following NEW packages will be installed:
  jq libjq1 libonig5 xclip
0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
Need to get 375 kB of archives.
After this operation, 1.148 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://id.archive.ubuntu.com/ubuntu jammy/main amd64 libonig5 amd64 6.9.7.1-2build1 [172 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu jammy/main amd64 libjq1 amd64 1.6-2.1ubuntu3 [133 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu jammy/main amd64 jq amd64 1.6-2.1ubuntu3 [52,5 kB]
Get:4 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 xclip amd64 0.13-2 [18,3 kB]
Fetched 375 kB in 3s (136 kB/s)  
Selecting previously unselected package libonig5:amd64.
(Reading database ... 222111 files and directories currently installed.)
Preparing to unpack .../libonig5_6.9.7.1-2build1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.7.1-2build1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../libjq1_1.6-2.1ubuntu3_amd64.deb ...
Unpacking libjq1:amd64 (1.6-2.1ubuntu3) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.6-2.1ubuntu3_amd64.deb ...
Unpacking jq (1.6-2.1ubuntu3) ...
Selecting previously unselected package xclip.
Preparing to unpack .../xclip_0.13-2_amd64.deb ...
Unpacking xclip (0.13-2) ...
Setting up xclip (0.13-2) ...
Setting up libonig5:amd64 (6.9.7.1-2build1) ...
Setting up libjq1:amd64 (1.6-2.1ubuntu3) ...
Setting up jq (1.6-2.1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

install aplikasi screenshot flameshot

 $ sudo apt install flameshot
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  grim
The following NEW packages will be installed:
  flameshot grim
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 567 kB of archives.
After this operation, 2.289 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 flameshot amd64 11.0.0-2 [551 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 grim amd64 1.4.0+ds-1 [16,1 kB]
Fetched 567 kB in 4s (153 kB/s)  
Selecting previously unselected package flameshot.
(Reading database ... 222055 files and directories currently installed.)
Preparing to unpack .../flameshot_11.0.0-2_amd64.deb ...
Unpacking flameshot (11.0.0-2) ...
Selecting previously unselected package grim.
Preparing to unpack .../grim_1.4.0+ds-1_amd64.deb ...
Unpacking grim (1.4.0+ds-1) ...
Setting up flameshot (11.0.0-2) ...
Setting up grim (1.4.0+ds-1) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...