<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>I3 on Amit Agarwal Linux Blog</title>
    <link>/tags/i3/</link>
    <description>Recent content in I3 on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 02 Dec 2019 01:05:19 +0000</lastBuildDate>
    
	<atom:link href="/tags/i3/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>i3 – show mapped hotkeys</title>
      <link>/2019/12/02/i3-show-mapped-hotkeys/</link>
      <pubDate>Mon, 02 Dec 2019 01:05:19 +0000</pubDate>
      
      <guid>/2019/12/02/i3-show-mapped-hotkeys/</guid>
      <description>&lt;p&gt;Here is a simple script that can show you the hotkeys bound in ~/.config/i3/config :&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;#!/bin/bash - 
#===============================================================================
#
#          FILE: i3-showkeys.sh
# 
#         USAGE: ./i3-showkeys.sh 
# 
#   DESCRIPTION: 
# 
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Amit Agarwal (aka)
#  ORGANIZATION: Individual
#       CREATED: 11/26/2019 14:22
# Last modified: Tue Nov 26, 2019  02:43PM
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error


&gt; /tmp/keys
cd ~/.config/i3
grep &#39;^bindsym $mod&#39; config|grep -v &#39;^#&#39;|grep -v &#39;move container to&#39;|grep -v &#39;workspace $ws&#39;|sed &#39;s/bindsym //&#39;|grep -v &#39;=&#39;|while read key line
do
    printf &#34;%20s\t?\t%s\n&#34; &#34;$key&#34; &#34;$line&#34;  &amp;gt;&amp;gt; /tmp/keys
done

xterm -e &#34;cat /tmp/keys; read -p &#39;press any key to continue&#39;&#34;
rm -f /tmp/keys
&lt;/pre&gt;
&lt;p&gt;And once this is done, you can bind the script in i3 config like this:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>rofi menu with icons</title>
      <link>/2019/10/21/rofi-menu-with-icons/</link>
      <pubDate>Mon, 21 Oct 2019 01:06:37 +0000</pubDate>
      
      <guid>/2019/10/21/rofi-menu-with-icons/</guid>
      <description>&lt;p&gt;Here is a quick command to show menu (applications) in simplistic windows managers with icons.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;rofi -modi drun -show drun -show-icons&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>Gnome with i3 on Fedora 29</title>
      <link>/2019/02/25/gnome-with-i3-on-fedora-29/</link>
      <pubDate>Mon, 25 Feb 2019 00:56:15 +0000</pubDate>
      
      <guid>/2019/02/25/gnome-with-i3-on-fedora-29/</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;11:15:43=&amp;gt;[&lt;del&gt;]&amp;gt; cat /usr/share/gnome-session/sessions/gnome-i3.session&lt;br&gt;
[GNOME Session]&lt;br&gt;
Name=GNOME + i3&lt;br&gt;
# RequiredComponents=gnome-flashback-init;gnome-flashback;i3;gnome-settings-daemon;&lt;br&gt;
RequiredComponents=i3;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;&lt;br&gt;
11:15:47=&amp;gt;[&lt;/del&gt;]&amp;gt; cat /usr/share/xsessions/gnome-i3.desktop&lt;br&gt;
[Desktop Entry]&lt;br&gt;
Name=GNOME i3&lt;br&gt;
Comment=This session logs you into GNOME + i3&lt;br&gt;
Exec=env GNOME_SHELL_SESSION_MODE=gnome-i3 gnome-session –session gnome-i3&lt;br&gt;
TryExec=gnome-session&lt;br&gt;
Type=Application&lt;br&gt;
DesktopNames=GNOME-Classic;GNOME;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
