Monday 4 March 2024

convert amr to mp3 terminal ubuntu

 ffmpeg -i sample.amr sample.mp3

Tuesday 20 February 2024

To set transparency for a signature or any other object in LibreOffice

 To set transparency for a signature or any other object in LibreOffice, follow these steps:


Impress or Draw (for images):

Click Tools > Color Replacer.

In the dialogue that opens, click the Pipette.

Select the part of the image you want to replace.

Click the part of the image with the yellow background.

Keep the selection as Transparent or choose another color.

Click the Replace button and then close the dialogue.

Draw (for signatures):

To remove the signature, draw a free-form line over it.

Select both the line and the image.

Click Shape > Subtract.

If you want a clean signature:

Create a new signature without attachments.

Set the background to transparent.

If you have only one template with the signature, you might need a third-party image editor like GIMP to achieve transparency1.

Remember that LibreOffice is primarily a vector graphic editor, not a pixel graphic editor. For more complex image editing tasks, consider using dedicated tools like GIMP, Krita, or paint.NET1.

Sunday 11 February 2024

Use AppImage in UBuntu

 To use AppImage in Ubuntu, you need to12:

  1. Install FUSE, a utility that some AppImage apps require to run. You can install it with the command sudo apt install fuse.
  2. Download the .appimage package of the software you want to use. There are many software that are available in AppImage format, such as GIMP, Krita, etc.
  3. Make the .appimage file executable. You can do this by right-clicking on the file, selecting Properties, then Permissions, then checking the box that says Allow executing file as program.
  4. Run the .appimage file by double-clicking on it or by using the command ./filename.appimage.

install fuse

 $ sudo apt install fuse

[sudo] password for dhwan: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following packages were automatically installed and are no longer required:

  apg gnome-control-center-faces gnome-online-accounts libcolord-gtk1

  libfreerdp-server2-2 libgnome-bg-4-1 libgsound0 libgssdp-1.2-0

  libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libntfs-3g89

  librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2

  librygel-server-2.6-2 libvncserver1 mobile-broadband-provider-info

  network-manager-gnome python3-macaroonbakery python3-protobuf

  python3-pymacaroons python3-requests python3-rfc3339 python3-tz rygel

Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:

  libfuse2

The following packages will be REMOVED:

  fuse3 gnome-control-center gnome-remote-desktop

  gnome-shell-extension-desktop-icons-ng gvfs-fuse ntfs-3g ubuntu-desktop

  ubuntu-desktop-minimal xdg-desktop-portal xdg-desktop-portal-gnome

  xdg-desktop-portal-gtk

The following NEW packages will be installed:

  fuse libfuse2

0 upgraded, 2 newly installed, 11 to remove and 178 not upgraded.

Need to get 117 kB of archives.

After this operation, 9.246 kB disk space will be freed.

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

Get:1 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 libfuse2 amd64 2.9.9-5ubuntu3 [90,3 kB]

Get:2 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 fuse amd64 2.9.9-5ubuntu3 [27,0 kB]

Fetched 117 kB in 2s (47,0 kB/s)

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

Removing ubuntu-desktop (1.481) ...

Removing ubuntu-desktop-minimal (1.481) ...

Removing gnome-control-center (1:41.7-0ubuntu0.22.04.8) ...

Removing gnome-remote-desktop (42.7-0ubuntu1) ...

Removing xdg-desktop-portal-gnome (42.1-0ubuntu1) ...

Removing gnome-shell-extension-desktop-icons-ng (43-2ubuntu1) ...

Removing gvfs-fuse (1.48.2-0ubuntu1) ...

Removing ntfs-3g (1:2021.8.22-3ubuntu1.2) ...

Removing xdg-desktop-portal-gtk (1.14.0-1build1) ...

Removing xdg-desktop-portal (1.14.4-1ubuntu2~22.04.1) ...

Removing fuse3 (3.10.5-1build1) ...

update-initramfs: deferring update (trigger activated)

Selecting previously unselected package libfuse2:amd64.

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

Preparing to unpack .../libfuse2_2.9.9-5ubuntu3_amd64.deb ...

Unpacking libfuse2:amd64 (2.9.9-5ubuntu3) ...

Selecting previously unselected package fuse.

Preparing to unpack .../fuse_2.9.9-5ubuntu3_amd64.deb ...

Unpacking fuse (2.9.9-5ubuntu3) ...

Setting up libfuse2:amd64 (2.9.9-5ubuntu3) ...

Setting up fuse (2.9.9-5ubuntu3) ...

Installing new version of config file /etc/fuse.conf ...

update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools (0.140ubuntu13.1) ...

update-initramfs: Generating /boot/initrd.img-6.5.0-15-generic

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

Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.2) ...

Processing triggers for libc-bin (2.35-0ubuntu3.6) ...

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...


Monday 5 February 2024

Pasang Face Unlock di Pixel 3a Android 12 Build SP2A.220505.008

 Requirements​

- Xposed/EdXposed/Lsposed

- Android 11, 12 or 13 DP (may also work on Android 10, but not tested)


Installation​

1. Download Moto Face Unlock 01.03.0312 dari apkmirror: https://www.apkmirror.com/apk/motorola-mobility-llc/moto-face-unlock-4/moto-face-unlock-4-01-03-0312-release/

2. Download the "universalauth-xposed-release.apk" file and install it. Enable the xposed module and reboot.

dari https://github.com/null-dev/UniversalAuth/releases/download/v1.8/universalauth-xposed-release.apk


3 dari Download the "faceunlock-release.apk" file and install it.

https://github.com/null-dev/UniversalAuth/releases/download/v1.8/faceunlock-release.apk


A new app called "Face unlock" should now appear, open it.

Allow the app to download the face unlock libraries when asked.

Please find the APK of version 01.03.0312 of the Moto Face Unlock' app. It is about 33 MB. Press OK when you are ready to import the APK. 

(Import apk Moto Face Unlock 01.03.0312 )


Grant the app permission to unlock your phone when asked.

Enable the accessibility service when asked.

Press the "START SETUP" button to enroll your face. The app will ask you to grant it camera permissions, make sure to select "allow while using the app" if that option is available.

Lock your phone and test that you are able to use face unlock!







Friday 2 February 2024

Gcam AGC crash di Pixel 3a

When starting the camera with the default config, the camera crashes (does not work). Have you additionally configured anything?


fix solution:

after installing the application, you need to long-press the icon to open the settings and change the interface to Pixel 4a 5G

Sunday 28 January 2024

install ubuntu-restricted-extras

 $  sudo apt-get install ubuntu-restricted-extras

[sudo] password for dhwan: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  cabextract chromium-codecs-ffmpeg-extra gstreamer1.0-libav

  gstreamer1.0-plugins-ugly gstreamer1.0-vaapi libavcodec-extra

  libavcodec-extra58 libgstreamer-plugins-bad1.0-0 libmspack0

  libopencore-amrnb0 libopencore-amrwb0 libsidplay1v5 libvo-amrwbenc0

  ttf-mscorefonts-installer ubuntu-restricted-addons unrar

Suggested packages:

  gstreamer1.0-vaapi-doc libcuda1 libnvcuvid1 libnvidia-encode1 sidplay-base

Recommended packages:

  gstreamer1.0-fluendo-mp3

The following packages will be REMOVED:

  libavcodec58

The following NEW packages will be installed:

  cabextract chromium-codecs-ffmpeg-extra gstreamer1.0-libav

  gstreamer1.0-plugins-ugly gstreamer1.0-vaapi libavcodec-extra

  libavcodec-extra58 libgstreamer-plugins-bad1.0-0 libmspack0

  libopencore-amrnb0 libopencore-amrwb0 libsidplay1v5 libvo-amrwbenc0

  ttf-mscorefonts-installer ubuntu-restricted-addons ubuntu-restricted-extras

  unrar

0 upgraded, 17 newly installed, 1 to remove and 189 not upgraded.

Need to get 7.251 kB of archives.

After this operation, 5.246 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 libopencore-amrnb0 amd64 0.1.5-1 [94,8 kB]

Get:2 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 libopencore-amrwb0 amd64 0.1.5-1 [49,1 kB]

Get:3 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 libvo-amrwbenc0 amd64 0.1.3-2 [68,2 kB]

Get:4 http://id.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libavcodec-extra58 amd64 7:4.4.2-0ubuntu0.22.04.1 [5.566 kB]

Get:5 http://id.archive.ubuntu.com/ubuntu jammy/main amd64 libmspack0 amd64 0.10.1-2build2 [39,6 kB]

Get:6 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 cabextract amd64 1.9-3 [23,4 kB]

Get:7 http://id.archive.ubuntu.com/ubuntu jammy/multiverse amd64 ttf-mscorefonts-installer all 3.8ubuntu2 [24,9 kB]

