<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>anti</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/" />
   <link rel="self" type="application/atom+xml" href="http://anti.teamidiot.de/atom.xml" />
   <id>tag:anti.teamidiot.de,2012://1</id>
   <updated>2011-12-08T22:10:52Z</updated>
   <subtitle>privat bei reichen Eltern — anti@conference.jabber.teamidiot.de</subtitle>
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.38 mod_perl/2</generator>

<entry>
   <title>ASRock X58 Extreme3 in 2011</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/12/asrock_x58_extreme3_in_2011/" />
   <id>tag:anti.teamidiot.de,2011://1.173</id>
   
   <published>2011-12-08T21:50:55Z</published>
   <updated>2011-12-08T22:10:52Z</updated>
   
   <summary>a little follow-up to this post from 2010 with linux 3.2-rc4 pm-hibernate works pm-suspend works W83677HG-I sensors driver has been written by Guenter Roeck I bought a newer sony camera...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="325" label="asrock" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="327" label="extreme3" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="335" label="fan" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="45" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="329" label="mainboard" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="328" label="motherboard" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="332" label="resume" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="334" label="sensors" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="82" label="suspend" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="326" label="x58" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>a little follow-up to <a href="/nei/2010/05/asrock_x58_extreme3_1/">this post from 2010</a></p>

<p>with linux 3.2-rc4</p>


<ul>
<li>pm-hibernate <strong>works</strong></li>
<li>pm-suspend <strong>works</strong></li>
<li><span class="caps">W83677HG</span>-I sensors driver has been <strong>written</strong> by Guenter Roeck</li>
</ul>




<ul>
<li>I bought a newer sony camera</li>
</ul>

]]>
      
   </content>
</entry>
<entry>
   <title>BadWindow crashes due to Ubuntu&apos;s gtk-vector-screenshot</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/11/badwindow_crashes_due_to_ubunt/" />
   <id>tag:anti.teamidiot.de,2011://1.172</id>
   
   <published>2011-11-29T20:34:49Z</published>
   <updated>2011-11-29T20:44:17Z</updated>
   
   <summary>if you are experiencing mysterious crashes of various Gtk3 applications, giving BadWindow Error messages, often when using completion popups or dialogs, it might be because the Ubuntu version of gtk-vector-screenshot has unfixed bugs compared to the Debian one...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="406" label="badwindow" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="405" label="gtk-vector-screenshot" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="403" label="gtk3" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="92" label="ubuntu" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>if you are experiencing mysterious crashes of various Gtk3 applications, giving BadWindow Error messages, often when using completion popups or dialogs, it might be because the Ubuntu version of <code>gtk-vector-screenshot</code> has <a href="http://bugs.debian.org/gtk-vector-screenshot;archive=both;include=subject:BadWindow">unfixed bugs</a> compared to the Debian one</p>]]>
      
   </content>
</entry>
<entry>
   <title>Skype microphone not working on 64-bit</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/11/skype_microphone_not_working_o/" />
   <id>tag:anti.teamidiot.de,2011://1.171</id>
   
   <published>2011-11-27T16:59:51Z</published>
   <updated>2011-11-27T17:05:04Z</updated>
   
   <summary>If the mic doesn&amp;#8217;t work in Skype, and your system does use PulseAudio (as most do these days) you might be missing alsa-plugins-pulse-32bit package on openSUSE / RPM or the lib32asound2-plugins on Debians...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="55" label="64" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="365" label="pulseaudio" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="402" label="skype" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>If the mic doesn&#8217;t work in Skype, and your system does use PulseAudio (as most do these days) you might be missing <code>alsa-plugins-pulse-32bit</code> package on openSUSE / <span class="caps">RPM </span>or the <code>lib32asound2-plugins</code> on Debians</p>]]>
      
   </content>
</entry>
<entry>
   <title>(AIX) 16-color table for Emacs&apos; ansi-color</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/11/aix_16color_table_for_emacs_an/" />
   <id>tag:anti.teamidiot.de,2011://1.170</id>
   
   <published>2011-11-25T21:39:34Z</published>
   <updated>2011-11-29T20:52:05Z</updated>
   
   <summary>here&amp;#8217;s a quick and dirty way to teach ansi-color the aix color codes (setq ansi-color-map [ default bold default italic underline bold bold-italic modeline nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Web Dump" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="401" label="ansi-color" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="399" label="emacs" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>here&#8217;s a quick and dirty way to teach ansi-color the aix color codes</p>



