Wiki Table of Contents

HELP: MX Tweak

MX Tweak brings together a number of small but often used customizations. Related settings applications native to Xfce are presented below for the user’s convenience.

Panel

Allows the user to make quick user interface changes to system defaults.

MX Tweak
Panel Tab

The user may select to display the default panel horizontally (top or bottom) or vertically (left–default–or right). Customizations, including panel plugins,will be preserved, although plugin location might be altered.

A backup of the current panel is stored in ~/.restore/. A backup is created on first launch of the app, and a new backup may be made at anytime. Only one backup at a time may be stored at this time.

The user may use the “Restore default panel” to get back to the original, as-shipped panel.

Tips and Tricks

  • If you want to export a panel configuration from one computer to another, with both running MX-15 or later, copy the “~./restore/” folder from the original computer and paste it in “~/.restore/” of the second computer, and use the “Restore backup panel configuration” option to “import” the migrated panel.

Theme

On this tab the user may select to change whatever the current theme is to the default light theme set, default dark theme set, or other theme set. This will change the gtk style, window manager style, and icon theme.

The user can also save their current gtk, window manager, and icon theme settings to a new theme set. The theme-set will be saved in ~/.local/share/mx-tweak-data.

The Firefox tweak option will force a light theme on Firefox, which will solve an issue with some websites, including netflix and youtube, where text fields will not display correctly when a dark system theme is in use.

The HexChat tweak will modify the HexChat configuration to make the text in the input box in chat more visible.

Tips and Tricks

  • The Firefox dark theme tweak option will work with themes other than the system defaults.
  • The HexChat tweak will work with themes other than the system defaults.

Compositor

Here the user may select whether to use a compositing window manager, and which compositor to use.

Xfwm (Xfce) compositor

Xfwm is the default window manager for Xfce, and it includes its own compositor. That compositor is turned off by default in MX Linux because it can cause various problems on older machines. When you turn on its compositor by selecting it from the pull-down menu, the button “Xfwm Settings” becomes active and, when clicked, provides access to some basic settings. For details, consult the Xfce Wiki.

Under Xfce 4.14, the user can set the “Vblank” mode to auto, glx, xpresent, or off.

glx – Anecdotally, this seems to work well with Intel cards and some Nvidia / ATI cards

xpresent – uses the xpresent libraries. Anecdotally, this seems to work well with newer ATI / AMD cards.

off – this disables the vblank code. Anecdotally, this seems to work well with Nvidia cards.

Compton compositor

Compton is often used instead of Xfwm to reduce the kind of screen tearing that sometimes troubles lightweight compositors such as Xfwm. MX Tweak gives you an easy way to start, stop, and configure the Compton compositor.

At launch, a compton.conf configuration file will be created for you in ~/.config if one doesn’t already exist.

The “Stop Compton” button will change to “Launch Compton” if its not running.

The “Configure Compton” button will launch compton-conf, an LXqt project configuraiton tool for compton. The compton-conf configuration tool works best with the compton.conf file included with the package. Changes made by compton-conf will take affect at the “apply” button.

If you have an existing compton.conf file, or want to change settings not available in the gui, the “Edit compton.conf” button will open ~/.compton.conf in a text editor for you to edit directly. Use the Start-Stop button to cycle compton for manual changes to take affect.

The “launch at login” checkmark will enable autostart of compton. this works if the compton file is the in the default location of ~/.config/compton.conf.

Tips and Tricks

  • The xfce compositor will be disabled when compton is launched with the mx compton manager.
  • If you have an existing compton.conf file, it may not work with the gui compton-conf tool.
  • Some users have found that screen tearing can be reduced by setting Compton to autostart with the command:
    • compton –backend glx –paint-on-overlay –vsync opengl-swc

Config Options

Config options contains a few special items pertaining to the system configuration

config
Config Options Tab

Occasionally the lightdm theme and thunar custom right-click actions maybe be updated. While these updated configurations will be present on the system, they will not go into effect automatically for upgraders. The “Reset” actions will change any existing lightdm or thunar custom actions to the latest MX defaults.

The last item varies depending on what video adapter is installed on the system. If a intel graphics board is detected, the user will be presented with the option show above, which will force the system to use the “intel” driver rather than the debian default “modesetting” driver. The “intel” configuration also includes a “tear free” option that many find helps with screen tearing.

If the user has an amd graphics part, then the user will be offered a choice to enable the “tear free” option for the radeon or amdgpu drivers, which ever is in current use. The actual driver choice will not be changed, just the “tear free” option.

Display

On MX19 and later, a Display tab is available. Here you can control the backlight, xrandr brightness, resolution, gtk scaling and the hidden xrandr scaling available under Xfce

  • GTK scaling accepts only whole number scaling. This is the same as the scaling available under the Xfce Appearance application
  • Xrandr scaling accepts fractional scales. These values will be saved in the standard xfconf system, so Xfce will automatically apply them on restart of Xfce
  • The backlight control will be available on systems with an exposed backlight interface under /sys/class/brightness. This is mostly laptops and all-in-one devices.
  • The Software brightness slider controls the brightness through the xrandr interface and should work on external as well as internal monitors. Clicking “Save” will preserve the current setting across reboots
  • For convenience, the resolution can also be set here. This controls the same settings as the Xfce Display application
  • A system tray application for controlling the brightness is also available. A menu entry is provided, or start MX-Tweak with the –tray switch.
  • Left-clicking the system tray icon will give the popup brightness control shown.
  • Right-clicking the system tray icon will present an option to open the full MX-Tweak display tab
  • In the tray application, clicking the >> button will expose any backlight control available.
  • All settings except for backlight and GTK scaling on are a per-user and per-display basis. Select the proper Display from the Dropdown box.

Other

  • Most items on “Other” are self explanatory.
  • Enable mounting of internal drives will require the user’s root password.
  • Enable of kernel sandbox is only available on kernels that have a switch for user namespaces built in. Some kernels default to off, some default to on. Enabling this feature is useful for a lot of applications that require sandboxes.
  • Enabling hibernate on logout menu will also require the user’s root password.

Details

  • There is a template file in /usr/share/mx-tweak-data that folks can use to build theme sets. The file should also be copied into ~/.local/share/mx-tweak-data. also, user files stored in ~/.local/share/mx-tweak-data will be picked up by mx-tweak on start of the app.

Development history: Dolphin_Oracle, including a wrapper for Compton-conf (LXqt)

License: here.

v. 20170905

3 thoughts on “HELP: MX Tweak”

  1. MX19 – Screen tearing video has been killing my Linux experience on Debian XFCE, Ubuntu 18.04, and MX19. I have Intel integrated graphics, 4 GB memory. I was looking for a distro that worked to play online TV and recorded HD TV. An automated solution to this issue could help promote Linux for users who watch tv! Perhaps turn on for only video apps (when one is started), or just anytime the system has an extra 100MB of unused memory.

    Reply
  2. Hi
    I just installed MX Linux for the first time and I went to use MX Tweak and I get this error:

    “This app is xfce-only”

    Any Ideas?

    Reply

Leave a Comment

Do NOT follow this link or you will be banned from the site!