Page 1 of 4

Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 4:23 am
by Jakob77
Via an icon I use a Terminal command syntax like this in a script to make Firefox open 3 windows in one click:

Code: Select all

firefox --new-window 'https://mxlinux.org/' --new-window 'https://mxlinux.org/wiki/system/iso-download-mirrors/#checksumsignatures' --new-window 'https://endoflife.date/mxlinux'
( I love it! lol )

However sometimes after updating I have for a while had a problem using it because only one of the windows works correctly.
Two of them are blanks and their close buttons in the upper right corner does not work.
To close them I have to use the right click menu on the icons in the panel.
When I have done that and try again all 3 windows normally opens correctly.

I don't know if it is a syntax problem, a Firefox problem, an update problem or something else.
How to solve.? :-)

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 4:26 am
by Eadwine Rose
According to the forum rules (please read): Please provide full Quick System Info, use copy for forum button, no edits.
LiveUSB version is OK if needed.

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 4:31 am
by Jakob77
Sorry, here we go:

Code: Select all

System:
  Kernel: 6.1.0-32-amd64 [6.1.129-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-32-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto October 15  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: Dell product: Latitude E7240 v: 01 serial: <superuser required> Chassis:
    type: 9 serial: <superuser required>
  Mobo: Dell model: 060GR9 v: A00 serial: <superuser required> BIOS: Dell v: A08 date: 02/18/2014
Battery:
  ID-1: BAT0 charge: 25.2 Wh (54.8%) condition: 46.0/46.0 Wh (100.0%) volts: 7.5 min: 7.4
    model: SMP DELL KWFFN33 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Core i5-4300U bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x45 (69) stepping: 1
    microcode: 0x26
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1003 high: 1036 min/max: 800/2900 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 1001 2: 1036 3: 945 4: 1030 bogomips: 19953
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: conditional; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel arch: Gen-7.5
    process: Intel 22nm built: 2013 ports: active: DP-2 off: eDP-1 empty: DP-1, DP-3, DP-4,
    HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300
  Device-2: Sunplus Innovation Laptop Integrated Webcam HD type: USB driver: uvcvideo
    bus-ID: 2-4:3 chip-ID: 1bcf:2985 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: DP-2 mapped: DP-1-1 pos: primary model: Dell U2713HM serial: <filter> built: 2013
    res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: eDP-1 note: disabled model: BOE Display 0x05da built: 2013 res: 1920x1080 dpi: 125
    gamma: 1.2 size: 277x156mm (10.91x6.14") diag: 318mm (12.5") ratio: 16:9 modes: 1366x768
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 4400 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0a0c class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Dell 8 driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:9c20 class-ID: 0403
  API: ALSA v: k6.1.0-32-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I218-LM vendor: Dell driver: e1000e v: kernel port: f080 bus-ID: 00:19.0
    chip-ID: 8086:155a class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:08b1 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: wwan0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-1.3:3
    chip-ID: 8087:07dc class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 5 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
    sub-v: 500 hci-v: 4.0 rev: 500
  Info: acl-mtu: 1021:5 sco-mtu: 96:5 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, audio, telephony
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: N/A class-ID: 0104
Drives:
  Local Storage: total: 238.47 GiB used: 194.73 GiB (81.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD SM841 mSATA 256GB size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 3D0Q
    scheme: MBR
Partition:
  ID-1: / raw-size: 238.47 GiB size: 233.67 GiB (97.99%) used: 194.73 GiB (83.3%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 55.0 C mobo: 43.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 3992
Repos:
  Packages: pm: dpkg pkgs: 2218 libs: 1106 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.dotsrc.org/mx-packages/mx/repo/ bookworm main non-free
Info:
  Processes: 212 Uptime: 1h 23m wakeups: 2 Memory: 7.66 GiB used: 1.8 GiB (23.5%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
I just doubt there is much need for it since the problem occurs on 5 different computers and on both Lenovo and Dell.

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 7:37 am
by j2mcgreg
@Jakob77 wrote:
I just doubt there is much need for it since the problem occurs on 5 different computers and on both Lenovo and Dell.
Since we are not in our users' offices or dens overlooking their shoulders, we have to make this requirement universal and for the same reason we can't take their word on this issue.

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 8:16 am
by j2mcgreg
Two areas of concern:
1) your Samsung SSD is at least ten years old
https://www.dell.com/support/home/en-ca ... erid=0j8f2
Since the Latitude is Dell's enterprise offering, if you got this laptop secondhand, you should assume that it has been heavily used and that maybe it should be replaced.
2) this laptop was shipped with Windows 8 Pro
https://www.notebookcheck.net/Review-De ... 324.0.html
The CSM module built into it's UEFI Set Up Utility (bios) was in place to allow users to roll back to the more stable Win 7. It was not meant for use with any other operating system and doing so can produce some odd behaviour over time.

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 2:42 pm
by Jakob77
The errors only appear after an update.

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 2:45 pm
by Discostu
Does it work if you open Firefox normally one time after update?

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 3:42 pm
by Jakob77
Discostu wrote: Fri Apr 04, 2025 2:45 pm Does it work if you open Firefox normally one time after update?
Thank you for asking. :-)
I am not sure what "normally" is.
I have only seen the error when I use the syntax for opening more than one window.
And it is only the first time after an update it happens.
I am not completely sure if it is always and only when the update includes software for Firefox.

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 3:58 pm
by Discostu
What I mean is that it would not be surprising to me if Firefox needed a normal startup (one window) after an update to initialize and that this does not work with three windows being opened simultaneously.

Re: Terminal syntax for Firefox fails after update

Posted: Fri Apr 04, 2025 5:17 pm
by towwire
Jakob77 wrote: Fri Apr 04, 2025 2:42 pm The errors only appear after an update.
If it only happens after an update you could change your script into a two steps (commands) to test.

Have your script open one window and then a short sleep before the command to open the other two windows.