<pre>(setq ansi-color-map
          [
           default bold
                           default italic underline bold bold-italic modeline
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil nil nil
                           (foreground-color . &quot;black&quot;)
                           (foreground-color . &quot;dark red&quot;)
                           (foreground-color . &quot;forest green&quot;)
                           (foreground-color . &quot;dark orange&quot;)
                           (foreground-color . &quot;dark blue&quot;)
                           (foreground-color . &quot;dark magenta&quot;)
                           (foreground-color . &quot;dark cyan&quot;)
                           (foreground-color . &quot;light grey&quot;)
                           nil nil
                           (background-color . &quot;black&quot;)
                           (background-color . &quot;dark red&quot;)
                           (background-color . &quot;forest green&quot;)
                           (background-color . &quot;dark orange&quot;)
                           (background-color . &quot;dark blue&quot;)
                           (background-color . &quot;dark magenta&quot;)
                           (background-color . &quot;dark cyan&quot;)
                           (background-color . &quot;light grey&quot;)
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil
                           (foreground-color . &quot;dim grey&quot;)
                           (foreground-color . &quot;red&quot;)
                           (foreground-color . &quot;green&quot;)
                           (foreground-color . &quot;gold&quot;)
                           (foreground-color . &quot;slate blue&quot;)
                           (foreground-color . &quot;magenta&quot;)
                           (foreground-color . &quot;cyan&quot;)
                           (foreground-color . &quot;white&quot;)
                           nil nil
                           (background-color . &quot;dim grey&quot;)
                           (background-color . &quot;red&quot;)
                           (background-color . &quot;green&quot;)
                           (background-color . &quot;gold&quot;)
                           (background-color . &quot;slate blue&quot;)
                           (background-color . &quot;magenta&quot;)
                           (background-color . &quot;cyan&quot;)
                           (background-color . &quot;white&quot;)
                           nil nil
                           ]
          )
</pre>]]>
      
   </content>
</entry>
<entry>
   <title>openSUSE 11.2 to 11.4 upgrade rollup</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/11/opensuse_112_to_114_upgrade_ro/" />
   <id>tag:anti.teamidiot.de,2011://1.169</id>
   
   <published>2011-11-12T19:32:12Z</published>
   <updated>2011-11-13T15:08:52Z</updated>
   
   <summary>here&amp;#8217;s my personal summary upgrade went very well. although not supported, a simple dist-upgrade worked like a charm the only shock was after the first reboot. GRUB was broken. I didn&amp;#8217;t even see the GRUB screen. The machine would be...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="17" label="grub" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="218" label="opensuse" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="398" label="setxkbmap" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="396" label="x" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="397" label="xinput" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>here&#8217;s my personal summary</p>


<ul>
<li>upgrade went very well. although not supported, a simple dist-upgrade worked like a charm</li>
</ul>



<p>the only shock was after the first reboot. <span class="caps">GRUB </span>was broken. I didn&#8217;t even see the <span class="caps">GRUB </span>screen. The machine would be stuck in an <strong>endless reboot loop</strong>. <span class="caps">BIOS </span>screen → reboot → <span class="caps">BIOS </span>screen → reboot &#8230; Very puzzling issue that I haven&#8217;t been able to fix. I reinstalled the <span class="caps">GRUB </span>from Linux, and also from the grub prompt using (setup), to no avail.</p>

<p>In the end, I had to revert to my 11.2 <span class="caps">GRUB </span>version (funnily enough both are 0.97). I probably won&#8217;t have the energy to research this further.</p>


<p>What of course stopped working was my <a href="/nei/2010/07/multiseat_hacks_gnome_gdm/">dirty multiseat hack</a>. Instead of looping over the displays, I chose to loop over gnome sessions, because the new X is more securely set up so we need to steal the auth cookie to do what we want. <code>setxkbmap</code> also stopped accepting the &#8220;evdev&#8221; model, so I had to fix this by using <code>-keycodes evdev -model pc104</code></p>

<p>As a bonus, I now know how to connect keyboards with different locales: use <code>setxkbmap -device [`xinput list` ID here] -layout de</code> (or <code>-layout us</code>)</p>

<p>Also, I opted to patch <code>/usr/share/X11/xkb/symbols/sun_vndr/us</code> <a href="/nei/2010/06/sun_unix_keyboard_linux_gnome/">again</a>. Favorably, the BackSpace and AltGr key-bindings have been fixed, but the Alt and Meta keys have been broken.</p>

