Skip to content

Just installed arch on a crappy laptop, whats the first thing I should do? + Questions

Decided to install arch on a old crappy little laptop that was hanging around with nothing to do. I have installed LXDE on it, since it is lightweight. I am not really a big ArchLinux user, but I dont know what I should do right now, are there anything I should download just to make it more usefull?

And could anybody tell me how to change keyboard layout, and how to bind CTRL+ALT+T to launch terminal?

Thank you ^^

7 points10 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 100% up
Kind
Text
ID
35f37v

Author

7
posts
90
comments
11
media
View profile

10 comments

 

  • Install TLP https://wiki.archlinux.org/index.php/TLP
     

  • To set keyboard layout edit /etc/X11/xorg.conf.d/10-keyboard.conf
    https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Using_X_configuration_files
    Example /etc/X11/xorg.conf.d/10-keyboard.conf:  

    Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbOptions" "grp:shifts_toggle" #Option "XkbOptions" "grp:lwin_toggle" Option "XkbModel" "pc105" Option "XkbLayout" "us,LAYOUT" Option "XkbVariant" "altgr-intl,VARIANT" EndSection
     

  • Key bindings are found in the <keyboard> section of your rc.xml configuration file.
    Any bindings outside of that section are not valid and will be ignored.
    Add the following to ~/.config/openbox/rc.xml (if this is where your rc.xml is). Paste it just above </keyboard>:
     

     <keybind key="C-A-t">
      <action name="Execute">
       <command>lxterminal</command>
      </action>
     </keybind>
    

     

4 points

I suggest you choose LXQt over LXDE. It's pretty stable and is better supported than LXDE at this point.

3 points

LXQt is "replacing" LXDE in the future. It makes sense to switch to it even if you need to use the AUR.

I use awesome-wm though, switched away from LXQt after a few months because it wasn't light enough. It's still pretty light.

3 points

Install xbindkeys and lxterm:

sudo pacman -S xbindkeys lxterminal

Add it to lxde's autostart:

echo '@xbindkeys' >> ~/.config/lxsession/LXDE/autostart

Create a config file for xbindkeys:

cat >> ~/.xbindkeysrc <<EOF
"lxterm"
    m:0xc + c:28
    Control+Alt + t
EOF

Log out and log back in (or restart).

2 points

You could install zRam. It starts to compress ram when you run out of memory. And compared to hdd swap it's really fast.

1 points

Keyboard layout :

nano /etc/vconsole.conf

then add (or edit)

KEYMAP=uk (for example)
0 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.