Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
L
live-installer
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
live-installer
Commits
8b5126e2
Kaydet (Commit)
8b5126e2
authored
Haz 13, 2020
tarafından
root
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
²@Î
®
Â¥₺€Û¶ÎÂû
®
₺”×¢û»“¢₺
üst
17faa65a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
25 deletions
+17
-25
gtk_interface.py
live-installer/frontend/gtk_interface.py
+4
-1
installer.py
live-installer/installer.py
+10
-10
distro.png
live-installer/resources/distro.png
+0
-0
distro.svg
live-installer/resources/distro.svg
+0
-0
install.png
live-installer/resources/install.png
+0
-0
interface.ui
live-installer/resources/interface.ui
+3
-14
No files found.
live-installer/frontend/gtk_interface.py
Dosyayı görüntüle @
8b5126e2
...
...
@@ -240,6 +240,9 @@ class InstallerWindow:
# install page
self
.
builder
.
get_object
(
"label_install_progress"
)
.
set_text
(
(
"Calculating file indexes ..."
))
self
.
builder
.
get_object
(
"install_image"
)
.
set_from_file
(
"./resources/install.png"
)
# i18n
self
.
i18n
()
...
...
@@ -305,7 +308,7 @@ class InstallerWindow:
# Welcome page
self
.
builder
.
get_object
(
"img_distro"
)
.
set_from_file
(
"./resources/distro.
sv
g"
)
"./resources/distro.
pn
g"
)
self
.
builder
.
get_object
(
"label_welcome1"
)
.
set_text
(
(
"Welcome to the Sulin Installer."
))
self
.
builder
.
get_object
(
"label_welcome2"
)
.
set_text
(
...
...
live-installer/installer.py
Dosyayı görüntüle @
8b5126e2
...
...
@@ -70,7 +70,7 @@ class InstallerEngine:
# Transfer the files
SOURCE
=
"/source/"
DEST
=
"/target/"
EXCLUDE_DIRS
=
"
home/* dev/* proc/* sys/* tmp/* run/* mnt/* media
/* lost+found source target"
.
split
()
EXCLUDE_DIRS
=
"
data/* dev/* proc/* sys/* tmp/* run
/* lost+found source target"
.
split
()
our_current
=
0
# (Valid) assumption: num-of-files-to-copy ~= num-of-used-inodes-on-/
our_total
=
int
(
subprocess
.
getoutput
(
...
...
@@ -459,15 +459,15 @@ class InstallerEngine:
self
.
update_progress
(
our_current
,
our_total
,
False
,
False
,
(
"Settings X11 keyboard options"
))
newconsolefh
=
open
(
"/target/etc/X11/xorg.conf.d/
0
0-keyboard.conf"
,
"w"
)
newconsolefh
.
write
(
'Section "InputClass"'
)
newconsolefh
.
write
(
'Identifier "system-keyboard"'
)
newconsolefh
.
write
(
'MatchIsKeyboard "on"'
)
newconsolefh
.
write
(
'Option "XkbLayout" "{}"'
.
format
(
self
.
setup
.
keyboard_layout
))
newconsolefh
.
write
(
'Option "XkbModel" "{}"'
.
format
(
self
.
setup
.
keyboard_model
))
newconsolefh
.
write
(
'Option "XkbVariant" "{}"'
.
format
(
self
.
setup
.
keyboard_variant
))
newconsolefh
.
write
(
'#Option "XkbOptions" "grp:alt_shift_toggle"'
)
newconsolefh
.
write
(
'EndSection'
)
newconsolefh
=
open
(
"/target/etc/X11/xorg.conf.d/
1
0-keyboard.conf"
,
"w"
)
newconsolefh
.
write
(
'Section "InputClass"
\n
'
)
newconsolefh
.
write
(
'Identifier "system-keyboard"
\n
'
)
newconsolefh
.
write
(
'MatchIsKeyboard "on"
\n
'
)
newconsolefh
.
write
(
'Option "XkbLayout" "{}"
\n
'
.
format
(
self
.
setup
.
keyboard_layout
))
newconsolefh
.
write
(
'Option "XkbModel" "{}"
\n
'
.
format
(
self
.
setup
.
keyboard_model
))
newconsolefh
.
write
(
'Option "XkbVariant" "{}"
\n
'
.
format
(
self
.
setup
.
keyboard_variant
))
newconsolefh
.
write
(
'#Option "XkbOptions" "grp:alt_shift_toggle"
\n
'
)
newconsolefh
.
write
(
'EndSection
\n
'
)
newconsolefh
.
close
()
# write MBR (grub)
...
...
live-installer/resources/distro.png
0 → 100644
Dosyayı görüntüle @
8b5126e2
20.1 KB
live-installer/resources/distro.svg
deleted
100644 → 0
Dosyayı görüntüle @
17faa65a
This diff is collapsed.
Click to expand it.
live-installer/resources/install.png
0 → 100644
Dosyayı görüntüle @
8b5126e2
20.1 KB
live-installer/resources/interface.ui
Dosyayı görüntüle @
8b5126e2
...
...
@@ -1843,21 +1843,10 @@
</packing>
</child>
<child>
<object
class=
"Gtk
ScrolledWindow"
id=
"scrolled_slideshow
"
>
<property
name=
"visible"
>
Fals
e
</property>
<object
class=
"Gtk
Image"
id=
"install_image
"
>
<property
name=
"visible"
>
Tru
e
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"hscrollbar_policy"
>
external
</property>
<property
name=
"vscrollbar_policy"
>
external
</property>
<property
name=
"shadow_type"
>
in
</property>
<property
name=
"min_content_width"
>
752
</property>
<property
name=
"min_content_height"
>
450
</property>
<child>
<placeholder/>
</child>
<property
name=
"icon_name"
>
distro
</property>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment