❌ HOW TO FIX ERROR #6 : EOG IMAGE NOT OPEN ❌

Hacker

Professional
Messages
1,043
Reaction score
846
Points
113
Hello, i try to open an image with the tool eog. But i get following error :
Code:
┌──(mrblackx㉿carder)-[/tmp]
└─$ eog image.jpeg

(eog:5264): GLib-GIO-ERROR **: 18:44:34.542: Settings schema 'org.gnome.eog.plugins' is not installed
Trace/breakpoint trap

So the simple fix which worked for me was i installed all packages + gsettings:
Code:
sudo apt install eog-* -y
sudo apt install gsettings-desktop-schemas

After that i typed this command :
Code:
sudo /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/

Voila! my image opened!
 
❌ HOW TO FIX ERROR #6 Uncaught Error: Call to undefined function curl_init() ❌

First of all what is this error?

This error comes if a PHP script is using curl.
Example :
Code:
mutt@kali:~$ php -a
Interactive mode enabled

php > curl_init();

If you can run this code without an error, then you're good, else follow my fix for Linux:
Code:
sudo apt install php7.4 php7.4-dev php7.4-curl -y

PHP has a package in Linux : php-curl, or if you are using a specific version you have to install php7.4-curl.

Find out your PHP version:
Code:
mutt@kali:~$ php -v
PHP 7.4.15 (cli) (built: Feb 20 2021 09:45:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.15, Copyright (c), by Zend Technologies
 
➕ HOW TO FIX ERROR ➕

Internet works for 30 seconds but then no more.

Hello, i have a problem, my internet works for only 30 seconds and after them it doesn't work anymore, telegram keep trying to connect to my proxies, duckduckgo is trying to search for a solution, ping doesn't work and apt update also not.

Well i tried to find a solution on my phone and i got one:

1️⃣ Try to use dhclient:
Code:
ifconfig

(select your interface, mine is eth0)

Code:
sudo dhclient eth0

2️⃣ Install Macchanger:
Code:
sudo apt install macchanger

or

Code:
wget http://ftp.br.debian.org/debian/pool/main/m/macchanger/macchanger_1.7.0-5.4_amd64.deb

or use the file down below if you don't have connection

Code:
sudo apt install macchanger_1.7.0-5.4_amd64.deb

3️⃣ Change MAC:

Code:
sudo macchanger -s eth0

sudo macchanger -a eth0

-s = show current mac,
-a = another mac.
 
Top