<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>x11 &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/x11/</link>
	<description>Feed of posts on WordPress.com tagged "x11"</description>
	<pubDate>Sun, 07 Sep 2008 22:19:15 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Linux, caps lock 키를 ctrl 키로 바꾸기]]></title>
<link>http://lum7671.wordpress.com/?p=164</link>
<pubDate>Mon, 01 Sep 2008 14:30:02 +0000</pubDate>
<dc:creator>lum7671</dc:creator>
<guid>http://lum7671.wordpress.com/?p=164</guid>
<description><![CDATA[xorg.conf에 Option &#8220;XkbOptions&#8221; &#8220;ctrl:nocaps&#8221; 추가 한다.
/etc/X11/xorg.]]></description>
<content:encoded><![CDATA[<p>xorg.conf에 <strong>Option "XkbOptions" "ctrl:nocaps"</strong> 추가 한다.</p>
<p>/etc/X11/xorg.conf<br />
<code>...<br />
Section "InputDevice"<br />
Identifier      "Generic Keyboard"<br />
Driver          "kbd"<br />
...<br />
<strong>Option          "XkbOptions"    "ctrl:nocaps"</strong><br />
EndSection<br />
...</code></p>
<p>[Additional] <strong>Swapping Caps Lock and Control</strong><br />
<code>Option "XkbOptions" "ctrl:swapcaps"</code></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Fehlerbereinigter Gimp 2.4.7 für Intel-Macs]]></title>
<link>http://2ryanthara.wordpress.com/?p=600</link>
<pubDate>Sat, 30 Aug 2008 09:59:14 +0000</pubDate>
<dc:creator>ryanthara</dc:creator>
<guid>http://2ryanthara.wordpress.com/?p=600</guid>
<description><![CDATA[Die Mac-Gemeinde wartet schon lange auf einen nativen Build von Gimp, der ohne X11 unter OS X läuft]]></description>
<content:encoded><![CDATA[<p>Die Mac-Gemeinde wartet schon lange auf einen nativen Build von <a title="Gimp-Webseite" href="http://www.gimp.org/" target="_blank">Gimp</a>, der ohne X11 unter OS X läuft. So wie es aussieht, scheint es ein steiniger Weg bis dahin zu sein, warten wir also mal der Dinge ab, die da kommen mögen.</p>
<p>Eine erste Version gibt es schon länger, <a title="GimApp-Webseite" href="http://gimp-app.sourceforge.net/" target="_blank">Gimp.app</a>, jetzt gibt es einen neuen <a title="GimpApp experimenteller Build" href="http://prdownloads.sourceforge.net/gimp-app/GIMP-2.4.5r2-native-experimental.dmg?download" target="_blank">Build zum Download</a>, der momentan mit eingeschränkten Funktionen bei der Tastaturbedienbarkeit aufweist und nur auf Intel-Macs läuft. Gimp.app kommt ohne X11 aus, die Version mit <a title="Gimp.app mit X11 2.4.rc3" href="http://prdownloads.sourceforge.net/gimp-app/GIMP-2.4-rc3-intel.dmg?download" target="_blank">X11 ist 2.4.rc3 (Intel only)</a> steht auch bereit.</p>
<p><a href="http://downloads.sourceforge.net/darwingimp/Gimp-2.4.7-080830-Leopard-Intel.dmg"><img class="alignleft" src="http://darwingimp.sourceforge.net/images/download-generic.png" alt="" width="96" height="96" /></a></p>
<p>Eine Fehlerbereinigte Version von Gimp 2.4.7 mit X11 für Intel-Macs mit Leopard hat der<a title="Gimp für Mac" href="http://www.nasendackel.de/2008/08/gimp-247-fur-macleo/" target="_blank"> Nasendackel veröffentlicht</a>. Zum Download der unter 10.5.4 lauffähigen Version geht es <a title="Download der Version" href="http://downloads.sourceforge.net/darwingimp/Gimp-2.4.7-080830-Leopard-Intel.dmg" target="_blank">hier</a>.</p>
<p>Wie Nasendackel schreibt, engagiert er sich leider nicht mehr für eine Quartz-Version.</p>
<p> </p>
<p>Auf der <a title="Wilber loves Apple-Webseite" href="http://darwingimp.sourceforge.net/" target="_blank">Wilber loves Apple-Webseite</a> steht auch eine Version zum <a title="Download" href="http://darwingimp.sourceforge.net/download.html" target="_blank">Download</a> bereit, diese läuft auch unter 10.5.2 und benötigt X11 (XQuartz 2.2 or Apple X11 updated to OSX 10.5.2 Version)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[MonoDevelop running on Leopard with fink]]></title>
<link>http://arxcruz.wordpress.com/?p=20</link>
<pubDate>Thu, 28 Aug 2008 19:12:36 +0000</pubDate>
<dc:creator>Arkantos</dc:creator>
<guid>http://arxcruz.wordpress.com/?p=20</guid>
<description><![CDATA[Ok, first of all, i&#8217;ll try write some of my posts about technology in english and portuguese, ]]></description>
<content:encoded><![CDATA[<p>Ok, first of all, i'll try write some of my posts about technology in english and portuguese, so, here we go.</p>
<p>I don't speak english very well, but i hope getting better with time :)</p>
<p>So, if you are like me, a linux lover, but recently got a macbook and enjoy the new apple os leopard, but miss all good stuff from linux (i.e. <a href="http://en.wikipedia.org/wiki/GNOME_Terminal">gnome-terminal</a>, <a href="http://anjuta.sourceforge.net/">anjuta</a>, <a href="http://www.monodevelop.com">monodevelop</a> and others) this is for you :)</p>
<p>I'm trying to help a friend of mine in a gnome application, but mostly i use my imac instead of my macbook that have linux installed, and i still trying configure many things that dont works perfectly yet like the touchpad, so i feel the need to install monodevelop in leopard.</p>
<p>I've tried many times without sucess but, since i got new Xcode 3.1 from a friend of mine, and apple released new updates for leopard, i try again, and guess what? Sucess!</p>
<p>So, basicaly you just need a few commands, and a few programs installed in your mac:</p>
<ol>
<li><a href="http://www.apple.com/macosx/" target="_blank">Leopard 10.5.4</a></li>
<li><a href="http://www.finkproject.org/">Fink</a></li>
<li><a href="http://www.apple.com/macosx/features/300.html#xcode3">XCode</a> (i use 3.1, but i guess 3.0 works too)</li>
<li>If you are using xcode 3.1, fink ask me to install <a href="http://xquartz.macosforge.org/trac/wiki/X112.3.0">X112.3.0</a></li>
</ol>
<p>Having all installed, lets setup fink to use unstable tree and update from cvs, so you have to edit /sw/etc/fink.conf and in the line where have Trees: you put this:</p>
<p><strong>Trees: local/main stable/main stable/crypto unstable/main unstable/crypto</strong></p>
<p>Then run the comman:</p>
<p><strong>sudo fink selfupdate-cvs</strong></p>
<p>Fink will ask you many things, i just press enter in all</p>
<p>At last, run the command:</p>
<p><strong> fink install monodevelop</strong></p>
<p>Get a coffee, go sleep, play a game, and at end, thats what you will have:</p>
[caption id="attachment_30" align="aligncenter" width="300" caption="MonoDevelop running on Leopard"]<a href="http://arxcruz.wordpress.com/files/2008/08/picture-3.png"><img class="size-medium wp-image-30" src="http://arxcruz.wordpress.com/files/2008/08/picture-3.png?w=300" alt="MonoDevelop running on Leopard" width="300" height="187" /></a>[/caption]
<p>Next step is install glade3, anjuta and others cool applications to start developer on Gtk/Gnome again :)</p>
<p>PS: Theres already a compiled mono package with monodevelop included that works without need of X11, but i didn't like, many things dont works properly like the gtk assemblies that monodevelop can't find, you need to add in your project by yourself and that's anoying. But if you want try, check <a href="http://www.mono-project.com">mono project home page</a>. There are many resources there and new packages for you.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Parallel events (panic) with X]]></title>
<link>http://vignatti.wordpress.com/?p=49</link>
<pubDate>Mon, 18 Aug 2008 22:02:16 +0000</pubDate>
<dc:creator>vignatti</dc:creator>
<guid>http://vignatti.wordpress.com/?p=49</guid>
<description><![CDATA[Unfortunately that model which I described some weeks ago to put the input event delivery of the X s]]></description>
<content:encoded><![CDATA[<p>Unfortunately that model which I <a href="http://vignatti.wordpress.com/2008/08/07/keep-it-going/">described some weeks ago</a> to put the input event delivery of the X server in a separate thread wouldn't be an advantage. I precipitated myself thinking that it could be feasible. Sorry :(</p>
<p>I started to implement all this but it showed a very boring task to grab all the globals variables which both threads touch and to lock it. So I decided to stop going in this way. It's hard to program thinking in parallel. It's even harder to debug a program with severals flows. More, the tools don't help you (if you have lucky, gdb will work).</p>
<p>But the main reason I can argue to stop with this model is that the "main" event flow of execution (i.e. basically all the functions in {Swapped,}ProcVector) and the input delivery flow (ProcessInputEvents()) are very very tied. Both deal a lot with clients and we'd need to lock several globals, thus spending a lot of time in the management of the threads. It's easy to see this acting: just put a breakpoint in TryClientEvents(). Every single request to deliver a given event to a given client involves this function. And both input and main event flow will call TryClientEvents(). So you will see a zillion of times this function being called. The contention of the eventual processing and main threads would be even greater if the client choose to receive MotionNotify event.</p>
<p>So yeah, it's far from be clear how to put processing of input events inside another thread.</p>
<p>== Next ==</p>
<p>In the next days I'll be traveling to <a href="http://www.cesol.ufc.br/">CESol</a>, Fortaleza here in Brazil. I was invited to talk about my work in X land. Latin America has a lot of promising countries concerning FOSS development however for some reason no one actively participate and contribute for the X development (why?). I'll try to motivate people there somehow :)</p>
<p>In the next week I'll put the generation thread in a shape good enough to eventually push this to upstream. Also I'll try to write a good sumary of all my work given that GSoC is in the end.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Cambiare il tema del cursore]]></title>
<link>http://adrinux.wordpress.com/?p=180</link>
<pubDate>Sun, 10 Aug 2008 10:08:23 +0000</pubDate>
<dc:creator>adriano</dc:creator>
<guid>http://adrinux.wordpress.com/?p=180</guid>
<description><![CDATA[Mi è spesso stata posta la domanda: come cambio il tema del cursore di xserver? Semplice! Installat]]></description>
<content:encoded><![CDATA[<p>Mi è spesso stata posta la domanda: come cambio il tema del cursore di xserver? Semplice! Installate i temi dei cursori disponibili sia per Debian/Ubuntu che per ArchLinux, li trovate nei vari repository. Per Arch consiglio il classico tema <em>xcursor-vanilla-dmz</em> per cercarne altri digitate da terminale da root "<em>pacman -Ss cursor</em>". Una volta installato il pacchetto del tema dovete creare nella vostra home directory (/home/tuonomeutente) un nuovo file chiamato <em>.Xdefaults</em>. Per farlo da terminale potete usare il comando:</p>
<blockquote><p>nano /home/tuonomeutente/.Xdefaults</p></blockquote>
<p>ed inserite all'interno del file questo contenuto:</p>
<blockquote><p>Xcursor.theme: Vanilla-DMZ</p></blockquote>
<p>al posto di <em>Vanilla-DMZ</em> inserite il nome del tema che avete installato. Riavviate la sessione di xserver e godetevi il vostro nuovo cursore!</p>
<p>Altri cursori per X11: <a href="http://www.gnome-look.org/index.php?xcontentmode=36" target="_blank">http://www.gnome-look.org/index.php?xcontentmode=36</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Priorities and scheduling hints for X server threads]]></title>
<link>http://vignatti.wordpress.com/?p=44</link>
<pubDate>Thu, 07 Aug 2008 23:33:57 +0000</pubDate>
<dc:creator>vignatti</dc:creator>
<guid>http://vignatti.wordpress.com/?p=44</guid>
<description><![CDATA[Input events routed through another thread/process can have bad effects on latency because we can]]></description>
<content:encoded><![CDATA[<p>Input events routed through another thread/process can have bad effects on latency because we can't guarantee that it will get scheduled at the right moment. Although this is hard to see happening with the current X server threaded implementation, we must design something to avoid it. One way to improve the responsiveness is to give a high priority to the input thread and also adjust the CPU scheduling. (Note that this will not avoid problems related with <a href="http://vignatti.wordpress.com/2007/08/10/mlocking-adventure/">page faults</a> which usually happen in the X input flow.)</p>
<p>Linux uses 1:1 thread model and the scheduler handles every thread as a process. For now I don't care about others systems. Both input generation and processing threads was designed to sleep after a relatively short CPU run. So we can give a priority to processes that are trusted to not hog the CPU. And given they are special time-critical applications I have no doubt in what policy to use: I set both input threads to use the real-time FIFO policy and to get the maximum priority (sched_get_priority_max()).</p>
<p>---</p>
<p>I'm sure that someone will complain telling that this would decrease a bit the main thread when used together with both input threads. In GUI we're talking about better user experience. Latency variability must be avoided whenever possible in interactive situations. What the user <strong><em>see</em></strong> is what matters. For non-interactive processes (server scheduling workloads) the situation is totally different.</p>
<p>Xorg's philosophy is to be portable so we have to take care when setting this kind of parameters. It is a complex issue and different systems do it in wildly different ways. I was using my Linux box (2.6.24) to design it all.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[keep it going...]]></title>
<link>http://vignatti.wordpress.com/?p=40</link>
<pubDate>Thu, 07 Aug 2008 23:22:27 +0000</pubDate>
<dc:creator>vignatti</dc:creator>
<guid>http://vignatti.wordpress.com/?p=40</guid>
<description><![CDATA[Given that GSoC &#8216;08 is getting close to the end, strategy number 2 showed more feasible to pro]]></description>
<content:encoded><![CDATA[<p>Given that GSoC '08 is getting close to the end, <a href="http://vignatti.wordpress.com/2008/07/29/improving-input-latency/">strategy number 2</a> showed more feasible to proceed my work. Strategy #3 would be a lot of fun but would imply a hell massive codification as well (also a little out of <a href="http://vignatti.wordpress.com/2008/04/29/google-summer-of-code-2008/">our scope</a>). Unfortunately no-no for now.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Skydome Images (Compiz Fusion/Beryl)]]></title>
<link>http://willwm.wordpress.com/2008/08/03/skydome-images-compiz-fusionberyl/</link>
<pubDate>Sun, 03 Aug 2008 22:46:20 +0000</pubDate>
<dc:creator>willwm</dc:creator>
<guid>http://willwm.wordpress.com/2008/08/03/skydome-images-compiz-fusionberyl/</guid>
<description><![CDATA[I found this post at my old blog and thought it would be worth reposting; these are cool skydome ima]]></description>
<content:encoded><![CDATA[<p>I found this post at my old blog and thought it would be worth reposting; these are cool skydome images and/or great widescreen wallpapers. Click on the images to download the full-size version.</p>
<p style="text-align:center;" align="center"><a href="http://www.box.net/public/static/to24pcuin6.png"><img class="size-full wp-image-878 aligncenter" src="http://willwm.wordpress.com/files/2008/08/skydome1-thumb.png" alt="" width="400" height="150" /></a></p>
<p style="text-align:center;" align="center"><a href="http://www.box.net/public/static/c99jly0x9y.png"><img class="size-full wp-image-880 aligncenter" src="http://willwm.wordpress.com/files/2008/08/skydome2-thumb.png" alt="" width="400" height="160" /></a></p>
<p align="left">(Note: I forgot who made these originally a long time ago; if these are your images, please send me a note and I'll be happy to attribute them to you!)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Improving input latency]]></title>
<link>http://vignatti.wordpress.com/?p=33</link>
<pubDate>Wed, 30 Jul 2008 01:09:31 +0000</pubDate>
<dc:creator>vignatti</dc:creator>
<guid>http://vignatti.wordpress.com/?p=33</guid>
<description><![CDATA[GSoC summary #1 - July 29
The current implementation of X Window System relies in a signal scheme  t]]></description>
<content:encoded><![CDATA[<p>GSoC summary #1 - July 29</p>
<p>The current implementation of X Window System relies in a signal scheme  to manage the input event coming from hardware devices. This scheme  frequently get blocked when lot of IO is occurring (for instance, when  the process is swapping in/out). Get blocked means for instance a  jumping cursor on the screen and in GUI is always desirable to  prioritize the system responsiveness for end users. The human/computer  interface should be smooth and this is the most user visible aspect of a  system.</p>
<p>Besides the need for improvement in system responsiveness, the current  design of the event stream has some oddities, probably due historical  reasons, such as the cursor update done in user-space or the huge path  that takes to draw the cursor instead just connect the mouse hardware  directly with the cursor position update in-kernel. Moreover there is no  fundamental reason to input drivers be dependent of DDX part of the X  server. Therefore a design of the input subsystem must be carefully  redone to improve such issues.</p>
<p>Our project try to solve all this problems. In summary the goal is: to  get a path from hardware input event to client delivery that cannot be  blocked by rendering or IO operations, meaning we always have very low  latency on input events. Moreover, a redesign of such event stream could  improve the overall X graphics stack, which must be considered as well.</p>
<p>So far three strategies were explored to achieve the goal:</p>
<p>1. put X input generation stage in a separate thread</p>
<p>2. put X input generation and processing stages others threads</p>
<p>3. shortcut the kernel input layer with drm to decrease the cursor  update latency</p>
<p>Basically 1. and 2. tries to solve the issue of blocking signals and 3.  would be a completely redesign in input infrastructure. Anyway, the 3.  strategy would impact in 1. and 2. but these could be implemented in  parallel with the third strategy. The following sections details each  strategy.</p>
<p>== strategy #1 ==</p>
<p>Strategy 1 does not uses a signal handler anymore to wake up the event generation code. It simply poll for device's socket and giving that this  code is under a separate thread this is a win for the CPUs.</p>
<p>With the separate thread taking care only the input code, it was  expected that the cursor footprint always lived on resident memory when  the mouse stills in movement. Unfortunately this was not true. For some  reason it swaps back to disk. Maybe some scheduler adjusts would help  here. A memory lock scheme was tried to do lock the cursor footprint  always in physical memory without success.</p>
<p>This strategy is basically what we've been done is the first GSoC. This  is pretty much implemented. It would not require much trouble to push it  to X server from upstream. The code is here:<br />
<a class="moz-txt-link-freetext" href="http://cgit.freedesktop.org/%7Evignatti/xserver/">http://cgit.freedesktop.org/~vignatti/xserver/</a></p>
<p>== strategy #2 ==</p>
<p>This strategy can be thought as an improvement of #1. It can be  separated in two models of implementation:</p>
<p>Model one:</p>
<p>thread #1 deals with<br />
- injection and processing of input events<br />
thread #2 deals with<br />
- requests from known clients<br />
- new client that tries to connect</p>
<p>It would be very very nice to let both threads totally independents. But  we cannot. The event delivery depends on window structure and the first  thread must always wake up the second. Also, sometimes the processing of  events take a while and the injection of events stays stucked in this  model. So we came with this another:</p>
<p>Model two:</p>
<p>thread #1 deals with<br />
- injection of input events from devices<br />
thread #2 deals with<br />
- processing of input events to clients<br />
thread #3 deals with<br />
- requests from known clients<br />
- new client that tries to connect</p>
<p>With this model the first and the second thread become not so tied and  given that we're using non blocking fds to wake up each thread (through  a pipe), CPU "enjoys" the effect of threads. For instance, under heavy  drawing primitives only thread #3 would wake up.</p>
<p>We had a proof-of-concept of this last model and it workish  (occasionally seeing some segfaults probably due of some critical  regions we forgot to lock - now the only mutex that exists is inside the  server queue of events).</p>
<p>It's hard to imagine other threaded models mainly because the way X  deals with clients are very tied in every piece of the server and it  would require a lot of mutexes.</p>
<p>== strategy #3 ==</p>
<p>For sure this strategy is the most shocking one :) The idea is to  connect the mouse hardware directly to the cursor position update  function, all inside kernel. We'd then rewrite the event stream from the  pointer device to an absolute position. Transform the relative mouse  motion into an absolute screen position seems to be not that  complicated, but this strategy would involve acceleration and cursor  limits inside kernel as well (the current implementation of accel deals  with floats, so we would have to adapt it to live in kernel).</p>
<p>It is a <span class="moz-txt-underscore"><span class="moz-txt-tag">_</span>very<span class="moz-txt-tag">_</span></span> <span class="moz-txt-underscore"><span class="moz-txt-tag">_</span>large<span class="moz-txt-tag">_</span></span> amount of codification. It would require changes  to the X server, DDX driver and its corresponding kernel DRM drivers,  drm library and kernel input drivers. A mini-input driver <strong class="moz-txt-star"><span class="moz-txt-tag">*</span>inside<span class="moz-txt-tag">*</span></strong> drm  is also needed. We would add complexities of the connection between  input device and output device to the kernel (in my proof-of-concept  implementation evdev is dependent of drm. Yeah, really weird world).  Moreover, we would have to avoid somehow two differents sets of the  exact same code in different contexts in the case of sw cursors (think  MPX). It's a completely redesign. Things would have to go incrementally.</p>
<p>But why this strategy? Well, this would solve all the current issues  with input latency. For instance with the current design of the kernel  modesetting - which seems the future - the cursor is jumping a lot, much  more than with current implementation. Try to call a xrandr instance and  move the mouse with kernel modesetting. xrandr will do DDC communication  which will blocked X in the kernel. So with the handling and update of  the cursor inside the kernel all would work fine (and my  proof-of-concept already showed this).</p>
<p>Moreover, I believe the current implementation remained until now due historical reasons. Ultrix systems placed the entire input subsystem in  the kernel. What is the problem to do this in Linux (and others) as well (besides massive codification)?</p>
<p>and non-dri drivers? Should we forget them?</p>
<p>EOF</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Mac OS X Commands and Wildcard Characters]]></title>
<link>http://koldfyre.wordpress.com/?p=78</link>
<pubDate>Tue, 29 Jul 2008 22:23:47 +0000</pubDate>
<dc:creator>koldfyre</dc:creator>
<guid>http://koldfyre.wordpress.com/?p=78</guid>
<description><![CDATA[EDIT: This post have been getting very many views lately so &#8216;fess up in the comments if you wa]]></description>
<content:encoded><![CDATA[<p>EDIT: This post have been getting very many views lately so 'fess up in the comments if you want a part 2 with more advanced and new ways to use Mac OS X commands and wildcard characters.</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;This tip/post is going to be about several common Mac OS X commands and wildcard characters I have discovered, at work, that is useful to understand and know how to use.  First off, wildcard characters are special characters such as * and ? that help you to find groups of filenames that have something in common.</p>
<p><br></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; For example, say I have a couple of files that I want to find in my home directory.  My home directory is <i>cluttered</i> with junk files that I never take the time to organize.  But somewhere within that junk pile of files there lay 8 files I would like.  Their filenames are ssw_idl.a285, ssw_idl.r391, ssw_idl.z988, ssw_idl.c293, and the other 4 files are named similarly ("ssw_idl." followed by a letter, then 3 numbers).</pre>
<p><!--more--></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Open up terminal (or something similar like X11's xterm) and type in <code><span style="border:1px solid darkgray;padding:2px 3px;"><code>ls</code></span></code> then enter.  This lists all your files and folders in the current directory.  <br>Cramming time:<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>cd</code></span> - <u>c</u>hanges <u>d</u>irectories (directories = folders).  <span style="border:1px solid darkgray;padding:2px 3px;"><code>cd ..</code></span> to go up a directory and <span style="border:1px solid darkgray;padding:2px 3px;"><code>cd FOLDERNAME</code></span> to go to a folder in the current directory.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>rm</code></span> - deletes files/folders.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>mkdir</code></span> - makes <u>dir</u>ectories (folders).<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>say 'Hello!'</code></span> - computer says 'Hello!'<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>more textFileName</code></span> - opens up a text file for viewing inside the command line/shell.</pre>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Now the actual reason I wrote up this post was to show you how to display only certain files with similar names.  So we'll go on to learn about wildcard characters (to be completely honest, I am a noob to this whole wildcard thing; I am stilling learning also), and then about how to use wildcard characters in the Mac OS X command line.  Skip ahead if you already know about wildcard characters.</pre>
<p><u>-------- The Good Stuff -------</u></p>
<p><span style="border:1px solid darkgray;padding:2px 3px;"><code>*</code></span> - this star means <i>"everything"</i>.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>ls *</code></span> will display all folders and all files within those folders.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>?</code></span> - means any character.  <span style="border:1px solid darkgray;padding:2px 3px;"><code>??</code></span> means any two characters.  So basically <span style="border:1px solid darkgray;padding:2px 3px;"><code>ls ??*</code></span> will only display files/folders that have filenames 2 or more characters long.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>alphabet and numbers</code></span> - typing in any letters or numbers means that files/folders must have those exact letters/numbers.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>ls *\.jpg</code></span> - lists all files that are jpeg images (.jpg extension)<br />
The "\." (backslash then dot with no space, in case you couldn't see it well) means a literal dot.  No backslash before the dot would mean just any single character except for a new line (\n).<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>ls a*</code></span> - lists files/folders starting with an "a".<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>ls *\.*</code></span> - lists only files because folders don't have a dot in their name.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>ls [a-z]</code></span> - lists only folders with a one character letter for their name.<br />
<span style="border:1px solid darkgray;padding:2px 3px;"><code>ls frame[0-9]</code></span> - lists any files/folders starting with "frame" and then any 1 number.</p>
<p><br></p>
<p>A very nicely made reference page for Mac OS X Commands:<br />
<a href="http://www.ss64.com/osx/">http://www.ss64.com/osx/</a></p>
<p><br></p>
<p>Any comments welcome!  Show me something cool &#38; new!</p>
<p><br></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The Register: Ubuntu man challenges open source to out-pretty Apple]]></title>
<link>http://willwm.wordpress.com/2008/07/23/the-register-ubuntu-man-challenges-open-source-to-out-pretty-apple/</link>
<pubDate>Wed, 23 Jul 2008 23:10:20 +0000</pubDate>
<dc:creator>willwm</dc:creator>
<guid>http://willwm.wordpress.com/2008/07/23/the-register-ubuntu-man-challenges-open-source-to-out-pretty-apple/</guid>
<description><![CDATA[Great article from The Register&#8230;
Billionaire, cosmonaut and founder of the fast-growing Ubuntu]]></description>
<content:encoded><![CDATA[<p>Great article from <a href="http://www.theregister.co.uk/2008/07/23/shuttleworth_apple_challenge/" target="_blank">The Register</a>...</p>
<blockquote><p>Billionaire, <a href="http://www.space-tourism.ws/Mark-Shuttleworth.html">cosmonaut</a> and founder of the fast-growing Ubuntu Linux distro Mark Shuttleworth dreams impossible dreams.</p>
<p>No, not a return to the stars. He believes in something that's far harder for mortal open source engineers to achieve.</p>
<p>That dream? To produce a desktop more beautiful to ordinary users than legions of Apple programmers supping on the milk of chief exec Steve Jobs' alleged brilliance are capable of producing. That includes a desktop not funded by a clutter of annoying banner or Flash-based ads, but paid for by subscription-based services.</p>
<p>Now you're done dreaming, go home and code for the victory.</p>
<p>In a Tuesday evening O'Reilly Open Source Convention (OSCON) keynote, Shuttleworth called on delegates to make a concerted effort not just to catch Apple but to overtake the company in the quality of the desktop experience they deliver users.</p></blockquote>
<p>(continued here: <a href="http://www.theregister.co.uk/2008/07/23/shuttleworth_apple_challenge/" target="_blank">Ubuntu man challenges open source to out-pretty Apple</a>)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[making FreeBSD ports without X11]]></title>
<link>http://mschedrin.wordpress.com/?p=101</link>
<pubDate>Fri, 18 Jul 2008 08:06:09 +0000</pubDate>
<dc:creator>mschedrin</dc:creator>
<guid>http://mschedrin.wordpress.com/?p=101</guid>
<description><![CDATA[Чтоб скомпилировать определенный порт, без X11:
# make WITHOUT_]]></description>
<content:encoded><![CDATA[<p>Чтоб скомпилировать определенный порт, без X11:<br />
<code># make WITHOUT_X11=YES install clean</code><br />
Чтобы такая опиция компилирования присутствовала всегда, надо в /etc/make.conf добавить:<br />
<code>WITHOUT_X11=yes</code></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Realizar documentos con LaTeX]]></title>
<link>http://lengendro.wordpress.com/?p=19</link>
<pubDate>Wed, 16 Jul 2008 09:02:37 +0000</pubDate>
<dc:creator>animalf</dc:creator>
<guid>http://lengendro.wordpress.com/?p=19</guid>
<description><![CDATA[Acabo de descubrir una joya, se trata del &#8220;Plugin LaTeX para gedit&#8220;. Estoy aprendiendo e]]></description>
<content:encoded><![CDATA[<p>Acabo de descubrir una joya, se trata del "<a href="http://live.gnome.org/Gedit/LaTeXPlugin">Plugin LaTeX para gedit</a>". Estoy aprendiendo el modo de construir documentos de la forma tradicional con <strong>LaTeX</strong>, me parecía muy complicado, conseguir un doc <strong>dvi</strong>, <strong>ps</strong> y <strong>pdf</strong> teniendome que aprender la sintaxis para construir esos documentos, pero no lo veo complicado y además de repente me tropiezo con el <strong>Plugin</strong> y lo veo todo más sencillo.</p>
<p>Bien, un poco de construcción tradicional. Primero instalé los paquetes necesarios. En un principio empecé instalando <strong>TeTeX</strong>, <strong><span style="color:darkred;"><span>gran error!!</span></span></strong>, <span style="text-decoration:underline;">no se debe hacer</span>, ya que se trata de versiones anteriores a <strong><span>texlive</span></strong> que es como ahora se llama el paquete. Se debe desinstalar del todo para conseguir la instalación de la nueva distribución. Si no, no hay forma de instalar y que funcione correctamente la versión actual.</p>
<p>Los documentos <strong>LaTeX</strong> son documentos profesionales, documentos, libros, artículos, cartas, que prepararemos y tendrán un acabado profesional, de imprenta si lo deseamos (<span style="color:green;"><em><span>aprendemos</span></em></span>).</p>
<p>Su realización se realiza a partir de archivos planos de texto, por lo que siempre serán transparentes para el creador. No como los pesados archivos que generan muchos procesadores de textos, con los que no conseguiremos resultados tan profesionales como con <strong>LaTeX</strong>.</p>
<p>Como <strong><span style="color:olive;">newbies</span></strong> para la utilización de <strong>LaTeX</strong>, nos guiaremos principalmente por <span style="text-decoration:underline;">plantillas</span>, realizadas (estructuras de documentos ya preparados que solo hará falta rellenar). Los documentos seguirán esta estructura:</p>
<blockquote><p><code><br />
\documentclass{tipo}<br />
\usepackage{paquete}</code></p>
<p>\begin{document}<br />
...<br />
...<br />
\end{document}</p></blockquote>
<p>Es una estructura bien sencilla. Primero tendremos la <strong>cabecera</strong> del documento, donde declararemos de que tipo se trata, que accesorios formarán parte de él, podrá contener también estructuras condicionales, por si se intenta construir por ejemplo un documento <strong>pdf</strong>, realizar una operaciones sólo para esos documentos.</p>
<p>Veamos un ejemplo funcional:</p>
<blockquote><p><code>\documentclass[a4paper]{book}<br />
\begin{document}<br />
Hola, Wadalbertia!<br />
\end{document}</code></p></blockquote>
<p>lo guardamos como <strong>inicial.tex</strong> y creamos el documento simplemente con la orden:<br />
<strong>~ $ latex inicial</strong><br />
se compilará el documento y ya tendremos nuestro archivo inicial.dvi que podremos visualizar, con el visor que tengamos configurado para ver tales documentos o con <strong>xdvi</strong> si no tienes ningún visor para ello.</p>
<p>Veamos un ejemplo un poco más completo</p>
<blockquote><p><em><strong>Atención</strong>: Este mensaje lo publiqué antes en <a href="http://www.wadalbertia.org">este lugar</a>, por la referencia que quizás no se pueda entender leyendola desde <a href="http:/wordpress.com/">WordPress</a></em></p></blockquote>
<blockquote><p><code>% La clase de documento que crearemos<br />
\documentclass[10pt,a4paper]{article}<br />
% Paquetes adicionales que utilizaremos<br />
\usepackage[latin1]{inputenc}<br />
\usepackage[spanish]{babel}<br />
% Características del documento<br />
\title{Bienvenido a WADALBERTIA}<br />
\author{Wadalbertista}<br />
\date{\today}<br />
% Empezamos el documento en sí<br />
\begin{document}<br />
\maketitle<br />
\chapter{Presentación}<br />
Los Foros de Wadalbertia nacieron y fueron creados por un grupo de amigos interesados en la seguridad informática, con la idea de crear un lugar de encuentro, una comunidad amistosa para el intercambio de información y conocimientos, realizándolo a la vez en una atmósfera distendida y agradable.</code></p>
<p>Si bien es cierto que en Internet podemos encontrar toda la información necesaria, ello puede ser también muy difícil para un nuevo usuario, llegando incluso a confundirle, queremos pues facilitar con estos foros, el acceso a esa información.</p>
<p>Queremos lograr para estos foros una actitud positiva por parte de todos sus usuarios y crear un ambiente relajado, pero no exento de la seriedad necesaria que nos permita avanzar en nuestros conocimientos.</p>
<p>Sin más, te deseamos una feliz estancia -\verb'&#60;'\verb'&#124;':\verb'·'p</p>
<p>\footnote{y que poca imaginación que tiene el menda para crear un documento en \LaTeX} Nota al pie</p>
<p>% Fin del Documento<br />
\end{document}</p></blockquote>
<p>La primera novedad que aparece son los <strong>comentarios %</strong>, luego vemos que se utilizan dos <strong>paquetes </strong>relacionados con nuestro lenguaje. Y empieza el documento con sus características, <span style="text-decoration:underline;">título</span>, <span style="text-decoration:underline;">autor</span> y <span style="text-decoration:underline;">fecha</span>. Para empezar luego el documento en sí.</p>
<p>En principio me ha parecido muy sencillo, me ha recordado mucho a cuando emprendí html. Claro que es mi principio, Fijaros que he cogido el texto de inicio de la página y para empezar ni siguiera he localizado la forma de incluir el símbolo <strong>þ</strong> espero aprender, ya que he visto por ahí documento que a uno le hacen caerse de la silla.</p>
<p>Pero bueno, ya iré aprendiendo, lo cierto es que siempre pensé que esto era mucho más difícil y hoy he cambiado de opinión.</p>
<p>Poco más se de todo esto. Aquí dejo esta referencia: <a href="http://www.fceia.unr.edu.ar/lcc/cdrom/Instalaciones/LaTex/latex.html">Manual de LaTeX</a> para quien quiera aprender más sobre ello.</p>
<p><span style="color:orange;"><span><strong>&#60;&#60;&#60;&#60;&#60;&#60;&#60;&#60;&#60;&#60;EL PLUGIN&#62;&#62;&#62;&#62;&#62;&#62;&#62;&#62;&#62;&#62;</strong></span></span><br />
Opps, se me olvidaba que empecé este mensaje para contaros lo del '<a href="http://live.gnome.org/Gedit/LaTeXPlugin">Plugin LaTeX para gedit</a>' je je je, vamos allá. Es para el <strong>gedit</strong>, y es genial, ya que así que empiezas a escribir una orden, aparece un desplegable en el que te va mostrando todas aquellas que puedes utilizas. Cuenta con una barra superior en donde aparecen las opciones más comunes que podemos utilizar, y el mismo compila los documentos que crees para conseguir el resultado en el formato que escojas <strong>dvi</strong>, <strong>ps</strong>, o <strong>pdf</strong>.</p>
<p>Su instalación es muy sencilla, sólo tenéis que descargarlo desde la página de <a href="http://sourceforge.net/project/showfiles.php?group_id=204144">SourceForge.net</a> y descomprimirlo.</p>
<p>Está formado por la siguiente estructura:<br />
<code>LaTeXPlugin-0.1.3.2/plugins/LaTeXPlugin/<br />
...</code></p>
<p>Pues tenemos que copiar el directorio <strong>LaTeXPlugin</strong> en  <strong><span style="color:blue;">~/.gnome2/gedit/plugins</span></strong></p>
<p>si no se ha utilizado antes el directorio <strong>~/.gnome2/gedit/plugins</strong> no existirá por lo que lo crearemos antes :))</p>
<p>Arrancamos el <strong>gedit</strong>, accedemos a <strong>Editar-Preferencias</strong> y en el dialogo que no aparece nos dirigimos a la pestaña complementos, donde tendremos que marcar la casilla de <strong>LaTeX plugin</strong>.</p>
<p>Je, je, veo que con <a href="http://kile.sourceforge.net">Kile</a> y con <a href="http://www.lyx.org">Lyx</a> ya no hay misterio alguno</p>
<p>Ahora podemos cargar el documento anterior y empezar a practicar con ello.</p>
<p>Nada, que lo disfrutéis.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Middle Mouse button in Firefox and Swiftweasel as "Paste"]]></title>
<link>http://macrae.wordpress.com/?p=98</link>
<pubDate>Wed, 16 Jul 2008 07:16:14 +0000</pubDate>
<dc:creator>macrae</dc:creator>
<guid>http://macrae.wordpress.com/?p=98</guid>
<description><![CDATA[Long time ago, back to 1980&#8217;s, X11 define that middle mouse button is paste, you can read the ]]></description>
<content:encoded><![CDATA[<p>Long time ago, back to 1980's, X11 define that middle mouse button is paste, you can read the detail in <a title="Mouse Chording" href="http://en.wikipedia.org/wiki/Mouse_chording" target="_blank">here</a>. As opposed to Microsoft standard uses middle mouse button as navigation key.</p>
<p>Firefox/Swiftweasel in Unix/Linux implemented the same nature of X11. If you have problem with this nature, you can simply disable the feature.</p>
<ul>
<li>From your browser, put <code>about:config</code> in address bar</li>
<li>Search <code>middlemouse.paste</code> and change the value to <code>false</code></li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Configurar la tarjeta de video y el monitor en modo gráfico (GUI)]]></title>
<link>http://briandb.wordpress.com/?p=63</link>
<pubDate>Tue, 15 Jul 2008 13:00:20 +0000</pubDate>
<dc:creator>briandb</dc:creator>
<guid>http://briandb.wordpress.com/?p=63</guid>
<description><![CDATA[Se me habia perdido algo de la version 7.10 de Ubuntu a la 8.04, configurar la tarjeta de video en m]]></description>
<content:encoded><![CDATA[<p>Se me habia perdido algo de la version 7.10 de Ubuntu a la 8.04, configurar la tarjeta de video en modo gráfico!</p>
<p>Buscando encontre esto:</p>
<blockquote><p>sudo displayconfig-gtk</p></blockquote>
<p>Puede estar en otras distribuciones.</p>
<p><a href="http://briandb.wordpress.com/files/2008/07/displayconfig-gtk.jpg"><img class="aligncenter size-full wp-image-64" src="http://briandb.wordpress.com/files/2008/07/displayconfig-gtk.jpg" alt="" width="618" height="403" /></a></p>
<p>A veces no nos acordamos todos los parametros para configurar el xorg.conf, muy util!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[X11 auf einem Mac OS X Tiger ohne Install-DVD installieren?]]></title>
<link>http://2ryanthara.wordpress.com/?p=311</link>
<pubDate>Sun, 13 Jul 2008 16:08:50 +0000</pubDate>
<dc:creator>ryanthara</dc:creator>
<guid>http://2ryanthara.wordpress.com/?p=311</guid>
<description><![CDATA[Geht nach einem kleinen Blick bei dem großen Bruder des Suchens ganz leicht.
Von Apple angebotene X]]></description>
<content:encoded><![CDATA[<p>Geht nach einem kleinen Blick bei dem großen Bruder des Suchens ganz leicht.</p>
<p>Von Apple angebotene X11-Pakete im Download-Bereich sind veraltet und lassen sich nicht installieren. Deshalb muss der unten beschriebene Weg herhalten.</p>
<p>Chris Martin hat es in seinem <a title="Chris Martins Blog" href="http://cjmart.in/2006/12/01/install-x11-on-tiger-without-the-tiger-install-dvd/" target="_blank">Blog</a> freundlicherweise die benötigten X11-Pakete als Zip abgelegt, die von X11 verwendete BSD-Lizenz sollte das ohne Probleme ermöglichen.</p>
<ul>
<li><a title="Direkter Verweis auf das Zip" href="http://idt.lcc.gatech.edu/~cmartin9/files/X11Tiger.zip" target="_blank">Zip</a> herunterladen und entpacken</li>
<li>X11SDK.pkg installieren</li>
<li>X11User.pkg installieren</li>
<li>Softwareupdate starten und die neuste Version installieren lassen</li>
</ul>
<div>Viel Spaß damit.</div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux Slackware]]></title>
<link>http://thoriqhadad.wordpress.com/?p=53</link>
<pubDate>Sat, 12 Jul 2008 05:38:08 +0000</pubDate>
<dc:creator>thoriqhadad</dc:creator>
<guid>http://thoriqhadad.wordpress.com/?p=53</guid>
<description><![CDATA[Ada beberapa hal yang perlu diperhatikan bila kita meng-install Linux untuk distribusi Slackware,yan]]></description>
<content:encoded><![CDATA[<p>Ada beberapa hal yang perlu diperhatikan bila kita meng-install Linux untuk distribusi Slackware,yang notabene,lumayan powerfull untuk dijadikan sebuah server..yaitu :</p>
<ol>
<li>Bila ingin dipasang di komputer/laptop dual boot dengan beberapa OS,lebih baik install boot loadernya bukan di MBR alias Master Boot Record,tapi di root file/partisi tempat Slackware (/) diinstall.</li>
<li>setelah berhasil diinstall dan berhasil  masuk ke slack-nya melalui boot manager maka yang terjadi,kemungkinan mouse yang kita pakai tidak dapat men-scroll (untuk mouse yang punya wheel scrool tentunya),nah untuk itu  kita perlu masuk ke bagian xorg.conf yang terletak di direktori /etc/X11.<!--more--></li>
<li>Setelah itu pasti komputer anda masih bisu (hahaha...)lakukan configurasi soundcard pake alsaconf</li>
<li>Setelah itu anda ingin login langsung ke tty7 alias mode grafisnya Linux slackware,berarti anda perlu mengkonfigurasi file inittab yang berada di direktori /etc,dan mengaktifkan tty yg lainnya maka,perlu mensetting semuanya dapat mengaktifkan mode "4".</li>
<li>Setelah itu anda ingin agar bila ditancapkan kabel lan langsung tersambung ke internet/eth-nya aktif maka anda perlu menambahkan perintah <code>ifconfig eth0 up </code>pada file /etc/rc.d/rc.local yang akan diload ketika pertama kali boot.</li>
</ol>
<p>Untuk lebih lengkapnya ada site bagus <a href="http://yoner.wordpress.com/2007/10/24/kumpulan-tips-dan-trik-pada-linux-slackware-101/">disini,coba di-klik!!<br />
</a>anda mungkin akan tau apa yang sebaiknya anda lakukan.<br />
Saya mohon maaf bila banyak yang kurang dipahami,posting ini hanya untuk mengingatkan saja.<br />
Semoga bermanfaat...</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[iMac setup D*O*N*E!]]></title>
<link>http://mycenaean.wordpress.com/?p=93</link>
<pubDate>Fri, 11 Jul 2008 22:17:55 +0000</pubDate>
<dc:creator>mycenaean</dc:creator>
<guid>http://mycenaean.wordpress.com/?p=93</guid>
<description><![CDATA[I&#8217;ve been trying to downgrade Leopard&#8217;s X11 to Tiger&#8217;s, under the introduction of ]]></description>
<content:encoded><![CDATA[<p>I've been trying to downgrade Leopard's X11 to Tiger's, under the introduction of Ben Byer and Tim Baur as mentioned in the last blog post, but failed. It gave me an quartz--wm controlled X11, still no full screen mode available. I tried to modify .xinitrc and org.x.X11.plist, also the preference parameterization, nothing better. I just gave up and forced myself to get used to it. One lightly good thing is that I could use Leopard's Space function and associate X11 to an individual space. That's all of it.</p>
<p>Once I faced a license problem with MATLAB, which cost me much more time than it should be to figure it out. There's no license manager, say, lm/ folder installed, therefore I've noway to lmdown or lmstart. I thought there's some files missed during installation or the installation isn't completely successful. I uninstalled MATLAB, reinstalled it, but nothing happened. Today, I just asked someone whether the license has expired since it was passed to me. No surprise or much surprise, the answer is yes. So I'm now having the new license on and it starts working finely. It's just that this time my MATLAB doesn't need lm command anymore...</p>
<p>Whatever, my iMac is setup now, no matter how well the X11 part is functioning and that's the whole story of couple days' struggling. I hate it!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[cursor handling and updates inside DRM]]></title>
<link>http://vignatti.wordpress.com/?p=31</link>
<pubDate>Thu, 10 Jul 2008 07:03:49 +0000</pubDate>
<dc:creator>vignatti</dc:creator>
<guid>http://vignatti.wordpress.com/?p=31</guid>
<description><![CDATA[The current DRM kernel modesetting tree is already taking care to update the cursor registers and pa]]></description>
<content:encoded><![CDATA[<p>The current DRM kernel modesetting tree is already taking care to update the cursor registers and paint it to the screen. Very cool [0].</p>
<p>What I've done today is a shortcut between the kernel input layer and DRM to update the cursor directly on screen without the X server be notified always. Of course, a lot of issues raised up together. So let's try to delegates the tasks again.</p>
<p><strong>userspace app (X server):</strong><br />
- starts all this mechanism telling which is the device responsible for the cursor (input ddx drv)<br />
- responsible for loading new cursor images and push to the DRM (video ddx drv)</p>
<p><strong>kernel input layer (evdev driver):</strong><br />
- notify and send its relative coordinates events to DRM</p>
<p><strong>DRM:</strong><br />
- transform relative motion into absolute<br />
- takes care the cursor limits<br />
- responsible for the acceleration computation<br />
- responsible for the input transformation as well?<br />
- touch the gfx registers.</p>
<p>Seems that a reasonable amount of code in ddx input drv (mainly ReadInput) and dix (mainly GetPointerEvents) would be "swallowed" by the DRM. The "event generation stage" of the server would deal with the event itself + xkb + Xi things (which eventually could be done in a dedicated thread) and will let to DRM the responsibility of paint the cursor on screen.</p>
<p>The communication between kernel input drv can be directly, calling a DRM function; the DRM and userspace can communicate basically using ioctls. Complains?</p>
<p>This would only works with DRM supporting OSes. What about the others?</p>
<p>[0]  Not so much. Seems this method to update the cursor is sending _a lot of_ ioctls and sometimes doing cursor jumps. But I have to double check to see if the problem is for sure with context switches.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Some clues and tips for X11 under Leopard]]></title>
<link>http://mycenaean.wordpress.com/?p=91</link>
<pubDate>Wed, 09 Jul 2008 17:49:24 +0000</pubDate>
<dc:creator>mycenaean</dc:creator>
<guid>http://mycenaean.wordpress.com/?p=91</guid>
<description><![CDATA[Ok, so it&#8217;s the intrinsic bug of Leopard&#8217;s X11 server. It uses &#8220;launchd&#8221; to ]]></description>
<content:encoded><![CDATA[<p>Ok, so it's the intrinsic bug of Leopard's X11 server. It uses "launchd" to toggle X11, which gives you a feature that whenever you launch an application needing Xterm, the X11 will automatically launched itself. I tried to update my X11 to XQuartz's 2.2.3, but it didn't give me too much.</p>
<p>The latest releases of XQuartz:</p>
<p><a href="http://xquartz.macosforge.org/trac/wiki/Releases"><span style="color:#0000ff;">http://xquartz.macosforge.org/trac/wiki/Releases</span></a></p>
<p>Here are some inspiring discussion:</p>
<p><a href="http://homepage.mac.com/sao1/X11/"><span style="color:#0000ff;">http://homepage.mac.com/sao1/X11/</span></a></p>
<p><a href="http://forums.macosxhints.com/showthread.php?t=80171"><span style="color:#0000ff;">http://forums.macosxhints.com/showthread.php?t=80171</span></a></p>
<p>Some tips to handle it (or to "obviate" more accurately, which is to bring back Tiger's X11):</p>
<p><a href="http://aaroniba.net/articles/x11-leopard.html"><span style="color:#0000ff;">http://aaroniba.net/articles/x11-leopard.html</span></a></p>
<p><a href="http://lists.apple.com/archives/x11-users/2007/Nov/msg00005.html"><span style="color:#0000ff;">http://lists.apple.com/archives/x11-users/2007/Nov/msg00005.html</span></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The damned X11 problem]]></title>
<link>http://mycenaean.wordpress.com/?p=88</link>
<pubDate>Wed, 09 Jul 2008 02:57:59 +0000</pubDate>
<dc:creator>mycenaean</dc:creator>
<guid>http://mycenaean.wordpress.com/?p=88</guid>
<description><![CDATA[So finally I catch the reason why I cannot install windowmaker on my Mac successfully. The Fink I on]]></description>
<content:encoded><![CDATA[<p><span style="font-weight:normal;">So finally I catch the reason why I cannot install </span><a href="http://en.wikipedia.org/wiki/WindowMaker"><span style="color:#3366ff;"><span style="font-weight:normal;"><span style="color:#000000;"><span style="color:#3366ff;"><span style="color:#3366ff;">windowmaker</span></span></span></span></span></a><span style="font-weight:normal;"> on my Mac successfully. The <span style="color:#3366ff;"><a href="http://www.finkproject.org/index.php"><span style="color:#000000;"><span style="color:#3366ff;"><span style="color:#3366ff;">F</span></span></span></a></span></span><span style="color:#3366ff;"><span style="font-weight:normal;"><span style="color:#3366ff;"><a href="http://www.finkproject.org/index.php"><span style="color:#000000;"><span style="color:#3366ff;"><span style="color:#3366ff;">ink</span></span></span></a></span></span></span><span style="font-weight:normal;"> I once installed was a beta version and not working in this case. There is a new version for Mac OS X 10.5 recently released: </span><span style="color:#3366ff;"><span style="font-weight:normal;"><a href="http://www.finkproject.org/download/index.php"><span style="color:#000000;"><span style="color:#3366ff;"><span style="color:#3366ff;">Fink 0.9.0</span></span></span></a><span style="color:#000000;">.</span> <span style="color:#000000;">After updating my Fink to this version (just do a quick fink selfupdate), now I could get windowmaker. However, one more problem followed. The X11 windows crashed immediately after its being launched. I could even do nothing before its disappearing. That really sucks. I couldn't even touch the "Window Focus Preference" option. I thought it might a problem of the .xinitrc file, so made some edition to it with comparison to my old Mac file, but it didn't work. Somehow it showed "fatal IO error 32 (Broken pipe) or KillClient on X server "/tmp/launch-R27MOU/:0", so I turned to the org.x.X11.plist file trying to make it work. There were 4 items in this plist instead of just 1. Since I don't have another such file to look at, I kept it unchanged. BTW, in my previous OS X Tiger, there's no such a file. It seems Apple just changed the way X11 works on their Leopard (I know this is OLD news). Well, after I install whole bunch of softwares, including steps such as "<span style="text-decoration:underline;">sudo apt-get install gv</span>" and <span>"<span style="text-decoration:underline;">sudo apt-get install</span><span style="text-decoration:underline;">auctex</span>", the X11 server finally came back...BUT, whatever I did with the preference setup, I couldn't get the "Full Screen" toggled. It's really ridiculous when I found out this is because the damned bug in Leopard X11! Actually people are now taking back Tiger's X under Leopard to fix this bug and one step is "<span style="text-decoration:underline;">sudo mv /usr/X11 /tmp/</span>"! I'm beaten!! All I need to do is to go back to Tiger's X and what I've done is wasting my time!!! Shoot Leopard X11 !!!!</span></span></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Vamos a dialogar scriptadamente]]></title>
<link>http://lengendro.wordpress.com/?p=10</link>
<pubDate>Sat, 05 Jul 2008 22:21:37 +0000</pubDate>
<dc:creator>animalf</dc:creator>
<guid>http://lengendro.wordpress.com/?p=10</guid>
<description><![CDATA[hola, ya hace tiempo que no escribo unas líneas como tocan, sobre lo que más me gusta, que es la c]]></description>
<content:encoded><![CDATA[<p>hola, ya hace tiempo que no escribo unas líneas como tocan, sobre lo que más me gusta, que es la creación. Aunque sea un simple script. Pero es un script muy majo, ya que utiliza dialog y he realizado un relleno dinámico de un --radiobox (cosa que parece sencilla, pero no lo es)</p>
<p>Tenia en mente preparar uno, para dejar una cuestión al aire, una cosa que seguro todos observamos, podemos con dialog, disimular el flujo de caracteres e acciones que se está realizando, ya que al iniciarse nos cubrirá nuestra shell o terminal con un velo, con lo que el usuario simplemente confia en aquello que ve ante sus ojos.</p>
<p>Con ello, espero que no se tome como base, de aquellos que hemos visto las enseñanzas win, que entendemos que es totalmente imposible, que aquello de lo que se nos informa sea realmente lo que está ocurriendo, o mejor, que ocurre aquello que dicen, pero mucho mucho más que debemos imaginar. Seguramente, habreis oido muchas veces ese rascar de los discos, cuando en la pantalla se te muestra una información que no concuerda con tu realidad. ¿Cómo puede ser que tarde tanto en realizar esta acción, si manualmente la realizo en un flash? Sobre todo en las instalaciones. Bien, pués sin entrar en guerras ni guerrillas, vamos allà con dialog y Xdialog.</p>
<p>Xdialog y dialog nos van a ayudar a aquellos que nos gusta hacer scripts, a decorarlos y dotarlos de interfaces, para que el usuario no se asuste delante de aquello que puede que no comprenda, como es un volcado de caracteres en pantalla, que para los neófitos puede resultar asustante. Pueden ver pasar un monton de caracteres delante de sus narices y asustarse, relacionandolo con cosas como Matrix o Natas.</p>
<p>Entonces a la labor. Queremos que no se asusten y que vean que las cosas son sencillas de entender. Ojos que no ven, corazón que no siente.</p>
<p>Vamos a entender entonces que nos sirve como from ends de los scripts. el que he creado, no va a salir al sistema global, ya que si fuesemos hacia allí, ya me veo a la peña partiendose el pecho. Ya que a nadie se le ocurriría ejecutar un script otorgandole privilegios de administrador ¿VERDAD!? suerte de las md5 y similares que ayudan a comprender.</p>
<p>Como soy un vicioso de la multimedia, pues me centraré en el mplayer, que siempre digo que lo haré algo para él y no lo hago.</p>
<p>Xdialog y dialog son muy fáciles de entender, podemos practicar con ellos desde nuestra shell preferida, además su página man reflejan todo lo que se puede hacer con ello indicando simplemente las opciones a utilizar en cada formulario, o de una forma muy rápida, tenerlo todo a mano con --help</p>
<p><strong>~ $ Xdialog --help &#38;</strong></p>
<p>Por ejemplo esto lo podemos probar a ejecutar desde nuestra consola faborita o desde el menu de ejecución</p>
<p><strong>Xdialog --wrap --title "Todo Bien" --help "Pues ya ves que poca" --yesno "¿Se puede seguir con ello?" 0 0</strong></p>
<p>la forma de utilizarlo es la siguiente<br />
<strong>Xdialog [&#60;GTK+ options&#62;] [&#60;common options&#62;] [&#60;transient options&#62;] &#60;box option&#62; ...</strong></p>
<p>Donde como siempre, aquello encerrado entre corchetes es opcional. En la ayuda se ven claramente diferenciada las diferentes opciones, y las respuestas a cada acción donde las respuesta 0 es que se ha aceptado todo, 1 es que se canceló y 255 se cerro. Si están encadenados y en algún momento se cancela o se cierra, se salta los formularios siguiente para llegar al script y a su toma de control. En el ejemplo chain esto se ve muy claramente:</p>
<p>Y si os gusta fijaros en este script en el que tendréis también como dije antes una carga dinámica del las opciones del radiolist, tamibén aplicable a los menús</p>
<blockquote><p><code><br />
#!/bin/sh<br />
app=mplayer<br />
configfile=~/.mplayer/config<br />
Dialog=dialog</p>
<p># Comprobar la existencia de dialog<br />
which $Dialog &#62;/dev/null 2&#62;&#38;1<br />
if [ $? -ne 0 ]<br />
then<br />
  echo "$Dialog no existe, no continuaremos"<br />
  exit 1<br />
fi</p>
<p>$Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox \<br />
  "Desmostración del uso de dialog y Xdialog" 0 0</p>
<p>which Xdialog &#62;/dev/null 2&#62;&#38;1<br />
if [ $? -ne 0 ]<br />
then<br />
  $Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox \<br />
  "Xdialog no existe, da igual ..." 0 0<br />
else<br />
  Dialog=Xdialog<br />
  $Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox \<br />
  "He localizado Xdialog y continuaré con él" 0 0 0<br />
fi</p>
<p># comprobar que la aplicación existe.<br />
which $app &#62;/dev/null 2&#62;&#38;1<br />
if [ $? -ne 0 ]<br />
then<br />
  $Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox \<br />
  "El $app no existe, no continuaremos :((" 0 0<br />
  exit 1<br />
fi</p>
<p># Rellenar un array con los codecs de salida de video<br />
codecs=($($app -vo help &#124; sed -n  "s/^\t\(.*\)\t\(.*\)/\1/p"))<br />
descrcode=($($app -vo help &#124; sed -n "s/^\t\(.*\)\t\(.*\)/\2/p" &#124; sed -e "s/\ /./g"))<br />
$Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox "se han \<br />
  detectado ${#codecs[*]} codecs en su compilación para mplayer" 0 0</p>
<p># expresión regular que lee el contenido del archivo y quita los espacios en blanco<br />
opciones=($(cat $configfile &#124; sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' -e '/^#/d' -e '/^$/d'))<br />
$Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox \<br />
  "En su archivo de configuración existen ${#opciones[*]} opciones configuradas" 0 0</p>
<p># Comprobar que en las opciones exista vo<br />
for unaLinea in ${opciones[*]}<br />
do<br />
  #echo $unaLinea<br />
  if [ $(echo $unaLinea &#124; grep "^vo") ]<br />
  then<br />
    voOK=$(echo $unaLinea &#124; sed -n "s/.*=\(.*\)/\1/p")<br />
  fi<br />
done<br />
if [ $voOK ]<br />
then<br />
  $Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox \<br />
  "vo ya está definido en su archivo de configuración [$voOK]" 0 0<br />
else<br />
  $Dialog --title 'Demo by AnimAlf' --no-collapse --msgbox \<br />
  "vo no existe en su configuración" 0 0<br />
fi</p>
<p>$Dialog --title 'Demo by AnimAlf' --no-collapse --backtitle "Elegir el driver de video por defecto" \<br />
        --radiolist "Bien, llega el momento de la elección, como no me voy a complicar  \<br />
  mucho la vida y como esto es una demo para ver el funcionamiento de estos formularios, \<br />
  sólo permite la elección de un sólo driver. La configuración permite que se pongan unos \<br />
  cuantos en el orden de preferencia, así como poner varias de sus opciones. Elige un modo \<br />
  para comprobar el funcionamiento, el archivo original se graba con la extensión como fecha, \<br />
  por lo que lo podrás recuperar, si lo tenías muy currado, si sigues, no perderás las opciones \<br />
  que tuvieses, pero sí los comentarios (si vo está configurado).\n\n<br />
  Que driver utilizará mplayer por defecto ?" 0 0 0 \<br />
$(let X=0<br />
let TMP=${#codecs[*]}<br />
for i in ${codecs[*]} ; do<br />
  echo -n "${codecs[$X]}"<br />
  echo -n " "<br />
  echo -n "${descrcode[$X]}"<br />
  echo -n " "<br />
  if [ ${codecs[$X]} = $voOK ]; then<br />
    echo -n on<br />
  else<br />
    echo -n off<br />
  fi<br />
  if [ $X -lt $TMP ]; then<br />
    echo<br />
  fi<br />
  let X=$X+1<br />
done) 2&#62;/tmp/checklist.tmp.$$</p>
<p>retval=$?<br />
choice=`cat /tmp/checklist.tmp.$$`<br />
rm -f /tmp/checklist.tmp.$$</p>
<p>case $retval in<br />
  0)<br />
     echo "# Configuración guardada por la demo de dialog Wadalbertiana" &#62; $configfile<br />
     for unaLinea in ${opciones[*]}<br />
     do<br />
       if [ $voOK ]<br />
       then<br />
         if [ $(echo $unaLinea &#124; grep "^vo") ]<br />
         then<br />
           echo "vo=$choice" &#62;&#62; $configfile<br />
         else<br />
           echo $unaLinea &#62;&#62; $configfile<br />
         fi<br />
       else<br />
         echo $unaLinea &#62;&#62; $configfile<br />
       fi<br />
     done<br />
     if [ $voOK ]; then<br />
     voOK=$voOK;<br />
     else<br />
       echo "vo=$choice" &#62;&#62; $configfile<br />
     fi<br />
  ;;<br />
  1)<br />
    echo "Has cancelado."<br />
    exit 1<br />
    ;;<br />
  255)<br />
    echo "Has cerrado."<br />
    exit 1<br />
    ;;<br />
esac<br />
clear<br />
echo "EsosTodo Amigos!!"<br />
</code></p></blockquote>
<p>Hay varias cosas que se pueden mejorar, asín que si aportaris mejoras nos ayudaremos a comprender mejor. Sobre todos aquellos que somos autodidactas ...  el if final de escritura al achivo de configuración es ridículo, no supe como poner un ifnot :)) también se podría sustituir el modo de lectura por lectura esctiruta &#60;&#62; y alguna cosa más ...</p>
<p>Saludos</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[X.org 7.4? Forse ci siamo]]></title>
<link>http://markoblog.wordpress.com/?p=1540</link>
<pubDate>Wed, 02 Jul 2008 07:58:51 +0000</pubDate>
<dc:creator>marko</dc:creator>
<guid>http://markoblog.wordpress.com/?p=1540</guid>
<description><![CDATA[Che il ciclo di sviluppo di X.Org 7.4 si stesse protraendo per un numero di mesi superiore rispetto ]]></description>
<content:encoded><![CDATA[<p><a href="http://www.ossblog.it/tag/xorg"><img class="post" style="border-color:white;" src="http://static.blogo.it/ossblog/xorg_180.png" border="0" alt="X.org" width="180" height="144" align="left" /></a>Che il ciclo di sviluppo di X.Org 7.4 si stesse protraendo per un numero di mesi superiore rispetto a quanto anticipato lo si era capito già da un pezzo: prima lo si aspettava per febbraio, poi per maggio e poi per…boh, si era persa di vista la possibile data di rilascio finale (nonostante si fosse arrivati alla terza <em>release candidate</em>).</p>
<p>L’annuncio da parte di Adam Jackson (release manager per X.Org 7.4) della <a href="http://lists.freedesktop.org/archives/xorg/2008-June/036653.html">disponibilità della quarta <em>release candidate</em></a> potrebbe però rappresentare la cosiddetta “luce in fondo al tunnel”. Il rilascio della versione 1.4.99.904 del server X include ben ottantun cambiamenti, tra le quali figurano numerose correzioni relative a problemi di sicurezza e <em>memory leak</em>.</p>
<p>Va notato che, nonostante il <a href="http://bugs.freedesktop.org/show_bug.cgi?id=10101"><em>bug tracker</em> di X.Org 7.4</a> risulti ora completamente vuoto, la risoluzione di diversi bug scoperti nei mesi scorsi è stata posticipata al rilascio di X.Org 7.5, previsto, se tutto andrà bene, nei primi mesi del 2009.</p>
<p><strong>Aggiornamento</strong>. A distanza di poche ore è già stata rilasciata una <a href="http://lists.freedesktop.org/archives/xorg/2008-June/036690.html">nuova release candidate</a>, anche se questa volta le correzioni sono di poco valore.</p>
<p style="text-align:right;">[via: phoronix.com &#124;&#124; ossblog.it]</p>
]]></content:encoded>
</item>

</channel>
</rss>