<p>Alt key got assigned Mod1 now, with Meta getting Mod4. No thanks, I don&#8217;t want to switch windows with Alt+Tab when my keyboard has Meta-keys in that place. So I had to switch the assignments for Mod1 and Mod4. </p>]]>
      
   </content>
</entry>
<entry>
   <title>Gnome 3 Authentication required</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/10/gnome_3_authentication_require/" />
   <id>tag:anti.teamidiot.de,2011://1.168</id>
   
   <published>2011-10-25T19:58:31Z</published>
   <updated>2011-10-29T18:21:09Z</updated>
   
   <summary>More fun with my company switching to the new Ubuntu 11.10&amp;#8230; With Gnome 3, new authorization dialogs have been introduced to interface with PolicyKit (I love all those KITs by the way&amp;#8230;), you can see them at this gnome live...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="36" label="gnome" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="393" label="gnome 3" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="395" label="gnome-shell" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="367" label="policykit" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>More fun with my company switching to the new Ubuntu 11.10&#8230;</p>

<p>With Gnome 3, new authorization dialogs have been introduced to interface with PolicyKit (I love <strong>all</strong> those <span class="caps">KIT</span>s by the way&#8230;), you can see them at <a href="https://live.gnome.org/GnomeShell/Design/Whiteboards/AuthorizationDialog#Guidelines">this gnome live page</a>. The company policy is to set up Ubuntu in the same way for everyone, and all the machines have several users that are allowed to install software. They are in one group &#8212; Ubuntu policy is to not use the root user.</p>

<p>As a developer, I am allowed to install software through the Ubuntu software center, or should be, anyways. With the Gnome 3 PolicyKit authorization dialog, choice between several possible users has been <strong>simplified</strong>, i.e. removed! So I get asked to enter the password for the &#8220;IT Administrator&#8221; account, which I obviously don&#8217;t know. Effectively resulting in me not being able to install any software.</p>

<p>I had to patch the gnome-shell (again) to restore at least basic usability. It asks for the <strong>current</strong> user password, when this user is permitted to perform that function (instead of the &#8220;first&#8221; one, whichever that might be.)</p>

<p><a href="/static/nei/*/Code/gnome3/polkit.diff">get the Gnome 3 PolicyKit fix here</a></p>

<p>Yes, there are <a href="https://bugzilla.gnome.org/show_bug.cgi?id=651547">bug</a> <a href="https://bugzilla.gnome.org/show_bug.cgi?id=659310">reports</a> for this</p>]]>
      <![CDATA[<p>   </p>

<pre>--- polkitAuthenticationAgent.js_web	2011-10-24 11:55:26.000000000 +0200
+++ polkitAuthenticationAgent.js	2011-10-26 13:31:28.350313323 +0200
@@ -24,6 +24,7 @@ const Lang = imports.lang;
 const Signals = imports.signals;
 const Shell = imports.gi.Shell;
 const AccountsService = imports.gi.AccountsService;
+const GLib = imports.gi.GLib;
 const Clutter = imports.gi.Clutter;
 const St = imports.gi.St;
 const Pango = imports.gi.Pango;
@@ -85,13 +85,25 @@ AuthenticationDialog.prototype = {
                        { y_fill:  true,
                          y_align: St.Align.START });
 
+        let chosenIndex = 0;
+
         if (userNames.length &gt; 1) {
+            let thisUser = GLib.get_user_name();
+            for (let i = 0; i &lt; userNames.length; i++) {
+                if (userNames[i] == thisUser) {
+                    chosenIndex = i;
+                    break;
+                }
+                else if (userNames[i] == 'root') {
+                    chosenIndex = i;
+                }
+            }
             log('polkitAuthenticationAgent: Received ' + userNames.length +
                 ' identities that can be used for authentication. Only ' +
-                'considering the first one.');
+                'considering the ' + (1+chosenIndex) + ' one.');
         }
 
-        let userName = userNames[0];
+        let userName = userNames[chosenIndex];
 
         this._user = AccountsService.UserManager.get_default().get_user(userName);
         let userRealName = this._user.get_real_name()
</pre>]]>
   </content>
