<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mustafa Ulu &#187; GDM</title>
	<atom:link href="http://mustafaulu.net/tag/gdm/feed/" rel="self" type="application/rss+xml" />
	<link>http://mustafaulu.net</link>
	<description>Kişisel günlüğüm</description>
	<lastBuildDate>Thu, 19 Apr 2012 07:15:35 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mustafaulu.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mustafa Ulu &#187; GDM</title>
		<link>http://mustafaulu.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mustafaulu.net/osd.xml" title="Mustafa Ulu" />
	<atom:link rel='hub' href='http://mustafaulu.net/?pushpress=hub'/>
		<item>
		<title>(Linux&#8217;ta) Masaüstü yöneticisinin veri yolu (PATH) değerini değiştirmek</title>
		<link>http://mustafaulu.net/2007/09/06/linuxta-masa-st-yneticisinin-veri-yolu-path-degerini-degistirmek/</link>
		<comments>http://mustafaulu.net/2007/09/06/linuxta-masa-st-yneticisinin-veri-yolu-path-degerini-degistirmek/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 10:53:11 +0000</pubDate>
		<dc:creator>mustafa ulu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[GDM]]></category>

		<guid isPermaLink="false">http://gunluk.mustafau.com/2007/09/06/linuxta-masa-st-yneticisinin-veri-yolu-path-degerini-degistirmek/</guid>
		<description><![CDATA[Sık kullandığımız bir programı çalıştırmak için her seferinde programı yerleştirdiğimiz dizinin tam yolunu yazmak bize zaman kaybettirir. Örneğin şu sıralarda çok kullandığım bir programın çalıştırılabilir dosyaları &#8220;/opt/arm/3.4/bin&#8221; dizininin içerisinde. Bu dizindeki &#8220;arm-linux-gcc&#8221; komutunu çalıştırmak için her seferinde &#8220;/opt/arm/3.4/bin/arm-linux-gcc&#8221; yazmak yerine bir sefer &#8220;export PATH=$PATH:/opt/arm/3.4/bin&#8221; komutunu çalıştırıyorum. Bundan sonra &#8220;arm-linux-gcc&#8221; komutunu istediğim yerde tam yolunu belirtmeden [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=135&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sık kullandığımız bir programı çalıştırmak için her seferinde programı yerleştirdiğimiz dizinin tam yolunu yazmak bize zaman kaybettirir. Örneğin şu sıralarda çok kullandığım bir programın çalıştırılabilir dosyaları &#8220;<strong>/opt/arm/3.4/bin</strong>&#8221; dizininin içerisinde. Bu dizindeki &#8220;<strong>arm-linux-gcc</strong>&#8221; komutunu çalıştırmak için her seferinde &#8220;<strong>/opt/arm/3.4/bin/arm-linux-gcc</strong>&#8221; yazmak yerine bir sefer &#8220;<strong>export PATH=$PATH:/opt/arm/3.4/bin</strong>&#8221; komutunu çalıştırıyorum. Bundan sonra &#8220;<strong>arm-linux-gcc</strong>&#8221; komutunu istediğim yerde tam yolunu belirtmeden kullanabiliyorum.</p>
<p>Sistem her başladığında yukarıdaki basit ayarın kendiliğinden yapılmasını sağlamak için &#8220;<strong>/etc/profile</strong>&#8221; dosyasının sonuna &#8220;<strong>export PATH=$PATH:/opt/arm/3.4/bin</strong>&#8221; satırını ekledim. Bu değişiklik sayesinde kabukta (<em>shell</em>) çalışırken kendime kolaylık sağlamış oldum fakat masaüstü yöneticisi (<em>gdm</em>) farklı bir katmanda (!) çalıştığı için aynı değişiklik masa üstünden veya dosya yöneticisinden çalıştırdığım programlarda geçerli olmadı.</p>
<p>Mesela NetBeans programını masa üstüne yerleştirilmiş olan kısayolu kullanarak çalıştırdım. Birşeyler derlemek istediğimde &#8220;<strong>arm-linux-gcc komutu bulunamadı!</strong>&#8221; gibi bir hata verdi.</p>
<p>Bu hatanın üstesinden gelmek için masa üstü yöneticisinin ayar dosyasında bir değişiklik yapmak gerekiyor.¹ Önce &#8220;<strong>/usr/share/gdm/defaults.conf</strong>&#8221; dosyasında &#8220;<strong>[daemon]</strong>&#8221; bölümünün altındaki &#8220;<strong>DefaultPath=</strong>&#8221; ile başlayan satırı alıyoruz. Bu satırı &#8220;<strong>/etc/gdm/gdm.conf</strong>&#8221; dosyasındaki &#8220;<strong>[daemon]</strong>&#8221; bölümünün altına kopyalıyoruz. Şimdi de kopyaladığımız satırın sonuna &#8220;<strong>arm-linux-gcc</strong>&#8221; dosyasının bulunduğu klasörü ekliyoruz. Bu işlem sonucunda şöyle bir satır elde ediliyor: &#8220;<strong>DefaultPath=( varsayılan değerler ):/opt/arm/3.4/bin</strong>&#8220;</p>
<p>&#8220;<strong>gdm.conf</strong>&#8221; dosyasını kaydettikten sonra bilgisayarı yeniden başlatmak gerekiyor. Bilgisayarınız açıldığında masa üstü yöneticisi ile aynı dili konuşuyor olacaksınız.</p>
<p>¹ <em>Burada anlatılan ayarlar <strong>Debian GNU/Linux</strong> üzerinde denenmiştir. Diğer dağıtımlarda farklılıklar olabilir.</em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mustafau.wordpress.com/135/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mustafau.wordpress.com/135/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mustafau.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mustafau.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mustafau.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mustafau.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mustafau.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mustafau.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mustafau.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mustafau.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mustafau.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mustafau.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mustafau.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mustafau.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mustafau.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mustafau.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&#038;blog=537600&#038;post=135&#038;subd=mustafau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mustafaulu.net/2007/09/06/linuxta-masa-st-yneticisinin-veri-yolu-path-degerini-degistirmek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f6d5acdf6beca511ac2003434abd4c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mustafa ulu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
