Fluxbox 23.5 Changing Default Browser Button to Falkon  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
jno
Posts: 10
Joined: Mon Mar 24, 2025 12:20 am

Fluxbox 23.5 Changing Default Browser Button to Falkon

#1 Post by jno »

Hi, first post and apologies, I did already search for an answer and couldn't find one hence my post here. :bagoverhead:

The default browser button to launch the browser along the bottom of the screen. Mine is set to Firefox but I would prefer Falkon as it is a little bit faster.

How do I change the browser button to load Falkon instead of Firefox? :confused:

Thank you!

User avatar
Eadwine Rose
Administrator
Posts: 14622
Joined: Wed Jul 12, 2006 2:10 am

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#2 Post 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.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

jno
Posts: 10
Joined: Mon Mar 24, 2025 12:20 am

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#3 Post by jno »

Here we go (copy/paste - hope that is OK):

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: Fluxbox v: 1.3.7 info: tint2 vt: 7 dm: LightDM v: 1.32.0 Distro: MX-23.5_fluxbox_x64
    Libretto Jan 12 2025 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: SAMSUNG product: N250P/N145P v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: SAMSUNG model: N250P/N145P serial: <superuser required> BIOS: Phoenix
    v: 03HG.M015.20110928.JIP date: 09/28/2011
Battery:
  ID-1: BAT1 charge: 43.3 Wh (100.0%) condition: 43.3/48.8 Wh (88.6%) volts: 12.5 min: 11.1
    model: SAMSUNG Electronics type: Li-ion serial: N/A status: full
CPU:
  Info: model: Intel Atom N455 bits: 64 type: MT arch: Bonnell level: v1 built: 2008-13
    process: Intel 45nm family: 6 model-id: 0x1C (28) stepping: 0xA (10) microcode: 0x107
  Topology: cpus: 1x cores: 1 tpc: 2 threads: 2 smt: enabled cache: L1: 56 KiB
    desc: d-1x24 KiB; i-1x32 KiB L2: 512 KiB desc: 1x512 KiB
  Speed (MHz): avg: 1663 min/max: 1000/1667 scaling: driver: acpi-cpufreq governor: ondemand
    cores: 1: 1663 2: 1663 bogomips: 6649
  Flags: ht lm nx pae sse sse2 sse3 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1 status: Not affected
  Type: spectre_v2 status: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics vendor: Samsung Co
    driver: i915 v: kernel arch: PowerVR SGX535 process: Intel 45-130nm ports: active: LVDS-1
    empty: VGA-1 bus-ID: 00:02.0 chip-ID: 8086:a011 class-ID: 0300
  Device-2: Silicon Motion WebCam SCB-0355N type: USB driver: uvcvideo bus-ID: 5-8:4
    chip-ID: 2232:1006 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: intel dri: i915 gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1024x600 s-dpi: 96 s-size: 270x158mm (10.63x6.22") s-diag: 313mm (12.32")
  Monitor-1: LVDS-1 mapped: LVDS1 model: Chi Mei Opto 0x1032 built: 2009 res: 1024x600 hz: 60
    dpi: 117 gamma: 1.2 size: 222x125mm (8.74x4.92") diag: 255mm (10") ratio: 16:9 modes: 1024x600
  API: OpenGL v: 2.1 Mesa 22.3.6 renderer: i915 (: Pineview M) direct-render: Yes
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Samsung Co driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8 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 Centrino Wireless-N 100 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:08ae class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Marvell 88E8040 PCI-E Fast Ethernet vendor: Samsung Co driver: sky2 v: 1.30 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 09:00.0 chip-ID: 11ab:4354 class-ID: 0200
  IF: eth0 state: down mac: <filter>
