Posts

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...

For 1120

 ✅ Step-by-step Tested Fix: ๐Ÿ” Step 1: Check where sane is installed which scanimage --- ๐Ÿ”ง Step 2: Fix permission  sudo chown -R root:scanner /opt/<your_scanner_folder> --- ๐Ÿ‘ค Step 3: Add your user to scanner group sudo usermod -aG scanner $USER --- ๐Ÿ“ Step 4: Fix ~/.config/simple-scan/ folder permission Check : ls -l ~/.config/simple-scan If permission issue : sudo chown -R $USER:$USER ~/.config/simple-scan --- ๐Ÿ” Step 5: (Optional but Safe) Reinstall sane via apt To make sure no conflict : sudo apt remove --purge sane sane-utils libsane libsane-common sudo apt install sane-utils simple-scan --- ๐Ÿงช Step 6: Test as Normal User Reboot ke baad directly simple-scan run karo normal user se. Scan karo aur check karo kya ab file save hoti hai. --- ✅ Bonus: Check Log If Still Not Saving Run simple-scan via terminal: simple-scan --- ๐Ÿ“ฆ Pro Tip: Never Install Same Software via GUI + sudo ./install.sh Ready?