Skip to main content

3 posts tagged with "lxde"

View All Tags

· One min read
Hreniuc Cristian-Alexandru

LE: 14th Sept 2022 - Use regolith-linux instead or use Ubuntu and use the default keybindings that support some tilling.

  1. First step, you have to install i3``apt-get install i32. Go to LXpanel menu > Preferences > Default application for LXSession then go to tab Core applications and set to Window Manager: i33. Edit the autostart script by adding --desktop-off in the file ~/.config/lxsession/LXDE/autostart to the pcmanfm command, it should look like this after you edit it: @pcmanfm --desktop --profile LXDE. If the dmenu doesn\'t find your local binaries(the folders you added to the $PATH) you should create a ~/.xsessionrc and export the $PATH env variable there:
#!/bin/bash
# Content of ~/.xsessionrc


export PATH=${PATH}:${HOME}/.local/bin

Note: On archlinux + lxde I added that export in .xinitrc I was having some problems with lxpanel, it was taking too much resources so a I deactivated. I commented the line @lxpanel --profile LXDE from file ~/.config/lxsession/LXDE/autostart. #### Debian + xfce: I followed these steps: https://feeblenerd.blogspot.com/2015/11/pretty-i3-with-xfce.html bash apt-get install i3 Deactivated xfwm4 and xfdesktop from : \'Session and Startup\' -> \'Session\' tab.. Added i3 in \'Application Autostart\' tab. Removed all keybindings. Reboot.

· One min read
Hreniuc Cristian-Alexandru

LE: 14th Sept 2022 - Ubuntu 20.04 supports most of these out of the box now, with other keybinings.

Add these in :~/.config/openbox/lxde-rc.xml or ~/.config/openbox/lubuntu-rc.xml :

<!-- Keybindings for window tiling -->

<keybind key=C-W-Up> # FullScreen
<action name=Maximize/>
</keybind>
<keybind key=C-W-Down> # MiddleScreen
<action name=UnmaximizeFull/>
<action name=MoveResizeTo><x>center</x><y>center</y><width>50%</width><height>50%</height></action>
</keybind>

<keybind key=C-W-Left> # HalfLeftScreen
<action name=UnmaximizeFull/>
<action name=MoveResizeTo><x>0</x><y>0</y><height>100%</height><width>50%</width></action>
</keybind>
<keybind key=C-W-Right> # HalfRightScreen
<action name=UnmaximizeFull/>
<action name=MoveResizeTo><x>-0</x><y>0</y><height>100%</height><width>50%</width></action>
</keybind>

<keybind key=C-W-1> # UpperQuarterLeft
<action name=UnmaximizeFull/>
<action name=MoveResizeTo><x>0</x><y>0</y><height>50%</height><width>50%</width></action>
</keybind>

<keybind key=C-W-2> # LowerQuarterLeft
<action name=UnmaximizeFull/>
<action name=MoveResizeTo><x>0</x><y>-0</y><height>50%</height><width>50%</width></action>
</keybind>

<keybind key=C-W-3> # LowerQuarterRight
<action name=UnmaximizeFull/>
<action name=MoveResizeTo><x>-0</x><y>-0</y><height>50%</height><width>50%</width></action>
</keybind>

<keybind key=C-W-4> # UpperQuarterRight
<action name=UnmaximizeFull/>
<action name=MoveResizeTo><x>-0</x><y>0</y><height>50%</height><width>50%</width></action>
</keybind>

Add those inside <keyboard></keyboard>tags. Then run: openbox --reconfigureAdding a shortcut in lxde