Feedback on F34 i3 Spin
by Casey Witt
Hi all,
Below are my notes (written in markdown) about the tweaks I made after
installing the new F34 i3 spin.
Perhaps some of them are interesting either for integration into F35
version, or perhaps as part of a write-up about using the i3 spin.
Cheers,
Casey
# Essential Tweaks to Fedora 34 i3 Spin
(essential for me at least)
1. general system update
```
sudo dnf update
```
2. fix 4k display issues (to scale the display by 2X)
```
# install xrandr which is used to change display properties
sudo dnf install xrandr
# create a shell script to scale the display
sudo cat > /usr/share/lightdm/display.sh <<EOF
#!/usr/bin/env sh
[ -n "$DISPLAY" ] && /usr/bin/xrandr --output eDP --scale 0.5x0.5
EOF
sudo chmod +x /usr/share/lightdm/display.sh
# configure lightdm to run the shell script when showing the greeter
and when starting a new session
sudo sed -i '/greeter-setup-script=/
s/.*/greeter-setup-script=\/usr\/share\/lightdm\/display.sh/'
/etc/lightdm/lightdm.conf
sudo sed -i '/session-setup-script=/
s/.*/session-setup-script=\/usr\/share\/lightdm\/display.sh/'
/etc/lightdm/lightdm.conf
```
3. install `xss-lock` (this is already included in the default i3
config file) to enable auto start of i3lock when the display is locked;
and add a keybinding (mod+shift+p - but use a keycode since I am using
Dvorak keyboard layout (which maps this to mod+shift+l in Dvorak)) to
lock the screen
```
sudo dnf install xss-lock
echo 'bindcode $mod+Shift+33 exec --no-startup-id loginctl
lock-session' >> ~/.config/i3/config
```
4. replace urxvt terminal with alacritty (why bother configuring uxrvt
to be usable when there are other terminals that work out of the box?).
```
sudo dnf install alacritty
sudo dnf remove rxvt-unicode
```
5. replace dmenu with rofi (using the default config included in the
default i3 config file)
```
sudo dnf install rofi
# comment out the line that exec's dmenu
sed -i '/exec --no-startup-id dmenu_run/ s/^/# /' ~/.config/i3/config
# uncomment the line that runs rofi
sed -i '/rofi -modi-drun/ s/^# //' ~/.config/i3/config
```
6. use Hack font instead of monospace for i3 title bars and i3status
(it seems Hack is installed by default but I don't really understand
how fonts work or how to verify this)
```
sed -i '/^font / s/.*/font pango: Hack Regular 10/'
~/.config/i3/config
```
7. configure trackpad natural scrolling and tap to click
```
sudo cat > /etc/X11/xorg.conf.d/40-trackpad.conf <<EOF
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "Tapping" "True"
Option "TappingDrag" "True"
Option "NaturalScrolling" "True"
Driver "libinput"
EndSection
EOF
```
2 years
Re: [Sway] Re: Sway Spin
by Dan Čermák
Hi Mike & Jan,
Jan Staněk <jstanek(a)redhat.com> writes:
> Hi Mike,
> there is now an i3 spin of Fedora [1], so you can start by looking at that.
I have CC'd the i3 SIG mailinglist.
> Making the spin official would be a bit longer process, but AFAIK good
> start would be preparing a kickstart file.
> There will be further questions about what to actually include etc.,
> but this could get you started
This is actually the hardest part of the whole process: selecting the "right"
applications to include, so that you can provide a polished user
experience with sensible defaults.
In case you want to take a look at the technical details, you'll find
the kickstarts for the i3 spin on pagure [1] and the instructions how to
build the isos locally on the docs page [2].
I'd also like to mention that the i3 SIG keeps getting the question "Why
not sway?" pretty frequently, thus I assume that there is definitely a
demand for a sway spin. If you can find enough interested contributors,
then it would be certainly possible to create a sway spin and build upon
the bits and pieces that the i3 SIG learned (and collaborate as much as
possible).
Cheers,
Dan
Footnotes:
[1] https://pagure.io/i3-sig/Fedora-i3-Spin/tree/main
[2] https://docs.fedoraproject.org/en-US/i3/kickstart/#build-iso
2 years, 4 months