$ echo "first second third N69 NeNN" | awk '{ print substr($0, index($0,$2)) }'
The output will be :
second third N69 NeNN
#!/usr/bin/bash | |
window_list=$(wlrctl toplevel list | awk '{ print substr($0, index($0,$2)) }') | |
selected=$(echo "$window_list" | wofi -d) | |
wlrctl toplevel focus title:"$selected" | |
# Note : | |
# We need to use "title" rather than "app_id" to avoid window with same app_id. |
[Effect] | |
Name[en_GB]=Flip_Vertical | |
Name=Flip_Vertical | |
Comment[en_GB]=Flip the image vertically (Silly fix for upside down webcam) | |
Comment=Flip the image vertically (Silly fix for upside down webcam) | |
Category=Geometry; | |
PipelineDescription=videoflip video-direction=vert |
I'm not a fans of display manager (GDM, Lightdm, SDDM, etc), though
for some people they could be usefull. When I'm using debian, slackware,
alpine, I can launch GNOME desktop without display manager (I use tbsm /
terminal based session manager
). Strangely when I move to Ubuntu, I'm
kind of forced to use display manager (GDM, in this case). So I tried
several commands to launch ubuntu GNOME directly from tty and gladly I
found it. I just need to use this command :
network: | |
wifis: | |
YOUR_WIRELESS_INTERFACE: | |
dhcp4: yes | |
dhcp6: yes | |
access-points: | |
"YOUR_SSID": | |
password: "YOUR_PASSWORD" | |
version: 2 | |
renderer: networkd |
This is a simple guide for installing Ubuntu using minimal archive. I knew it some days ago, Ubuntu provides a minimal archive / rootfs which we can use to have a minimal Ubuntu system. We will use it to get a minimal and quite usable Ubuntu distro.
We will need some requirements, like :
7427: find library=libgstgl-1.0.so.0 [0]; searching | |
7427: search path=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2:/usr/lib/x86_64-linux-gnu (system search path) | |
7427: trying file=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libgstgl-1.0.so.0 | |
7427: trying file=/usr/lib/x86_64-linux-gnu/libgstgl-1.0.so.0 | |
7427: | |
7427: find library=libgstvideo-1.0.so.0 [0]; searching | |
7427: search path=/usr/lib/x86_64-linux-gnu (system search path) | |
7427: trying file=/usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 | |
7427: | |
7427: find library=libgstreamer-1.0.so.0 [0]; searching |
1669: find library=libgstgl-1.0.so.0 [0]; searching | |
1669: search path=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2:/usr/lib/x86_64-linux-gnu (system search path) | |
1669: trying file=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libgstgl-1.0.so.0 | |
1669: trying file=/usr/lib/x86_64-linux-gnu/libgstgl-1.0.so.0 | |
1669: | |
1669: find library=libgstvideo-1.0.so.0 [0]; searching | |
1669: search path=/usr/lib/x86_64-linux-gnu (system search path) | |
1669: trying file=/usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 | |
1669: | |
1669: find library=libgstreamer-1.0.so.0 [0]; searching |