Get:8 http://id.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 chromium-codecs-ffmpeg-extra amd64 1:85.0.4183.83-0ubuntu2.22.04.1 [3.024 B]

Get:9 http://id.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 gstreamer1.0-libav amd64 1.20.3-0ubuntu1 [103 kB]

Get:10 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 libsidplay1v5 amd64 1.36.60-1 [62,5 kB]

Get:11 http://id.archive.ubuntu.com/ubuntu jammy/universe amd64 gstreamer1.0-plugins-ugly amd64 1.20.1-1 [225 kB]

Get:12 http://id.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libgstreamer-plugins-bad1.0-0 amd64 1.20.3-0ubuntu1.1 [489 kB]

Get:13 http://id.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 gstreamer1.0-vaapi amd64 1.20.1-1ubuntu1 [336 kB]

Get:14 http://id.archive.ubuntu.com/ubuntu jammy/multiverse amd64 ubuntu-restricted-addons amd64 26 [3.008 B]

Get:15 http://id.archive.ubuntu.com/ubuntu jammy/multiverse amd64 ubuntu-restricted-extras amd64 67 [3.200 B]

Get:16 http://id.archive.ubuntu.com/ubuntu jammy/multiverse amd64 unrar amd64 1:6.1.5-1 [145 kB]

Get:17 http://id.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libavcodec-extra amd64 7:4.4.2-0ubuntu0.22.04.1 [15,2 kB]

Fetched 7.251 kB in 6s (1.118 kB/s)                                            

Preconfiguring packages ...

Selecting previously unselected package libopencore-amrnb0:amd64.

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

Preparing to unpack .../libopencore-amrnb0_0.1.5-1_amd64.deb ...

Unpacking libopencore-amrnb0:amd64 (0.1.5-1) ...

Selecting previously unselected package libopencore-amrwb0:amd64.

Preparing to unpack .../libopencore-amrwb0_0.1.5-1_amd64.deb ...

Unpacking libopencore-amrwb0:amd64 (0.1.5-1) ...

Selecting previously unselected package libvo-amrwbenc0:amd64.

Preparing to unpack .../libvo-amrwbenc0_0.1.3-2_amd64.deb ...

Unpacking libvo-amrwbenc0:amd64 (0.1.3-2) ...

dpkg: libavcodec58:amd64: dependency problems, but removing anyway as you requested:

 vlc-plugin-video-output:amd64 depends on libavcodec58 (>= 7:4.4).

 vlc-plugin-base:amd64 depends on libavcodec58 (>= 7:4.4).

 obs-studio depends on libavcodec58 (>= 7:4.4).

 mpv depends on libavcodec58 (>= 7:4.4).

 libobs0:amd64 depends on libavcodec58 (>= 7:4.4).

 libgegl-0.4-0:amd64 depends on libavcodec58 (>= 7:4.4).

 libchromaprint1:amd64 depends on libavcodec58 (>= 7:4.4).

 libavformat58:amd64 depends on libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1).

 libavfilter7:amd64 depends on libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1).

 libavdevice58:amd64 depends on libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1).

 ffmpeg depends on libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1).


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

Removing libavcodec58:amd64 (7:4.4.2-0ubuntu0.22.04.1) ...

Selecting previously unselected package libavcodec-extra58:amd64.

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

Preparing to unpack .../00-libavcodec-extra58_7%3a4.4.2-0ubuntu0.22.04.1_amd64.deb ...

Unpacking libavcodec-extra58:amd64 (7:4.4.2-0ubuntu0.22.04.1) ...

Selecting previously unselected package libmspack0:amd64.

Preparing to unpack .../01-libmspack0_0.10.1-2build2_amd64.deb ...

Unpacking libmspack0:amd64 (0.10.1-2build2) ...

Selecting previously unselected package cabextract.

Preparing to unpack .../02-cabextract_1.9-3_amd64.deb ...

Unpacking cabextract (1.9-3) ...

Selecting previously unselected package ttf-mscorefonts-installer.

Preparing to unpack .../03-ttf-mscorefonts-installer_3.8ubuntu2_all.deb ...

Unpacking ttf-mscorefonts-installer (3.8ubuntu2) ...

Selecting previously unselected package chromium-codecs-ffmpeg-extra.

Preparing to unpack .../04-chromium-codecs-ffmpeg-extra_1%3a85.0.4183.83-0ubuntu2.22.04.1_amd64.deb ...

