-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
242 lines (200 loc) · 9.81 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Use MicroOS as a desktop manual </title>
<meta name="description" content="A PERSONAL guide to get started with MicroOS as a desktop.">
<link rel="stylesheet" href="main.css">
</head>
<body>
<h1> >>>>MicroOS as a desktop OS first things to do<<<< </h1>
<p>
<BR><i>disclaimer: this is a work in progress and at the moment mainly writen from my own perspective.</i><BR><BR><BR><BR><BR>
<br>
grab ISO from https://en.opensuse.org/Portal:MicroOS/Downloads <br>
Put ISO on a USB drive and start the installation proces. <br>
Choose if you want to use Gnome or KDE. <br> <br>
In what follows: <br> <br>
* commands starting with `$` can be copied straight into your terminal prompt. <br>
* commands starting with `#` can only be run inside a transactional-update shell. <br>
<br>
</p>
<h2> Ways to install applications </h2> <br>
You can install applications in several ways: <br>
* flatpaks from flathub -- the _preferred solution_ <br>
* RPM's via a package manager <br>
* RPM's in a toolbox `toolbox -u` <br>
* snaps (requires some extra setup to get snapd installed) <br>
* AppImages <br>
!!! info <br>
The reason _flatpaks_ are preferred is that they provide a self-contained environment offering a pleasant balance between security, dependence integrity and performance. See [here](https://flatpak.org/) for details. <br>
<h3> Package manager options </h3> <br>
MicroOS now has a few different package managers as an option during install: <br>
* transactional-update with zypper `the old default, and still the default for the server version`<br>
* Packagekit + tukit `the new default, using pkcon and tukit` <br>
* microdnf `an experimental package manager based on dnf`<br>
The reason for changing package managers is because pkcon gives the opportunity to use Gnome Software or Discover for KDE as an installer of RPM's. And currently we are working on the ability to let Gnome Software and Discover perform system upgrades. <br>
<h4> Transcational-update _old default_ </h4> <br>
commands for transactional-update are: <br>
* `sudo transactional-update pkg install package_name` install a rpm package <br>
* `sudo transactional-udpdate dup` perform a system upgrade to the next release <br>
* `sudo transactional-update shell` open a shell of the next snapshot (you can use zypper commands there) <br>
<h4> Packagekit + tukit _new default_ </h4><br>
commands for Packagekit and tukit: <br>
* `pkcon install package_name` install a rpm package <br>
* `pkcon update` perform a system upgrade to the next release <br>
* `sudo tukit execute bash` open a shell of the next snapshot (you can use zypper commands there) <br>
<h4> Microdnf </h4> <br>
commands for microdnf: <br>
* `microdnf install package_name` install a rpm package <br>
* `microdnf upgrade` perform a system upgrade to the next release<br>
<br>
<h2> Gnome </h2> <br>
Gnome is currently in a beta stage.
At first boot flatpaks are enabled and some flatpaks are installed by default (Mozilla Firefox, Text Editor, Gnome Calculator and Extention Manager). <br>
After the first boot script finishes you can open Gnome Software to install more software. <br>
</p>
<h2> KDE </h2>
<p> <br>
In discover enable the flatpak repo <br><br>
Normal theme installations don’t work. But you can install themes via a transactional-update shell: (For example the Arc theme and papirus-icon-theme) <br> <br>
$ sudo transactional-update shell <br>
# cd /tmp <br>
# wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/arc-kde/master/install.sh | sh <br>
# wget -qO- https://git.io/papirus-icon-theme-install | sh <br>
# exit <br>
$ sudo reboot <br>
<br><br>
Other themes:
<br>
Qogir-icon-theme:<br>
https://github.com/vinceliuice/Qogir-icon-theme<br>
<br>
Matcha-gtk:<br>
https://github.com/vinceliuice/Matcha-gtk-theme<br>
<br>
Matcha-KDE:<br>
https://github.com/vinceliuice/Matcha-kde<br>
Akwa-gnome:<br>
https://github.com/berkiyo/akwa<br)
</p>
<h2> >>>General stuff<<< </h2>
<p> <br>If you want to install flathub for only your user (in /home/~ folder): <br>
$ flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo <br>
<br>
If you want to install flathub for all users (in /var folder): <br>
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo <br>
<br>
<h2> >>>Via flatpak install<<< </h2>
<p>
<br>
Firefox <br>
Libreoffice <br>
VLC <br>
etc. <br>
<br>
</p>
<h2> >>>If you want to use snapd do the following<<< </h2>
<p> Make sure you've disabled SELinux and enabled AppArmor. Otherwise it will NOT work.
<br>
$ sudo transactional-update shell <br>
# zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed snappy <br>
# zypper --gpg-auto-import-keys refresh <br>
# zypper ref <br>
# zypper dup --from snappy <br>
# zypper in snapd <br>
# exit <br>
$ sudo reboot <br>
$ sudo mksubvolume /snap <br>
$ source /etc/profile <br>
$ sudo systemctl enable --now snapd <br>
$ sudo systemctl enable --now snapd.apparmor <br> <br>
You can install snaps then via the terminal: <br>
$ sudo snap install <package-name> <br> <br>
</p>
<h2> >>>If you want to install virtualbox<<< </h2>
<p> <br>
$ sudo transactional-update shell <br>
# zypper ref <br>
# zypper in virtualbox-qt <br>
# exit <br>
$ sudo reboot <br>
</p>
<h3> >>If you want to install the extension pack for the host<< </h3>
<p> <br>
$ sudo transactional-update shell <br>
# cd /tmp <br>
# LatestVirtualBoxVersion=$(wget -qO - https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT) && wget "https://download.virtualbox.org/virtualbox/${LatestVirtualBoxVersion}/Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack" <br>
# VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack <br>
# exit <br>
$ sudo reboot <br> <br>
</p>
<h2> >>>If you want to install software from OBS<<< </h2>
<p> <br>
Find what you are looking for on software.opensuse.org<br>
Choose the OpenSUSE Tumbleweed repo, but you can't use the 1-click install, as there is no YaST and the 1-click installer has no access to a transactional-update. <br>
So for example if we install zerotier. choose a TumbleWeed repository. But click on 'Expert Download'<br>
And choose the 'Add repository and install manually' option.<br><br>
$ sudo transactional-update shell <br>
# zypper addrepo https://download.opensuse.org/repositories/home:alphard:Network:RPM/openSUSE_Tumbleweed/home:alphard:Network:RPM.repo
# zypper ref <br>
# zypper in zerotier-one <br>
# exit <br>
$ sudo reboot <br>
</p>
<h2> >>>If you install on a laptop<<< </h2>
<p> <br>
My laptop install was missing 2 important packages. TLP for better battery management and ModemManager because my laptop has a WWAN moden.<br>
$ sudo transactional-update pkg install tlp ModemManager <br>
$ sudo reboot <br><BR><BR><BR><BR>
</p>
<h2> Custom aliases </h2><p><br>
nano .bashrc <br>
#My custom aliases <br>
alias shalt="sudo systemctl halt" <br>
alias sboot="sudo systemctl reboot" <br>
alias pu="pkcon update" <br>
alias steb="sudo tukit execute bash" <br>
alias sts="sudo transactional-update shell" <br>
alias stsc="sudo transactional-update shell --continue" <br>
alias stdc="sudo transactional-update dup --continue" <br>
alias std="sudo transactional-update dup" <br>
alias sfu="sudo flatpak update -y && flatpak update -y" <br>
alias fsu="sudo flatpak update -y && flatpak update -y && sudo snap refresh" <br>
alias dfs="pkcon update && sudo flatpak update -y && flatpak update -y && sudo snap refresh" <br>
<h2> Other places: </h2>
https://opensuse.github.io/openSUSE-docs-revamped-temp/microos_getting_started/ <br>
https://dariofaggioli.wordpress.com/2020/10/16/opensuse-microos-as-your-desktop-install/ <br>
https://dariofaggioli.wordpress.com/2021/06/18/microos-as-your-desktop-prime-time/ <br> <br>
<h2> first boot commands: </h2>
sudo tukit execute bash <br>
groupadd vboxusers<br>
groupadd wheel<br>
groupadd docker<br>
usermod -a -G wheel $USER <br>
usermod -a -G vboxusers $USER <br>
usermod -a -G docker $USER <br>
echo "%wheel ALL = (root) NOPASSWD:ALL" > /etc/sudoers.d/wheel <BR>
echo "$USER:100000:65536" > /etc/subuid <BR>
echo "$USER:100000:65536" > /etc/subgid <BR>
exit <BR>
<h2> toolbox GUI applications </h2> <BR>
toolbox enter <BR>
sudo zypper ref && sudo zypper dup <BR>
sudo zypper in adwaita-icon-theme xorg-x11-fonts libX11-xcb1 gsettings-desktop-schemas <BR>
sudo gdk-pixbuf-query-loaders-64 --update-cache <BR>
<BR>
This is what I use for opening Vivaldi inside toolbox: <BR>
<BR>
nano ~/.local/share/applications/toolboxVivaldi.desktop <BR>
<BR>
[Desktop Entry] <BR>
Type=Application <BR>
Name=tool Vivaldi <BR>
Exec=toolbox run vivaldi <BR>
Icon=org.gnome.Nautilus <BR>
Terminal=true <BR>
</p>
</body>
</html>