</entry>
<entry>
   <title>Gnome 3 &amp; XTerm</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/10/gnome_3_xterm/" />
   <id>tag:anti.teamidiot.de,2011://1.167</id>
   
   <published>2011-10-22T11:31:20Z</published>
   <updated>2011-11-25T21:37:44Z</updated>
   
   <summary>My company upgraded their Ubuntu to 11.10 so I was faced with the choice between UNITY or Gnome 3. As I was using Gnome 2 before (and still will be for a while at home), I thought to try the...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="36" label="gnome" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="393" label="gnome 3" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="395" label="gnome-shell" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="279" label="xterm" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>My company upgraded their Ubuntu to 11.10 so I was faced with the choice between <span class="caps">UNITY </span>or Gnome 3. As I was using Gnome 2 before (and still will be for a while at home), I thought to try the gnome-shell.</p>

<p>The biggest change is away from the Task bar to the Exposé-like overview of all windows, combined with a per-application chooser on the left (called &#8220;dash&#8221; in Gnome new-speak). The Alt+Tab window switcher got Application centric too. The application-behavior means: switch between windows of the same application with Alt+(key over tab). After getting used to it, it&#8217;s not that bad, even faster for some tasks.</p>

<p>However, there was one big problem. I&#8217;m still using the <a href="http://invisible-island.net/xterm/">XTerm</a> and just can&#8217;t leave it for something like gnome-terminal. I usually open a lot of xterms on my desktop. I have them display something sensible in their title bar. Now with Gnome 3, <strong>every</strong> XTerm is recognized as its own little application, that means I have to switch between XTerm-windows using Alt+Tab.</p>

<p>While this itself maybe wouldn&#8217;t be that big a deal, it also results in all the XTerm-windows <strong>only</strong> showing their class in both the Alt+Tab switcher and the dash (remember, the switcher and the dash are supposed to show the Application, not the apps window title). That means it gets really really difficult to find an XTerm window, as the title bar content is no longer visible anywhere.</p>

<p>So I had to resort to patching the gnome-shell to treat all the windows with a class of UXterm as one single application. Now I can switch <strong>to</strong> an xterm using Alt+Tab, and between xterms with Alt+(key over tab). A first step of making Gnome 3 usable to me!</p>

<p><a href="/static/nei/*/Code/gnome3/uxterm_gnome3.diff">Download uxterm_gnome3.diff</a>. I would need help from any Gnome hacker to turn this into an extension instead of patching the source.</p>]]>
      <![CDATA[<p>    </p>

<pre>--- dash.js_web	2011-10-22 13:29:31.252177524 +0200
+++ dash.js	2011-10-18 14:56:40.753795871 +0200
@@ -512,6 +524,38 @@ const Dash = new Lang.Class({
             newApps.push(app);
         }
 
+        let newNewApps = new Array();
+        let uxterm;
+        for (let i = 0; i &lt; newApps.length; i++) {
+            if (newApps[i].get_name() == &quot;UXTerm&quot;) {
+                if (!uxterm) {
+                    uxterm = newApps[i];
+                    uxterm._apps = new Array();
+                    if (!uxterm._get_windows) {
+                        uxterm._get_windows = uxterm.get_windows;
+                        uxterm.get_windows = function () {
+                            let ret = new Array();
+                            for (let k = 0; k &lt; this._apps.length; k++) {
+                                let that_windows = this._apps[k]._get_windows ?
+                                    this._apps[k]._get_windows() :
+                                    this._apps[k].get_windows();
+                                for (let j = 0; j &lt; that_windows.length; j++) {
+                                    ret.push(that_windows[j]);
+                                }
+                            }
+                            return ret;
+                        }
+                    }
+                    newNewApps.push(uxterm);
+                }
+                uxterm._apps.push(newApps[i]);
+            }
+            else {
+                newNewApps.push(newApps[i]);
+            }
+        }
+        newApps = newNewApps;
+
         // Figure out the actual changes to the list of items; we iterate
         // over both the list of items currently in the dash and the list
         // of items expected there, and collect additions and removals.
--- altTab.js_web	2011-10-22 13:28:12.569161194 +0200
+++ altTab.js	2011-10-18 14:56:40.753795871 +0200
@@ -183,6 +181,69 @@ const AltTabPopup = new Lang.Class({
         this.actor.connect('button-press-event', Lang.bind(this, this._clickedOutside));
         this.actor.connect('scroll-event', Lang.bind(this, this._onScroll));
 
+        let newLocalApps = new Array();
+        let uxterm;
+        for (let i = 0; i &lt; localApps.length; i++) {
+            if (localApps[i].get_name() == &quot;UXTerm&quot;) {
+                if (!uxterm) {
+                    uxterm = localApps[i];
+                    uxterm._apps = new Array();
+                    if (!uxterm._get_windows) {
+                        uxterm._get_windows = uxterm.get_windows;
+                        uxterm.get_windows = function () {
+                            let ret = new Array();
+                            for (let k = 0; k &lt; this._apps.length; k++) {
+                                let that_windows = this._apps[k]._get_windows ?
+                                    this._apps[k]._get_windows() :
+                                    this._apps[k].get_windows();
+                                for (let j = 0; j &lt; that_windows.length; j++) {
+                                    ret.push(that_windows[j]);
+                                }
+                            }
+                            return ret;
+                        }
+                    }
+                    newLocalApps.push(uxterm);
+                }
+                uxterm._apps.push(localApps[i]);
+            }
+            else {
+                newLocalApps.push(localApps[i]);
+            }
+        }
+        localApps = newLocalApps;
+
+        let newOtherApps = new Array();
+        for (let i = 0; i &lt; otherApps.length; i++) {
+            if (otherApps[i].get_name() == &quot;UXTerm&quot;) {
+                if (!uxterm) {
+                    uxterm = otherApps[i];
+                    uxterm._apps = new Array();
+                    if (!uxterm._get_windows) {
+                        uxterm._get_windows = uxterm.get_windows;
+                        uxterm.get_windows = function () {
+                            let ret = new Array();
+                            for (let k = 0; k &lt; this._apps.length; k++) {
+                                let that_windows = this._apps[k]._get_windows ?
+                                    this._apps[k]._get_windows() :
+                                    this._apps[k].get_windows();
+                                for (let j = 0; j &lt; that_windows.length; j++) {
+                                    ret.push(that_windows[j]);
+                                }
+                            }
+                            return ret;
+                        }
+                    }
+                    newOtherApps.push(uxterm);
+                }
+                uxterm._apps.push(otherApps[i]);
+            }
+            else {
+                newOtherApps.push(otherApps[i]);
+            }
+        }
+        otherApps = newOtherApps;
+
         this._appSwitcher = new AppSwitcher(localApps, otherApps, this);
         this.actor.add_actor(this._appSwitcher.actor);
         this._appSwitcher.connect('item-activated', Lang.bind(this, this._appActivated));
</pre>]]>
   </content>
</entry>
<entry>
   <title>wlan speed up rt2860 vs rt2x00</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/05/wlan_speed_up_rt2860_vs_rt2x00/" />
   <id>tag:anti.teamidiot.de,2011://1.166</id>
   
   <published>2011-05-23T13:18:28Z</published>
   <updated>2011-05-23T13:38:05Z</updated>
   
   <summary>some users might have a RaLink RT2860 network device, such as some EeePC my distribution kernel by default enabled the rt2860sta driver which is from the vendor. however, there is a better choice: recent kernel come with the rt2&amp;#215;00 driver....</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="214" label="eeepc" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="46" label="kernel" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="45" label="linux" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="218" label="opensuse" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="390" label="rt2860" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="391" label="rt2x00" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="129" label="wlan" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>some users might have a RaLink <span class="caps">RT2860 </span>network device, such as some EeePC</p>

<p>my distribution kernel by default enabled the rt2860sta driver which is from the vendor.</p>

<p>however, there is a better choice: recent kernel come with the <a href="http://rt2x00.serialmonkey.com/">rt2&#215;00</a> driver. Here is how you can switch (on openSUSE)</p>

<p>it connects to the network much faster after using the other driver and it doesn&#8217;t put so many error messages in the syslog.</p>

<pre><code>cd /lib/modules/`uname -r`/build
make menuconfig</code></pre>

<p>go to</p>

<pre><code>-&gt; Device Drivers
  -&gt; Staging drivers
    -&gt; Exclude Staging drivers from being built</code></pre>

<p>and deselect <code>Ralink 2860/3090 wireless support</code></p>

<p>then go to</p>

<pre><code>-&gt; Device Drivers
  -&gt; Network device support
    -&gt; Wireless LAN
      -&gt; Ralink driver support</code></pre>

<p>and enable (module) <code>Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support</code></p>

<p>now Exit &amp; save the config. You can save some compile time just compiling the subdirectory like such:</p>

<pre><code>make SUBDIRS=drivers/net/wireless/rt2x00
make SUBDIRS=drivers/net/wireless/rt2x00 modules_install</code></pre>

<p>remove the old driver</p>

<pre><code>find /lib/modules/`uname -r` -name rt2860\*.ko -exec rm {} +
depmod</code></pre>

<p>reboot or</p>

<pre><code>ifconfig wlan0 down
modprobe -rv rt2860sta
modprobe -v rt2800pci</code></pre>

<p>congratulations</p>

<p>if the modinfo for the module is missing (error on insmod), make sure to extract the vmlinux image:</p>

<pre><code>cd /lib/modules/`uname -r`/build
zcat /boot/vmlinux-`uname -r`.gz &gt;vmlinux</code></pre>]]>
      
   </content>
</entry>
<entry>
   <title>Evolution forbids Online if NetworkManager is not online</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/03/evolution_forbids_online_if_ne/" />
   <id>tag:anti.teamidiot.de,2011://1.165</id>
   
   <published>2011-03-29T08:01:38Z</published>
   <updated>2011-03-29T08:22:29Z</updated>
   
   <summary>#evolution @ irc.gimp.org Neihi, is there any way to force evolution online? NeiI&amp;#8217;m not connected through network manager but I need to check my mail now&amp;#8230; before updating gnome I could just click on online and it would work but...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="387" label="evolution" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="36" label="gnome" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="389" label="NetworkManager" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="37" label="simplify" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<table><tr><th colspan="2">#evolution @ irc.gimp.org</th></tr>
<tr><td>Nei</td><td>hi, is there any way to <ins>force evolution online</ins>?</td></tr>
<tr><td>Nei</td><td>I&#8217;m not connected through network manager but I need to check my mail <strong>now</strong>&#8230; before updating gnome I could just click on online and it would work but now this seems to be forbidden</td></tr>
<tr><td>@mcrha|afk</td><td>hi Nei, depends on your version, check <code>evolution --help</code>. Otherwise move away <code>/usr/lib(64)/evolution/&lt;version&gt;/modules/libevolution-module-networkmanager.*</code> or some such file while evo is offline</td></tr>
<tr><td>@mcrha|afk</td><td>*while evo is shutdown</td></tr>
<tr><td>Nei</td><td>mcrha|afk: there is a <code>--online</code> switch in <code>--help</code>, but it doesnt work :P <ins>deleting the network manager module</ins> works however, thanks&#8230; </td></tr>
<tr><td>@mcrha</td><td>Nei, yup,  newer version of evo has <code>--force-online</code></td></tr>
<tr><td>Nei</td><td>mcrha: nice, from what version?</td></tr>
<tr><td>@mcrha</td><td>Nei, I&#8217;m not sure,  3.0 for sure</td></tr>
<tr><td>Nei</td><td>oh, &#8230; I guess I will still have to wait a while for that :P</td></tr>
<tr><td>@mcrha</td><td>and what is your new version?</td></tr>
<tr><td>Nei</td><td>2.32</td></tr>
<tr><td>Nei</td><td>is it that the nm feature was added that breaks this? I believe my old evo 2.28 also detected network manager but still allowed me to use the online button?</td></tr>
<tr><td>@mcrha</td><td>but yes, the new network manager module &#8220;broke&#8221; this. It&#8217;s not broken because you seem not to have configured your network interface through network manager, because if you would, then this might work (network manager would report to evolution that you are actually online). There is some checkbox in the network interface to be managed by network manager, if I recall correctly</td></tr></table>

<p>Thanks mcrha!</p>]]>
      
   </content>
