Linux On Android - Fix Keyboard Shortcuts (Includes Split Screen Example)

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 7

  • @ruthake
    @ruthake  4 месяца назад +1

    Keyboard shortcut fix, from a terminal:
    From ~/.config, create openbox folder and copy openbox xml config file (rc.xml) into ~/.config/openbox . Then make a backup copy of the config file:
    cd ~/.config
    mkdir openbox
    cd openbox
    cp /etc/xdg/openbox/rc.xml ./
    cp rc.xml rc.bak
    Create a backup copy of the gol script and then edit the first line of the gol script so that openbox knows where the config file is:
    cp /usr/bin/gol /usr/bin/gol.bak
    nano /usr/bin/gol
    From:
    openbox-lxde &> /dev/null &
    sleep 5
    dbus-launch pcmanfm --desktop &> /dev/null &
    lxpanel &> /dev/null &
    To:
    openbox-lxde --config-file ~/.config/openbox/rc.xml &> /dev/null &
    sleep 5
    dbus-launch pcmanfm --desktop &> /dev/null &
    lxpanel &> /dev/null &
    Reboot Linux. Now keyboard shortcuts can be created.
    -------------------------------------
    Create keyboard shortcuts with Setup Hot Keys:
    Keyboard shortcuts can be created from Menu > Preferences > Setup Hot Keys
    Set up a shortcut to launch an application. For example, to set Ctrl+Alt+T to launch LXTerminal:
    1. Go to the Programs tab
    2. Click Create new action button (white box with star in it)
    3. Click box under Hotkey 1 and do Ctrl+Alt+T
    4. Under Command line: enter in lxterminal
    5. Click Accept changes button (green check mark)
    6. Click save button to apply changes (red arrow)
    7. Now pressing Ctrl+Alt+T will open LXTerminal
    Set up a shortcut to perform an action. For example, to move a window with Alt+F7:
    1. Go to the Actions tab
    2. Click Create new action button (white box with star in it)
    3. Click box under Hotkey 1 and do Alt+F7
    4. Click Add an action button (white box with star in it)
    5. From Name dropdown, select Move
    6. Click Apply button
    7. Click Accept changes button (green check mark)
    8. Click save button to apply changes (red arrow)
    9. Now pressing Alt+F7 will allow the mouse to move the window
    -------------------------------------
    Create split screen keyboard shortcuts by editing the rc.xml file:
    Open ~/.config/openbox/rc.xml with Mousepad.
    Ctrl+F and search for F7
    Add an empty line before end tag
    Copy and paste the following xml code into the empty line:

    50%

    -0
    0


    50%

    0
    0


    50%

    0
    0


    50%

    0
    -0

    Save the file, close everything, and reboot Linux.
    Shift+End = Split screen right
    Shift+Start = Split screen left
    Shift+Page Up = Split screen top
    Shift+Page Down = Split screen bottom
    -------------------------------------
    Additional workflow tips:
    Right click the top border of a window > Layer > select Always on top (window will now stay on top even if the window behind it is being interacted with. Reset this by right clicking the window top border > Layer > select Normal)
    Ctrl+Alt+Left or Right arrow key = Switch virtual desktops
    Shift+Alt+Left or Right arrow key = Move window to another desktop
    -------------------------------------
    Questions are welcome and encouraged. Due to the design of RUclips's comment section, posting questions under the pinned comment or under another user's comment makes it difficult for me to find and answer questions. Please do not post your questions under the pinned comment or under other user's questions. Please create a new comment.

  • @electionmaster4898
    @electionmaster4898 4 месяца назад

    Wow, thank you for the secret knowledge I've been searching for years! I'll be sure to check out the whole playlist.

  • @gilbertdukeman4420
    @gilbertdukeman4420 4 месяца назад

    hey ruth, im new to linux and i wanted to say thank you for the informative video

  • @Cyberblackhatusa
    @Cyberblackhatusa 4 месяца назад

    Thank you ❤

  • @alok8934
    @alok8934 4 месяца назад

    thanks for all the videos, but can you tell me how to enable sound on Debian session in userland

    • @ruthake
      @ruthake  4 месяца назад

      Due to current limitations of UserLAnd's VNC, sound and OpenGL graphics are not available: ruclips.net/user/shortsdsQDYFv97F4

  • @AhmetAgrbas-wm6xo
    @AhmetAgrbas-wm6xo 4 месяца назад

    🥰🌹