<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>GTK on Amit Agarwal Linux Blog</title>
    <link>/tags/gtk/</link>
    <description>Recent content in GTK on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 01 Nov 2024 00:00:00 +0530</lastBuildDate>
    
	<atom:link href="/tags/gtk/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Why Ptyxis is a Game-Changer for Embedded Terminal Emulation</title>
      <link>/2024/11/01/2024-11-01-ptyxis-new-terminal-featurerich/</link>
      <pubDate>Fri, 01 Nov 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/11/01/2024-11-01-ptyxis-new-terminal-featurerich/</guid>
      <description>&lt;h2 id=&#34;why-ptyxis-is-a-game-changer-for-embedded-terminal-emulation&#34;&gt;Why &lt;code&gt;Ptyxis&lt;/code&gt; is a Game-Changer for Embedded Terminal Emulation&lt;/h2&gt;
&lt;p&gt;When you’re building applications that need terminal-like functionality,
embedding a full terminal emulator can feel like overkill. Enter &lt;code&gt;Ptyxis&lt;/code&gt;—a
lightweight, versatile tool for integrating terminal emulation directly within
your application. Here’s a breakdown of why &lt;code&gt;Ptyxis&lt;/code&gt; might be the perfect fit
for developers looking to add a terminal without the bloat.&lt;/p&gt;
&lt;h3 id=&#34;what-is-ptyxis&#34;&gt;What is &lt;code&gt;Ptyxis&lt;/code&gt;?&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;Ptyxis&lt;/code&gt; is designed for embedding terminal emulation into applications,
especially those built on GNOME or GTK. Rather than a one-size-fits-all
terminal emulator, &lt;code&gt;Ptyxis&lt;/code&gt; focuses on the essentials, delivering streamlined,
customizable terminal functionality.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>lightweight pdf viewer – zathura.</title>
      <link>/2013/01/28/lightweight-pdf-viewer-zathura/</link>
      <pubDate>Mon, 28 Jan 2013 00:11:32 +0000</pubDate>
      
      <guid>/2013/01/28/lightweight-pdf-viewer-zathura/</guid>
      <description>&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Zathura&#34; href=&#34;http://www.rottentomatoes.com/m/zathura&#34; target=&#34;_blank&#34; rel=&#34;rottentomatoes&#34;&gt;Zathura&lt;/a&gt; is a lightweight viewer for pdf which works on &lt;a class=&#34;zem_slink&#34; title=&#34;Plug-in (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Plug-in_%28computing%29&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;plugins&lt;/a&gt;. Here is shor description :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Zathura is a highly configurable and functional PDF viewer based on the &lt;a class=&#34;zem_slink&#34; title=&#34;Poppler (software)&#34; href=&#34;http://poppler.freedesktop.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Poppler&lt;/a&gt;&lt;br&gt;
rendering library and the &lt;a class=&#34;zem_slink&#34; title=&#34;GTK+&#34; href=&#34;http://www.gtk.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;GTK+&lt;/a&gt; toolkit. The idea behind zathura is an&lt;br&gt;
application that provides a minimalist and space saving interface as well as&lt;br&gt;
an easy usage that mainly focuses on keyboard interaction.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;But the viewer will not work unless you install the plugins to display the correct plugin. So, if you want to use it for any real purposes then you will have to install the appropriate plugin as well, so here is what you need to do:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Xnest – XDMCP protocol and virtual DM</title>
      <link>/2012/10/22/xnest-xdmcp-protocol-virtual-dm/</link>
      <pubDate>Mon, 22 Oct 2012 00:50:21 +0000</pubDate>
      
      <guid>/2012/10/22/xnest-xdmcp-protocol-virtual-dm/</guid>
      <description>&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Xephyr-IceWM-Fluxbox-LinuxMint.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;An IceWM Xephyr session is running inside a Fl...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Xephyr-IceWM-Fluxbox-LinuxMint.png/300px-Xephyr-IceWM-Fluxbox-LinuxMint.png&#34; alt=&#34;An IceWM Xephyr session is running inside a Fl...&#34; width=&#34;300&#34; height=&#34;169&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;An IceWM Xephyr session is running inside a Fluxbox Xephyr session, which is running inside another IceWM Xephyr session, which is running under Linux Mint 8. (Note that Fluxbox is also licensed under the MIT license by the Fluxbox developers, but IceWM is released under the GPL and LGPL by Marko Ma?ek.) (Photo credit: Wikipedia)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/X_display_manager_(program_type)&#34;&gt;XDMCP&lt;/a&gt; is protocol that allows remote connections and provides you with a working Display Manager like &lt;a class=&#34;zem_slink&#34; title=&#34;KDE&#34; href=&#34;http://kde.org/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;KDE&lt;/a&gt;, &lt;a class=&#34;zem_slink&#34; title=&#34;GNOME&#34; href=&#34;http://www.gnome.org&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;GNome&lt;/a&gt;, et al. Its a remote connection protocol that is mostly enabled on Solaris and disabled on most Linux boxes. If you need to have a remote session where you need the X Display to open some &lt;a class=&#34;zem_slink&#34; title=&#34;Graphical user interface&#34; href=&#34;http://en.wikipedia.org/wiki/Graphical_user_interface&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;GUI&lt;/a&gt; applications then you can have a connection with the &lt;a class=&#34;zem_slink&#34; title=&#34;Server (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Server_%28computing%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;remote server&lt;/a&gt; with XDMCP.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>gnome-tweak-tool gets a fantastic new Font Selector window</title>
      <link>/2011/10/27/gnometweaktool-fantastic-font-selector-window/</link>
      <pubDate>Thu, 27 Oct 2011 12:47:11 +0000</pubDate>
      
      <guid>/2011/10/27/gnometweaktool-fantastic-font-selector-window/</guid>
      <description>&lt;p&gt;Here is the &lt;a class=&#34;zem_slink&#34; title=&#34;Quick Look&#34; href=&#34;http://www.apple.com/macosx/what-is-macosx/quick-look.html&#34; rel=&#34;homepage&#34;&gt;quick look&lt;/a&gt; at how the Font Selector looks like now. And its not just for the gnome-tweak-tool, its for all the places for font selection. I really loved it. So intuitive to use and amazingly good to look. This is what a good design and thinking can do. Kudos to Gnome team for coming up with this.&lt;/p&gt;