</entry>
<entry>
   <title>Greetings from the TBI Winterseminar in Bled</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2011/02/greetings_from_the_tbi_winters/" />
   <id>tag:anti.teamidiot.de,2011://1.164</id>
   
   <published>2011-02-18T09:58:22Z</published>
   <updated>2011-02-18T09:59:30Z</updated>
   
   <summary></summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
   
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p><img alt="Castle in the Lake" src="/static/nei/bled.jpg"/></p>]]>
      
   </content>
</entry>
<entry>
   <title>Windows 7 rescue USB</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2010/11/windows_7_rescue_usb/" />
   <id>tag:anti.teamidiot.de,2010://1.163</id>
   
   <published>2010-11-08T16:17:48Z</published>
   <updated>2011-04-06T13:09:40Z</updated>
   
   <summary>I was able to create a Windows 7 rescue USB drive using the images posted on neosmart with a virtual XP installation and wintoflash I have yet failed to do it with pure Linux, but if anyone knows how, I...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Windows" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="125" label="boot" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="385" label="rescue" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="386" label="usb" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="384" label="windows 7" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>I was able to create a Windows 7 rescue <span class="caps">USB </span>drive</p>


<ul>
<li>using the images posted on <a href="http://neosmart.net/blog/2009/windows-7-system-repair-discs/">neosmart</a> </li>
<li>with a virtual XP installation</li>
<li>and <a href="http://wintoflash.com/">wintoflash</a></li>
</ul>



