I am reposting this because of invalid vimeo video link in the previous post. Sorry for this.

When we right click the text file (eg:-imp.txt) icon and click on the properties, the file type is showing "Python File (no console) (text/plain)" instead of "plain text document(text/plain)". All text files in

the system has this problem. After editing this text file, some icons in the desktop is disappearing. Also there is login loop problem in other ttys. I am reposting this. I think that when posting this for the

first time you didn't understand the problem and issued a warning. So that I am posting the video link. Wheather my computer is hacked or infected with any malware, rootkits. My Desktop running same OS version

and with same updates do not have this problem. I uninstalled gnome and reinstalled it but the problem is there.

video link : https://vimeo.com/318190078

Kali Version -Linux kali 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64 GNU/Linux (GNOME,amd64)

Kali installation - HDD (Primary OS)

System - HP Laptop

Basic output of commands -

root@kali:~/Desktop# file -i imp.txt
imp.txt: text/plain; charset=utf-8

root@kali:~/Desktop# file --mime-type imp.txt
imp.txt: text/plain

Google has no refernce for this problem.