Skip to content

Commit 41b148f

Browse files
committed
Merge branch 'dev-stable'
2 parents 5903524 + 05ede8f commit 41b148f

23 files changed

Lines changed: 651 additions & 93 deletions

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@
1111

1212
pkg/
1313
src/
14-
out/
15-
alter-build
14+
out/

README.md

Lines changed: 41 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11

2-
## AlterLinux - ArchLinux-derived OS made in Japan aimed at being usable by anyone
2+
## Alter Linux - A Japanese-made Arch Linux-derived OS that aims to be usable by anyone
33

4-
![License](https://img.shields.io/badge/LICENSE-GPL--3.0-blue?style=for-the-badge&logo=appveyor)
5-
![Base](https://img.shields.io/badge/BASE-ArchLinux-blue?style=for-the-badge&logo=appveyor)
4+
![AlterLogo](images/logo.png)
5+
6+
![License](https://img.shields.io/badge/LICENSE-GPL--3.0-blue?style=for-the-badge&logo=gnu)
7+
![Base](https://img.shields.io/badge/BASE-ArchLinux-blue?style=for-the-badge&logo=arch-linux)
68
![archiso](https://img.shields.io/badge/archiso--version-43--1-blue?style=for-the-badge&logo=appveyor)
79

10+
| [日本語](README_jp.md) | [English](README.md) |
11+
|:-----:|:-----:|
12+
13+
| [Stable](https://github.com/SereneTeam/alterlinux/tree/master) | [Unstable](https://github.com/SereneTeam/alterlinux/tree/dev-stable) | [Develop](https://github.com/SereneTeam/alterlinux/tree/dev) |
14+
|:-----:|:-----:|:-----:|
15+
816
## Overview
917

1018
Alter Linux is a new OS developed based on Arch Linux.
11-
Combining a sophisticated UI with Xfce4 and a package management tool complete with a GUI, anyone can easily use the latest OS with constraints.
12-
13-
このReadmeの日本語版は[こちら](https://github.com/SereneTeam/alterlinux/blob/master/README_jp.md)にあります。
14-
19+
Combining a sophisticated UI with Xfce4 and a package management tool complete with a GUI, anyone can easily use the latest OS at high speed.
1520

1621
## Repositories and software
1722

@@ -35,38 +40,47 @@ The source code for software not in the AUR can be found below.
3540

3641
## build
3742

38-
The following procedure is for building with the actual machine ArchLinux.
39-
If you build on Docker, please refer to [this procedure](https://github.com/SereneTeam/alterlinux/blob/dev/Howtobuild_on_docker.md).
43+
The following procedure is for building with the actual machine ArchLinux.
44+
45+
### Preparation
4046

47+
There are two ways to build, using Arch Linux on the actual machine and building on Docker.
48+
The options of `build.sh` are common.
49+
50+
#### Build on real machine
4151
You need to build in ArchLinux environment.
4252
Please install `archiso` package beforehand.
4353

44-
4554
```bash
4655
git clone https://github.com/SereneTeam/alterlinux.git
4756
cd alterlinux
4857
./build.sh
4958
```
5059

60+
61+
#### Build on container
62+
If you build on Docker, please refer to [this procedure](Howtobuild_on_docker.md).
63+
5164
### build.sh options
5265

53-
#### basic
66+
#### Basic
5467
Please execute as it is.
5568
The default password is `alter`.
5669
Plymouth has been disabled.
57-
Default compression type is `xz`.
70+
Default compression type is `zstd`.
5871

5972

60-
#### options
61-
- Enable Plymouth : `-b`
62-
- Change the password : `-p <password>`
73+
#### Options
74+
- Enable Plymouth : `-b`
75+
- Enable LTS kernel : `-l`
76+
- Change the password : `-p <password>`
6377
- Change compression type : `-c <comp type>`
6478
- Set compression options : `-t <options>`
6579

66-
Example: Enable Plymouth and change the password to `ilovearch` and change compression type to `zstd`.
80+
Example: Enable Plymouth and change the password to `ilovearch` and change compression type to `gzip` and enable linux-lts.
6781

6882
```bash
69-
./build.sh -b -p 'ilovearch' -c 'zstd'
83+
./build.sh -l -b -p 'ilovearch' -c 'gzip'
7084
```
7185

7286
##### About compression type
@@ -118,12 +132,19 @@ zstd
118132
```
119133

120134

121-
## Developer
135+
## About SereneTeam and developers
136+
SereneTeam is a development team for a Linux distribution composed primarily of junior and senior high school students. Almost all are Japanese and there are a total of 24 members.
137+
[SereneLinux](https://serenelinux.com) based on Ubuntu has been developed and released.
138+
Utilizing our know-how, we are working on the development of Alter Linux, which is the first OS in Arch Linux to be developed in Japan.
139+
140+
### Member Twitter
141+
Link to Twitter of main development members.
142+
All comments made on this account are not official SereneTeam statements and are solely for the developer.
122143

123-
### code
144+
#### Development
124145
- [Hayao0819](https://twitter.com/Hayao0819)
125146
- [lap1sid](https://twitter.com/Pixel_3a)
126147
- [yamad](https://twitter.com/_unix_like)
127148

128-
### design
149+
#### Design charge
129150
- [tukutun](https://twitter.com/tukutuN_27)

README_jp.md

Lines changed: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11

2-
## AlterLinux - 誰でも使えることを目標にした日本製のArchLinux派生のOS
2+
## Alter Linux - 誰でも使えることを目標にした日本製でArch Linux派生のOS
33

4-
![License](https://img.shields.io/badge/LICENSE-GPL--3.0-blue?style=for-the-badge&logo=appveyor)
5-
![Base](https://img.shields.io/badge/BASE-ArchLinux-blue?style=for-the-badge&logo=appveyor)
4+
![AlterLogo](images/logo.png)
5+
6+
![License](https://img.shields.io/badge/LICENSE-GPL--3.0-blue?style=for-the-badge&logo=gnu)
7+
![Base](https://img.shields.io/badge/BASE-ArchLinux-blue?style=for-the-badge&logo=arch-linux)
68
![archiso](https://img.shields.io/badge/archiso--version-43--1-blue?style=for-the-badge&logo=appveyor)
79

10+
| [日本語](README_jp.md) | [English](README.md) |
11+
|:-----:|:-----:|
12+
13+
| [安定版](https://github.com/SereneTeam/alterlinux/tree/master) | [リリース候補](https://github.com/SereneTeam/alterlinux/tree/dev-stable) | [開発](https://github.com/SereneTeam/alterlinux/tree/dev) |
14+
|:-----:|:-----:|:-----:|
15+
816
## 概要
917

1018
Alter LinuxはArch Linuxをベースに開発されている新しいOSです。
11-
Xfce4による洗練されたUIとGUIで完結するパッケージ管理ツールを兼ね備え、誰でも簡単に拘束で最新のOSを使用できます
19+
Xfce4による洗練されたUIとGUIで完結するパッケージ管理ツールを兼ね備え、誰でも簡単に高速で最新のOSを使用できます
1220

13-
You can find the English version of this Readme [here](https://github.com/SereneTeam/alterlinux/blob/master/README.md).
14-
15-
16-
## リポジトリとソフトウェア
21+
## リポジトリとソフトウェア
1722

1823
### リポジトリ
1924
- [SereneTeam/alter-repo](https://github.com/SereneTeam/alter-repo)
@@ -35,35 +40,52 @@ AURに無いソフトウェアのソースコードは以下にあります。
3540
## ビルド
3641

3742
以下の手順は、実機のArchLinuxでビルドするためのものです。
38-
Dockerでビルドする場合は、[この手順](https://github.com/SereneTeam/alterlinux/blob/master/Howtobuild_on_docker.md)を参照してください。
3943

44+
### 準備
45+
46+
ビルドは実機のArch Linuxを利用する方法とDocker上でビルドする方法があります。
47+
`build.sh`のオプションは共通です。
48+
49+
#### 実機でビルドする
4050
ArchLinux環境でビルドする必要があります。
4151
事前に`archiso`パッケージをインストールしておいてください。
4252

4353
```bash
4454
git clone https://github.com/SereneTeam/alterlinux.git
4555
cd alterlinux
46-
./build.sh
56+
```
57+
58+
#### コンテナ上でビルドする
59+
Dockerでビルドする場合は、[この手順](https://github.com/SereneTeam/alterlinux/blob/master/Howtobuild_on_docker.md)を参照してください。
60+
61+
### ビルドウィザード
62+
wizard.shを使用して簡単に思い通りの設定でビルドできます。bashで書かれていますのでターミナルから実行してください。
63+
「はい」か「いいえ」の質問は`y``n`で応えてください。数値を入力する場合は半角で入力してください。
64+
65+
```bash
66+
./wizard.sh
4767
```
4868

4969
### build.shのオプション
5070

5171
#### 基本
52-
そのまま実行してください。
53-
デフォルトパスワードは`alter`です。
54-
Plymouthは無効化されています。
55-
デフォルトの圧縮方式は`xz`です。
72+
通常はウィザードを使用してください。ウィザードを使用しない場合、デフォルトパスワードは`alter`です。Plymouthは無効化されています。デフォルトの圧縮方式は`zstd`です。
73+
74+
```bash
75+
./build.sh <options>
76+
```
5677

5778
#### オプション
5879
- Plymouthを有効化する : `-b`
80+
- LTSカーネルを有効化 : `-l`
5981
- パスワードを変更する : `-p <password>`
6082
- 圧縮方式を変える : `-c <comp type>`
6183
- 圧縮のオプション : `-t <options>`
6284

63-
例 : Plymouthを有効化し、パスワードを`ilovearch`に変更し、圧縮方式を`zstd`にする。
85+
例 : PlymouthとLTSカーネルを有効化し、パスワードを`ilovearch`に変更し、圧縮方式を`gzip`にする。
6486

6587
```bash
66-
./build.sh -b -p 'ilovearch' -c "zstd"
88+
./build.sh -l -b -p 'ilovearch' -c "gzip"
6789
```
6890

6991
##### 圧縮方式について
@@ -115,12 +137,19 @@ zstd
115137
```
116138

117139

118-
## 開発者
140+
## SereneTeamと開発者について
141+
SereneTeamは主に中高生で構成されたLinuxディストリビューションの開発チームです。ほぼ全員が日本人で、メンバーは合計で24人います。
142+
Ubuntuをベースとした[SereneLinux](https://serenelinux.com)を開発、公開しています。
143+
私達はそのノウハウを活かし、Alter Linuxの開発に取り組んでいます。
144+
145+
### メンバーのTwitter
146+
主要な開発メンバーのTwitterへのリンクです。
147+
このアカウントでの発言はすべてSereneTeam公式のものではなく、あくまでも開発者個人のものとします。
119148

120-
### コード
149+
#### 開発担当
121150
- [Hayao0819](https://twitter.com/Hayao0819)
122151
- [lap1sid](https://twitter.com/Pixel_3a)
123152
- [yamad](https://twitter.com/_unix_like)
124153

125-
### デザイン
154+
#### デザイン担当
126155
- [tukutun](https://twitter.com/tukutuN_27)

airootfs/etc/skel/.bash_profile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22
# ~/.bash_profile
33
#
44

5+
if [[ -f ~/.setup.sh ]]; then
6+
bash ~/.setup.sh
7+
rm ~/.setup.sh
8+
fi
9+
510
[[ -f ~/.bashrc ]] && . ~/.bashrc
611
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx

airootfs/etc/skel/.config/xfce4/panel/whiskermenu-3.rc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop
2-
recent=xfce-settings-manager.desktop,exo-file-manager.desktop,exo-terminal-emulator.desktop,xfce-display-settings.desktop,exo-web-browser.desktop
2+
recent=xfce-display-settings.desktop,xfce-settings-manager.desktop,exo-file-manager.desktop,exo-terminal-emulator.desktop,exo-web-browser.desktop
33
button-title=Alter
44
button-icon=alter
55
button-single-row=false
@@ -13,6 +13,7 @@ hover-switch-category=false
1313
category-show-name=true
1414
category-icon-size=1
1515
load-hierarchy=false
16+
view-as-icons=false
1617
recent-items-max=10
1718
favorites-in-recent=true
1819
display-recent-default=false
@@ -21,8 +22,8 @@ position-commands-alternate=false
2122
position-categories-alternate=false
2223
stay-on-focus-out=false
2324
confirm-session-command=true
24-
menu-width=400
25-
menu-height=500
25+
menu-width=424
26+
menu-height=506
2627
menu-opacity=100
2728
command-settings=xfce4-settings-manager
2829
show-command-settings=false
@@ -31,13 +32,13 @@ show-command-lockscreen=false
3132
command-switchuser=gdmflexiserver
3233
show-command-switchuser=false
3334
command-logoutuser=xfce4-session-logout --logout --fast
34-
show-command-logoutuser=false
35+
show-command-logoutuser=true
3536
command-restart=xfce4-session-logout --reboot --fast
36-
show-command-restart=false
37+
show-command-restart=true
3738
command-shutdown=xfce4-session-logout --halt --fast
38-
show-command-shutdown=false
39+
show-command-shutdown=true
3940
command-suspend=xfce4-session-logout --suspend
40-
show-command-suspend=false
41+
show-command-suspend=true
4142
command-hibernate=xfce4-session-logout --hibernate
4243
show-command-hibernate=false
4344
command-logout=xfce4-session-logout

airootfs/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<property name="length" type="uint" value="60"/>
1616
<property name="position-locked" type="bool" value="true"/>
1717
<property name="plugin-ids" type="array">
18-
<value type="int" value="1"/>
1918
<value type="int" value="2"/>
2019
</property>
2120
<property name="autohide-behavior" type="uint" value="1"/>
@@ -100,23 +99,6 @@
10099
</property>
101100
</property>
102101
<property name="plugins" type="empty">
103-
<property name="plugin-1" type="string" value="actions">
104-
<property name="appearance" type="uint" value="0"/>
105-
<property name="items" type="array">
106-
<value type="string" value="-lock-screen"/>
107-
<value type="string" value="-switch-user"/>
108-
<value type="string" value="-separator"/>
109-
<value type="string" value="-suspend"/>
110-
<value type="string" value="-hibernate"/>
111-
<value type="string" value="-hybrid-sleep"/>
112-
<value type="string" value="-separator"/>
113-
<value type="string" value="-shutdown"/>
114-
<value type="string" value="-restart"/>
115-
<value type="string" value="-separator"/>
116-
<value type="string" value="+logout"/>
117-
<value type="string" value="-logout-dialog"/>
118-
</property>
119-
</property>
120102
<property name="plugin-2" type="string" value="docklike"/>
121103
<property name="plugin-3" type="string" value="whiskermenu"/>
122104
<property name="plugin-4" type="string" value="launcher">
@@ -158,6 +140,8 @@
158140
</property>
159141
<property name="plugin-23" type="string" value="systray">
160142
<property name="names-ordered" type="array">
143+
<value type="string" value="thunar"/>
144+
<value type="string" value="pamac-tray"/>
161145
<value type="string" value="blueman-tray"/>
162146
</property>
163147
</property>

airootfs/root/customize_airootfs.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ set -e -u
55
# デフォルト値
66
password=alter
77
boot_splash=false
8+
lts_kernel=false
89
theme_name=alter-logo
910

1011

12+
1113
# オプション解析
12-
while getopts 'p:bt:' arg; do
14+
while getopts 'p:bt:l' arg; do
1315
case "${arg}" in
1416
p) password="${OPTARG}" ;;
1517
b) boot_splash=true ;;
1618
t) theme_name="${OPTARG}" ;;
19+
l) lts_kernel=true ;;
1720
esac
1821
done
1922

@@ -68,6 +71,16 @@ else
6871
rm /usr/share/calamares/modules/services-plymouth.conf
6972
fi
7073

74+
if [[ ${lts_kernel} = true ]]; then
75+
rm /usr/share/calamares/modules/unpackfs.conf
76+
mv /usr/share/calamares/modules/unpackfs-lts.conf /usr/share/calamares/modules/unpackfs.conf
77+
78+
rm /usr/share/calamares/modules/initcpio.conf
79+
mv /usr/share/calamares/modules/initcpio-lts.conf /usr/share/calamares/modules/initcpio.conf
80+
else
81+
rm /usr/share/calamares/modules/initcpio-lts.conf
82+
fi
83+
7184
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
7285
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
7386
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env bash
2+
3+
function remove () {
4+
local list
5+
local file
6+
local exit_code
7+
list=($(echo "$@"))
8+
for file in "${list[@]}"; do
9+
if [[ -f ${file} ]]; then
10+
rm -f "${file}"
11+
elif [[ -d ${file} ]]; then
12+
rm -rf "${file}"
13+
fi
14+
done
15+
}
16+
17+
remove /etc/skel/Desktop
18+
remove /etc/systemd/system/getty@tty1.service.d/autologin.conf
19+
remove /root/.automated_script.sh
20+
remove /etc/mkinitcpio-archiso.conf
21+
remove /etc/initcpio

0 commit comments

Comments
 (0)