Posts

Air sane for hp scanner

 hp-info -i sudo apt install hplip hp-plugin scanimage -L Sudo mount -o remount,exec /home sudo apt purge snapd sudo rm -rf ~/snap sudo apt remove --purge hplip hplip-gui sudo apt autoremove sudo rm -rf /usr/share/hplip sudo systemctl stop ipp-usb sudo systemctl disable ipp-usb dpkg -l | grep ipp-usb sudo systemctl unmask ipp-usb sudo systemctl enable ipp-usb sudo systemctl start ipp-usb lpstat -t scanimage -L sudo apt install sane-airscan sudo systemctl unmask ipp-usb sudo systemctl enable ipp-usb sudo systemctl start ipp-usb systemctl status ipp-usb sudo snap list sudo snap remove cups sudo apt purge hplip hplip-gui printer-driver-hpcups sudo apt autoremove sudo systemctl stop ipp-usb sudo systemctl disable ipp-usb sudo systemctl unmask ipp-usb sudo apt install cups which cupsd Output /usr/sbin/cupsd sudo add-apt-repository universe sudo apt update sudo apt install ipp-usb sudo apt install ipp-usb sane-airscan sudo apt -f install apt policy ipp-usb sudo systemctl enable ipp-usb s...

Data

 ls ~/.local/share/Trash/files/ stat ~/.local/share/Trash/files/PHOTO_NAME.jpg ls ~/.local/share/Trash/info/ photo.jpg.trashinfo cat ~/.local/share/Trash/info/photo.jpg.trashinfo [Trash Info] Path=/home/user/Desktop/photo.jpg DeletionDate=2026-01-12T14: 32:10
Mouse Usb issue  sudo apt-get update --fix-missing sudo apt-get install --reinstall xserver-xorg-input-all sudo apt update sudo apt install --reinstall xserver-xorg-input-libinput APT History Log: The APT history log records all package installations, removals, and upgrades that have occurred. Location: /var/log/apt/history.log To view it, use the cat , less , or more commands: cat /var/log/apt/history.log less /var/log/apt/history.log Log Rotation These log files are rotated regularly, which means old logs are archived and compressed. If you want to see older logs, you might have to look at the compressed .gz files:  zcat /var/log/apt/history.log.*.gz Delete APT Logs: APT logs are stored in the following files: /var/log/apt/history.log /var/log/apt/term.log /var/log/dpkg.log To delete them, run the following commands: sudo rm /var/log/apt/history.log sudo rm /var/log/apt/term.log sudo rm /var/log/dpkg.log This will delete the current logs. You may ...

For shred disk or file shred cmd

 lsblk sudo umount /dev/sda3 sudo shred -v -n 3 -z /dev/sda3 For use again partion  sudo mkfs.ext4 /dev/sda3 For mount  sudo mkdir /mnt/data sudo mount /dev/sda3 /mnt/data Only one folder  sudo shred -v -n 3 -z -u filename

Kyocera printer

 Verify ipp-usb Service Check if the service is running: systemctl --user status ipp-usb.service If not running, start it: systemctl --user start ipp-usb.service systemctl --user enable ipp-usb .service >.  Find Printer’s Local IPP URL Run: lpinfo -v | grep ipp You should see something like: ipp://localhost:60000/i pp/print > Add Printer via CUPS (Web or CLI) Using Web 1. Open browser → go to: http://localhost:631 (CUPS web interface). 2. Go to Administration → Add Printer. 3. Select ipp://localhost:60000/ipp/print. 4. Choose driver → Kyocera (or Generic IPP Everywhere if drive r not listed). Using Command Line sudo lpadmin -p Kyocera6000 -E -v ipp://localhost:60000/ipp/print -m everywhere Check installed printers: lpstat -p -d Print test page: echo "Hello Kyocera via USB-IPPs" | lp -d K yocera6000 So basically: ipp-usb → makes USB printer appear as ipp://localhost:60000. Use CUPS (localhost:631) or lpadmin to add it. Use sane-airscan for scanning. Sometimes http://loca...

Google crome proxy setup

 chrome://extensions/ Use grafics acceleration when available  turn off  Permanent Fix (so you don’t type it every time) 1. Open terminal. 2. Edit the Chrome .desktop launcher file: sudo nano /usr/share/applications/google-chrome.desktop 3. Find the line that starts with: Exec=/usr/bin/google-chrome-stable %U 4. Change it to: Exec=/usr/bin/google-chrome-stable --no-proxy-server %U 5. Save (Ctrl+O, then Enter) and exit (Ctrl+X). Permanent Fix  6 google-chrome-stable --no-proxy-server 7 . sudo apt install gnome-shell-extension-manager 8. sudo systemd-resolve --flush-caches 8 . sudo service network-manager restart

For screen brightness solution by chandrakant bharti

 1. Terminal Solution: Fix Brightness via GRUB & xrandr 📌 Step 1: Edit GRUB configuration sudo nano /etc/default/grub 📌 Step 2: Find this line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Change it to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" 📌 Step 3: Update GRUB and reboot sudo update-grub sudo reboot --- ✅ 2. Software-Based GUI Tool (DEB-based) 🖥️ Option A: Brightness Controller (GUI Tool) This is a simple GUI-based software. If the system backlight doesn't work, it adjusts brightness using xrandr. 🔧 Install it via terminal: sudo add-apt-repository ppa:apandada1/brightness-controller sudo apt update sudo apt install brightness-controller 🔍 To run: Go to Applications → Brightness Controller This tool also supports multiple monitors. --- ✅ 3. Temporary Brightness Control using xrandr (Terminal method) 🔍 Step 1: Check your display name xrandr | grep " connected" Example output: eDP-1 connected ... 📉 Step 2: Adjust brigh...