Unpacking chromium-codecs-ffmpeg-extra (1:85.0.4183.83-0ubuntu2.22.04.1) ...

Selecting previously unselected package gstreamer1.0-libav:amd64.

Preparing to unpack .../05-gstreamer1.0-libav_1.20.3-0ubuntu1_amd64.deb ...

Unpacking gstreamer1.0-libav:amd64 (1.20.3-0ubuntu1) ...

Selecting previously unselected package libsidplay1v5:amd64.

Preparing to unpack .../06-libsidplay1v5_1.36.60-1_amd64.deb ...

Unpacking libsidplay1v5:amd64 (1.36.60-1) ...

Selecting previously unselected package gstreamer1.0-plugins-ugly:amd64.

Preparing to unpack .../07-gstreamer1.0-plugins-ugly_1.20.1-1_amd64.deb ...

Unpacking gstreamer1.0-plugins-ugly:amd64 (1.20.1-1) ...

Selecting previously unselected package libgstreamer-plugins-bad1.0-0:amd64.

Preparing to unpack .../08-libgstreamer-plugins-bad1.0-0_1.20.3-0ubuntu1.1_amd64.deb ...

Unpacking libgstreamer-plugins-bad1.0-0:amd64 (1.20.3-0ubuntu1.1) ...

Selecting previously unselected package gstreamer1.0-vaapi:amd64.

Preparing to unpack .../09-gstreamer1.0-vaapi_1.20.1-1ubuntu1_amd64.deb ...

Unpacking gstreamer1.0-vaapi:amd64 (1.20.1-1ubuntu1) ...

Selecting previously unselected package ubuntu-restricted-addons.

Preparing to unpack .../10-ubuntu-restricted-addons_26_amd64.deb ...

Unpacking ubuntu-restricted-addons (26) ...

Selecting previously unselected package ubuntu-restricted-extras.

Preparing to unpack .../11-ubuntu-restricted-extras_67_amd64.deb ...

Unpacking ubuntu-restricted-extras (67) ...

Selecting previously unselected package unrar.

Preparing to unpack .../12-unrar_1%3a6.1.5-1_amd64.deb ...

Unpacking unrar (1:6.1.5-1) ...

Selecting previously unselected package libavcodec-extra:amd64.

Preparing to unpack .../13-libavcodec-extra_7%3a4.4.2-0ubuntu0.22.04.1_amd64.deb ...

Unpacking libavcodec-extra:amd64 (7:4.4.2-0ubuntu0.22.04.1) ...

Setting up libvo-amrwbenc0:amd64 (0.1.3-2) ...

Setting up chromium-codecs-ffmpeg-extra (1:85.0.4183.83-0ubuntu2.22.04.1) ...

Setting up libsidplay1v5:amd64 (1.36.60-1) ...

Setting up libmspack0:amd64 (0.10.1-2build2) ...

Setting up unrar (1:6.1.5-1) ...

update-alternatives: using /usr/bin/unrar-nonfree to provide /usr/bin/unrar (unrar) in auto mode

Setting up libgstreamer-plugins-bad1.0-0:amd64 (1.20.3-0ubuntu1.1) ...

Setting up gstreamer1.0-vaapi:amd64 (1.20.1-1ubuntu1) ...

Setting up libopencore-amrwb0:amd64 (0.1.5-1) ...

Setting up libopencore-amrnb0:amd64 (0.1.5-1) ...

Setting up gstreamer1.0-plugins-ugly:amd64 (1.20.1-1) ...

Setting up ubuntu-restricted-addons (26) ...

Setting up cabextract (1.9-3) ...

Setting up libavcodec-extra58:amd64 (7:4.4.2-0ubuntu0.22.04.1) ...

Setting up ttf-mscorefonts-installer (3.8ubuntu2) ...

Setting up gstreamer1.0-libav:amd64 (1.20.3-0ubuntu1) ...

Setting up ubuntu-restricted-extras (67) ...

Setting up libavcodec-extra:amd64 (7:4.4.2-0ubuntu0.22.04.1) ...

Processing triggers for libc-bin (2.35-0ubuntu3.6) ...

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...

Processing triggers for update-notifier-common (3.192.54.5) ...

ttf-mscorefonts-installer: processing...

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe

Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]

Fetched 198 kB in 3s (69,7 kB/s)                                               

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe

Get:1 http://downloads.sourceforge.net/corefonts/arial32.exe [554 kB]

