If you use KDE as your desktop go to control centre, peripherals, storage media.
In mounted removable media make sure open in new window is set as default action.
This should show files when you insert a removable disk.
(CLI and GUI)
The problem is i cant see my files inside the USB upon insertion. I can only see me files after I clicked the icon in the Desktop.
-i used "ls -l" to view my files, but nothing was there.(without clicking the icon), but when i clicked the icon, and typed "ls-l" again, it was there.
Is there a way to detect the files inside a USB flash drive without clicking the icon in the Desktop?
i added this line in fstab:
/dev/sda2 /media/sda2 vfat auto,users,exec 0 0
***this allows me to mount a USB without typing "mount" command every boot up.
If you use KDE as your desktop go to control centre, peripherals, storage media.
In mounted removable media make sure open in new window is set as default action.
This should show files when you insert a removable disk.

Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338
$39.99
Corsair HX1500i 1500W 80+ Platinum Fully Modular ATX 3.1 PSU Certified Refurb
$207.99
READ Intel Core Ultra 9 285 Processor LGA 1851
$449.99
LOT OF 4 Intel Core i5-10505 6-Core 3.2GHz SRH38 CPU Processor
$349.95
AMD RYZEN 5 3600 PROCESSOR | 3.60GHZ | 100-000000031
$59.99
Intel Core i5-12600 3.30 GHz Processor CPU
$119.99
AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065
$135.00
Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS
$67.99
AMD Ryzen 5 9600X Processor (Zen 5) 6-Core 3.9GHz AM5 65W CPU 100-000001405 USED
$165.99
INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00