Skip to content
TheChatArchiveThe Chat Archive
Geminigemini-2.5-pro· GoogleHugging Face LMArena Human Preference 140K

how I can change the portal-lxqt font size for filepicker

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Amazon Novaamazon-nova-experimental-chat-05-14’s answer.
  1. User

    how I can change the portal-lxqt font size for filepicker

  2. Gemini Assistant

    Of course! This is an excellent question because it touches on how modern Linux desktops handle application sandboxing and system integration.

    The key to understanding this is that portal-lxqt does not have its own font settings.

    Instead, portal-lxqt acts as a "bridge." When a sandboxed application (like a Flatpak) needs to open a file, it asks the desktop portal. The portal then opens the native file picker of your desktop environment. For LXQt, this is typically the file picker provided by PCManFM-Qt.

    Therefore, to change the font size in the portal-lxqt file picker, you need to change the system-wide font settings for your LXQt desktop.

    Here are the two main ways to do it. The first method is the easiest and recommended one.


    Method 1: Using the LXQt Appearance Settings (Easy & Recommended)

    This is the standard graphical way to change fonts and other appearance settings in LXQt.

    1. Open LXQt Configuration Center:

      • Click on the main application menu (usually at the bottom-left corner).
      • Go to Preferences -> LXQt Settings.
      • Click on Appearance.
    2. Adjust the Font Settings:

      • In the "LXQt Appearance Configuration" window, click on the Font tab.
      • You will see a "General" font setting. This is the font used for most application windows, menus, and dialogs, including the file picker.
      • Click on the button that shows the current font (e.g., "Noto Sans, 10").
    3. Choose a New Font Size:

      • A font selection dialog will appear.
      • Find the Size setting and increase it to your desired value (e.g., from 10 to 12).
      • Click Select or OK.
    4. Apply the Changes:

      • Back in the Appearance window, click the Apply button.

    The font size in your file picker (and most other application windows) should change immediately. To test, simply open a Flatpak or any other application and use its "File -> Open" or "File -> Save" dialog.


    Method 2: Editing the Configuration File (Advanced)

    If you prefer using the terminal or the graphical method doesn't work for some reason, you can edit the configuration file directly.

    1. Open the Configuration File: The LXQt appearance settings are stored in ~/.config/lxqt/lxqt.conf. Open this file with your favorite text editor (like FeatherPad, which comes with LXQt).

      featherpad ~/.config/lxqt/lxqt.conf
      
    2. Locate the Font Setting: Look for the [General] section in the file. Inside this section, you will find a line that starts with font=. It will look something like this:

      [General]
      __userfile__=true
      font=Noto Sans,10,-1,5,50,0,0,0,0,0
      
    3. Edit the Font Size: The format is FontFamily,Size,.... The second value is the font size. Change the number 10 (or whatever your current size is) to your desired new size.

      For example, to change the font size to 12: Before: font=Noto Sans,10,-1,5,50,0,0,0,0,0 After: font=Noto Sans,12,-1,5,50,0,0,0,0,0

    4. Save and Log Out: Save the lxqt.conf file. For the changes to be fully applied across your session, you will need to log out and log back in.


    Troubleshooting: If It Still Doesn't Work

    If you change the font but the file picker from a Flatpak app still looks different, it might be because the system is incorrectly using the GTK portal instead of the LXQt (Qt) one.

    1. Check which portals are active: Open a terminal and run:

      xdg-desktop-portal -v
      

      This will show you which backend is being used. You should see references to lxqt.

    2. Ensure the environment is set correctly: Make sure your system knows you are running LXQt. The XDG_CURRENT_DESKTOP environment variable should be set to LXQt. You can check it with:

      echo $XDG_CURRENT_DESKTOP
      

      If it's blank or set to something else, you may need to set it permanently. A good place to do this is in /etc/environment.

      # As root, edit /etc/environment and add this line:
      XDG_CURRENT_DESKTOP=LXQt
      

      You will need to reboot for this change to take effect. This ensures that sandboxed applications correctly identify your desktop and use the right portal (portal-lxqt).

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.