Fetched 554 kB in 2s (269 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe

Get:1 http://downloads.sourceforge.net/corefonts/arialb32.exe [168 kB]

Fetched 168 kB in 1s (115 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe

Get:1 http://downloads.sourceforge.net/corefonts/comic32.exe [246 kB]

Fetched 246 kB in 2s (138 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe

Get:1 http://downloads.sourceforge.net/corefonts/courie32.exe [646 kB]

Fetched 646 kB in 2s (296 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe

Get:1 http://downloads.sourceforge.net/corefonts/georgi32.exe [392 kB]

Fetched 392 kB in 2s (160 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe

Get:1 http://downloads.sourceforge.net/corefonts/impact32.exe [173 kB]

Fetched 173 kB in 2s (111 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/times32.exe

Get:1 http://downloads.sourceforge.net/corefonts/times32.exe [662 kB]

Fetched 662 kB in 4s (167 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/trebuc32.exe

Get:1 http://downloads.sourceforge.net/corefonts/trebuc32.exe [357 kB]

Fetched 357 kB in 3s (113 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/verdan32.exe

Get:1 http://downloads.sourceforge.net/corefonts/verdan32.exe [352 kB]

Fetched 352 kB in 3s (130 kB/s)                                                

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/webdin32.exe

Get:1 http://downloads.sourceforge.net/corefonts/webdin32.exe [185 kB]

Fetched 185 kB in 6s (30,0 kB/s)                                               


These fonts were provided by Microsoft "in the interest of cross-

platform compatibility".  This is no longer the case, but they are

still available from third parties.


You are free to download these fonts and use them for your own use,

but you may not redistribute them in modified form, including changes

to the file name or packaging format.


Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/andale32.exe

  extracting fontinst.inf

  extracting andale.inf

  extracting fontinst.exe

  extracting AndaleMo.TTF

  extracting ADVPACK.DLL

  extracting W95INF32.DLL

  extracting W95INF16.DLL


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/arial32.exe

  extracting FONTINST.EXE

  extracting fontinst.inf

  extracting Ariali.TTF

  extracting Arialbd.TTF

  extracting Arialbi.TTF

  extracting Arial.TTF


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/arialb32.exe

  extracting fontinst.exe

  extracting fontinst.inf

  extracting AriBlk.TTF


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/comic32.exe

  extracting fontinst.inf

  extracting Comicbd.TTF

  extracting Comic.TTF

  extracting fontinst.exe


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/courie32.exe

  extracting cour.ttf

  extracting courbd.ttf

  extracting courbi.ttf

  extracting fontinst.inf

  extracting couri.ttf

  extracting fontinst.exe


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/georgi32.exe

  extracting fontinst.inf

  extracting Georgiaz.TTF

  extracting Georgiab.TTF

  extracting Georgiai.TTF

  extracting Georgia.TTF

  extracting fontinst.exe


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/impact32.exe

  extracting fontinst.exe

  extracting Impact.TTF

  extracting fontinst.inf


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/times32.exe

  extracting fontinst.inf

  extracting Times.TTF

  extracting Timesbd.TTF

  extracting Timesbi.TTF

  extracting Timesi.TTF

  extracting FONTINST.EXE


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/trebuc32.exe

  extracting FONTINST.EXE

  extracting trebuc.ttf

  extracting Trebucbd.ttf

  extracting trebucbi.ttf

  extracting trebucit.ttf

  extracting fontinst.inf


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/verdan32.exe

  extracting fontinst.exe

  extracting fontinst.inf

  extracting Verdanab.TTF

  extracting Verdanai.TTF

  extracting Verdanaz.TTF

  extracting Verdana.TTF


All done, no errors.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/webdin32.exe

  extracting fontinst.exe

  extracting Webdings.TTF

  extracting fontinst.inf

  extracting Licen.TXT


All done, no errors.

All fonts downloaded and installed.

Monday 22 January 2024

Cheat percetakan kampung, chat gpt

 Tips ngecheat ala percetakan kampung '

🙂
  1. ChatGPT buat bikin prompt, misal: tuliskan prompt untuk membuat logo vektor mie ayam
  2. Bing Image Creator , prompt hasil dari ChatGPT disesuaikan lalu copas disini, generate
  3. Vectorizer AI hasil image diupload disini dan generate agar dapat hasil SVG. Download lalu buka di inkscape dan modifikasi
    * Kok gak autotrace aja lsg di Inkscape?
    # Autotrace inkscape untuk color hasilnya belum ok sampe versi terbaru pun
Metode gini cocok buat kami2 yg kliennya masih level UMKM dengan bajet alakadarnya
Beda cerita dengan client yg lebih bonafit atau buat suhu2 yg maen sbg Stock Contributor atau Freelance di Fiverr, Upwork dll. kayaknya gak bisa lsg pakai seperti di atas ya hehe, generated image di auto vector kayaknya gak diperbolehkan deh, rawan juga terbentur aturan dsb. Tapi gatau juga, mungkin yg lebih paham bisa bantu jelaskan di komen

Tuesday 16 January 2024

Install printer driver ubuntu baru install

 $ sudo apt install printer-driver-gutenprint

[sudo] password for dhwan: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  libgutenprint-common libgutenprint9

Suggested packages:

  gutenprint-locales gutenprint-doc

The following NEW packages will be installed:

  libgutenprint-common libgutenprint9 printer-driver-gutenprint

0 upgraded, 3 newly installed, 0 to remove and 400 not upgraded.

Need to get 1.646 kB of archives.

After this operation, 9.949 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 libgutenprint-common all 5.3.3-9 [617 kB]

Get:2 http://id.archive.ubuntu.com/ubuntu jammy/main amd64 libgutenprint9 amd64 5.3.3-9 [542 kB]

Get:3 http://id.archive.ubuntu.com/ubuntu jammy/main amd64 printer-driver-gutenprint amd64 5.3.3-9 [487 kB]

Fetched 1.646 kB in 8s (208 kB/s)                                              

Selecting previously unselected package libgutenprint-common.

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

Preparing to unpack .../libgutenprint-common_5.3.3-9_all.deb ...

Unpacking libgutenprint-common (5.3.3-9) ...

Selecting previously unselected package libgutenprint9.

Preparing to unpack .../libgutenprint9_5.3.3-9_amd64.deb ...

Unpacking libgutenprint9 (5.3.3-9) ...

Selecting previously unselected package printer-driver-gutenprint.

Preparing to unpack .../printer-driver-gutenprint_5.3.3-9_amd64.deb ...

Unpacking printer-driver-gutenprint (5.3.3-9) ...

Setting up libgutenprint-common (5.3.3-9) ...

Setting up libgutenprint9 (5.3.3-9) ...

Setting up printer-driver-gutenprint (5.3.3-9) ...

Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for cups (2.4.1op1-1ubuntu4.1) ...

Updating PPD files for cups-filters ...

Updating PPD files for foomatic-db-compressed-ppds ...

Updating PPD files for openprinting-ppds ...

Updating PPD files for brlaser ...

Updating PPD files for c2esp ...

Updating PPD files for foo2zjs-common ...

Updating PPD files for gutenprint ...

Updating PPD files for hpcups ...

Updating PPD files for m2300w ...

Updating PPD files for postscript-hp ...

Updating PPD files for ptouch ...

Updating PPD files for pxljr ...

Updating PPD files for sag-gdi ...

Updating PPD files for splix ...


Thursday 14 December 2023

cups enable printer backend

printer

Backend /usr/lib/cups/backend/usb does not exist

Get status and printer name from

Code:
lpstat -p

then

Code:
cupsenable <printername>


 Get status and printer name from

Code:
lpstat -p
then
Code:
cupsenable <printername>

purge cups then install cups

 $ sudo apt-get purge cups && sudo apt-get autoremove

[sudo] password for dhwan: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following packages were automatically installed and are no longer required:

  cups-browsed cups-core-drivers cups-daemon cups-server-common

  libgutenprint-common libgutenprint9 ssl-cert

Use 'sudo apt autoremove' to remove them.

The following packages will be REMOVED:

  cups* printer-driver-gutenprint*

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

After this operation, 2.078 kB disk space will be freed.

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

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

Removing printer-driver-gutenprint (5.3.3-9) ...

Job for cups.service failed because a timeout was exceeded.

See "systemctl status cups.service" and "journalctl -xeu cups.service" for details.

invoke-rc.d: initscript cups, action "force-reload" failed.

Removing cups (2.4.1op1-1ubuntu4.7) ...

Processing triggers for man-db (2.10.2-1) ...

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

Purging configuration files for cups (2.4.1op1-1ubuntu4.7) ...

Purging configuration files for printer-driver-gutenprint (5.3.3-9) ...

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following packages will be REMOVED:

  cups-browsed cups-core-drivers cups-daemon cups-server-common

  libgutenprint-common libgutenprint9 ssl-cert

0 upgraded, 0 newly installed, 7 to remove and 5 not upgraded.

After this operation, 13,2 MB disk space will be freed.

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

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

Removing cups-browsed (1.28.15-0ubuntu1.2) ...

Removing cups-core-drivers (2.4.1op1-1ubuntu4.7) ...

Removing cups-daemon (2.4.1op1-1ubuntu4.7) ...

Removing cups-server-common (2.4.1op1-1ubuntu4.7) ...

Removing libgutenprint9 (5.3.3-9) ...

Removing libgutenprint-common (5.3.3-9) ...

Removing ssl-cert (1.1.2) ...

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

dhwan@dhwan-A514-51K-31XM:~$ sudo apt-get update && sudo apt-get install cups

Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease

Hit:2 http://id.archive.ubuntu.com/ubuntu jammy InRelease                      

Hit:3 https://packages.microsoft.com/repos/edge stable InRelease               

Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease               

Hit:5 http://id.archive.ubuntu.com/ubuntu jammy-updates InRelease              

Hit:6 http://id.archive.ubuntu.com/ubuntu jammy-backports InRelease            

Hit:7 https://ppa.launchpadcontent.net/cappelikan/ppa/ubuntu jammy InRelease   

Hit:8 https://ppa.launchpadcontent.net/costales/folder-color/ubuntu jammy InRelease

Hit:9 https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu jammy InRelease

Hit:10 https://ppa.launchpadcontent.net/inkscape.dev/stable/ubuntu jammy InRelease

Hit:11 https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu jammy InRelease

Hit:12 https://shop.softmaker.com/repo/apt stable InRelease

Reading package lists... Done

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  cups-browsed cups-core-drivers cups-daemon cups-server-common ssl-cert

Suggested packages:

  cups-pdf smbclient

The following NEW packages will be installed:

  cups cups-browsed cups-core-drivers cups-daemon cups-server-common ssl-cert

0 upgraded, 6 newly installed, 0 to remove and 5 not upgraded.

Need to get 46,5 kB/1.159 kB of archives.

After this operation, 5.284 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 ssl-cert all 1.1.2 [17,4 kB]

Get:2 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups-core-drivers amd64 2.4.1op1-1ubuntu4.7 [29,1 kB]

Fetched 46,5 kB in 2s (30,7 kB/s)       

Preconfiguring packages ...

Selecting previously unselected package ssl-cert.

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

Preparing to unpack .../0-ssl-cert_1.1.2_all.deb ...

Unpacking ssl-cert (1.1.2) ...

Selecting previously unselected package cups-daemon.

Preparing to unpack .../1-cups-daemon_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups-daemon (2.4.1op1-1ubuntu4.7) ...

Selecting previously unselected package cups-browsed.

Preparing to unpack .../2-cups-browsed_1.28.15-0ubuntu1.2_amd64.deb ...

Unpacking cups-browsed (1.28.15-0ubuntu1.2) ...

Selecting previously unselected package cups-core-drivers.

Preparing to unpack .../3-cups-core-drivers_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups-core-drivers (2.4.1op1-1ubuntu4.7) ...

Selecting previously unselected package cups-server-common.

Preparing to unpack .../4-cups-server-common_2.4.1op1-1ubuntu4.7_all.deb ...

Unpacking cups-server-common (2.4.1op1-1ubuntu4.7) ...

Selecting previously unselected package cups.

Preparing to unpack .../5-cups_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups (2.4.1op1-1ubuntu4.7) ...

Setting up cups-server-common (2.4.1op1-1ubuntu4.7) ...

Setting up ssl-cert (1.1.2) ...

Setting up cups-daemon (2.4.1op1-1ubuntu4.7) ...

cups.path is a disabled or a static unit not running, not starting it.

cups.service is a disabled or a static unit not running, not starting it.

cups.socket is a disabled or a static unit not running, not starting it.

Setting up cups-browsed (1.28.15-0ubuntu1.2) ...

Setting up cups-core-drivers (2.4.1op1-1ubuntu4.7) ...

Setting up cups (2.4.1op1-1ubuntu4.7) ...

Updating PPD files for cups ...

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for ufw (0.36.1-4ubuntu0.1) ...

WARN: /etc/default/ufw is world writable!

WARN: /etc/default is world writable!

WARN: /etc is world writable!

WARN: /etc/ufw/ufw.conf is world writable!

WARN: /etc/ufw is world writable!

WARN: /etc/ufw/applications.d is world writable!

WARN: /etc/ufw/user.rules is world writable!

WARN: /etc/ufw/before.rules is world writable!

WARN: /etc/ufw/after.rules is world writable!

WARN: /etc/ufw/user6.rules is world writable!

WARN: /etc/ufw/before6.rules is world writable!

WARN: /etc/ufw/after6.rules is world writable!

WARN: /lib/ufw/ufw-init is world writable!

WARN: /lib/ufw is world writable!

WARN: /lib is world writable!

WARN: /usr/sbin/ufw is world writable!

WARN: /usr/sbin is world writable!

WARN: /usr is world writable!

WARN: /etc/ufw/applications.d/cups is world writable!


Reinstall cups

 $ sudo apt-get install --reinstall cups cups-browsed cups-client cups-common cups-daemon cups-server-common

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

0 upgraded, 0 newly installed, 6 reinstalled, 0 to remove and 5 not upgraded.

Need to get 1.492 kB of archives.

After this operation, 0 B of additional disk space will be used.

Get:1 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups-browsed amd64 1.28.15-0ubuntu1.2 [114 kB]

Get:2 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups-daemon amd64 2.4.1op1-1ubuntu4.7 [327 kB]

Get:3 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups amd64 2.4.1op1-1ubuntu4.7 [270 kB]

Get:4 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups-client amd64 2.4.1op1-1ubuntu4.7 [127 kB]

Get:5 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups-common all 2.4.1op1-1ubuntu4.7 [253 kB]

Get:6 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups-server-common all 2.4.1op1-1ubuntu4.7 [401 kB]

Fetched 1.492 kB in 10s (151 kB/s)                                             

Preconfiguring packages ...

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

Preparing to unpack .../0-cups-browsed_1.28.15-0ubuntu1.2_amd64.deb ...

Unpacking cups-browsed (1.28.15-0ubuntu1.2) over (1.28.15-0ubuntu1.2) ...

Preparing to unpack .../1-cups-daemon_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups-daemon (2.4.1op1-1ubuntu4.7) over (2.4.1op1-1ubuntu4.7) ...

Preparing to unpack .../2-cups_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups (2.4.1op1-1ubuntu4.7) over (2.4.1op1-1ubuntu4.7) ...

Preparing to unpack .../3-cups-client_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups-client (2.4.1op1-1ubuntu4.7) over (2.4.1op1-1ubuntu4.7) ...

Preparing to unpack .../4-cups-common_2.4.1op1-1ubuntu4.7_all.deb ...

Unpacking cups-common (2.4.1op1-1ubuntu4.7) over (2.4.1op1-1ubuntu4.7) ...

Preparing to unpack .../5-cups-server-common_2.4.1op1-1ubuntu4.7_all.deb ...

Unpacking cups-server-common (2.4.1op1-1ubuntu4.7) over (2.4.1op1-1ubuntu4.7) ...

Setting up cups-server-common (2.4.1op1-1ubuntu4.7) ...

Setting up cups-common (2.4.1op1-1ubuntu4.7) ...

Setting up cups-client (2.4.1op1-1ubuntu4.7) ...

Setting up cups-daemon (2.4.1op1-1ubuntu4.7) ...

cups.path is a disabled or a static unit not running, not starting it.

cups.service is a disabled or a static unit not running, not starting it.

Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 142.

Setting up cups-browsed (1.28.15-0ubuntu1.2) ...

Setting up cups (2.4.1op1-1ubuntu4.7) ...

lpinfo: Success

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for ufw (0.36.1-4ubuntu0.1) ...

WARN: /etc/default/ufw is world writable!

WARN: /etc/default is world writable!

WARN: /etc is world writable!

WARN: /etc/ufw/ufw.conf is world writable!

WARN: /etc/ufw is world writable!

WARN: /etc/ufw/applications.d is world writable!

WARN: /etc/ufw/user.rules is world writable!

WARN: /etc/ufw/before.rules is world writable!

WARN: /etc/ufw/after.rules is world writable!

WARN: /etc/ufw/user6.rules is world writable!

WARN: /etc/ufw/before6.rules is world writable!

WARN: /etc/ufw/after6.rules is world writable!

WARN: /lib/ufw/ufw-init is world writable!

WARN: /lib/ufw is world writable!

WARN: /lib is world writable!

WARN: /usr/sbin/ufw is world writable!

WARN: /usr/sbin is world writable!

WARN: /usr is world writable!

WARN: /etc/ufw/applications.d/cups is world writable!