Table des matières

Notes LXQT

Voir :

Chemins

Xdg Data Home/home/user1/.local/share
Xdg Config Home/home/user1/.config
Xdg Data Dirs/home/user1/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
Xdg Cache Home/home/user1/.cache
Xdg Runtime Home/run/user/1000
Xdg Autostart Dirs/etc/xdg/autostart
Xdg Autostart Home/home/user1/.config/autostart

Désactiver le zoom du gestionnaire de fenêtre xfwm4

Lancer xfwm4-tweaks-settings puis
Compositor - Zoom destop with mouse wheel

Ce qui revient à changer

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml

<?xml version="1.0" encoding="UTF-8"?>
 
<channel name="xfwm4" version="1.0">
  <property name="general" type="empty">
 
    <!-- others lines -->
    <!-- property name="zoom_desktop" type="bool" value="true"/ -->
    <property name="zoom_desktop" type="bool" value="false"/>
    <!-- others lines -->
 
  </property>
</channel>

Compilation lximage-qt

sudo apt-get install git make cmake
#sudo apt-get install qtbase5-dev  libqt5widgets5 libqt5x11extras5-dev qttools5-dev libqt5svg5-dev libfm-qt-dev
#sudo  apt-get install $(apt-cache search ^qt |grep dev  |grep ^qt |awk '{print $1}' |grep dev$)
sudo apt-get build-dep lximage-qt
 
git clone https://github.com/lxqt/lximage-qt
cd lximage-qt
 
mkdir build
cd build
cmake ..
make -j $(nproc)

Transparence LXQt LXDE

Source : https://la-vache-libre.org/compton-offrez-quelques-effets-graphiques-et-de-la-transparence-a-lubuntu-lxde-openbox-et-fluxbox/

sudo apt-get install compton compton-conf

Puis lancer compton-conf

~/.config/openbox/autostart

#@compton -c -r 16 -l -24 -t -12 -G -b
@compton

Alt Tab affiche les applications de tous les écrans virtuels

Source https://www.mostad.eu/how-to-make-alt-tab-show-windows-from-all-desktops-in-lubuntu/

Ajouter :

<allDesktops>yes</allDesktops>

dans le fichier ci dessous

~/.config/openbox/lxqt-rc.xml

    <!-- Keybindings for window switching -->
    <keybind key="A-Tab">
      <action name="NextWindow">
        <allDesktops>yes</allDesktops>
        <finalactions>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>
    <keybind key="A-S-Tab">
      <action name="PreviousWindow">
        <allDesktops>yes</allDesktops>
        <finalactions>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>

Puis

openbox --reconfigure

Autres

Openbox as Window Manager

~/.config/lxqt/session.conf

[General]
__userfile__=true
#window_manager=xfwm4
window_manager=openbox

Pb après débrancher le second écran, les fenêtres sont inaccessibles

Solution

~/.config/openbox/lxqt-rc.xml

    <keybind key="W-F1">
      <action name="MoveResizeTo">
        <!-- move the window to the second monitor -->
        <monitor>1</monitor>
        <!-- put the window in the bottom right corner -->
        <x>center</x>
        <y>center</y>
      </action>
    </keybind>

Reload de la conf OpenBox

openbox --reconfigure

Pb

Clef USB / Removable media open with

Source : https://askubuntu.com/questions/1132186/how-to-configure-what-starts-when-inserting-a-medium-in-lubuntu-lxqt

Solution :

  1. Open the LXQt Configuration Center (lxqt-config) and click on “File Associations” there. Or directly start lxqt-config-file-associations.
  2. Navigate to “inode → mount-point”, click “Change”, and choose “PCManFM-Qt File Manager”, the default file manager of LXQt.
  3. Let's also disable the additional popup of PCManFM-Qt when inserting a medium. (Reasons: it does not appear for SD cards which seems to be a bug, it is redundant anyway as there's still the bottom right popover, and the PCManFM-Qt popup is not part of the planned “proper solution” in the future.) :
    1. In PCManFM-Qt, go to “Edit → Preferences → Volume”.
    2. In section “Auto Mount”, uncheck all three options.
    3. Confirm with “OK”.

~/.config/mimeapps.list

[Default Applications]
inode/mount-point=pcmanfm-qt.desktop;

Si pb file association file browser

~/.local/share/applications/mimeapps.list

[Added Associations]
#inode/directory=nautilus.desktop
#inode/directory=nemo.desktop
inode/directory=pcmanfm-qt.desktop

Perso

apt-get install ibus nm-tray pavucontrol-qt vlc-plugin-qt
 
apt-get install snapd
#snap install --classic notepadqq
apt-get install notepadqq
sudo apt-get install featherpad

Preferences → Text → Dark Color Scheme

~/.config/featherpad/fp.conf

[text]
darkColorScheme=true

Voir

apt-cache search qt |awk '{print $1}' |grep '\-qt$'

~/.bashrc

ssh-add -l >/dev/null
 
if [[ $? -eq 1 ]]
then
        ssh-add
fi
sudo update-alternatives --config x-session-manager

FIXME