You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Thunar Options for Folders

Author (Read 9665 times)

0 Members and 1 Guest are viewing this topic.

Re: Thunar Options for Folders
« Reply #6 on: July 27, 2015, 01:11:47 PM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
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.
 

Re: Thunar Options for Folders
« Reply #5 on: July 26, 2015, 05:11:06 PM »
 

crazyfunkman

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3-3227U

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Ivybridge
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!
 

Re: Thunar Options for Folders
« Reply #4 on: July 25, 2015, 09:07:34 PM »
 

UltraCookie

  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 24
  • Linux Flavoured Chocolate Cookie
    • View Profile

  • CPU: Intel i5-4210M Dual Core 2,60 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD 4600

  • Kernel: 5.x
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: [Select]
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: [Select]
output=$(ls -1 | wc -l) && notify-send "Folder count" "$output folders"
« Last Edit: July 25, 2015, 09:10:53 PM by UltraCookie »
Linux Lite 5.0 on Lenovo Edge 540 <3
 

Re: Thunar Options for Folders
« Reply #3 on: July 25, 2015, 04:27:19 PM »
 

crazyfunkman

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3-3227U

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Ivybridge
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!
« Last Edit: July 25, 2015, 05:50:50 PM by crazyfunkman »
 

Re: Thunar Options for Folders
« Reply #2 on: July 25, 2015, 03:58:44 PM »
 

UltraCookie

  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 24
  • Linux Flavoured Chocolate Cookie
    • View Profile

  • CPU: Intel i5-4210M Dual Core 2,60 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD 4600

  • Kernel: 5.x
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: [Select]
xfconf-query --channel thunar --property /misc-image-size-in-statusbar --create --type bool --set trueMaybe there is a similar command for showing the filecount an I just couldn't find it.

PS:
Code: [Select]
xfconf-query --channel thunar --property /misc-object-count-in-statusbar --create --type bool --set true
or
Code: [Select]
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
 

Thunar Options for Folders
« Reply #1 on: July 25, 2015, 03:01:16 PM »
 

crazyfunkman

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3-3227U

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Ivybridge
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!
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section