&lt;figure id=&#34;attachment_3077&#34; aria-describedby=&#34;caption-attachment-3077&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3077&#34; title=&#34;Font Selector for Verne&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.com/wp-content/uploads/2011/10/fontSelector-300x258.jpg?resize=300%2C258&#34; alt=&#34;Font Selector for Verne&#34; width=&#34;300&#34; height=&#34;258&#34; srcset=&#34;https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/fontSelector.jpg?resize=300%2C258 300w, https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/fontSelector.jpg?resize=150%2C129 150w, https://i2.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2011/10/fontSelector.jpg?w=556 556w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;][1]&lt;figcaption id=&#34;caption-attachment-3077&#34; class=&#34;wp-caption-text&#34;&gt;Font Selector for Verne&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://iliedumitrascu77.wordpress.com/2011/10/07/cum-instalam-interfata-gnome-3-in-linux-ubuntu-11-04/&#34;&gt;Cum instalam interfata Gnome 3 in Linux Ubuntu 11.04&lt;/a&gt; (iliedumitrascu77.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://maketecheasier.com/install-custom-gnome-shell-themes/2011/09/27&#34;&gt;How to Install Custom Gnome Shell Themes&lt;/a&gt; (maketecheasier.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.omgubuntu.co.uk/2011/09/google-gnome-shell-theme/&#34;&gt;Stunning Google-Inspired GNOME Shell Theme&lt;/a&gt; (omgubuntu.co.uk)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>gdialog on F11 – Leonidas</title>
      <link>/2010/06/01/gdialog-on-f11-leonidas/</link>
      <pubDate>Tue, 01 Jun 2010 02:15:12 +0000</pubDate>
      
      <guid>/2010/06/01/gdialog-on-f11-leonidas/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are using some old application or want to install some application that was developed quite some time back with GTK GUI, then you may find the application using gdialog. gdialog is no more available and is deprecated in Fedora and same functionality is provided by zenity. But the options to call zenity are slightly different so what do you do. I did a google search and found the following script. The credit of script is not mine and credit goes to &amp;amp;#8221;Mike Newman &lt;a href=&#34;mailto:mikegtn@gnome.org&#34;&gt;mikegtn@gnome.org&lt;/a&gt;&amp;amp;#8221;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash – change theme for gtk in gnome and take screenshot from script.</title>
      <link>/2010/03/24/bash-change-theme-for-gtk-in-gnome-and-take-screenshot-from-script/</link>
      <pubDate>Wed, 24 Mar 2010 03:39:41 +0000</pubDate>
      
      <guid>/2010/03/24/bash-change-theme-for-gtk-in-gnome-and-take-screenshot-from-script/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I wrote a blog on bash script to change the icon/cursor theme using a bash script. Lets extend the same concept a little more and use the script to change the gtk theme for gnome and at the same time take a screenshot also.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#!/bin/bash&lt;br&gt;
