Fedora – dnsmasq with NetworkManager

I have been thinking of writing about this for long time but someone else did and it is nice write-up so here is the link – https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/

Gnome with i3 on Fedora 29

I have been thinking of doing this for long time, finally I managed to get this working. Here is what you need to do to get i3 with all other gnome services running.

First we will create 2 files, this is actually all you need. In these ones, I copied the original gnome files and just change gnome-shell to i3 to replace my window manager.

11:15:43=>[~]> cat /usr/share/gnome-session/sessions/gnome-i3.session
[GNOME Session]
Name=GNOME + i3
# RequiredComponents=gnome-flashback-init;gnome-flashback;i3;gnome-settings-daemon;
11:15:47=>[~]> cat /usr/share/xsessions/gnome-i3.desktop
[Desktop Entry]
Name=GNOME i3
Comment=This session logs you into GNOME + i3
Exec=env GNOME_SHELL_SESSION_MODE=gnome-i3 gnome-session –session gnome-i3

Once, you have created these files, you can restart gdm and then select “Gnome i3” to login to your brand new session of gnome with i3.

bash function for rpm whatprovides

Sometimes some simple one-liner function can save you a lot of time, like-

wps ()
    rpm -q --whatprovides $(which $1 )
}   # ----------  end of function wps  ----------