Posts: 3
Threads: 1
Joined: Jul 2015
Reputation:
0
Hello Folks,
I'm 100% new to Linux Lite and have been very happy over my first couple days of use! Great distro!
My question is this...I have been using Linux (almost all Ubuntu based distros) for a couple years but do not have much experience with XFCE or specifically, Thunar. Most of the other File Managers I've used have the option to show the item counts for folders in the home screen of the File Manager. Am I missing where to add this or is it not an option with Thunar and if not an option, is it safe to install another File Manager in place of Thunar? I want to avoid any concerns with system stability and reliability.
Thanks in advance for any and all help!
Posts: 159
Threads: 16
Joined: Mar 2015
Reputation:
0
I looked a bit around on the interwebs. Seems like Thunar cant show the file count as long as you are not in said file.
I would guess for the same reason why in detailed view all folder have the same disk usage (4,1 kb). Checking folder size and file count for all displayed folders would slow it down. And since Thunar is made to be lightweight and fast it was probably left out as a feature.
The only thing thunar does is show the object count of the current folder in the bottom statusbar.
I found a command the makes the statusbar show the size of imagefiles if only on image is selected.
Code:
xfconf-query --channel thunar --property /misc-image-size-in-statusbar --create --type bool --set true
Maybe there is a similar command for showing the filecount an I just couldn't find it.
PS:
Code:
xfconf-query --channel thunar --property /misc-object-count-in-statusbar --create --type bool --set true
or
Code:
xfconf-query --channel thunar --property /misc-file-count-in-statusbar --create --type bool --set true
both do not work
Linux Lite 5.0 on Lenovo Edge 540 <3
Posts: 3
Threads: 1
Joined: Jul 2015
Reputation:
0
07-25-2015, 08:27 PM
(This post was last modified: 07-25-2015, 09:50 PM by crazyfunkman.)
Thanks UltraCookie!
I did some looking as well and kind of came up with the same conclusion. Very handy option for me as this is my production machine and helps when I'm doing file transfers. So...
Any tutorials in switch from Thunar to Nautilus? I looked around and found a couple that are non-Lite but Xubuntu based but am reluctant to try them in the event I wreck my install plus the stuff I'm finding is dated from about a year ago. Stupid of me not to research this before my install and setup!
Thanks for the help!
Posts: 159
Threads: 16
Joined: Mar 2015
Reputation:
0
07-26-2015, 01:07 AM
(This post was last modified: 07-26-2015, 01:10 AM by UltraCookie.)
OK. Took some time (since I have about 0 programming skills).
If you dont want to go into each folder or the check the properties to see how many files are in there.
You can go into
Thunar > Edit > Configure cutom actions... and create a new custom action with this command
Code:
output=$(find %N | wc -l) && notify-send "File count" "$output files"
and name it File count.
Go into the advanced conditions tab and only check Directories. Close thunar and open it again.
If you now right click on any folder there is a new Item in the menu now named File count. Click on it and a notification should pop up with the number of all the files in that folder including all subfolders. This command only counts the files. not the folders.
If you want the number of folders do it like this:
Code:
output=$(ls -1 | wc -l) && notify-send "Folder count" "$output folders"
Linux Lite 5.0 on Lenovo Edge 540 <3
Posts: 3
Threads: 1
Joined: Jul 2015
Reputation:
0
Hi Folks,
I tried UltraCookie's suggestion but it wasn't showing the correct content count. I tried to alter the input but to no avail. For the time being, I'm going to leave Thunar as is and get used to it as the rest of the distro works great! Hats off to the developers!
Thanks!
Posts: 1,149
Threads: 22
Joined: Feb 2014
Reputation:
0
Hello!
Use Systemback to create a restore point, and then you can 'experiment' to your heart's content without fear.
AFAIK, Nautilus shouldn't be a problem. It's just a matter of how many dependencies get pulled in along with it...
73 DE N4RPS
Rob
A gun in your hand is worth more than a whole police force on the phone.