path=&amp;amp;#8221;/tmp/screenshot&amp;amp;#8221;&lt;br&gt;
[[ &amp;amp;#8221;$1&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; time=5 || time=$1&lt;br&gt;
[[ &amp;amp;#8221;$2&amp;amp;#8221; == &amp;amp;#8221;&amp;amp;#8221; ]] &amp;amp;&amp;amp; (&lt;br&gt;
cd ~/.themes&lt;br&gt;
cont=&amp;amp;#8221;y&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;Select one of the icon themes&amp;amp;#8221;&lt;br&gt;
echo &amp;amp;#8221;When you like some theme just press Ctrl+c&amp;amp;#8221;&lt;br&gt;
for i in *&lt;br&gt;
do&lt;br&gt;
[[ -d $i/cursors ]] || (&lt;br&gt;
echo &amp;amp;#8221;Now trying …. : $i&amp;amp;#8221;&lt;br&gt;
gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &amp;amp;#8221;$i&amp;amp;#8221;&lt;br&gt;
sleep 1&lt;br&gt;
j=$(echo &amp;amp;#8221;$path/$i&amp;amp;#8221;).jpg&lt;br&gt;
import -window root -quality 95 &amp;amp;#8221;$j&amp;amp;#8221;&lt;br&gt;
sleep $time&lt;br&gt;
)&lt;br&gt;
done&lt;br&gt;
) || gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &amp;amp;#8221;$2&amp;amp;#8221;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>New GTK and metacity themes from Ian</title>
      <link>/2010/03/05/new-gtk-and-metacity-themes-from-ian/</link>
      <pubDate>Fri, 05 Mar 2010 02:07:45 +0000</pubDate>
      
      <guid>/2010/03/05/new-gtk-and-metacity-themes-from-ian/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here are two themes from Ian.. Link: &lt;a href=&#34;http://ardchoille42.blogspot.com/2009/09/new-gtk2-and-metacity-themes.html&#34;&gt;http://ardchoille42.blogspot.com/2009/09/new-gtk2-and-metacity-themes.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/GTK-DarkTurrican.tar.gz&amp;quot;&amp;gt;GTK-DarkTurrican.tar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/GTK-LightTurrican.tar.gz&amp;quot;&amp;gt;GTK-LightTurrican.tar&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>whohas</title>
      <link>/2010/01/16/whohas/</link>
      <pubDate>Sat, 16 Jan 2010 16:17:33 +0000</pubDate>
      
      <guid>/2010/01/16/whohas/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://www.flickr.com/photos/33529369@N00/245562070\&#34;&gt;&lt;img title=\&#34;??????\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/245562070_82e8d5aef4_m.jpg\&#34; alt=\&#34;??????\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image by &lt;a href=\&#34;http://www.flickr.com/photos/33529369@N00/245562070\&#34;&gt;tutchiio&lt;/a&gt; via Flickr&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;??
&lt;blockquote&gt;
&lt;div id=\&#34;_mcePaste\&#34;&gt;Description: whohas is a &lt;a class=\&#34;zem\_slink freebase/en/command\_line\_interface\&#34; title=\&#34;Command-line interface\&#34; rel=\&#34;wikipedia\&#34; href=\&#34;http://en.wikipedia.org/wiki/Command-line\_interface\&#34;&gt;command line tool&lt;/a&gt; that allows querying several package lists at once &amp;#8211; currently supported are &lt;a class=\&#34;zem\_slink freebase/en/arch\_linux\&#34; title=\&#34;Arch Linux\&#34; rel=\&#34;homepage\&#34; href=\&#34;http://www.archlinux.org/\&#34;&gt;Arch&lt;/a&gt;, &lt;a class=\&#34;zem\_slink freebase/en/debian\_gnu_linux\&#34; title=\&#34;Debian\&#34; rel=\&#34;homepage\&#34; href=\&#34;http://www.debian.org/\&#34;&gt;Debian&lt;/a&gt;, &lt;a class=\&#34;zem\_slink freebase/en/gentoo\_linux\&#34; title=\&#34;Gentoo Linux\&#34; rel=\&#34;homepage\&#34; href=\&#34;http://www.gentoo.org\&#34;&gt;Gentoo&lt;/a&gt; and &lt;a class=\&#34;zem_slink freebase/en/slackware\&#34; title=\&#34;Slackware\&#34; rel=\&#34;homepage\&#34; href=\&#34;http://www.slackware.com/\&#34;&gt;Slackware&lt;/a&gt;. whohas is written in &lt;a class=\&#34;zem_slink freebase/en/perl\&#34; title=\&#34;Perl\&#34; rel=\&#34;homepage\&#34; href=\&#34;http://www.perl.org/\&#34;&gt;Perl&lt;/a&gt; and was designed to help  package maintainers find ebuilds, pkgbuilds and similar package definitions from other distributions to learn from.&lt;/div&gt; &lt;div&gt;&lt;/blockquote&gt;
&lt;p&gt;Example output for&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