Drives:
  Local Storage: total: 238.41 GiB used: 12.9 GiB (5.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SSD PLUS 240GB size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 04RL scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 model: UDisk size: 14.84 GiB block-size: physical: 512 B
    logical: 512 B type: N/A serial: N/A rev: 5.00
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 223.57 GiB size: 219 GiB (97.96%) used: 12.9 GiB (5.9%) fs: ext4 dev: /dev/sda2
    maj-min: 8:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 1024 MiB used: 185 MiB (18.1%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2266 pm: dpkg pkgs: 2260 libs: 1214 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 6
  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://mirror.easyname.ch/mxlinux-packages/mx/repo/ bookworm main non-free
Info:
  Processes: 199 Uptime: 1h 18m wakeups: 2 Memory: 1.91 GiB used: 976 MiB (49.9%) 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)

User avatar
Melber
Developer
Posts: 1303
Joined: Tue Mar 23, 2021 4:19 pm

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon  [Solved]

#4 Post by Melber »

Presuming you are using the default tint2 panel, edit the following line under # Button 4 in the file ~/.config/tint2/tin2trc

Code: Select all

button_lclick_command = sensible-browser
to

Code: Select all

button_lclick_command = falkon
If you're using a different tint2 panel, edit the appropriate tint2rc file.

jno
Posts: 10
Joined: Mon Mar 24, 2025 12:20 am

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#5 Post by jno »

Melber wrote: Wed Apr 02, 2025 4:30 am Presuming you are using the default tint2 panel, edit the following line under # Button 4 in the file ~/.config/tint2/tin2trc

Code: Select all

button_lclick_command = sensible-browser
to

Code: Select all

button_lclick_command = falkon
If you're using a different tint2 panel, edit the appropriate tint2rc file.
:number1:

Thank you, it worked. I had to edit this using MX Tweak though. Loading Tint2 from the menu did nothing, no idea why. I set it up as follows:

Code: Select all

button_lclick_command = sensible-browser
button_rclick_command = falkon
This loads Falkon with the right button and Firefox with the left button. :happy:

User avatar
Melber
Developer
Posts: 1303
Joined: Tue Mar 23, 2021 4:19 pm

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#6 Post by Melber »

jno wrote: Wed Apr 02, 2025 5:06 am I had to edit this using MX Tweak though. Loading Tint2 from the menu did nothing, no idea why.
Not exactly sure what you mean here.

You should be able to use Tint2 Manager to edit the config files, either the file directly with the "edit" button or via gui with the "config" button.

Image

Or you can just open the config file directly in featherpad.

Anyway, glad it's working. Feel free to marked the topic as solved by clicking the tick icon on the relevant post.

User avatar
siamhie
Global Moderator
Posts: 3338
Joined: Fri Aug 20, 2021 5:45 pm

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#7 Post by siamhie »

jno wrote: Wed Apr 02, 2025 5:06 am
Thank you, it worked. I had to edit this using MX Tweak though. Loading Tint2 from the menu did nothing, no idea why. I set it up as follows:
The Tint2 entry starts the toolbar and Tint2 Manager starts the configuration manager for Tint2 under the System submenu.

Code: Select all

[exec] (Tint2 Manager ) { /usr/bin/mxfb-tint2-manager } Categories=System;X-MXFB-Tools;
[exec] (Tint2 ) { tint2 } Categories=System;
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

jno
Posts: 10
Joined: Mon Mar 24, 2025 12:20 am

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#8 Post by jno »

siamhie wrote: Wed Apr 02, 2025 7:23 am
jno wrote: Wed Apr 02, 2025 5:06 am
Thank you, it worked. I had to edit this using MX Tweak though. Loading Tint2 from the menu did nothing, no idea why. I set it up as follows:
The Tint2 entry starts the toolbar and Tint2 Manager starts the configuration manager for Tint2 under the System submenu.

Code: Select all

[exec] (Tint2 Manager ) { /usr/bin/mxfb-tint2-manager } Categories=System;X-MXFB-Tools;
[exec] (Tint2 ) { tint2 } Categories=System;
Thanks but no toolbar for me. On my machine when I select Tint2 (Tint 2 panel) from the app selector (aka Start menu) I only see a slight flicker along the bottom and nothing really happens. It could well be my Netbook running on 1024x600 resolution though. :frown:

Thanks for the support, always appreciated.

User avatar
siamhie
Global Moderator
Posts: 3338
Joined: Fri Aug 20, 2021 5:45 pm

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#9 Post by siamhie »

jno wrote: Thu Apr 03, 2025 12:21 am
siamhie wrote: Wed Apr 02, 2025 7:23 am
jno wrote: Wed Apr 02, 2025 5:06 am
Thank you, it worked. I had to edit this using MX Tweak though. Loading Tint2 from the menu did nothing, no idea why. I set it up as follows:
The Tint2 entry starts the toolbar and Tint2 Manager starts the configuration manager for Tint2 under the System submenu.

Code: Select all

[exec] (Tint2 Manager ) { /usr/bin/mxfb-tint2-manager } Categories=System;X-MXFB-Tools;
[exec] (Tint2 ) { tint2 } Categories=System;
Thanks but no toolbar for me. On my machine when I select Tint2 (Tint 2 panel) from the app selector (aka Start menu) I only see a slight flicker along the bottom and nothing really happens. It could well be my Netbook running on 1024x600 resolution though. :frown:

Thanks for the support, always appreciated.

Tint2 is the default toolbar for fluxbox. I use the built-in toolbar from fluxbox myself. If I select Tint2 from the menu, then the Tint2 toolbar will appear.

fluxbox's toolbar
Image
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

/df
Posts: 30
Joined: Wed Mar 27, 2024 7:05 am

Re: Fluxbox 23.5 Changing Default Browser Button to Falkon

#10 Post by /df »

Setting some panel, menu or other shortcut icon(s) may be enough for OP, but others might want a more general solution.

Debian has "solved" the problem of which browser to run several times.

An unwritten rule says that a program may try to use the value of the BROWSER environment variable when starting a web browser (maybe now previously unwritten).

sensible-browser is one such program.

But that seems like a last resort. It tries to open the passed URL with $BROWSER, gnome-www-browser, x-www-browser, "gnome-terminal www-browser", sensible-terminal www-browser, www-browser (but the Gnome-ish ones only in a Gnome session, so generally not applicable here, and this is "secret knowledge" from one code version that may change or have changed).

In turn, x-www-browser is the name for the browser set by the _alternatives_ system, which is a general **system-wide** solution in the Debian _dpkg_ installer to the problem of which actual program to run for a certain generic action. You can read its mind:

Code: Select all

$ update-alternatives --display x-www-browser
x-www-browser - auto mode
  link best version is /usr/bin/seamonkey
  link currently points to /usr/bin/seamonkey
  link x-www-browser is /usr/bin/x-www-browser
  slave x-www-browser.1.gz is /usr/share/man/man1/x-www-browser.1.gz
/usr/bin/firefox-esr - priority 70
  slave x-www-browser.1.gz: /usr/share/man/man1/firefox-esr.1.gz
/usr/bin/mx-viewer - priority 20
/usr/bin/seamonkey - priority 75
$
Or install and run the _galternatives_ GUI tool.

If OP generally wants Falkon and that should apply to all accounts on the system, select it using

Code: Select all

sudo update-alternatives --config x-www-browser
Or if this a per-user issue, export BROWSER=falkon (maybe use its full pathname) in .profile.

Then specify Firefox, or whatever, explicitly when wanted.

Off-topic, it's time these forums understood Markdown, or at least in-line [icode]code tags[/icode]. And why doesn't

Code: Select all

[font=monospace]...[/font]
have any effect (or even font=Georgia as in the forum editor tooltip)?

Post Reply

Return to “MX Help”