;

Friday, May 20, 2016

Cara mengganti nama distro ubuntu dan ubuntu software center

Friday, May 20, 2016

Cara mengganti nama distro ubuntu dan ubuntu software center
lsb-issue

Pada artikel sebelumnya tentang cara mengganti nama distro saat remaster pada saat merubah file lsb-release  akan berakibat tidak bisanya kita masuk ke ubuntu software center, maka perlu dilakukan beberapa perubahan yang lebih lagi, yaitu menyalin file info dan mirrors :
#cd /usr/share/python-apt/templates/
#cp Ubuntu.info N7OS.info
#cp Ubuntu.mirrors N7OS.mirrors
Rubah isi file N7OS.info dengan mengcopykan baris pertama seperti ini:

Perhatian:  Ganti sesuaikan dengan nama yang akan dibuat, saya disini contohkan Ubuntu diganti dengan nama N7OS, kemudianTrusty saya ganti dengan gula.
Suite:Trusty
RepositoryType: deb
BaseURI: http://ports.ubuntu.com/ubuntu-ports/
MatchURI: ports.ubuntu.com/ubuntu-ports
BaseURI-amd64: http://archive.ubuntu.com/ubuntu
MatchURI-amd64: archive.ubuntu.com/ubuntu
BaseURI-i386: http://archive.ubuntu.com/ubuntu
MatchURI-i386: archive.ubuntu.com/ubuntu
MirrorsFile-amd64: Ubuntu.mirrors
MirrorsFile-i386: Ubuntu.mirrors
Description: Ubuntu 10.04 ‘Lucid Lynx’
Component: main
CompDescription: Officially supported
CompDescriptionLong: Canonical-supported Open Source software
Component: universe
CompDescription: Community-maintained
CompDescriptionLong: Community-maintained Open Source software
Component: restricted
CompDescription: Non-free drivers
CompDescriptionLong: Proprietary drivers for devices
Component: multiverse
CompDescription: Restricted software
CompDescriptionLong: Software restricted by copyright or legal issues
Lalu pastekan di paling atas lalu rubah text warna merah menjadi nama distro kalian:
Suite: N7OS
RepositoryType: deb
BaseURI: http://ports.ubuntu.com/ubuntu-ports/
MatchURI: ports.ubuntu.com/ubuntu-ports
BaseURI-amd64: http://archive.ubuntu.com/ubuntu
MatchURI-amd64: archive.ubuntu.com/ubuntu
BaseURI-i386: http://archive.ubuntu.com/ubuntu
MatchURI-i386: archive.ubuntu.com/ubuntu
MirrorsFile-amd64: Ubuntu.mirrors
MirrorsFile-i386: Ubuntu.mirrors
Description: N7OS ‘gula’
Component: main
CompDescription: Officially supported
CompDescriptionLong: Canonical-supported Open Source software
Component: universe
CompDescription: Community-maintained
CompDescriptionLong: Community-maintained Open Source software
Component: restricted
CompDescription: Non-free drivers
CompDescriptionLong: Proprietary drivers for devices
Component: multiverse
CompDescription: Restricted software
CompDescriptionLong: Software restricted by copyright or legal issues
Langkah selanjutnya Merubah Ubuntu Software Center
#cd /usr/share/software-center/softwarecenter/distro/
#cp Ubuntu.py N7OS.py
Kemudian rubah file N7OS.py
#sudo gksu gedit N7OS.py
Rubah tulisan ubuntu pada kata kata dibawah ini dengan nama distro kalian
class Ubuntu (Distro):
def get_app_name(self):
return _(“Ubuntu Software Center”)
def get_app_description(self):
return _(“Lets you choose from thousands of applications available for Ubuntu.”)

Demikian tutorial kali ini semoga ada manfaatnya 

Cara Ini bisa di gunakan untuk ubuntu versi lainnya..




Jangan sampai ketinggalan postingan-postingan terbaik dari Sharing Pengetahuan. Berlangganan melalui email sekarang juga:

Masukkan E-mail anda:

Delivered by FeedBurner

Atau sobat juga bisa follow Sharing Pengetahuan dengan mengklik tombol di bawah ini:

follow Blog Tobi
Anda Telah Membaca artikel Cara mengganti nama distro ubuntu dan ubuntu software center, Baca Juga Artikel Berikut

Tobi - Friday, May 20, 2016