Standard program assignment issue

Hello,
I assigned “Mousepad” for txt files, but the assignement does not work.
The txt files are still shown with the wrong icons and opening with the wrong software. What can I do?

Thank you all
Cant upload pics, sorry

How did you do so?

Also:

1 Like

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time

1 Like

the output to inxi --admin --verbosity=7 --filter --no-host --width is:

System:
  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=af51509c-91b1-429d-8134-469fa4f7b044 ro quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel, plank wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Dell product: Precision M4800 v: 00 serial: <filter> 
  Chassis: type: 9 serial: <filter> 
  Mobo: Dell model: 0T3YTY v: A00 serial: <filter> UEFI: Dell v: A23 
  date: 02/01/2018 
Battery:
  Device-1: hid-20:20:01:2c:ea:d3-battery model: Bluetooth 3.0 Keyboard 
  serial: N/A charge: N/A status: Discharging 
Memory:
  RAM: total: 15.54 GiB used: 3.48 GiB (22.4%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i7-4900MQ bits: 64 type: MT MCP 
  arch: Haswell family: 6 model-id: 3C (60) stepping: 3 microcode: 28 
  L2 cache: 8 MiB bogomips: 44714 
  Speed: 798 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 
  4: 798 5: 799 6: 799 7: 799 8: 799 
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts 
  clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm 
  dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase 
  fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx 
  monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm 
  pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good 
  sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 
  tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xsave 
  xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416 class ID: 0300 
  Device-2: NVIDIA GK107GLM [Quadro K1100M] vendor: Dell driver: nouveau 
  v: kernel bus ID: 01:00.0 chip ID: 10de:0ff6 class ID: 0300 
  Device-3: Microdia Integrated Webcam type: USB driver: uvcvideo 
  bus ID: 1-1.5:3 chip ID: 0c45:64d0 class ID: 0e02 
  Display: x11 server: X.Org 1.20.10 driver: loaded: intel,nouveau 
  unloaded: modesetting alternate: fbdev,nv,vesa display ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") 
  diag: 389mm (15.3") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) 
  v: 4.5 Mesa 20.3.4 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:0c0c 
  class ID: 0403 
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 
  class ID: 0403 
  Device-3: NVIDIA GK107 HDMI Audio vendor: Dell driver: snd_hda_intel 
  v: kernel bus ID: 01:00.1 chip ID: 10de:0e1b class ID: 0403 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:
  Device-1: Intel Ethernet I217-LM vendor: Dell driver: e1000e v: kernel 
  port: f080 bus ID: 00:19.0 chip ID: 8086:153a class ID: 0200 
  IF: eno1 state: down mac: <filter> 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: e000 
  bus ID: 03:00.0 chip ID: 8086:08b1 class ID: 0280 
  IF: wlp3s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
  bus ID: 3-1.5:3 chip ID: 8087:07dc class ID: e001 
  Message: Required tool hciconfig not installed. Check --recommends 
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci 
  v: 3.0 port: f060 bus ID: 00:1f.2 chip ID: 8086.282a rev: 04 
Drives:
  Local Storage: total: 238.47 GiB used: 33.23 GiB (13.9%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Innovation IT model: N/A 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 4A0 scheme: GPT 
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVD+-RW GS40N rev: A100 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw size: 238.17 GiB size: 233.43 GiB (98.01%) 
  used: 33.23 GiB (14.2%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: af51509c-91b1-429d-8134-469fa4f7b044 
  ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A 
  uuid: 94AD-BDA2 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  Message: No Unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip ID: 8087:8008 class ID: 0900 
  Device-1: 1-1.5:3 info: Microdia Integrated Webcam type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s chip ID: 0c45:64d0 
  class ID: 0e02 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 15 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
  Device-1: 2-3:2 info: Kingsis ZOWIE Gaming mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
  chip ID: 1af3:0001 class ID: 0301 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
  Hub-5: 3-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
  speed: 480 Mb/s chip ID: 8087:8000 class ID: 0900 
  Device-1: 3-1.5:3 info: Intel Bluetooth wireless interface type: Bluetooth 
  driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s chip ID: 8087:07dc 
  class ID: e001 
  Device-2: 3-1.8:4 info: Broadcom BCM5880 Secure Applications Processor 
  type: Smart Card driver: N/A interfaces: 2 rev: 1.1 speed: 12 Mb/s 
  chip ID: 0a5c:5800 class ID: 0b00 serial: <filter> 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip ID: 1d6b:0003 class ID: 0900 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 43.0 C sodimm: SODIMM C gpu: nouveau 
  temp: 47.0 C 
  Fan Speeds (RPM): cpu: 2111 
Info:
  Processes: 296 Uptime: 52m wakeups: 4 Init: systemd v: 247 Compilers: 
  gcc: 10.2.0 Packages: 1233 pacman: 1215 lib: 386 flatpak: 9 snap: 9 
  Shell: Bash v: 5.1.0 running in: xfce4-terminal inxi: 3.3.01 

I used the GUI to set Mousepad as standard.

  1. In the future, when providing code/output, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text so that the output looks like this:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    

    instead of posting a link to another site that might delete the output in the future…

    (as that makes both our lives much easier)

  2. No need to do anything right now as I’m an editor here on this site and have fixed it for you already. However, in the future I might not see your post so review my edits by pushing the orange pencil above your post I just fixed. :wink:

  3. go to a terminal by pressing Ctrl+Alt+T and provide the output to:

    cat $HOME/.config/mimeapps.lst
    
  4. @maycne.sonahoz If that doesn’t help me solve it, I’ll need your help as I’m on KDE, but you’re on XFCE… :wink:

:+1:

Did you try to do it within Thunar itself ?
Like so :

Now below is what i have in $HOME/.config/mimeapps.list related to Mousepad

[Default Applications]
application/octet-stream=mousepad.desktop
application/x-gettext-translation=mousepad.desktop
application/xml=mousepad.desktop
application/x-wine-extension-ini=mousepad.desktop
text/plain=mousepad.desktop

Hope this helps

3 Likes

XFCE Settings Manager > Default Applications > Others
Filter: text
default-applications

The icon in Thunar, doesn’t look like Mousepad, but a piece of paper with a folded corne

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.