<p>I have yet failed to do it with pure Linux, but if anyone knows how, I would be very interested to learn. Reason for this is that some companies only do firmware updates from Windows &#8212; avoid such companies/products if possible :-(</p>

<p><a href="http://thewichitacomputerguy.com/blog/create-windows-7-rescue-usb-drive">some guides</a> describe how to use <code>diskpart</code> to format the <span class="caps">USB </span>drive. This did not work for me on Windows <span class="caps">XP, </span>it didn&#8217;t show the <span class="caps">USB </span>at all in there. Trying to format the drive with linux didn&#8217;t result in a bootable one, even after I tried several tools such as &#8220;MbrFix&#8221; and &#8220;bootsect&#8221; (a Vista copy I found on the net), all from within Windows. Partitioning with <code>diskmgmt.msc</code> was also not possible for me.</p>

<p>here were my steps to success in some more detail:</p>


<ul>
<li>fdisk the <span class="caps">USB </span>drive with one partition (if you have already messed everything up, consider <tt>dd if=/dev/zero of=<i>your_drive</i> etc&#8230;</tt>), type &#8220;b&#8221; (Win95)</li>
<li>(quick)format the drive in Windows</li>
<li>extract the repair image somewhere</li>
<li>use wintoflash to have it copy the files to the <span class="caps">USB</span></li>
</ul>



<p>good luck!</p>]]>
      <![CDATA[<p>even better: <a href="http://www.ocztechnologyforum.com/forum/printthread.php?t=82289&amp;pp=15&amp;page=1"><span class="caps">OCZ </span>firmware updater for linux</a></p>]]>
   </content>
