Thunar file manager: can the Thunar suffix be disabled?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
ozaz
Level 1
Level 1
Posts: 28
Joined: Wed Oct 25, 2023 10:16 am

Thunar file manager: can the Thunar suffix be disabled?

Post by ozaz »

At the top of the file manager window and in the panel icon Thunar adds the suffix " - Thunar" to whatever folder you are in. For example, if you are in your Documents folder you see "Documents - Thunar". This seems superflous to me. Is there a way to disable the added suffix so I only see the actual folder name?
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: Thunar file manager: can the Thunar suffix be disabled?

Post by Hoser Rob »

It seems superfluous to me too. Not an Xfce user any more but I used it for years and I never saw that.

You need to post more system info, copy/paste the text output of

Code: Select all

inxi -Fxxxpmrz
run in the terminal, Wrap it in <code> tags.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
ozaz
Level 1
Level 1
Posts: 28
Joined: Wed Oct 25, 2023 10:16 am

Re: Thunar file manager: can the Thunar suffix be disabled?

Post by ozaz »

Thanks for reply.

Its not specific to my machine. I can see it various online screenshots. e.g...
https://docs.xfce.org/xfce/thunar/the-f ... ger-window

Anyway, here's the output you asked for...
System:
Kernel: 5.15.0-92-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
Desktop: Xfce 4.18.1 tk: Gtk 3.24.33 info: xfce4-panel wm: xfwm 4.18.0
vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Machine:
Type: Virtualbox System: innotek GmbH product: VirtualBox v: 1.2
serial: <superuser required> Chassis: Oracle Corporation type: 1
serial: <superuser required>
Mobo: Oracle model: VirtualBox v: 1.2 serial: <superuser required>
BIOS: innotek GmbH v: VirtualBox date: 12/01/2006
Battery:
ID-1: BAT0 charge: 39.5 Wh (79.0%) condition: 50.0/50.0 Wh (100.0%)
volts: 10.0 min: 10.0 model: innotek 1 type: Unknown serial: N/A
status: N/A
Memory:
RAM: total: 3.82 GiB used: 859.5 MiB (22.0%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: dual core model: 12th Gen Intel Core i7-1260P bits: 64 type: MCP
smt: <unsupported> arch: Alder Lake rev: 3 cache: L1: 160 KiB L2: 2.5 MiB
L3: 36 MiB
Speed (MHz): avg: 2496 min/max: N/A cores: 1: 2496 2: 2496 bogomips: 9984
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.19.0.0 ports:
active: Virtual-1 empty: Virtual-2, Virtual-3, Virtual-4, Virtual-5,
Virtual-6, Virtual-7, Virtual-8
bus-ID: 00:02.0 chip-ID: 15ad:0405 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.4 compositor: xfwm v: 4.18.0 driver:
X: loaded: vmware unloaded: fbdev,modesetting,vesa gpu: vmwgfx
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: Virtual1 mapped: Virtual-1 res: 1920x1080 hz: 60 size: N/A
modes: max: 800x600 min: 640x480
OpenGL: renderer: llvmpipe (LLVM 15.0.7 128 bits)
v: 4.5 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
Device-1: Intel 82801AA AC97 Audio vendor: Dell driver: snd_intel8x0
v: kernel bus-ID: 00:05.0 chip-ID: 8086:2415 class-ID: 0401
Sound Server-1: ALSA v: k5.15.0-92-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel 82540EM Gigabit Ethernet driver: e1000 v: kernel port: d020
bus-ID: 00:03.0 chip-ID: 8086:100e class-ID: 0200
IF: enp0s3 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge
driver: piix4_smbus v: N/A port: N/A bus-ID: 00:07.0 chip-ID: 8086:7113
class-ID: 0680
Drives:
Local Storage: total: 25 GiB used: 27.81 GiB (111.2%)
ID-1: /dev/sda vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB
speed: 3.0 Gb/s type: N/A serial: <filter> rev: 1.0 scheme: GPT
Partition:
ID-1: / size: 23.94 GiB used: 13.9 GiB (58.1%) fs: ext4 dev: /dev/sda3
ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/sda2
ID-3: /home/omar size: 23.94 GiB used: 13.9 GiB (58.1%) fs: ecryptfs
source: ERR-102
Swap:
ID-1: swap-1 type: file size: 1.14 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Sensors:
Message: No sensor data found. Is lm-sensors configured?
Repos:
Packages: apt: 2173
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com virginia main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
Processes: 202 Uptime: 2m wakeups: 61 Init: systemd v: 249 runlevel: 5
Compilers: gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16
running-in: xfce4-terminal inxi: 3.3.13
User avatar
spamegg
Level 14
Level 14
Posts: 5118
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Thunar file manager: can the Thunar suffix be disabled?

Post by spamegg »

Is there a way to disable the added suffix so I only see the actual folder name?
I looked into all Thunar settings, and there isn't a setting for it.
I also looked into dconf-editor, nothing related to Thunar (I'm not using Xfce though).
I could not find anything relevant in the documentation either https://docs.xfce.org/xfce/thunar/start

Then I came across this: https://docs.xfce.org/xfce/thunar/hidde ... r_with_css
It says to use GTK Inspector: https://wiki.gnome.org/action/show/Proj ... /Inspector
I made sure that the libgtk-3-dev package is installed (which it was).
I went to dconf-editor to enable its keyboard shortcut:

Code: Select all

org.gtk.settings.debug.enable-inspector-keybinding
Then in Thunar I pressed Control + Shift + D which opens the GTK Inspector.
I went to Objects / Properties and found "title"
Screenshot from 2024-02-01 19-00-49.png
which lets me edit the window title, so I deleted the - Thunar
Screenshot from 2024-02-01 19-02-00.png
but I don't know how to make that change "stick". That's as far as I got.

So it looks like the only way might be to edit the source code of Thunar and recompile. But there might be some CSS trick, maybe.
ozaz
Level 1
Level 1
Posts: 28
Joined: Wed Oct 25, 2023 10:16 am

Re: Thunar file manager: can the Thunar suffix be disabled?

Post by ozaz »

Thanks for looking into it. I also scanned the documentation and couldn't find anything there. Editing source code and recompiling is further than I'd want to go, but the developers seem to accept enhancement requests so I'll probably make a suggestion there: https://gitlab.xfce.org/xfce/thunar/-/i ... nhancement

Edit
Issue is being discussed here: https://gitlab.xfce.org/xfce/thunar/-/issues/1130
Seems like there may be a solution when Thunar 4.19 is released
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Thunar file manager: can the Thunar suffix be disabled?

Post by Pjotr »

It also happens in Firefox (Mint 21.3 Xfce), but then of course mentioning "Mozilla Firefox":
Image

Not bothersome to me, by the way.... :wink:
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Post Reply

Return to “Xfce”