• openbox桌面环境配置生成

# 默认配置路径
cd /nix/store/79c01n573i3g3brz3xkb4l5qcqcl2gjs-openbox-3.6.1/
find ./ -name menu.xml
find ./ -name applications.menu
# ./etc/xdg/openbox/menu.xml
mkdir -p ~/.config/openbox/
cp ./etc/xdg/openbox/* ~/.config/openbox/
# 编辑
code ~/.config/openbox/menu.xml
# 重新加载配置让配置生效
openbox --reconfigure
openbox --restart


# 壁纸等设置,包
obconf
lxqt.obconf-qt
  • 主题和鼠标

# 主题
# 下载.obt 解压到 ~/.themes
# https://www.box-look.org/p/1017792/
# https://www.box-look.org/p/1455029

tar xvf 72855-Clearlooks-Evolving.obt
tar xvf Lean.tar.gz

mkdir -p ~/.themes
mv Clearlooks-Evolving ~/.themes
mv Lean ~/.themes

# 然后配置文件修改为新的主题文名称
~/.config/openbox/rc.xml

<theme>
  <name>Lean</name>
  <titleLayout>NLIMC</titleLayout>
  ...

# 鼠标还是在这个位置
ls ~/.icons
# default
  • 配置原文../flatpak.php生成

<?xml version="1.0" encoding="UTF-8"?>

<openbox_menu xmlns="http://openbox.org/3.4/menu">


  <menu id="apps-editors-menu" label="app">
    <item label="vscode">
      <action name="Execute">
        <command>code</command>
        <startupnotify>
          <enabled>yes</enabled>
          <wmclass>vscode</wmclass>
        </startupnotify>
      </action>
    </item>
    <item label="firefox">
      <action name="Execute">
        <command>firefox</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>

    <item label="alacritty">
      <action name="Execute">
        <command>alacritty</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>



    <item label="RESP.app - GUI for Redis ®">
      <action name="Execute">
        <command>flatpak run app.resp.RESP</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Qv2ray">
      <action name="Execute">
        <command>flatpak run com.github.Qv2ray</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Barrier">
      <action name="Execute">
        <command>flatpak run com.github.debauchee.barrier</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Flatseal">
      <action name="Execute">
        <command>flatpak run com.github.tchx84.Flatseal</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Moonlight">
      <action name="Execute">
        <command>flatpak run com.moonlight_stream.Moonlight</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="OBS Studio">
      <action name="Execute">
        <command>flatpak run com.obsproject.Studio</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Linux QQ">
      <action name="Execute">
        <command>flatpak run com.qq.QQ</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Black Box">
      <action name="Execute">
        <command>flatpak run com.raggesilver.BlackBox</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="sunshine">
      <action name="Execute">
        <command>flatpak run dev.lizardbyte.sunshine</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Fluffychat">
      <action name="Execute">
        <command>flatpak run im.fluffychat.Fluffychat</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Element">
      <action name="Execute">
        <command>flatpak run im.riot.Riot</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="DBeaver Community">
      <action name="Execute">
        <command>flatpak run io.dbeaver.DBeaverCommunity</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="GPU-Viewer">
      <action name="Execute">
        <command>flatpak run io.github.arunsivaramanneo.GPUViewer</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Porymap">
      <action name="Execute">
        <command>flatpak run io.github.huderlem.porymap</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="PodmanDesktopCompanion">
      <action name="Execute">
        <command>flatpak run io.github.iongion.PodmanDesktopCompanion</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="mGBA">
      <action name="Execute">
        <command>flatpak run io.mgba.mGBA</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Podman Desktop">
      <action name="Execute">
        <command>flatpak run io.podman_desktop.PodmanDesktop</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Shrew Soft VPN Access Manager">
      <action name="Execute">
        <command>flatpak run net.shrew.ike.qikea</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Chromium Web Browser">
      <action name="Execute">
        <command>flatpak run org.chromium.Chromium</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Citra">
      <action name="Execute">
        <command>flatpak run org.citra_emu.citra</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Okular">
      <action name="Execute">
        <command>flatpak run org.kde.okular</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="PPSSPP">
      <action name="Execute">
        <command>flatpak run org.ppsspp.PPSSPP</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Remmina">
      <action name="Execute">
        <command>flatpak run org.remmina.Remmina</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>



  </menu>



  <menu id="system-menu" label="System">
    <item label="Openbox Configuration Manager">
      <action name="Execute">
        <command>obconf</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Gnome Control Center">
      <action name="Execute">
        <command>gnome-control-center</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="KDE Control Center">
      <action name="Execute">
        <command>kcontrol</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Xfce Settings">
      <action name="Execute">
        <command>xfce-setting-show</command>
        <startupnotify>
          <enabled>yes</enabled>
        </startupnotify>
      </action>
    </item>
    <item label="Manage Cups Printers">
      <action name="Execute">
        <command>xdg-open http://localhost:631/</command>
        <startupnotify>
          <enabled>no</enabled>
          <icon>cups</icon>
        </startupnotify>
      </action>
    </item>
    <separator />
    <item label="Reconfigure Openbox">
      <action name="Reconfigure" />
    </item>
  </menu>

  <menu id="root-menu" label="Openbox 3">
    <separator label="Applications" />
    <menu id="apps-accessories-menu"/>
    <menu id="apps-editors-menu"/>
    <menu id="apps-graphics-menu"/>
    <menu id="apps-net-menu"/>
    <menu id="apps-office-menu"/>
    <menu id="apps-multimedia-menu"/>
    <menu id="apps-term-menu"/>
    <menu id="apps-fileman-menu"/>
    <separator label="System" />
    <menu id="system-menu"/>
    <separator />
    <!-- <item label="Log Out">
      <action name="Exit">
        <prompt>yes</prompt>
      </action>
    </item> -->
  </menu>

</openbox_menu>