<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://syscall.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://syscall.org/feed.php">
        <title>syscall.org - tipsandtricks</title>
        <description></description>
        <link>https://syscall.org/</link>
        <image rdf:resource="https://syscall.org/lib/exe/fetch.php/wiki/dokuwiki.svg" />
       <dc:date>2026-04-22T13:52:12+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://syscall.org/doku.php/tipsandtricks/start?rev=1716805363&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://syscall.org/lib/exe/fetch.php/wiki/dokuwiki.svg">
        <title>syscall.org</title>
        <link>https://syscall.org/</link>
        <url>https://syscall.org/lib/exe/fetch.php/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://syscall.org/doku.php/tipsandtricks/start?rev=1716805363&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-27T10:22:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://syscall.org/doku.php/tipsandtricks/start?rev=1716805363&amp;do=diff</link>
        <description>Indicator applet to toggle unity launcher autohide


#!/usr/bin/python
# Launcher Toggle v.1
# (c) Amos Brocco
from gi.repository import Gtk, GLib, Gio
from gi.repository import AppIndicator3 as appindicator
import os

icons = (&quot;face-smile&quot;, &quot;face-wink&quot;)

def cb_exit(w, data):
	Gtk.main_quit()
	
def get_state():
	return gsettings.get_int(&#039;launcher-hide-mode&#039;)

def update_icon(state):
	ind_app.set_icon(icons[get_state()])
	
def cb_togglelauncher(w, data):
	state = (get_state() + 1) % 2
	gsettings…</description>
    </item>
</rdf:RDF>