</entry>
<entry>
   <title>nonoh command line dialer</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2010/10/nonoh_command_line_dialer/" />
   <id>tag:anti.teamidiot.de,2010://1.162</id>
   
   <published>2010-10-18T11:18:52Z</published>
   <updated>2010-11-17T13:35:50Z</updated>
   
   <summary>if you are using nonoh to manage international IP calls with acceptable rates, I can recommend taking a look at this command line dialer script. It is much more convenient to use than the website (no need for the ugly...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Netzwelt" scheme="http://www.sixapart.com/ns/types#category" />
         <category term="Web Dump" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="380" label="betamax" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="379" label="nonoh" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="382" label="telefonie" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="381" label="voip" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>if you are using nonoh to manage international IP calls with acceptable rates, I can recommend taking a look at <a href="/static/nei/*/Code/betamax/">this command line dialer script</a>.</p>

<p>It is much more convenient to use than the website (no need for the ugly select box country code), and you can easily set up aliases or another front end for it. besides, it doesn&#8217;t need a big web browser so you it is also good to use over <span class="caps">SSH.</span></p>

<p>furthermore, you can easily see the rates (which are setup charge; tariff; and billing interval for caller and callee, in €-¢t/10000) before even accepting the call.</p>

<p>it is based on the script found on <a href="http://www.voip-info.org/wiki/view/Finarea+SA">voip-info.org</a> with added fee and error code output. obviously, it might break when the website changes.</p>

<p>A small usage summary:</p>

<p><tt>fincheck <i>cmd</i> nonoh.net <i>user</i> <i>password</i> <i>arguments&#8230;</i></tt></p>

<p>useful commands are <tt>last7daysminutes</tt>, to check the minutes dialed in last 7 days (used for free call calculation), <tt>creditcents</tt> and <tt>freedays</tt> to check the remaining credit and freedays, as well as <tt>call</tt> to make a call.</p>

<p>the call syntax is:</p>

<p><tt>fincheck <b>call</b> nonoh.net <i>user</i> <i>password</i> <i>your-number</i> <i>other-number</i></tt></p>

<p><b>Update:</b> Simon G added the call rates functionality into the <a href="http://www.simong.net/finarea/">original version</a></p>]]>
      
   </content>
</entry>
<entry>
   <title>nvidia sucks</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2010/08/nvidia_sucks/" />
   <id>tag:anti.teamidiot.de,2010://1.161</id>
   
   <published>2010-08-25T16:58:16Z</published>
   <updated>2010-08-27T13:22:51Z</updated>
   
   <summary>Unfortunately the open-source nouveau driver is not there yet, and their proprietary shit doesn&apos;t even do RandR 1.2, which means no sane way for multiple-display setup with single-display fullscreen gaming, or rotation if you need that. Thanks for listening. On...</summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>Unfortunately the open-source nouveau driver is not there yet, and their proprietary shit doesn't even do RandR 1.2, which means no sane way for multiple-display setup with single-display fullscreen gaming, or rotation if you need that.</p>

