Difference between revisions of "Viewing and editing configuration files/tr"

Created page with "{{Uyarı|Grafik metin düzenleyiciyi çalıştırmak için asla sudo kullanmayın. Bu, istenmeyen sonuçlara yol açabilir veya root'a ait olmaması gereken yapılandırma dos..."
(Created page with "Birincisi, metin düzenleyiciyi çalıştırmak için sudo kullanmaktır. Örneğin, fstab dosyanızı düzenlemek için şunu yazabilirsiniz: {{UserCmd|command=sudo nano /...")
(Created page with "{{Uyarı|Grafik metin düzenleyiciyi çalıştırmak için asla sudo kullanmayın. Bu, istenmeyen sonuçlara yol açabilir veya root'a ait olmaması gereken yapılandırma dos...")
Line 30: Line 30:
   {{UserCmd|command=sudo nano /etc/fstab}}
   {{UserCmd|command=sudo nano /etc/fstab}}


An alternative, and arguably safer method, would be to save a copy of the file somewhere you can write and then use sudo to move it. For example, if you used nano to edit your fstab and then saved a copy to your home folder, you could then move it to the proper location with sudo:
Alternatif ve tartışmasız daha güvenli bir yöntem, dosyanın bir kopyasını yazabileceğiniz bir yere kaydetmek ve ardından onu taşımak için sudo'yu kullanmak olabilir. Örneğin, fstab'ınızı düzenlemek için nano'yu kullandıysanız ve ardından bir kopyasını ana klasörünüze kaydettiyseniz, onu sudo ile uygun konuma taşıyabilirsiniz:
  {{UserCmd|command=sudo mv ~/fstab /etc/fstab}}
  {{UserCmd|command=sudo mv ~/fstab /etc/fstab}}


= Desktop Environment =
= Masaüstü Ortamı =
Each Desktop Environment includes a different graphical text editor. These can be started from the menu/launcher or from the command line.
Her Masaüstü Ortamı farklı bir grafiksel metin düzenleyici içerir. Bunlar menüden/başlatıcıdan veya komut satırından başlatılabilir.


To edit or view a file you can open it directly from the command line. Reference the list below to find the appropriate editor installed with your edition. For example to open your pacman.conf from the XFCE edition you could type:
Bir dosyayı düzenlemek veya görüntülemek için dosyayı doğrudan komut satırından açabilirsiniz. Sürümünüzle birlikte yüklenen uygun düzenleyiciyi bulmak için aşağıdaki listeye bakın. Örneğin pacman.conf dosyanızı XFCE sürümünden açmak için şunu yazabilirsiniz:
  {{UserCmd|command=mousepad /etc/pacman.conf}}
  {{UserCmd|command=mousepad /etc/pacman.conf}}


Alternatively, you could launch mousepad from the whisker menu and open the file by browsing to it. Sometimes, the menu item will have the name as found below but it can also simply read 'Text Editor'
Alternatif olarak, mousepad i whisker menüsünden başlatabilir ve dosyaya göz atarak dosyayı açabilirsiniz. Bazen menü öğesi aşağıda bulunan adı taşır ancak aynı zamanda 'Metin Düzenleyici' de olabilir.


== List of graphical text editors for each edition ==
== Her baskı için grafiksel metin editörlerinin listesi ==


* XFCE: mousepad
* XFCE: mousepad
Line 57: Line 57:
* Openbox: xed
* Openbox: xed


== Editing files requiring privilege escalation ==
== Ayrıcalık yükseltme gerektiren dosyaları düzenleme ==


{{Warning|Never use sudo to run a graphical text editor. This can have unintended consequences or break the permission to configuration files that should not be owned by root.}}
{{Uyarı|Grafik metin düzenleyiciyi çalıştırmak için asla sudo kullanmayın. Bu, istenmeyen sonuçlara yol açabilir veya root'a ait olmaması gereken yapılandırma dosyalarının iznini bozabilir.}}


Many of the graphical text editors will automatically ask for privilege escalation when they detect that you cannot write to a file.
Grafik metin editörlerinin çoğu, bir dosyaya yazamadığınızı tespit ettiklerinde otomatik olarak ayrıcalık yükseltme talebinde bulunacaktır.


If they don't, you can save a copy of the file to your home folder and move it into place using sudo. For example, if you edit your fstab and then saved a copy to your home folder, you could then move it to the proper location with sudo:
Aksi takdirde, dosyanın bir kopyasını ana klasörünüze kaydedebilir ve sudo kullanarak yerine taşıyabilirsiniz. Örneğin, fstab dosyanızı düzenleyip ardından bir kopyasını ana klasörünüze kaydettiyseniz, onu sudo ile uygun konuma taşıyabilirsiniz:
  {{UserCmd|command=sudo mv ~/fstab /etc/fstab}}
  {{UserCmd|command=sudo mv ~/fstab /etc/fstab}}


[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]
1,271

edits