<?xml version="1.0" encoding="UTF-8"?><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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>linux Archives - Beshoy Girgis</title>
	<atom:link href="https://beshoy.girgis.us/tag/linux-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://beshoy.girgis.us/tag/linux-2/</link>
	<description>Father, husband, son, nerd.</description>
	<lastBuildDate>Sun, 12 Mar 2017 08:05:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Virtualbox &#124; Ubuntu &#124; Chrome &#8211; Rendering Issue</title>
		<link>https://beshoy.girgis.us/2012/11/virtualbox-ubuntu-chrome-rendering-issue/</link>
					<comments>https://beshoy.girgis.us/2012/11/virtualbox-ubuntu-chrome-rendering-issue/#comments</comments>
		
		<dc:creator><![CDATA[Beshoy Girgis]]></dc:creator>
		<pubDate>Tue, 27 Nov 2012 18:37:46 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rendering]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualbox]]></category>
		<guid isPermaLink="false">http://beshoy.girgis.us/?p=233</guid>

					<description><![CDATA[I&#8217;ve been having crazy problems with Chrome hanging on my Virtualbox build.  I couldn&#8217;t for the life of me figure out why Chrome was causing Ubuntu&#8217;s rendering to crash.  All of a sudden when visiting a random site such as https://chrome.google.com/webstore, the virtual machine would turn all black or all white or rendering would be all <a class="read-more" href="https://beshoy.girgis.us/2012/11/virtualbox-ubuntu-chrome-rendering-issue/">[&#8230;]</a>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been having crazy problems with Chrome hanging on my Virtualbox build.  I couldn&#8217;t for the life of me figure out why Chrome was causing Ubuntu&#8217;s rendering to crash.  All of a sudden when visiting a random site such as https://chrome.google.com/webstore, the virtual machine would turn all black or all white or rendering would be all sorts of crazy where I can&#8217;t click on anything ( objects are there, I can move windows around and what not, but they wouldn&#8217;t render as they really are ). I am at that point forced to hit alt+f2 and <em>sudo poweroff</em> as a <em>sudo reboot</em> would sometimes bring Ubuntu back up with the same rendering issues.</p>
<p>After much digging, I came across <a href="http://ubuntuforums.org/showthread.php?t=1974800" target="_blank">http://ubuntuforums.org/showthread.php?t=1974800</a> with a suggestion of starting Chrome with the following command:</p>
<pre class="brush: bash; gutter: true; first-line: 1">google-chrome --blacklist-accelerated-compositing</pre>
<p>I&#8217;ve come to find out that this may have resolved my rending issue!  It seems to be more related to Virtualbox and how it&#8217;s handling 3D acceleration.</p>
<p>To update the desktop/launcher icons you can run:</p>
<pre class="brush: bash; gutter: true; first-line: 1">locate google-chrome.desktop</pre>
<p>Which will probably give you the following:</p>
<pre class="brush: bash; gutter: true; first-line: 1">/opt/google/chrome/google-chrome.desktop
/usr/share/applications/google-chrome.desktop</pre>
<p>Really, the only one you need to edit is the one in your /usr/share/applications/.  You can also copy that file to ~/.local/share/applications/ and add</p>
<pre>--blacklist-accelerated-compositing to the end of any "Exec=" line ( should be three -- one for first opening Chrome, one</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://beshoy.girgis.us/2012/11/virtualbox-ubuntu-chrome-rendering-issue/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
		<item>
		<title>My First Bash-Completion Script</title>
		<link>https://beshoy.girgis.us/2012/11/my-first-bash-completion-script/</link>
					<comments>https://beshoy.girgis.us/2012/11/my-first-bash-completion-script/#respond</comments>
		
		<dc:creator><![CDATA[Beshoy Girgis]]></dc:creator>
		<pubDate>Tue, 20 Nov 2012 01:27:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[bash-completion]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[shell]]></category>
		<guid isPermaLink="false">http://beshoy.girgis.us/?p=224</guid>

					<description><![CDATA[By golly, I&#8217;ve finally done it!  I love bash completion and must have it on any shell-based device I own.  I&#8217;ve written countless numbers of scripts but for the most part, they&#8217;re fairly self-contained &#8212; with the exception of the &#8220;perms&#8221; script.  This script is nice and quick on a one-site box where I can <a class="read-more" href="https://beshoy.girgis.us/2012/11/my-first-bash-completion-script/">[&#8230;]</a>]]></description>
										<content:encoded><![CDATA[<p>By golly, I&#8217;ve finally done it!  I love bash completion and must have it on any shell-based device I own.  I&#8217;ve written countless numbers of scripts but for the most part, they&#8217;re fairly self-contained &#8212; with the exception of the &#8220;perms&#8221; script.  This script is nice and quick on a one-site box where I can just run &#8220;perms&#8221; and my permissions for a set get reset to &#8220;production&#8221;.  I use this so that when doing WordPress updates for example, I can chmod -R 777 then run perms after all my updates &#8212; nice and quick! <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Servers running multiple sites require a more complex perms script which accepts a $1 variable of the domain.  From there, I run the specific chowns and chmods and what not for that particular site using a case as well as some defaults that affect all the sites.</p>
<p>I&#8217;ve found it annoying to have to type &#8220;perms beshoy.girgis.us&#8221; or &#8220;perms odslabs.com&#8221; so I made a quick script to take care of the domain part for me.  This script gets dropped in <span style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px;">/etc/bash_completion.d/perms</span></p>
<pre class="brush: bash; gutter: true; first-line: 1"># bash completion for perms

_perms()
{
	  cur=${COMP_WORDS[COMP_CWORD]}
	  COMPREPLY=( $( compgen -W "$(ls /vhosts/)" -- $cur ) )
}
complete -o default -o nospace -F _perms perms</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://beshoy.girgis.us/2012/11/my-first-bash-completion-script/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux ( Gnome/Unity/KDE ) + Virtualbox + Mouse issues</title>
		<link>https://beshoy.girgis.us/2012/10/linux-gnomeunitykde-virtualbox-mouse-issues/</link>
					<comments>https://beshoy.girgis.us/2012/10/linux-gnomeunitykde-virtualbox-mouse-issues/#comments</comments>
		
		<dc:creator><![CDATA[Beshoy Girgis]]></dc:creator>
		<pubDate>Mon, 29 Oct 2012 14:52:07 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[Virtualbox]]></category>
		<guid isPermaLink="false">http://beshoy.girgis.us/?p=217</guid>

					<description><![CDATA[After the latest Ubuntu upgrade my mouse became extremely unstable.  I use Gnome 3 and at random times, my mouse&#8217;s X and Y values would jump to 0.  This made it difficult to complete simple tasks as well as the annoyance of Gnome&#8217;s hot window from the top left corner being triggered constantly just by <a class="read-more" href="https://beshoy.girgis.us/2012/10/linux-gnomeunitykde-virtualbox-mouse-issues/">[&#8230;]</a>]]></description>
										<content:encoded><![CDATA[<p>After the latest Ubuntu upgrade my mouse became extremely unstable.  I use Gnome 3 and at random times, my mouse&#8217;s X and Y values would jump to 0.  This made it difficult to complete simple tasks as well as the annoyance of Gnome&#8217;s hot window from the top left corner being triggered constantly just by moving the mouse anywhere in the screen.  A bit of research led me to an Arch Linux thread where others were experiencing the same issue.  The solution turned out to be simple!:</p>
<pre class="brush: bash; gutter: true; first-line: 1">xinput set-prop "VirtualBox mouse integration" "Coordinate Transformation Matrix" 0.5 0 0 0 0.5 0 0 0 1.0
xinput set-prop "VirtualBox mouse integration" "Coordinate Transformation Matrix" 1.0 0 0 0 1.0 0 0 0 1.0</pre>
<p>More information can be found at the thread where I found the result, <a href="https://bbs.archlinux.org/viewtopic.php?pid=1150418#p1150418">https://bbs.archlinux.org/viewtopic.php?pid=1150418#p1150418</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://beshoy.girgis.us/2012/10/linux-gnomeunitykde-virtualbox-mouse-issues/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 2/131 objects using disk
Page Caching using disk: enhanced 
Lazy Loading (feed)
Minified using disk
Database Caching using disk (Request-wide modification query)

Served from: beshoy.girgis.us @ 2026-04-27 05:29:23 by W3 Total Cache
-->