<p>Thanks for listening.</p>

<p>On openSUSE at least, you can use the proprietary driver after installation by adding <tt>nouveau.modeset=1</tt> to the kernel command line (no other hackery was necessary for me). Unfortunately, the installation breaks the OpenGL driver of nouveau.</p>]]>
      
   </content>
</entry>
<entry>
   <title>Vodafone 845/Huawei u8120 (on Mac OS X)</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nusse/2010/08/vodafone_845huawei_u8210_on_ma/" />
   <id>tag:anti.teamidiot.de,2010://1.160</id>
   
   <published>2010-08-14T23:21:45Z</published>
   <updated>2010-08-23T19:42:25Z</updated>
   
   <summary>The Vodafone 845 is using the same ZeroCD crap as other UMTS hardware by Huawei. For Linux (or libusb), usb_modeswitch exists, but this did not work for me. So here is how to toggle the device itself without any special...</summary>
   <author>
      <name>nusse</name>
      <uri>http://www.teamidiot.de/</uri>
   </author>
   
   <category term="377" label="android" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="306" label="huawei" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="378" label="vodafone845" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>The Vodafone 845 is using the same ZeroCD crap as other UMTS hardware by Huawei. For Linux (or libusb), usb_modeswitch exists, but this did not work for me.</p>

<p>So here is how to toggle the device itself without any special driver.</p>

<p>su -c 'echo 1035 > /sys/devices/platform/msm_hsusb_periphera/composition'</p>

<p>This will not hide the Mobile Partner CD drive but its USB product id changes, which allows now to use the osx-pl2303 driver and also adb from the android SDK to be used.</p>

<p>See <a href="http://sites.google.com/site/hariselvarajan/gettingaztemg880toworkwithleopard2">here</a> for how to load the pl2303 driver. Note that OS X is using decimal representation of vendor id and product id (0x12d1 -> 4817, 0x1035 -> 4149).</p>

<p>This should also work with the T-Mobile Pulse Mini and maybe with other Android devices built by Huawei.</p>

<p>Edit: You need to have root on your device.</p>

<p>If you have root, you can try this small application: <br />
<a href="http://anti.teamidiot.de/ToggleUSB.apk">ToggleUSB.apk</a></p>

<p>Google hints: Vodafone 845 u8120 0x12d1 0x1031 0x12d1 0x1035 Mobile Partner Pulse Mini</p>]]>
      
   </content>
</entry>
<entry>
   <title>Xephyr fixed font not found</title>
   <link rel="alternate" type="text/html" href="http://anti.teamidiot.de/nei/2010/08/xephyr_fixed_font_not_found/" />
   <id>tag:anti.teamidiot.de,2010://1.159</id>
   
   <published>2010-08-13T21:24:34Z</published>
   <updated>2010-08-13T21:33:19Z</updated>
   
   <summary><![CDATA[The input method doesn&#8217;t work inside Xephyr? Sometime you find out that .xsession-errors says Preparation of font set &quot;fixed&quot; for XIM failed. The font path could be wrong. Make sure that the path to misc is the first one in...]]></summary>
   <author>
      <name>Nei</name>
      <uri>http://anti.teamidiot.de/</uri>
   </author>
         <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="118" label="scim" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="353" label="Xephyr" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://anti.teamidiot.de/">
      <![CDATA[<p>The input method doesn&#8217;t work inside Xephyr? Sometime you find out that <code>.xsession-errors</code> says</p>

<pre><code> Preparation of font set &quot;fixed&quot; for XIM failed.</code></pre>

<p>The font path could be wrong. Make sure that the path to <code>misc</code> is the first one in row.</p>

<pre><code> xset +fp /usr/share/fonts/misc</code></pre>

<p>would fix it for the moment (path might vary).</p>

<p>Compiling Xephyr I missed the following switches:</p>

<p><code>./configure --enable-xephyr --enable-kdrive-evdev --enable-kdrive-mouse --enable-kdrive-kbd --enable-kdrive --prefix=/usr </code><b><code>--with-fontrootdir=/usr/share/fonts --libdir=/usr/lib64</code></b></p>

<p>Thanks for paying attention!</p>]]>
      
   </content>
</entry>

</feed>
