Jump to content

Translations:Tutorials/Modify KDE Software Defaults/5/uk: Difference between revisions

From KDE UserBase Wiki
Yurchor (talk | contribs)
Created page with "{{Input|1=<nowiki>#!/bin/bash # Цей файл налаштовує комп’ютер згідно до побажань користувача tstaerk. Запустіть й..."
(No difference)

Revision as of 18:52, 8 October 2010

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Tutorials/Modify KDE Software Defaults)
{{Input|1=<nowiki>#!/bin/bash
# This file sets up a computer as tstaerk likes it. Call it after you have performed the OS installation.</nowiki><br /><nowiki>
# 1. set default browser to firefox
# 1.1. for SUSE Linux, where we have to look in .kde4 instead of .kde
# The key for default browser is BrowserApplication.
cd
cd .kde/share/config
# first delete all the old entries for BrowserApplication
sed -i 's/BrowserApplication\[\$e\]=.*//g' kdeglobals
# add BrowserApplication to the General section if a General section exists
sed -i 's/\[General\]/\[General\]\nBrowserApplication\[\$e\]=!firefox/g' kdeglobals
# add a General section and the key BrowerserApplication if no General section exists
grep "\[General\]" kdeglobals || echo -e "\n[General]\nBrowserApplication[\$e]=!firefox" >> kdeglobals</nowiki>}}

{{Input|1=<nowiki>#!/bin/bash

  1. Цей файл налаштовує комп’ютер згідно до побажань користувача tstaerk. Запустіть його після встановлення операційної системи.