Application (flatpak) installs and launches twice

Hello,
I’m very new to Linux and Manjaro so I’m sorry if this is a rookie question. I installed Slack from Pamac, which only comes as a Flatpak. It installed correctly, but created two entries in my application menu, and when I launch it, it starts twice (and eats twice as much RAM).

Tried to reboot, uninstall and re install from the Konsole, doesn’t seem to be working. Install is fresh, I’m running 510 kernel and plasma 5.22.4
Didn’t quite find the solution to this problem after a quick search online.
Anybody help ? Greatly appreciated :stuck_out_tongue:

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

  1. Please read this:
    [HowTo] become a Manjaro power user when you're a wizard at Windows but a N00b at Manjaro / Linux

    because Slack is also available in the AUR…

  2. For the future, 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… :grin:

  3. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

:+1:

Thanks a lot ! Here is my inxi output.

  Kernel: 5.10.53-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=ba2e3d3a-ca69-454a-a0fc-7875a258620f rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 
  dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: Micro-Star product: Modern 15 A11M v: REV:1.0 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: Micro-Star model: MS-1552 v: REV:1.0 serial: <filter> 
  UEFI: American Megatrends LLC. v: E1552IMS.111 date: 03/01/2021 
Battery:
  ID-1: BAT1 charge: 30.0 Wh (59.8%) condition: 50.2/52.4 Wh (95.7%) 
  volts: 11.4 min: 11.4 model: MSI Corp. MS-1552 type: Li-ion serial: N/A 
  status: Discharging 
Memory:
  RAM: total: 7.48 GiB used: 3.18 GiB (42.5%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP 
  arch: Tiger Lake family: 6 model-id: 8C (140) stepping: 1 microcode: 88 
  cache: L2: 12 MiB bogomips: 44864 
  Speed: 1000 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 1000 2: 1000 
  3: 1000 4: 1000 5: 1002 6: 1000 7: 1001 8: 1000 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2 avx512_vnni 
  avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f 
  avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2 cdp_l2 clflush 
  clflushopt clwb 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 fsrm fxsr gfni ht hwp hwp_act_window hwp_epp hwp_notify 
  hwp_pkg_req ibpb ibrs ibrs_enhanced ida intel_pt invpcid invpcid_single 
  lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri msr mtrr 
  nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge 
  pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdt_a rdtscp rep_good 
  sdbg sep sha_ni smap smep split_lock_detect ss ssbd sse sse2 sse4_1 sse4_2 
  ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer 
  tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid x2apic xgetbv1 xsave 
  xsavec xsaveopt xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  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: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Micro-Star MSI 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300 
  Device-2: Acer HD Webcam type: USB driver: uvcvideo bus-ID: 3-7:2 
  chip-ID: 5986:211c class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :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 Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.1.5 
  direct render: Yes 
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Micro-Star MSI 
  driver: sof-audio-pci alternate: snd_hda_intel,snd_sof_pci bus-ID: 00:1f.3 
  chip-ID: 8086:a0c8 class-ID: 0401 
  Sound Server-1: ALSA v: k5.10.53-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.32 running: yes 
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel port: 3000 
  bus-ID: 00:14.3 chip-ID: 8086:a0f0 class-ID: 0280 
  IF: wlo1 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 AX201 Bluetooth type: USB driver: btusb v: 0.8 
  bus-ID: 3-10:3 chip-ID: 8087:0026 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 476.94 GiB used: 44.58 GiB (9.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2210 MTFDHBA512QFD 
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 type: SSD serial: <filter> rev: P6MA001 temp: 33.9 C scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 290.45 GiB size: 284.83 GiB (98.06%) 
  used: 44.55 GiB (15.6%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4 
  label: N/A uuid: ba2e3d3a-ca69-454a-a0fc-7875a258620f 
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) 
  used: 32.1 MiB (33.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: N/A uuid: 9E5A-4C4B 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 186.38 GiB fs: ntfs label: N/A 
  uuid: B2C260B9C2608407 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-7:2 info: Acer HD Webcam type: Video driver: uvcvideo 
  interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:211c 
  class-ID: 0e02 
  Device-2: 3-10:3 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026 
  class-ID: e001 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 258 Uptime: 12m wakeups: 1164 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: 1231 pacman: 1225 lib: 329 
  flatpak: 6 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06 

It also appears to do it with Skype. These are the only two faltpaks I’ve installed, but I need them for work. I understand that they are also available in the AUR, but I’ve been told that as a beginner it was best to avoid the AUR as much as I can until I get a better understanding of what I’m doing.

What can I do next ? Can I provide more information ?

This is weird behavior.
Can you run flatpak run com.slack.Slack from the terminal?

Yes I can. It does the same thing.

My terminal doesn’t seem to do able to complete the task tho ; if I try to close it I get a warning saying that bwrap is still running

Flatpaks and snaps come with their own disadvantages, so:

  • file a bug upstream with the package maintainer
    OR
  • activate the AUR, delete all snaps and flatpaks and install from the AUR and then the application runs natively and any bugs can be taken up with the developer of the software instead of the flatpak maintainer.

:man_shrugging:

Ok done that, indeed it works better. Thanks !

In the meantime I also tried to download several packages from the AUR but it is hard to see which ones are maintained and which aren’t. Is there anyway of judging if a package is still relevant prior to downloading and testing it ?

Oh and also, many of them end with -git. What is the difference between those and the “regular ones” ?