[kde-linux] Where is the KDE Trash Can? [SOLVED]

Ralf Mardorf kde.lists at yahoo.com
Fri Jun 10 00:56:26 UTC 2016


On Thu, 9 Jun 2016 22:23:41 +0200, Ralf Mardorf wrote:
>>On Thu, 09 Jun 2016 19:42 +0200, Wolfgang Mueller wrote:    
>>>/home/$USER/.local/share/Trash/files    
>
>Not necessarily for something that is mounted by a different file
>system.
>
>Regards,
>Ralf
>
>OT: FWIW "/home/$USER/" usually is referred to as "$HOME" or tilde.
>
>$ echo ~
>/home/weremouse
>$ echo $HOME
>/home/weremouse

PS: The $USER variable is tricky and the result is not equal for all
Linux distros, while $HOME doesn't come with this issue.

[rocketmouse at archlinux ~]$ sudo echo $UID $USER $HOME ~
1000 rocketmouse /home/rocketmouse /home/rocketmouse
[rocketmouse at archlinux ~]$ sudo -i
[root at archlinux ~]# echo $UID $USER $HOME ~
0 root /root /root
[root at archlinux ~]# logout
[rocketmouse at archlinux ~]$ su
Password: 
[root at archlinux rocketmouse]# echo $UID $USER $HOME ~
0 rocketmouse /root /root



More information about the kde-linux mailing list