18 Commits

Author SHA1 Message Date
15124ee5d9 Update 'lxqt/desktop-overlay/etc/skel/.config/hexchat/hexchat.conf' 2018-10-05 09:26:54 +02:00
5422a8a70e Update 'lxqt/desktop-overlay/etc/skel/.config/falkon/profiles/default/settings.ini' 2018-10-05 09:25:56 +02:00
34c30203ef Update 'base/live-overlay/etc/skel/.config/falkon/profiles/default/settings.ini' 2018-10-05 08:45:51 +02:00
843e3d7441 Update 'base/live-overlay/etc/skel/.config/hexchat/hexchat.conf' 2018-10-05 08:43:24 +02:00
ed35ada27d Add user configs 2018-10-04 19:43:06 +03:00
33f6c01b0d add amd_ucode 2018-09-07 09:23:27 +02:00
b682e7248e Merge pull request #20 from FredBezies/patch-1
Removing pcmcia-utils
2018-07-03 16:34:11 +02:00
FredBezies
bee55e3b02 Removing pcmcia-utils
This package was removed from Archlinux in june 2018.

See this mail : https://lists.archlinux.org/pipermail/arch-dev-public/2018-June/029270.html
2018-07-03 16:29:47 +02:00
54a600b970 base:
* fix runit openssh
* rm zd firmware
2018-07-02 20:44:44 +02:00
2939fe5b61 rm syslog-ng & openssh from packages-live 2018-06-25 22:12:16 +02:00
1521a2880b move syslog-ng and openssh in base 2018-06-25 22:09:47 +02:00
udeved
fdcb5ccd0d start 0.8 2018-05-28 09:04:09 +02:00
udeved
b991c20745 update base 2018-05-28 08:59:23 +02:00
udeved
4c29e3b622 keep order 2018-05-21 17:45:35 +00:00
udeved
849dfd55fa base: update Packages-Root 2018-04-29 20:09:19 +02:00
udeved
1d23b2fd67 upd pkg lists 2018-04-28 10:01:53 +02:00
artoo
d231212dab Create README.md 2018-04-27 00:15:05 +02:00
udeved
e685480820 update profiles 2018-04-26 23:16:12 +02:00
43 changed files with 2649 additions and 415 deletions

View File

@@ -1,4 +1,4 @@
VERSION=0.7
VERSION=0.8
PKG = iso-profiles
TOOLS = artools
@@ -42,13 +42,6 @@ LXQT = \
LXQT_DM = \
lxqt/desktop-overlay/etc/sddm.conf
LXDE = \
$(wildcard lxde/Packages-*) \
lxde/profile.conf
LXDE_DM = \
$(wildcard lxde/desktop-overlay/etc/lightdm/*.conf)
install-base:
install $(DMODE) $(DESTDIR)$(BASEDIR)
install $(FMODE) $(BASE) $(DESTDIR)$(BASEDIR)
@@ -71,12 +64,6 @@ install-lxqt:
install $(DMODE) $(DESTDIR)$(LXQTDIR)$(SYSCONFDIR)
install $(FMODE) $(LXQT_DM) $(DESTDIR)$(LXQTDIR)$(SYSCONFDIR)
install-lxde:
install $(DMODE) $(DESTDIR)$(LXDEDOR)
install $(FMODE) $(LXDE) $(DESTDIR)$(LXDEDOR)
install $(DMODE) $(DESTDIR)$(LXDEDOR)$(SYSCONFDIR)/lightdm
install $(FMODE) $(LXDE_DM) $(DESTDIR)$(LXDEDOR)$(SYSCONFDIR)/lightdm
uninstall-base:
for f in $(notdir $(BASE)); do $(RM) $(DESTDIR)$(BASEDIR)/$$f; done
for f in $(notdir $(LIVE)); do $(RM) $(DESTDIR)$(OVERLAYDIR)/$$f; done
@@ -90,17 +77,13 @@ uninstall-lxqt:
for f in $(notdir $(LXQT_DM)); do $(RM) $(DESTDIR)$(LXQTDIR)$(SYSCONFDIR)/$$f; done
$(RMD) $(DESTDIR)$(LXQTDIR)
uninstall-lxde:
for f in $(notdir $(LXDE)); do $(RM) $(DESTDIR)$(LXDEDOR)/$$f; done
for f in $(notdir $(LXDE_DM)); do $(RM) $(DESTDIR)$(LXDEDOR)$(SYSCONFDIR)/lightdm/$$f; done
$(RMD) $(DESTDIR)$(LXDEDOR)
install: install-lxqt install-base
install: install-lxqt install-lxde install-base
uninstall: uninstall-lxqt uninstall-lxde uninstall-base
uninstall: uninstall-lxqt uninstall-base
dist:
git archive --format=tar --prefix=$(PKG)-$(VERSION)/ $(VERSION) | gzip -9 > $(PKG)-$(VERSION).tar.gz
gpg --detach-sign --use-agent $(PKG)-$(VERSION).tar.gz
.PHONY: install uninstall dist
.PHONY: install uninstall dist install-lxqt install-base uninstall-lxqt uninstall-base

2
README.md Normal file
View File

@@ -0,0 +1,2 @@
# iso-profiles
The artix iso profiles

View File

@@ -1,7 +1,15 @@
mkinitcpio-nfs-utils
squashfs-tools
nbd
>openrc artix-live-openrc
>runit artix-live-runit
squashfs-tools
artix-live-portable-efi
linux-lts-headers
>openrc networkmanager-openrc
>openrc ntp-openrc
>openrc bluez-openrc
>runit networkmanager-runit
>runit ntp-runit
>runit bluez-runit

View File

@@ -25,14 +25,13 @@ grep
grub
gzip
inetutils
#intel-ucode
iproute2
iptables
iputils
ipw2100-fw
ipw2200-fw
jfsutils
KERNEL
linux
less
licenses
linux-firmware
@@ -45,36 +44,33 @@ mkinitcpio-openswap
nano
net-tools
ntfs-3g
artix-sysvcompat
>openrc acpid-openrc
>openrc cronie-openrc
>openrc cryptsetup-openrc
>openrc device-mapper-openrc
>openrc dhcpcd-openrc
>openrc elogind-openrc
>openrc haveged-openrc
>openrc lvm2-openrc
>openrc mdadm-openrc
>openrc nfs-utils-openrc
>openrc rsync-openrc
>openrc openssh-openrc
>openrc wpa_supplicant-openrc
>runit runit-artix
>openrc syslog-ng-openrc
>runit acpid-runit
>runit cronie-runit
>runit dbus-runit
>runit dhcpcd-runit
>runit elogind-runit
>runit haveged-runit
>runit lvm2-runit
>runit mdadm-runit
>runit nfs-utils-runit
>runit rsync-runit
>runit openssh-runit
>runit wpa_supplicant-runit
>runit opentmpfiles
>runit syslog-ng-runit
artix-sysvcompat
os-prober
pacman
pciutils
pcmciautils
perl
procps-ng
psmisc
@@ -91,5 +87,4 @@ util-linux
which
efibootmgr
xfsprogs
zd1211-firmware
zsh

View File

@@ -0,0 +1,157 @@
[AdBlock]
disabledRules=@Invalid()
enabled=true
lastUpdate=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x83\x1a\0\xf\x1du\0)
[AddressBar]
CustomProgressColor=@Variant(\0\0\0\x43\x1\xff\xff\x30\x30\x8c\x8c\xc6\xc6\0\0)
ProgressStyle=0
SelectAllTextOnClick=false
SelectAllTextOnDoubleClick=true
ShowLoadingProgress=false
UseCustomProgressColor=false
alwaysShowGoIcon=true
showSuggestions=0
showSwitchTab=true
useInlineCompletion=true
[Browser]
RunsWithoutOptimizeDb=5
[Browser-Fonts]
CursiveFont=TeX Gyre Chorus
DefaultFontSize=15
FantasyFont=Impact
FixedFont=Liberation Mono
FixedFontSize=14
MinimumFontSize=3
MinimumLogicalFontSize=5
SansSerifFont=Noto Sans
SerifFont=DejaVu Serif
StandardFont=DejaVu Serif
[Browser-Tabs-Settings]
ActivateLastTabWhenClosingActual=false
AlwaysSwitchTabsWithWheel=false
AskOnClosing=false
OpenNewTabsSelected=false
OpenPopupsInTabs=true
TabsOnTop=true
dontCloseWithOneTab=false
hideTabsWithOneTab=false
newEmptyTabAfterActive=false
newTabAfterActive=true
showCloseOnInactiveTabs=0
showClosedTabsButton=false
[Browser-View-Settings]
LocationBarWidth=1081
SideBar=
SideBarWidth=250
WebSearchBarWidth=314
WebViewWidth=2000
WindowGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\0\0\0\0\0\0\0\x6\x8f\0\0\x3\xf3\0\0\0\xc2\0\0\0\x82\0\0\x5\xcd\0\0\x3\x8b\0\0\0\0\x2\0\0\0\x6\x90)
instantBookmarksToolbar=false
settingsDialogPage=0
showBookmarksToolbar=false
showNavigationToolbar=true
showStatusBar=true
[Cookie-Settings]
allowCookies=true
blacklist=@Invalid()
deleteCookiesOnClose=false
filterThirdPartyCookies=false
filterTrackingCookie=false
whitelist=@Invalid()
[DownloadManager]
CloseManagerOnFinish=false
ExternalManagerArguments=
ExternalManagerExecutable=
UseExternalManager=false
defaultDownloadPath=
[Notifications]
Enabled=true
Position=@Point(10 10)
Timeout=6000
UseNativeDesktop=true
[Plugin-Settings]
AllowedPlugins=internal:adblock, lib:StatusBarIcons.so, lib:TabManager.so
[Preferences]
Geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x1_\0\0\0]\0\0\x5s\0\0\x3=\0\0\x1\x65\0\0\0~\0\0\x5m\0\0\x3\x37\0\0\0\0\0\0\0\0\x6\x90)"
[SearchEngines]
DefaultEngine=DuckDuckGo
SearchFromAddressBar=true
SearchWithDefaultEngine=false
activeEngine=DuckDuckGo
showSearchSuggestions=true
[SessionRestore]
isRestoring=false
isRunning=true
[Shortcuts]
useSingleKeyShortcuts=false
useSpeedDialNumberShortcuts=true
useTabNumberShortcuts=true
[SpeedDial]
background=
backsize=auto
pages=
pagesrow=4
sdcenter=false
sdsize=231
[SpellCheck]
Enabled=false
Languages=@Invalid()
[Themes]
activeTheme=linux
[Web-Browser-Settings]
AllowLocalCache=true
AnimateScrolling=true
AutoCompletePasswords=true
AutomaticallyOpenProtocols=@Invalid()
BlockOpeningProtocols=@Invalid()
CheckUpdates=true
DefaultZoomLevel=6
DoNotTrack=false
HTML5StorageEnabled=true
IncludeLinkInFocusChain=false
LoadTabsOnActivation=true
LocalCacheSize=50
PrintElementBackground=true
SavePasswordsOnSites=true
SpatialNavigation=false
UseNativeScrollbars=false
XSSAuditing=false
allowHistory=true
allowJavaScript=true
allowPlugins=true
closeAppWithCtrlQ=true
deleteCacheOnClose=false
deleteHTML5StorageOnClose=false
deleteHistoryOnClose=false
lastActiveSessionPath=../session.dat
userStyleSheet=
wheelScrollLines=3
[Web-Proxy]
HostName=
Password=
Port=8080
ProxyType=2
Username=
[Web-URL-Settings]
afterLaunch=3
homepage=@Variant(\0\0\0\x11\0\0\0\x16https://artixlinux.org)
newTabUrl=@Variant(\0\0\0\x11\0\0\0\x10\x66\x61lkon:speeddial)

View File

@@ -0,0 +1,2 @@
[Profiles]
startProfile="default"

View File

@@ -0,0 +1 @@
limit = 256

View File

@@ -0,0 +1,42 @@
color_0 = d3d3 d7d7 cfcf
color_1 = 2e2e 3434 3636
color_2 = 3434 6565 a4a4
color_3 = 4e4e 9a9a 0606
color_4 = cccc 0000 0000
color_5 = 8f8f 3939 0202
color_6 = 5c5c 3535 6666
color_7 = cece 5c5c 0000
color_8 = c4c4 a0a0 0000
color_9 = 7373 d2d2 1616
color_10 = 1111 a8a8 7979
color_11 = 5858 a1a1 9d9d
color_12 = 5757 7979 9e9e
color_13 = a0d0 42d4 6562
color_14 = 5555 5757 5353
color_15 = 8888 8a8a 8585
color_16 = d3d3 d7d7 cfcf
color_17 = 2e2e 3434 3636
color_18 = 3434 6565 a4a4
color_19 = 4e4e 9a9a 0606
color_20 = cccc 0000 0000
color_21 = 8f8f 3939 0202
color_22 = 5c5c 3535 6666
color_23 = cece 5c5c 0000
color_24 = c4c4 a0a0 0000
color_25 = 7373 d2d2 1616
color_26 = 1111 a8a8 7979
color_27 = 5858 a1a1 9d9d
color_28 = 5757 7979 9e9e
color_29 = a0d0 42d4 6562
color_30 = 294a 2ba9 26eb
color_31 = 4029 4029 4029
color_256 = d3d3 d7d7 cfcf
color_257 = 2020 4a4a 8787
color_258 = dae6 dae6 dae6
color_259 = 0000 0000 0000
color_260 = 8f8f 3939 0202
color_261 = 3434 6565 a4a4
color_262 = 4e4e 9a9a 0606
color_263 = cece 5c5c 0000
color_264 = 8888 8a8a 8585
color_265 = a4a4 0000 0000

View File

@@ -0,0 +1,210 @@
version = 2.14.1
away_auto_unmark = 0
away_omit_alerts = 0
away_reason = I'm busy
away_show_once = 1
away_size_max = 300
away_timeout = 60
away_track = 1
completion_amount = 5
completion_auto = 0
completion_sort = 1
completion_suffix = :
dcc_auto_chat = 0
dcc_auto_recv = 1
dcc_auto_resume = 1
dcc_blocksize = 1024
dcc_completed_dir =
dcc_fast_send = 1
dcc_global_max_get_cps = 0
dcc_global_max_send_cps = 0
dcc_ip =
dcc_ip_from_server = 0
dcc_max_get_cps = 0
dcc_max_send_cps = 0
dcc_permissions = 384
dcc_port_first = 0
dcc_port_last = 0
dcc_remove = 0
dcc_save_nick = 0
dcc_send_fillspaces = 0
dcc_stall_timeout = 60
dcc_timeout = 180
flood_ctcp_num = 5
flood_ctcp_time = 30
flood_msg_num = 5
flood_msg_time = 30
gui_autoopen_chat = 1
gui_autoopen_dialog = 1
gui_autoopen_recv = 1
gui_autoopen_send = 1
gui_chanlist_maxusers = 9999
gui_chanlist_minusers = 5
gui_compact = 0
gui_dialog_height = 256
gui_dialog_left = 0
gui_dialog_top = 0
gui_dialog_width = 500
gui_filesize_iec = 0
gui_focus_omitalerts = 0
gui_hide_menu = 0
gui_input_attr = 1
gui_input_icon = 1
gui_input_nick = 1
gui_input_spell = 1
gui_input_style = 1
gui_join_dialog = 1
gui_lagometer = 2
gui_lang = 15
gui_mode_buttons = 0
gui_pane_divider_position = 0
gui_pane_left_size = 128
gui_pane_right_size = 100
gui_pane_right_size_min = 80
gui_quit_dialog = 1
gui_search_pos = 0
gui_slist_fav = 0
gui_slist_select = 0
gui_slist_skip = 1
gui_tab_chans = 1
gui_tab_dialogs = 1
gui_tab_dots = 0
gui_tab_icons = 1
gui_tab_layout = 0
gui_tab_middleclose = 1
gui_tab_newtofront = 2
gui_tab_pos = 6
gui_tab_scrollchans = 0
gui_tab_server = 1
gui_tab_small = 0
gui_tab_sort = 1
gui_tab_trunc = 20
gui_tab_utils = 0
gui_throttlemeter = 2
gui_topicbar = 1
gui_transparency = 255
gui_tray = 1
gui_tray_away = 0
gui_tray_blink = 1
gui_tray_close = 0
gui_tray_minimize = 0
gui_tray_quiet = 0
gui_ulist_buttons = 0
gui_ulist_color = 1
gui_ulist_count = 1
gui_ulist_doubleclick = QUERY %s
gui_ulist_hide = 0
gui_ulist_icons = 1
gui_ulist_pos = 3
gui_ulist_show_hosts = 0
gui_ulist_sort = 0
gui_ulist_style = 1
gui_url_mod = 0
gui_usermenu = 0
gui_win_height = 728
gui_win_fullscreen = 0
gui_win_left = 282
gui_win_modes = 1
gui_win_save = 1
gui_win_state = 0
gui_win_swap = 0
gui_win_top = 122
gui_win_ucount = 1
gui_win_width = 1103
identd_server = 0
identd_port = 0
input_balloon_chans = 0
input_balloon_hilight = 0
input_balloon_priv = 0
input_beep_chans = 0
input_beep_hilight = 0
input_beep_priv = 0
input_command_char = /
input_filter_beep = 1
input_flash_chans = 0
input_flash_hilight = 1
input_flash_priv = 1
input_perc_ascii = 0
input_perc_color = 0
input_tray_chans = 0
input_tray_hilight = 1
input_tray_priv = 1
irc_auto_rejoin = 0
irc_reconnect_rejoin = 1
irc_ban_type = 1
irc_cap_server_time = 1
irc_conf_mode = 0
irc_extra_hilight =
irc_hide_nickchange = 0
irc_hide_version = 0
irc_hidehost = 0
irc_id_ntext =
irc_id_ytext =
irc_invisible = 0
irc_join_delay = 5
irc_logging = 1
irc_logmask = %n/%c.log
irc_nick1 = artix_live_1
irc_nick2 = artix_live_2
irc_nick3 = artix_live_3
irc_nick_hilight =
irc_no_hilight = NickServ,ChanServ,InfoServ,N,Q
irc_notice_pos = 0
irc_part_reason = Leaving
irc_quit_reason = Leaving
irc_raw_modes = 0
irc_real_name = realname
irc_servernotice = 0
irc_skip_motd = 0
irc_user_name = loouom
irc_wallops = 0
irc_who_join = 1
irc_whois_front = 1
net_auto_reconnect = 1
net_auto_reconnectonfail = 0
net_bind_host =
net_ping_timeout = 60
net_proxy_auth = 0
net_proxy_host =
net_proxy_pass =
net_proxy_port = 0
net_proxy_type = 0
net_proxy_use = 0
net_proxy_user =
net_reconnect_delay = 10
net_throttle = 1
notify_timeout = 15
notify_whois_online = 0
perl_warnings = 0
stamp_log = 1
stamp_log_format = %b %d %H:%M:%S
stamp_text = 1
stamp_text_format = [%H:%M:%S]
text_autocopy_color = 0
text_autocopy_stamp = 0
text_autocopy_text = 1
text_background =
text_color_nicks = 1
text_font = Monospace 10
text_font_main = Monospace 9
text_font_alternative = Arial Unicode MS,Segoe UI Emoji,Lucida Sans Unicode,Meiryo,Symbola,Unifont
text_indent = 1
text_max_indent = 256
text_max_lines = 5000
text_replay = 1
text_search_case_match = 0
text_search_highlight_all = 0
text_search_follow = 1
text_search_regexp = 0
text_show_marker = 1
text_show_sep = 1
text_spell_langs = en_US
text_stripcolor_msg = 0
text_stripcolor_replay = 1
text_stripcolor_topic = 1
text_thin_sep = 1
text_transparent = 0
text_wordwrap = 1
url_grabber = 1
url_grabber_limit = 100
url_logging = 0

View File

@@ -0,0 +1,12 @@
v=2.14.1
N=freenode
L=6
E=UTF-8 (Unicode)
F=63
D=1
S=chat.freenode.net
S=irc.freenode.net
J=#artix
J=#artix-unregistered

View File

@@ -0,0 +1,3 @@
[Desktop]
Wallpaper=/usr/share/backgrounds/Artix_dna_spiral.png
WallpaperMode=zoom

View File

@@ -0,0 +1,69 @@
/***********************************************************************
** .print.css
** Copyright 2004 Patrick R. Michaud (pmichaud@pobox.com)
** This file is part of PmWiki; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published
** by the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version. See pmwiki.php for full details.
***********************************************************************/
/***********************************************************************
** These settings are part of the ?action=print skin. If you want
** to change these settings, create a new print template and set
** $PrintTemplateFmt in the config.php file to point to your new
** printing skin.
***********************************************************************/
body {
width:auto;
background-color: #1a1a1a;
color: #dedede;
font-family:serif;
}
#printhead {
font-family:sans-serif;
border-top:3px solid #a0a0a0;
border-bottom:5px solid #a0a0a0;
margin-bottom:1em;
}
#printhead h3 { margin-top:0px; }
#printhead h1 { margin-bottom:0px; }
#printtitle {
}
#printfoot {
clear:both;
margin-top:1em;
border-top:5px solid #a0a0a0;
font-size:smaller;
}
a:link { color:#4444ee; font-weight:bold; text-decoration:none; }
a:visited { color:#4444ee; font-weight:bold; text-decoration:none; }
a.wikilink:hover { color: #4444ee; text-decoration:underline; }
a.createlink { color:#4444ee; }
a.createlink:visited { color:#4444ee; }
a.createlink:hover { color:#ff2222; }
.mini { padding:2px; border:1px solid #c6c6c6; background-color:#1a1a1a; }
.miniH, .miniF {display:block;}
a {color: #80d3fc; text-decoration: none;}
a:visited {color: #cc77cc;}
code {color: #99aabb;}
wikitrail {background-color: #232423;}
.container-fluid {
padding-right: 2px;
padding-left: 2px;
}
.well {
padding: 5px;
}

View File

@@ -0,0 +1,109 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / Configuration</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20Configuration_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="System configuration and fine tuning">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: Configuration</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<div class="vspace"></div><h3>OpenRC</h3>
<h4>OpenRC settings</h4>
<p>Various parameters are controlled by <code>/etc/rc.conf</code>. Most common tweaks include setting <strong>rc_parallel</strong> and<strong> rc_logger</strong> to <strong>YES</strong> and <strong>rc_depend_strict</strong> to <strong>NO</strong>.
</p>
<div class="vspace"></div><h4>Networking</h4>
<p>Most people will do fine with <strong>NetworkManager</strong>. For static network configuration it's preferable to install <strong>netifrc</strong> and edit <code>/etc/conf.d/net</code> for their setup.
</p>
<div class="vspace"></div><h4>User permissions</h4>
<p>You can control who has access to and control of what by assigning
them to groups. A more than full permission set for the primary user is
granted by the following, consider reducing it to only necessary ones:
</p><pre> usermod -a -G video,audio,input,power,storage,optical,lp,scanner,dbus,adbusers,uucp,vboxusers USER
</pre><div class="vspace"></div><h4>Hostname</h4>
<p><a class="wikilink" href="https://wiki.artixlinux.org/Main/OpenRC?action=print">OpenRC</a> can set the host name either from <code>/etc/hostname</code> or from <code>/etc/conf.d/hostname</code>, with the former taking precedence. Their syntax differs somewhat:<br><code>/etc/hostname</code>
</p><pre> reallycoolhostname
</pre><p class="vspace"><code>/etc/conf.d/hostname</code>
</p><pre> hostname="reallycoolhostname"
</pre><div class="vspace"></div><h3>Runit</h3>
<h4>Keyboard configuration in console</h4>
<p>A persistent keymap can be set in <code>/etc/vconsole.conf</code>,
which is read by runit-rc on start-up. The KEYMAP variable is used for
specifying the keymap. If the variable is empty or not set, the us
keymap is used as default value. See vconsole.conf(5) (coming soon, but
in the meantime you can see <a class="urllink" href="https://jlk.fjfi.cvut.cz/arch/manpages/man/vconsole.conf.5" rel="nofollow">Arch's manual which refers to systemd</a>, but is compatible with runit) for all options. For example:
</p>
<p class="vspace"><code>/etc/vconsole.conf</code>
</p><pre> KEYMAP=uk
...
</pre><div class="vspace"></div><h4>Hostname</h4>
<p>You can set it in <code>/etc/hostname</code>.
</p>
<p class="vspace"><code>/etc/hostname</code>
</p><pre> reallycoolhostname
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Configuration</div>
<div class="lastmod">Page last modified on September 07, 2018, at 01:47 AM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button" style="display: none;"></div><div id="simple-translate-panel" style="display: none;"><p>...</p></div></html>

View File

@@ -0,0 +1,176 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / Installation</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20Installation_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="Fresh Artix Installation">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: Installation</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<p class="vspace"><big>It is possible to use runit iso to install OpenRC-based system, and vice-versa.</big>
</p>
<div class="vspace"></div><h3>Fresh Artix installation from bootable media</h3>
<p>Artix can either be installed through the console or the GUI
installer. The GUI install is quite straightforward, we'll focus on the
console installation procedure here.
</p>
<p class="vspace">NOTE: The Artix ISO does not seem to support UEFI only
systems. On such a system, a successfull Artix install is possible by
booting an <a class="urllink" href="http://archlinux.org/download/" rel="nofollow">Arch Linux ISO</a>, converting the Arch live system to Artix as <a class="wikilink" href="https://wiki.artixlinux.org/Main/Migration?action=print">described here</a>, and then continuing with the installation steps below.
Before migrating the Arch Live system to Artix it is necessary to increase the size of the overlay tmpfs; this is done by
</p><pre> mount -o remount,size=4G /
</pre><p>(make sure your system has enough RAM). Adapt the size to what
you need; the pacman commands will show what they need to download and
install, the sum of both plus something more is needed.
</p>
<div class="vspace"></div><h4>Partition your disk (BIOS)</h4>
<p>Partition your hard drive (<code>/dev/sda</code> will be used in this guide) with <strong>fdisk</strong> or <strong>cfdisk</strong>, the partition numbers and order are at your discretion:
</p><pre> cfdisk /dev/sda
</pre><p>If you want to install side-by-side with other operating
systems, you must make some space on the disk by resizing the existing
partitions. You may use <strong>gparted</strong> for this, however
detailed instructions are out of the scope of this guide. Next, format
the new partitions, for example as ext4:
</p><pre> mkfs.ext4 -L ROOT /dev/sda2 &lt;- root partition
mkfs.ext4 -L HOME /dev/sda3 &lt;- home partition, optional
mkfs.ext4 -L BOOT /dev/sda4 &lt;- boot partition, optional
mkswap -L SWAP /dev/sda1 &lt;- swap partition
</pre><p>The -L switch assigns labels to the partitions, which helps referring to them later through <code>/dev/disk/by-label</code> without having to remember their numbers. Now, mount your partitions:
</p><pre> swapon /dev/sda1
mount /dev/sda2 /mnt
mount /dev/sda3 /mnt/home (if created)
mount /dev/sda4 /mnt/boot (if created)
</pre><div class="vspace"></div><h4>Install base system</h4>
<p>A working internet connection is required and assumed. A wired
connection is setup automatically, if found. Wireless ones must be
configured by the user. Verify your connection and update the
repositories:
</p><pre> ping artixlinux.org
pacman -Syy
</pre><p class="vspace">Use <strong>basestrap</strong> to install the <strong>base</strong> and optionally the <strong>base-devel</strong> package groups and your preferred init (currently available: <code>openrc</code> and <code>runit</code>):
</p><pre> basestrap /mnt base base-devel openrc
</pre><p>or
</p><pre> basestrap /mnt base base-devel runit
</pre><p class="vspace">Use <strong>fstabgen</strong> to generate <code>/etc/fstab</code>, use -U for UUIDs and -L for partition labels:
</p><pre> fstabgen -L /mnt &gt;&gt;/mnt/etc/fstab
</pre><p class="vspace">Check the resulting fstab for errors before rebooting. Now, you can chroot into your new Artix system with:
</p><pre> artools-chroot /mnt
</pre><div class="vspace"></div><h4>Configure the base system</h4>
<p>First, install <strong>grub</strong> and <strong>os-prober</strong> (for detecting other installed operating systems):
</p><pre> pacman -S grub os-prober
grub-install --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
</pre><p>Create a user and password:
</p><pre> useradd -m user
passwd user
</pre><p>Set root password:
</p><pre> passwd
</pre><p class="vspace">Install <strong>networkmanager</strong>:
</p><pre> pacman -S networkmanager networkmanager-openrc network-manager-applet
rc-update add NetworkManager default
</pre><p class="vspace">Generate locales:
</p><pre> nano /etc/locale.gen &lt;- uncomment your locale
locale-gen
</pre><p>To set the locale systemwide, edit <code>/etc/profile.d/locale.sh</code> (which is sourced by <code>/etc/profile</code>) or <code>/etc/bash/bashrc.d/artix.bashrc</code> or <code>/etc/bash/bashrc.d/local.bashrc</code>; user-specific changes may be made to their respective <code>~/.bashrc</code>, for example:
</p><pre> export LANG="en_US.UTF-8"
export LC_COLLATE="C"
</pre><div class="vspace"></div><h4>Post installation configuration</h4>
<p>Now, you can reboot and enter into your new installation:
</p><pre> exit &lt;- exit chroot environment
umount -R /mnt
reboot
</pre><p>Once shutdown is complete, remove your installation media. If
all went well, you should boot into your new system. Log in as your root
to complete the post-installation configuration.
To get a graphical environment you need to install the xorg group:
</p><pre> pacman -S xorg
</pre><p>Choose your packages, or just install all of them. For the closed-source nvidia drivers you can use the <strong>nvidia-lts</strong> package, as our default kernel is <strong>linux-lts</strong>:
</p><pre> pacman -S nvidia-lts
</pre><p>Older nvidia cards work with the legacy series, <strong>nvidia-340xx-lts</strong> and <strong>nvidia-304xx-lts</strong>.
If you want to run a custom kernel, you can install the respective
nvidia dkms package which ensures all installed kernels get their nvidia
modules.
AMD and Intel cards enjoy excellent (or near-excellent) 3D support with
open-source drivers. Read the Arch wiki, for information on how Xorg
chooses the best available video driver and which one is optimal for
your hardware.
</p>
<p class="vspace">Install a desktop environment, for example <strong>MATE</strong>, <strong>LXQt</strong> or <strong>XFCE4</strong>:
</p><pre> pacman -S mate mate-extra xfce4 xfce4-goodies lxqt
</pre><p>And optionally a display manager, like <strong>LXDM</strong> or <strong>SDDM</strong>:
</p><pre> pacman -S lxdm displaymanager-openrc
rc-update add xdm default
nano /etc/conf.d/xdm &lt;- edit and set DISPLAYMANAGER="lxdm"
</pre><p>Or you can use .xinitrc to launch your DE manually; edit (or create) <code>~/.xinitrc</code> and add <strong>exec mate-session</strong>.
Notice: <strong>mate-session</strong> and quite a few other packages
from the Arch repositories are compiled against systemd even if they
don't actually use it, at least not as PID1; to satisfy the library link
you may install <strong>libsystemd-dummy</strong> and <strong>systemd-dummy</strong>.
</p><pre> pacman -S systemd-dummy libsystemd-dummy
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Installation</div>
<div class="lastmod">Page last modified on August 24, 2018, at 10:56 AM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -0,0 +1,196 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / OpenRC</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20OpenRC_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="The OpenRC init system">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: OpenRC</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<p class="vspace"><strong><big>OpenRC</big></strong>
</p>
<p class="vspace">OpenRC is a dependency-based init system that
initially maintained compatibility with sysvinit (/sbin/init) and,
beginning with OpenRC 0.25, provided its own. OpenRC was written by <a class="urllink" href="https://gentoo.org/" rel="nofollow">Gentoo</a> developers and it is designed to be used by other distributions and BSD systems.
</p>
<div class="vspace"></div><h4>Features</h4>
<p>OpenRC provides features such as hardware initiated initscripts or cgroups support.
</p>
<div class="vspace"></div><h4>Configuration</h4>
<p><code>/etc/rc.conf</code> is the global OpenRC configuration file.
</p>
<div class="vspace"></div><h4>Network management</h4>
<p>OpenRC can be used with one of several network managers or even with none, see <code>/etc/conf.d/net</code> for examples of static or dynamic network configuration. The <strong>netifrc</strong>
package provides a collection of modules for configuring and managing
network interfaces via individual, per-interface scripts located in the
/etc/init.d/ directory. Its presence is not mandatory or it can be left
unused in favour of another network manager.
</p>
<div class="vspace"></div><h4>Dependency behavior</h4>
<p>Changing the default dependencies of init scripts might be needed to fit more complex setups. See <code>/etc/rc.conf</code> for how to change the default behavior; notice the <strong>rc_depend_strict</strong> option. In addition, the following networking examples show how flexible OpenRC can be.
</p>
<div class="vspace"></div><h4>Selecting a specific runlevel at boot</h4>
<p>OpenRC reads the kernel command-line used at boot time, and will start the runlevel specified by the <strong>softlevel</strong> parameter if provided, instead of <strong>default</strong>. For instance, you can choose whether to boot into the <strong>default</strong>, <strong>nonetwork</strong> or <strong>single-user</strong> runlevels with the following example grub.conf configuration:
</p><pre> /boot/grub/grub.conf
title=Regular start-up
kernel (hd0,0)/boot/vmlinuz-linux root=/dev/sda3
title=Start without networking
kernel (hd0,0)/boot/vmlinuz-linux root=/dev/sda3 softlevel=nonetwork
title=Single-user mode
kernel (hd0,0)/boot/vmlinuz-linux root=/dev/sda3 softlevel=single
</pre><div class="vspace"></div><h3>Usage</h3>
<h4>Runlevels</h4>
<p>OpenRC uses runlevels in very much the same way as sysvinit (or BSD
init). At any given time the system is in one of the defined runlevels.
There are three internal runlevels and four user defined runlevels.
</p>
<div class="vspace"></div><ul><li>Internal runlevels, the names are self-explanatory:
<ul><li><code>sysinit</code>
</li><li><code>shutdown</code>
</li><li><code>reboot</code>
</li></ul><div class="vspace"></div></li><li>User Runlevels:
<div class="vspace"></div><ul><li><code>boot</code>: Starts all system-necessary services for other runlevels
</li><li><code>default</code>: Used for day-to-day-operations
</li><li><code>nonetwork</code>: Used when no network connectivity is required
</li><li><code>single</code>: Single-user mode
</li></ul></li></ul><p class="vspace">The system can switch to a runlevel with the <strong>openrc &lt;runlevel&gt;</strong> command, e.g.:
</p><pre> openrc nonetwork
</pre><div class="vspace"></div><h4>Control</h4>
<p>OpenRC can be controlled and configured using <strong>openrc</strong>, <strong>rc-service</strong>, <strong>rc-update</strong> and <strong>rc-status</strong> commands.
</p>
<div class="vspace"></div><h4>Adding/removing services to/from runlevels</h4>
<pre> # rc-update add net.eth0 boot
# rc-update del dropbox default
</pre><div class="vspace"></div><h4>Listing</h4>
<p>Use <strong>rc-update show -v</strong> to display all available init scripts and their their current runlevel (if they have been added to one):
</p><pre> # rc-update show -v
</pre><p>Running <strong>rc-update</strong> or <strong>rc-update show</strong> will display only the init scripts that have been added to a runlevel.
</p>
<div class="vspace"></div><h4>Named runlevels</h4>
<p>OpenRC runlevels are directories living in <code>/etc/runlevels</code> to create additional runlevels is enough to issue:
</p><pre> # install -d /etc/runlevels/$runlevel
</pre><div class="vspace"></div><h4>Stacked runlevels</h4>
<p>It is possible to manage variants using <strong>rc-update -s</strong>. An example for using stacked runlevels on laptop to group networking services based on location is at <a class="urllink" href="https://wiki.gentoo.org/wiki/OpenRC/StackedRunlevel" rel="nofollow">OpenRC/StackedRunlevel</a>.
</p>
<div class="vspace"></div><h4>Hotplug</h4>
<p>OpenRC monitors and can be triggered by external events, such as new hardware from udev. See <a class="urllink" href="https://wiki.gentoo.org/wiki/Iphone_USB_Tethering#udev_trigger" rel="nofollow">OpenRC/Event Driven</a> for details.
</p>
<div class="vspace"></div><h4>Automatic respawning of crashed services</h4>
<p>OpenRC can return the state of services to the runlevel's setting
state, provide stateful init scripts and automatic respawning. If one
issues <strong>openrc</strong> as root (for default runlevel), crashed
services will start and manually launched services will stop. To prevent
the latter you can run <strong>openrc -n</strong> (--not-stop)
By default openrc will attempt just to start crashed services, not restart. This сontrolled by <strong>rc_crashed_stop</strong> (default NO) and <strong>rc_crashed_start</strong> (default YES) options in <code>/etc/rc.conf</code>.
</p>
<div class="vspace"></div><h4>CGroups support</h4>
<p>OpenRC has extended cgroups support. See <a class="urllink" href="https://wiki.gentoo.org/wiki/OpenRC/CGroups" rel="nofollow">OpenRC/CGroups</a> for details.
</p>
<div class="vspace"></div><h4>rc.local</h4>
<p>OpenRC doesn't execute <code>/etc/rc.local</code> by default; instead, it executes scripts from <code>/etc/local.d</code> ending in .start when local service starts and .stop when it stops. To mimic the good old <code>rc.local</code> behaviour, create <code>/etc/rc.local/rc.local.start</code> with the following and make it executable with <strong>chmod +x</strong>:
</p><pre> :
# /etc/local.d/rc.local.start
[ -e /etc/rc.local ] &amp;&amp; /etc/rc.local
</pre><p>Make sure that the <strong>local</strong> service is enabled. The scripts in <code>/etc/local.d</code> are executed in lexical order and the example above assumes <code>/etc/rc.local</code> has got execute permissions.
</p>
<div class="vspace"></div><h3>Examples</h3>
<h4>Multiple network interfaces</h4>
<p>The SSH service must come up with the internal network, for instance eth0 and never wlan0.
Override the <strong>net</strong> dependency from <code>/etc/init.d/sshd</code>, and refine it to depend on <strong>net.eth0</strong>:
</p><pre> /etc/conf.d/sshd
rc_need="!net net.eth0"
</pre><div class="vspace"></div><h4>Multiple network interfaces in multiple runlevels</h4>
<p>The SSH service must start with <strong>eth0</strong> (not <strong>wlan0</strong>) in "default" runlevel, but in "office" runlevel it must start with <strong>wlan0</strong> (not <strong>eth0</strong>).
</p><pre> /etc/rc.conf
#rc_depend_strict="YES"
</pre><p>Make additional symlinks to sshd with the network interface names:
</p><pre> # ln -s sshd /etc/init.d/sshd.eth0
# ln -s sshd /etc/init.d/sshd.wlan0
</pre><p>Settings are read from <code>/etc/conf.d/sshd.eth0</code> and <code>/etc/conf.d/sshd.wlan0</code> now:
</p><pre> # cp /etc/conf.d/sshd /etc/conf.d/sshd.eth0
# cp /etc/conf.d/sshd /etc/conf.d/sshd.wlan0
</pre><p>Add the dependencies:
</p><pre> # echo 'rc_need="!net net.eth0"' &gt;&gt; /etc/conf.d/sshd.eth0
# echo 'rc_need="!net net.wlan0"' &gt;&gt; /etc/conf.d/sshd.wlan0
</pre><p>In this example net.eth0 and net.wlan0 read their settings from <code>/etc/conf.d/net</code>, or <code>/etc/conf.d/net.office</code>, depending on the active runlevel. Add all runscripts to the different runlevels:
</p><pre> # rc-update add sshd.eth0 default
# rc-update add sshd.wlan0 office
# rc-update add net.eth0 default office
# rc-update add net.wlan0 default office
</pre><p>To switch between "default" runlevel and "office" runlevel
without rebooting the computer, change to "nonetwork" runlevel in
between. The network interfaces will be stopped this way, and re-read
their runlevel specific configuration. This works best when "nonetwork"
is a stacked runlevel in both the "default" and "office" runlevels, and
the display manager and other non-network services are added to the
"nonetwork" runlevel only.
<br> <em>default runlevel &lt;---&gt; nonetwork runlevel &lt;---&gt; office runlevel</em>
</p><pre> # rc nonetwork &amp;&amp; rc office
# rc nonetwork &amp;&amp; rc default
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/OpenRC</div>
<div class="lastmod">Page last modified on June 29, 2018, at 09:59 PM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -0,0 +1,164 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / Troubleshooting</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20Troubleshooting_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="Troubleshooting your Artix issues">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: Troubleshooting</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<div class="vspace"></div><h3>Updating icu/ncurses/whatever breaks a ton of packages</h3>
<p>Make sure you have the correct repositories activated in <code>/etc/pacman.conf</code>.
Testing [gremlins] repositories should be disabled by default. If you
want to use them, you should also uncomment [testing] from Arch. These <strong>must</strong> be above all other repositories.
<strong>Note:</strong> [gremlins] is Artix equivalent of Arch [testing]
</p><pre> #[gremlins]
#Include = /etc/pacman.d/mirrorlist
#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist
#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist
[system]
Include = /etc/pacman.d/mirrorlist
[world]
Include = /etc/pacman.d/mirrorlist
[galaxy]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[lib32]
Include = /etc/pacman.d/mirrorlist
</pre><p>Since we still depend on some of Arch packages from [extra] and
most of [community], some version mismatches during updates and until
we fully sync may cause problems. In such case, enabling temporarily the
testing repositories might just give you the right package to fix your
situation.
</p>
<p class="vspace">The list below might not be updated, always check the <a class="urllink" href="https://gitea.artixlinux.org/packages/artix-mirrorlist/src/branch/master/repos/core-any/mirrorlist" rel="nofollow">Gitea repository</a>.
</p><pre> ## Artix Linux repository mirrorlist
## Generated on 2017-10-21
##
# Artix mirrors
Server = <a class="urllink" href="https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch" rel="nofollow">https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch" rel="nofollow">https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch</a>
Server = <a class="urllink" href="https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch" rel="nofollow">https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch</a>
Server = <a class="urllink" href="https://artix.wheaton.edu/repos/$repo/os/$arch" rel="nofollow">https://artix.wheaton.edu/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch" rel="nofollow">http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch" rel="nofollow">https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="http://mirror1.artixlinux.org/repos/$repo/os/$arch" rel="nofollow">http://mirror1.artixlinux.org/repos/$repo/os/$arch</a>
</pre><div class="vspace"></div><h3>Invalid or corrupted packages (PGP signature)</h3>
<p>If pacman warns you about invalid or corrupted packages, it may be
due to obsolete PGP keys or Arch-signed packages in the repos. Make sure
the Artix repos are above the Arch ones and:
</p>
<p class="vspace">1. Reinstall keyrings including the latest keys:
</p><pre> sudo pacman -Sy gnupg archlinux-keyring artix-keyring --force
</pre><p>If you can't install the artix-keyring because of , perform step 2 and repeat 1, otherwise proceed to step 3.
</p>
<p class="vspace">2. Remove old and possibly expired, revoked or invalid keys by issuing this command:
</p><pre> sudo rm -r /etc/pacman.d/gnupg
</pre><p>3. Initialize the pacman keyring:
</p><pre> sudo pacman-key --init
</pre><p>4. Load the signature keys:
</p><pre> sudo pacman-key --populate archlinux artix
</pre><p>5. Clear out the software packages downloaded during the aborted installation:
</p><pre> sudo pacman -Scc
sudo pacman -Syyu
</pre><p>6. In a pinch, install the package with the -U pacman switch:
</p><pre> pacman -U /var/cache/pacman/pkg/package-1.3.9-1.x86_64.pkg.tar.xz
</pre><div class="vspace"></div><h3>Can't play games, run Steam etc!</h3>
<p>You must enable [lib32] from Artix and [multilib] from Arch in <code>/etc/pacman.conf</code> and install relevant packages for 32bit executables. Make sure [lib32] is above [multilib] (as a matter of fact <strong>all</strong> Artix repos must be above Arch's).
</p><pre> [lib32]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist-arch
</pre><div class="vspace"></div><h3>Warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.</h3>
<p>Install parted and execute:
</p><pre> parted -s /dev/sdx set 1 bios_grub on
</pre><div class="vspace"></div><h3>I'm having <strong>dbus-related</strong> problems and I keep seeing messages about <code>/etc/machine-id</code></h3>
<p>This file originated from dbus development and was adopted by systemd
as a universally unique machine identifier. Ergo, it is a useless (for
the end user) tag but apparently of some use to dbus because <a class="urllink" href="https://dbus.freedesktop.org/doc/dbus-uuidgen.1.html" rel="nofollow">"<em>The
important properties of the machine UUID are that 1) it remains
unchanged until the next reboot and 2) it is different for any two
running instances of the OS kernel. That is, if two processes see the
same UUID, they should also see the same shared memory, UNIX domain
sockets, local X displays, localhost.localdomain resolution, process
IDs, and so forth.</em>"</a> Also, <a class="urllink" href="https://www.freedesktop.org/software/systemd/man/machine-id.html" rel="nofollow">"<em>The
simple configuration file format of /etc/machine-id originates in the
/var/lib/dbus/machine-id file introduced by D-Bus. In fact, this latter
file might be a symlink to /etc/machine-id.</em>"</a> and <a class="urllink" href="https://www.freedesktop.org/software/systemd/man/machine-id.html" rel="nofollow"><em>This
ID uniquely identifies the host. It should be considered
"confidential", and must not be exposed in untrusted environments, in
particular on the network.</em></a> Privacy-conscious people <em>might</em> want to regenerate their machine-ids frequently; a new ID can be generated with
</p><pre> dbus-uuidgen &gt;| /etc/machine-id
</pre><p>or
</p><pre> dbus-uuidgen &gt;| /var/lib/dbus/machine-id
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Troubleshooting</div>
<div class="lastmod">Page last modified on August 12, 2018, at 01:15 PM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -0,0 +1,157 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / runit</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20runit_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: runit</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<p class="vspace">runit is a suite of tools which provides an init (PID
1) as well as daemontools-compatible process supervision framework,
along with utilites which streamline creation and maintenance of
services.
</p>
<div class="vspace"></div><h3>Installation</h3>
<p>Install the <code>runit</code> package.
</p>
<div class="vspace"></div><h4>Installation of services</h4>
<p>runit service packages are named <code><em>package_name</em>-runit</code> and, when installed, will be available in <code>/etc/runit/sv</code>.
</p>
<div class="vspace"></div><h3>Programs</h3>
<p>Runit has several programs, but usually you will only interact directly with one program only.
</p>
<div class="vspace"></div><ul><li><code>sv</code> - used for controlling services, getting status of services, and dependency checking.
</li><li><code>chpst</code> - control of a process environment,
including memory caps, limits on cores, data segments, environments,
user/group privileges, and more.
</li><li><code>runsv</code> - supervises a process, and optionally a log service for that process.
</li><li><code>svlogd</code> - a simple but powerful logger, includes
auto-rotation based on different methods (time, size, etc),
post-processing, pattern matching, and socket (remote logging) options.
Say goodbye to logrotate and the need to stop your services to rotate
logs.
</li><li><code>runsvchdir</code> - changes service levels (runlevels, see below)
</li><li><code>runsvdir</code> - starts a supervision tree
</li><li><code>runit-init</code> - PID 1, does almost nothing besides being the init
</li></ul><div class="vspace"></div><h3>Files</h3>
<p>There are several files that will be installed by <code>runit</code>.
</p>
<div class="vspace"></div><ul><li><code>/etc/runit/1</code> - stage 1, systems one-time initialization tasks
</li><li><code>/etc/runit/2</code> - stage 2, Normally runs <code>runsvdir</code>, should not return until the system is going to halt or reboot.
</li><li><code>/etc/runit/3</code> - stage 3, systems shutdown tasks
</li><li><code>/etc/runit/ctrlaltdel</code> - Runit will execute this when receiving a <code>SIGINT</code> signal
</li><li><code>/etc/runit/runsvdir/*</code> - Runlevels
</li><li><code>/etc/runit/sv/*</code> - directory containing subdirectories of available service files
</li><li><code>/run/runit/service</code> - always symlinked to active runlevel, <code>sv</code> will search for running service here
</li></ul><p class="vspace">However, since <code>runit</code> itself depends on <code>runit-rc</code>, there will be several extra rc files installed, most contained in <code>/etc/rc</code> and <code>/usr/lib/rc</code>.
</p>
<div class="vspace"></div><h3>Basic usage</h3>
<p>Unlike other distros using runit, Artix doesnt store its service directory in <code>/var/service</code> or <code>/service</code>, but in <code>/run/runit/service</code> instead.
</p>
<div class="vspace"></div><ul><li>Enable service (in runlevel <em>default</em>)<code># ln -s /etc/runit/sv/<em>service_name</em> /run/runit/service</code>
</li><li>Disable service <code> # rm /run/runit/service/<em>service_name</em></code>
</li><li>Stop immediately <code> # sv down <em>service_name</em></code> or <code> # sv stop <em>service_name</em></code>
</li><li>Start (if not running) <code> # sv up <em>service_name</em></code> or <code> # sv restart <em>service_name</em></code>
</li><li>Restart <code> # sv restart <em>service_name</em></code>
</li><li>Reload <code> # sv restart <em>service_name</em></code>
</li><li>Status check <code> # sv status <em>service_name</em></code>
</li><li>Switch runlevels (this will stop all services that are currently running and will start all services in the new runlevel) <code> # runsvchdir <em>runlevel</em></code>
</li></ul><div class="vspace"></div><h3>Runlevel</h3>
<p>By default, runit has 2 runlevels, <code>default</code> and <code>single</code>. You can make your own runlevels just by creating a new folder in <code>/etc/runit/runsvdir/</code> and symlinking your desired service to that runlevel.
</p><pre> ln -s /etc/runit/sv/service /etc/runit/runsvdir/<em>runlevel</em>@@
</pre><div class="vspace"></div><h3>Service directory structure</h3>
<p>This is a tree of a complete service directory structure (aka <code>/etc/runit/sv/<em>servicedir</em></code>), in some run scripts, typically only <code>run</code> will be available as usually it's the only file needed.
</p>
<div class="vspace"></div><pre> servicedir
├── run (755)
├── check (755)
├── conf (644)
├── finish (755)
└── log (directory)
&nbsp;&nbsp; ├── config (644)
&nbsp; &nbsp; └── run (755)
</pre><p class="vspace">A runit (or any daemontools-compatible) run script service directory usually contains only one executable file, <code>run</code>, which runs process in the <strong>foreground</strong>. Processes that run in the background cannot be supervised by runit.
</p>
<p class="vspace">If a service directory contains another directory named <code>log</code>, the output of the <code>run</code> process in the service directory will be piped to the input of the <code>run</code> process in the log directory. If the log service uses <code>svlogd</code>, it may be configured by using the file <code>config</code>. How <code>svlogd</code> can be configured is explained in the <code>svlogd(1)</code> manpage.
</p>
<p class="vspace">A run script may also contain executables like <code>finish</code> and <code>check</code>. <code>finish</code> will be executed when a service is stopped, and <code>check</code> will be executed (if exists) by <code>sv check</code> or <code>sv status</code>.
</p>
<p class="vspace">A run script may also contain a <code>conf</code> file (which is not executable) that modifies the variables available to the script.
</p>
<div class="vspace"></div><h3>Service dependencies</h3>
<p>Some services may depend on other services. For example, <code>NetworkManager</code> depends on <code>dbus</code>. To ensure that required dependencies are satisfied, check the service's <code>run</code> file. For example, for NetworkManager:
</p>
<div class="vspace"></div><pre> # /etc/runit/sv/NetworkManager/run
sv check dbus &gt;/dev/null || exit 1
</pre><p class="vspace">This means you have to enable <code>dbus</code> for NetworkManager to start.
</p>
<div class="vspace"></div><h3>See also</h3>
<ul><li><a class="urllink" href="http://smarden.org/runit" rel="nofollow">http://smarden.org/runit</a> - Official runit documentation
</li><li><a class="urllink" href="https://voidlinux.eu/wiki/Runit" rel="nofollow">https://voidlinux.eu/wiki/Runit</a> - Void Linux wiki on runit
</li></ul>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Runit</div>
<div class="lastmod">Page last modified on June 21, 2018, at 05:32 AM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -0,0 +1,6 @@
Username: artix
Password: artix
root password: artix
The graphical installer is in Menu -> System Tools -> Install System

View File

@@ -1,19 +1,17 @@
################ install ################
# default displaymanager: none
# supported; lightdm, sddm, gdm, lxdm, mdm
# supported: lightdm, sddm, gdm, lxdm, mdm
# displaymanager="none"
# Set to false to disable autologin in the livecd
# autologin="true"
autologin="false"
# service runlevels
# services=('acpid' 'bluetooth' 'cronie' 'cupsd' 'dbus' 'syslog-ng' 'NetworkManager')
# start services
# services=('acpid' 'bluetooth' 'cronie' 'cupsd' 'syslog-ng' 'NetworkManager')
# default values
# addgroups="video,power,storage,optical,network,lp,scanner,wheel,users"
# netgroups_url="https://raw.githubusercontent.com/artix-linux/netgroups/master"
# default group membership
# addgroups="video,power,storage,optical,network,lp,scanner,wheel,users,log"
################# live-session #################

View File

@@ -1,70 +0,0 @@
gpicview-gtk3
lxappearance-gtk3
lxappearance-obconf-gtk3
lxde-common
lxde-icon-theme
lxhotkey-gtk3
lxinput-gtk3
lxlauncher-gtk3
lxmusic-gtk3
lxpanel-gtk3
lxrandr-gtk3
lxsession-gtk3
lxtask-gtk3
lxterminal
openbox
pcmanfm-gtk3
compton
gvfs
inxi
file-roller
gedit
#lxdm-gtk3
lightdm-gtk-greeter
artix-lxde-presets
alsa-firmware
media-player-info
mobile-broadband-provider-info
modemmanager
network-manager-applet
nss-mdns
>openrc alsa-utils-openrc
>openrc avahi-openrc
>openrc displaymanager-openrc
>openrc json-c
>openrc networkmanager-openrc
>openrc ntp-openrc
>openrc openrc-settingsd
>openrc openssh-openrc
>openrc syslog-ng-openrc
powertop
terminus-font
ttf-bitstream-vera
ttf-dejavu
ttf-droid
ttf-inconsolata
ttf-indic-otf
ttf-liberation
xdg-user-dirs
xdg-utils
xorg-server
xorg-twm
xorg-xinit
xf86-input-vmmouse
xf86-video-amdgpu
xf86-video-ati
xf86-video-dummy
xf86-video-fbdev
xf86-video-intel
xf86-video-nouveau
xf86-video-openchrome
xf86-video-sisusb
xf86-video-vesa
xf86-video-vmware
xf86-video-voodoo
librabbitmq-c
libmongoc
python

View File

@@ -1,12 +0,0 @@
calamares
mkinitcpio-nfs-utils
nbd
>openrc artix-live-openrc
squashfs-tools
artix-live-portable-efi
artools-base
gparted
virtualbox-guest-modules-artix
virtualbox-guest-utils
open-vm-tools
orca

View File

@@ -1,65 +0,0 @@
# LightDM GTK+ Configuration
# Available configuration options listed below.
#
# Appearance:
# theme-name = GTK+ theme to use
# icon-theme-name = Icon theme to use
# cursor-theme-name = Cursor theme to use
# cursor-theme-size = Cursor size to use
# background = Background file to use, either an image path or a color (e.g. #772953)
# user-background = false|true ("true" by default) Display user background (if available)
# transition-duration = Length of time (in milliseconds) to transition between background images ("500" by default)
# transition-type = ease-in-out|linear|none ("ease-in-out" by default)
#
# Fonts:
# font-name = Font to use
# xft-antialias = false|true Whether to antialias Xft fonts
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
# xft-hintstyle = none|slight|medium|hintfull What degree of hinting to use
# xft-rgba = none|rgb|bgr|vrgb|vbgr Type of subpixel antialiasing
#
# Login window:
# active-monitor = Monitor to display greeter window (name or number). Use #cursor value to display greeter at monitor with cursor. Can be a semicolon separated list
# position = x y ("50% 50%" by default) Login window position
# default-user-image = Image used as default user icon, path or #icon-name
# hide-user-image = false|true ("false" by default)
#
# Panel:
# panel-position = top|bottom ("top" by default)
# clock-format = strftime-format string, e.g. %H:%M
# indicators = semi-colon ";" separated list of allowed indicator modules. Built-in indicators include "~a11y", "~language", "~session", "~power", "~clock", "~host", "~spacer". Unity indicators can be represented by short name (e.g. "sound", "power"), service file name, or absolute path
#
# Accessibility:
# a11y-states = states of accessibility features: "name" - save state on exit, "-name" - disabled at start (default value for unlisted), "+name" - enabled at start. Allowed names: contrast, font, keyboard, reader.
# keyboard = command to launch on-screen keyboard (e.g. "onboard")
# keyboard-position = x y[;width height] ("50%,center -0;50% 25%" by default) Works only for "onboard"
# reader = command to launch screen reader (e.g. "orca")
# at-spi-enabled = false|true ("true" by default) Enables accessibility at-spi-command if the greeter is built with it enabled
#
# Security:
# allow-debugging = false|true ("false" by default)
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
#
# Template for per-monitor configuration:
# [monitor: name]
# background = overrides default value
# user-background = overrides default value
# laptop = false|true ("false" by default) Marks monitor as laptop display
# transition-duration = overrides default value
#
[greeter]
background=/usr/share/backgrounds/Artix_wallpaper.png
#user-background=
#theme-name=
#icon-theme-name=
#font-name=
#xft-antialias=
#xft-dpi=
#xft-hintstyle=
#xft-rgba=
#indicators=
#clock-format=
#keyboard=
#reader=
#position=
#screensaver-timeout=

View File

@@ -1,169 +0,0 @@
#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
dbus-service=true
#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (local, xremote, unity)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-backend = X backend to use (mir)
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
# xserver-layout = Layout to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
# unity-compositor-timeout = Number of seconds to wait for compositor to start
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-backend=
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false
#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#hostname=
#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8

View File

@@ -1,17 +0,0 @@
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Always let the greeter start without authentication
auth required pam_permit.so
# No action required for account management
account required pam_permit.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
session optional pam_elogind.so

View File

@@ -1,25 +0,0 @@
################ install ################
# default displaymanager: none
# supported; lightdm, sddm, gdm, lxdm, mdm
displaymanager="lightdm"
# Set to false to disable autologin in the livecd
# autologin="true"
# service runlevels
# services=('acpid' 'bluetooth' 'cronie' 'cupsd' 'dbus' 'syslog-ng' 'NetworkManager')
# unset defaults to given values
# addgroups="video,power,storage,optical,network,lp,scanner,wheel,users"
################# live-session #################
# unset defaults to given value
# hostname="artix"
# unset defaults to given value
# username="artix"
# unset defaults to given value
# password="artix"

View File

@@ -16,8 +16,6 @@ nss-mdns
>openrc networkmanager-openrc
>openrc ntp-openrc
>openrc openrc-settingsd
>openrc openssh-openrc
>openrc syslog-ng-openrc
>openrc bluez-openrc
>runit alsa-utils-runit
@@ -26,8 +24,6 @@ nss-mdns
>runit json-c
>runit networkmanager-runit
>runit ntp-runit
>runit openssh-runit
>runit syslog-ng-runit
>runit bluez-runit
librabbitmq-c
@@ -37,7 +33,6 @@ libmongoc
lxqt
compton
#compton-conf
lximage-qt
qpdfview
gvfs

View File

@@ -1,13 +1,19 @@
calamares-branding
mkinitcpio-nfs-utils
squashfs-tools
nbd
>openrc artix-live-openrc
>runit artix-live-runit
squashfs-tools
artix-live-portable-efi
artools-base
calamares-branding
partitionmanager
#orca
virtualbox-guest-modules-artix
virtualbox-guest-utils
open-vm-tools
#orca
broadcom-wl
intel-ucode
amd-ucode

View File

@@ -0,0 +1,157 @@
[AdBlock]
disabledRules=@Invalid()
enabled=true
lastUpdate=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x83\x1a\0\xf\x1du\0)
[AddressBar]
CustomProgressColor=@Variant(\0\0\0\x43\x1\xff\xff\x30\x30\x8c\x8c\xc6\xc6\0\0)
ProgressStyle=0
SelectAllTextOnClick=false
SelectAllTextOnDoubleClick=true
ShowLoadingProgress=false
UseCustomProgressColor=false
alwaysShowGoIcon=true
showSuggestions=0
showSwitchTab=true
useInlineCompletion=true
[Browser]
RunsWithoutOptimizeDb=5
[Browser-Fonts]
CursiveFont=TeX Gyre Chorus
DefaultFontSize=15
FantasyFont=Impact
FixedFont=Liberation Mono
FixedFontSize=14
MinimumFontSize=3
MinimumLogicalFontSize=5
SansSerifFont=Noto Sans
SerifFont=DejaVu Serif
StandardFont=DejaVu Serif
[Browser-Tabs-Settings]
ActivateLastTabWhenClosingActual=false
AlwaysSwitchTabsWithWheel=false
AskOnClosing=false
OpenNewTabsSelected=false
OpenPopupsInTabs=true
TabsOnTop=true
dontCloseWithOneTab=false
hideTabsWithOneTab=false
newEmptyTabAfterActive=false
newTabAfterActive=true
showCloseOnInactiveTabs=0
showClosedTabsButton=false
[Browser-View-Settings]
LocationBarWidth=1081
SideBar=
SideBarWidth=250
WebSearchBarWidth=314
WebViewWidth=2000
WindowGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\0\0\0\0\0\0\0\x6\x8f\0\0\x3\xf3\0\0\0\xc2\0\0\0\x82\0\0\x5\xcd\0\0\x3\x8b\0\0\0\0\x2\0\0\0\x6\x90)
instantBookmarksToolbar=false
settingsDialogPage=0
showBookmarksToolbar=false
showNavigationToolbar=true
showStatusBar=true
[Cookie-Settings]
allowCookies=true
blacklist=@Invalid()
deleteCookiesOnClose=false
filterThirdPartyCookies=false
filterTrackingCookie=false
whitelist=@Invalid()
[DownloadManager]
CloseManagerOnFinish=false
ExternalManagerArguments=
ExternalManagerExecutable=
UseExternalManager=false
defaultDownloadPath=
[Notifications]
Enabled=true
Position=@Point(10 10)
Timeout=6000
UseNativeDesktop=true
[Plugin-Settings]
AllowedPlugins=internal:adblock, lib:StatusBarIcons.so, lib:TabManager.so
[Preferences]
Geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x1_\0\0\0]\0\0\x5s\0\0\x3=\0\0\x1\x65\0\0\0~\0\0\x5m\0\0\x3\x37\0\0\0\0\0\0\0\0\x6\x90)"
[SearchEngines]
DefaultEngine=DuckDuckGo
SearchFromAddressBar=true
SearchWithDefaultEngine=false
activeEngine=DuckDuckGo
showSearchSuggestions=true
[SessionRestore]
isRestoring=false
isRunning=true
[Shortcuts]
useSingleKeyShortcuts=false
useSpeedDialNumberShortcuts=true
useTabNumberShortcuts=true
[SpeedDial]
background=
backsize=auto
pages=
pagesrow=4
sdcenter=false
sdsize=231
[SpellCheck]
Enabled=false
Languages=@Invalid()
[Themes]
activeTheme=linux
[Web-Browser-Settings]
AllowLocalCache=true
AnimateScrolling=true
AutoCompletePasswords=true
AutomaticallyOpenProtocols=@Invalid()
BlockOpeningProtocols=@Invalid()
CheckUpdates=true
DefaultZoomLevel=6
DoNotTrack=false
HTML5StorageEnabled=true
IncludeLinkInFocusChain=false
LoadTabsOnActivation=true
LocalCacheSize=50
PrintElementBackground=true
SavePasswordsOnSites=true
SpatialNavigation=false
UseNativeScrollbars=false
XSSAuditing=false
allowHistory=true
allowJavaScript=true
allowPlugins=true
closeAppWithCtrlQ=true
deleteCacheOnClose=false
deleteHTML5StorageOnClose=false
deleteHistoryOnClose=false
lastActiveSessionPath=../session.dat
userStyleSheet=
wheelScrollLines=3
[Web-Proxy]
HostName=
Password=
Port=8080
ProxyType=2
Username=
[Web-URL-Settings]
afterLaunch=3
homepage=@Variant(\0\0\0\x11\0\0\0\x16https://artixlinux.org)
newTabUrl=@Variant(\0\0\0\x11\0\0\0\x10\x66\x61lkon:speeddial)

View File

@@ -0,0 +1,2 @@
[Profiles]
startProfile="default"

View File

@@ -0,0 +1 @@
limit = 256

View File

@@ -0,0 +1,42 @@
color_0 = d3d3 d7d7 cfcf
color_1 = 2e2e 3434 3636
color_2 = 3434 6565 a4a4
color_3 = 4e4e 9a9a 0606
color_4 = cccc 0000 0000
color_5 = 8f8f 3939 0202
color_6 = 5c5c 3535 6666
color_7 = cece 5c5c 0000
color_8 = c4c4 a0a0 0000
color_9 = 7373 d2d2 1616
color_10 = 1111 a8a8 7979
color_11 = 5858 a1a1 9d9d
color_12 = 5757 7979 9e9e
color_13 = a0d0 42d4 6562
color_14 = 5555 5757 5353
color_15 = 8888 8a8a 8585
color_16 = d3d3 d7d7 cfcf
color_17 = 2e2e 3434 3636
color_18 = 3434 6565 a4a4
color_19 = 4e4e 9a9a 0606
color_20 = cccc 0000 0000
color_21 = 8f8f 3939 0202
color_22 = 5c5c 3535 6666
color_23 = cece 5c5c 0000
color_24 = c4c4 a0a0 0000
color_25 = 7373 d2d2 1616
color_26 = 1111 a8a8 7979
color_27 = 5858 a1a1 9d9d
color_28 = 5757 7979 9e9e
color_29 = a0d0 42d4 6562
color_30 = 294a 2ba9 26eb
color_31 = 4029 4029 4029
color_256 = d3d3 d7d7 cfcf
color_257 = 2020 4a4a 8787
color_258 = dae6 dae6 dae6
color_259 = 0000 0000 0000
color_260 = 8f8f 3939 0202
color_261 = 3434 6565 a4a4
color_262 = 4e4e 9a9a 0606
color_263 = cece 5c5c 0000
color_264 = 8888 8a8a 8585
color_265 = a4a4 0000 0000

View File

@@ -0,0 +1,210 @@
version = 2.14.1
away_auto_unmark = 0
away_omit_alerts = 0
away_reason = I'm busy
away_show_once = 1
away_size_max = 300
away_timeout = 60
away_track = 1
completion_amount = 5
completion_auto = 0
completion_sort = 1
completion_suffix = :
dcc_auto_chat = 0
dcc_auto_recv = 1
dcc_auto_resume = 1
dcc_blocksize = 1024
dcc_completed_dir =
dcc_fast_send = 1
dcc_global_max_get_cps = 0
dcc_global_max_send_cps = 0
dcc_ip =
dcc_ip_from_server = 0
dcc_max_get_cps = 0
dcc_max_send_cps = 0
dcc_permissions = 384
dcc_port_first = 0
dcc_port_last = 0
dcc_remove = 0
dcc_save_nick = 0
dcc_send_fillspaces = 0
dcc_stall_timeout = 60
dcc_timeout = 180
flood_ctcp_num = 5
flood_ctcp_time = 30
flood_msg_num = 5
flood_msg_time = 30
gui_autoopen_chat = 1
gui_autoopen_dialog = 1
gui_autoopen_recv = 1
gui_autoopen_send = 1
gui_chanlist_maxusers = 9999
gui_chanlist_minusers = 5
gui_compact = 0
gui_dialog_height = 256
gui_dialog_left = 0
gui_dialog_top = 0
gui_dialog_width = 500
gui_filesize_iec = 0
gui_focus_omitalerts = 0
gui_hide_menu = 0
gui_input_attr = 1
gui_input_icon = 1
gui_input_nick = 1
gui_input_spell = 1
gui_input_style = 1
gui_join_dialog = 1
gui_lagometer = 2
gui_lang = 15
gui_mode_buttons = 0
gui_pane_divider_position = 0
gui_pane_left_size = 128
gui_pane_right_size = 100
gui_pane_right_size_min = 80
gui_quit_dialog = 1
gui_search_pos = 0
gui_slist_fav = 0
gui_slist_select = 0
gui_slist_skip = 1
gui_tab_chans = 1
gui_tab_dialogs = 1
gui_tab_dots = 0
gui_tab_icons = 1
gui_tab_layout = 0
gui_tab_middleclose = 1
gui_tab_newtofront = 2
gui_tab_pos = 6
gui_tab_scrollchans = 0
gui_tab_server = 1
gui_tab_small = 0
gui_tab_sort = 1
gui_tab_trunc = 20
gui_tab_utils = 0
gui_throttlemeter = 2
gui_topicbar = 1
gui_transparency = 255
gui_tray = 1
gui_tray_away = 0
gui_tray_blink = 1
gui_tray_close = 0
gui_tray_minimize = 0
gui_tray_quiet = 0
gui_ulist_buttons = 0
gui_ulist_color = 1
gui_ulist_count = 1
gui_ulist_doubleclick = QUERY %s
gui_ulist_hide = 0
gui_ulist_icons = 1
gui_ulist_pos = 3
gui_ulist_show_hosts = 0
gui_ulist_sort = 0
gui_ulist_style = 1
gui_url_mod = 0
gui_usermenu = 0
gui_win_height = 728
gui_win_fullscreen = 0
gui_win_left = 282
gui_win_modes = 1
gui_win_save = 1
gui_win_state = 0
gui_win_swap = 0
gui_win_top = 122
gui_win_ucount = 1
gui_win_width = 1103
identd_server = 0
identd_port = 0
input_balloon_chans = 0
input_balloon_hilight = 0
input_balloon_priv = 0
input_beep_chans = 0
input_beep_hilight = 0
input_beep_priv = 0
input_command_char = /
input_filter_beep = 1
input_flash_chans = 0
input_flash_hilight = 1
input_flash_priv = 1
input_perc_ascii = 0
input_perc_color = 0
input_tray_chans = 0
input_tray_hilight = 1
input_tray_priv = 1
irc_auto_rejoin = 0
irc_reconnect_rejoin = 1
irc_ban_type = 1
irc_cap_server_time = 1
irc_conf_mode = 0
irc_extra_hilight =
irc_hide_nickchange = 0
irc_hide_version = 0
irc_hidehost = 0
irc_id_ntext =
irc_id_ytext =
irc_invisible = 0
irc_join_delay = 5
irc_logging = 1
irc_logmask = %n/%c.log
irc_nick1 = artix_live_1
irc_nick2 = artix_live_2
irc_nick3 = artix_live_3
irc_nick_hilight =
irc_no_hilight = NickServ,ChanServ,InfoServ,N,Q
irc_notice_pos = 0
irc_part_reason = Leaving
irc_quit_reason = Leaving
irc_raw_modes = 0
irc_real_name = realname
irc_servernotice = 0
irc_skip_motd = 0
irc_user_name = loouom
irc_wallops = 0
irc_who_join = 1
irc_whois_front = 1
net_auto_reconnect = 1
net_auto_reconnectonfail = 0
net_bind_host =
net_ping_timeout = 60
net_proxy_auth = 0
net_proxy_host =
net_proxy_pass =
net_proxy_port = 0
net_proxy_type = 0
net_proxy_use = 0
net_proxy_user =
net_reconnect_delay = 10
net_throttle = 1
notify_timeout = 15
notify_whois_online = 0
perl_warnings = 0
stamp_log = 1
stamp_log_format = %b %d %H:%M:%S
stamp_text = 1
stamp_text_format = [%H:%M:%S]
text_autocopy_color = 0
text_autocopy_stamp = 0
text_autocopy_text = 1
text_background =
text_color_nicks = 1
text_font = Monospace 10
text_font_main = Monospace 9
text_font_alternative = Arial Unicode MS,Segoe UI Emoji,Lucida Sans Unicode,Meiryo,Symbola,Unifont
text_indent = 1
text_max_indent = 256
text_max_lines = 5000
text_replay = 1
text_search_case_match = 0
text_search_highlight_all = 0
text_search_follow = 1
text_search_regexp = 0
text_show_marker = 1
text_show_sep = 1
text_spell_langs = en_US
text_stripcolor_msg = 0
text_stripcolor_replay = 1
text_stripcolor_topic = 1
text_thin_sep = 1
text_transparent = 0
text_wordwrap = 1
url_grabber = 1
url_grabber_limit = 100
url_logging = 0

View File

@@ -0,0 +1,12 @@
v=2.14.1
N=freenode
L=6
E=UTF-8 (Unicode)
F=63
D=1
S=chat.freenode.net
S=irc.freenode.net
J=#artix
J=#artix-unregistered

View File

@@ -0,0 +1,3 @@
[Desktop]
Wallpaper=/usr/share/backgrounds/Artix_dna_spiral.png
WallpaperMode=zoom

View File

@@ -0,0 +1,69 @@
/***********************************************************************
** .print.css
** Copyright 2004 Patrick R. Michaud (pmichaud@pobox.com)
** This file is part of PmWiki; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published
** by the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version. See pmwiki.php for full details.
***********************************************************************/
/***********************************************************************
** These settings are part of the ?action=print skin. If you want
** to change these settings, create a new print template and set
** $PrintTemplateFmt in the config.php file to point to your new
** printing skin.
***********************************************************************/
body {
width:auto;
background-color: #1a1a1a;
color: #dedede;
font-family:serif;
}
#printhead {
font-family:sans-serif;
border-top:3px solid #a0a0a0;
border-bottom:5px solid #a0a0a0;
margin-bottom:1em;
}
#printhead h3 { margin-top:0px; }
#printhead h1 { margin-bottom:0px; }
#printtitle {
}
#printfoot {
clear:both;
margin-top:1em;
border-top:5px solid #a0a0a0;
font-size:smaller;
}
a:link { color:#4444ee; font-weight:bold; text-decoration:none; }
a:visited { color:#4444ee; font-weight:bold; text-decoration:none; }
a.wikilink:hover { color: #4444ee; text-decoration:underline; }
a.createlink { color:#4444ee; }
a.createlink:visited { color:#4444ee; }
a.createlink:hover { color:#ff2222; }
.mini { padding:2px; border:1px solid #c6c6c6; background-color:#1a1a1a; }
.miniH, .miniF {display:block;}
a {color: #80d3fc; text-decoration: none;}
a:visited {color: #cc77cc;}
code {color: #99aabb;}
wikitrail {background-color: #232423;}
.container-fluid {
padding-right: 2px;
padding-left: 2px;
}
.well {
padding: 5px;
}

View File

@@ -0,0 +1,109 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / Configuration</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20Configuration_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="System configuration and fine tuning">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: Configuration</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<div class="vspace"></div><h3>OpenRC</h3>
<h4>OpenRC settings</h4>
<p>Various parameters are controlled by <code>/etc/rc.conf</code>. Most common tweaks include setting <strong>rc_parallel</strong> and<strong> rc_logger</strong> to <strong>YES</strong> and <strong>rc_depend_strict</strong> to <strong>NO</strong>.
</p>
<div class="vspace"></div><h4>Networking</h4>
<p>Most people will do fine with <strong>NetworkManager</strong>. For static network configuration it's preferable to install <strong>netifrc</strong> and edit <code>/etc/conf.d/net</code> for their setup.
</p>
<div class="vspace"></div><h4>User permissions</h4>
<p>You can control who has access to and control of what by assigning
them to groups. A more than full permission set for the primary user is
granted by the following, consider reducing it to only necessary ones:
</p><pre> usermod -a -G video,audio,input,power,storage,optical,lp,scanner,dbus,adbusers,uucp,vboxusers USER
</pre><div class="vspace"></div><h4>Hostname</h4>
<p><a class="wikilink" href="https://wiki.artixlinux.org/Main/OpenRC?action=print">OpenRC</a> can set the host name either from <code>/etc/hostname</code> or from <code>/etc/conf.d/hostname</code>, with the former taking precedence. Their syntax differs somewhat:<br><code>/etc/hostname</code>
</p><pre> reallycoolhostname
</pre><p class="vspace"><code>/etc/conf.d/hostname</code>
</p><pre> hostname="reallycoolhostname"
</pre><div class="vspace"></div><h3>Runit</h3>
<h4>Keyboard configuration in console</h4>
<p>A persistent keymap can be set in <code>/etc/vconsole.conf</code>,
which is read by runit-rc on start-up. The KEYMAP variable is used for
specifying the keymap. If the variable is empty or not set, the us
keymap is used as default value. See vconsole.conf(5) (coming soon, but
in the meantime you can see <a class="urllink" href="https://jlk.fjfi.cvut.cz/arch/manpages/man/vconsole.conf.5" rel="nofollow">Arch's manual which refers to systemd</a>, but is compatible with runit) for all options. For example:
</p>
<p class="vspace"><code>/etc/vconsole.conf</code>
</p><pre> KEYMAP=uk
...
</pre><div class="vspace"></div><h4>Hostname</h4>
<p>You can set it in <code>/etc/hostname</code>.
</p>
<p class="vspace"><code>/etc/hostname</code>
</p><pre> reallycoolhostname
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Configuration</div>
<div class="lastmod">Page last modified on September 07, 2018, at 01:47 AM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button" style="display: none;"></div><div id="simple-translate-panel" style="display: none;"><p>...</p></div></html>

View File

@@ -0,0 +1,176 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / Installation</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20Installation_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="Fresh Artix Installation">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: Installation</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<p class="vspace"><big>It is possible to use runit iso to install OpenRC-based system, and vice-versa.</big>
</p>
<div class="vspace"></div><h3>Fresh Artix installation from bootable media</h3>
<p>Artix can either be installed through the console or the GUI
installer. The GUI install is quite straightforward, we'll focus on the
console installation procedure here.
</p>
<p class="vspace">NOTE: The Artix ISO does not seem to support UEFI only
systems. On such a system, a successfull Artix install is possible by
booting an <a class="urllink" href="http://archlinux.org/download/" rel="nofollow">Arch Linux ISO</a>, converting the Arch live system to Artix as <a class="wikilink" href="https://wiki.artixlinux.org/Main/Migration?action=print">described here</a>, and then continuing with the installation steps below.
Before migrating the Arch Live system to Artix it is necessary to increase the size of the overlay tmpfs; this is done by
</p><pre> mount -o remount,size=4G /
</pre><p>(make sure your system has enough RAM). Adapt the size to what
you need; the pacman commands will show what they need to download and
install, the sum of both plus something more is needed.
</p>
<div class="vspace"></div><h4>Partition your disk (BIOS)</h4>
<p>Partition your hard drive (<code>/dev/sda</code> will be used in this guide) with <strong>fdisk</strong> or <strong>cfdisk</strong>, the partition numbers and order are at your discretion:
</p><pre> cfdisk /dev/sda
</pre><p>If you want to install side-by-side with other operating
systems, you must make some space on the disk by resizing the existing
partitions. You may use <strong>gparted</strong> for this, however
detailed instructions are out of the scope of this guide. Next, format
the new partitions, for example as ext4:
</p><pre> mkfs.ext4 -L ROOT /dev/sda2 &lt;- root partition
mkfs.ext4 -L HOME /dev/sda3 &lt;- home partition, optional
mkfs.ext4 -L BOOT /dev/sda4 &lt;- boot partition, optional
mkswap -L SWAP /dev/sda1 &lt;- swap partition
</pre><p>The -L switch assigns labels to the partitions, which helps referring to them later through <code>/dev/disk/by-label</code> without having to remember their numbers. Now, mount your partitions:
</p><pre> swapon /dev/sda1
mount /dev/sda2 /mnt
mount /dev/sda3 /mnt/home (if created)
mount /dev/sda4 /mnt/boot (if created)
</pre><div class="vspace"></div><h4>Install base system</h4>
<p>A working internet connection is required and assumed. A wired
connection is setup automatically, if found. Wireless ones must be
configured by the user. Verify your connection and update the
repositories:
</p><pre> ping artixlinux.org
pacman -Syy
</pre><p class="vspace">Use <strong>basestrap</strong> to install the <strong>base</strong> and optionally the <strong>base-devel</strong> package groups and your preferred init (currently available: <code>openrc</code> and <code>runit</code>):
</p><pre> basestrap /mnt base base-devel openrc
</pre><p>or
</p><pre> basestrap /mnt base base-devel runit
</pre><p class="vspace">Use <strong>fstabgen</strong> to generate <code>/etc/fstab</code>, use -U for UUIDs and -L for partition labels:
</p><pre> fstabgen -L /mnt &gt;&gt;/mnt/etc/fstab
</pre><p class="vspace">Check the resulting fstab for errors before rebooting. Now, you can chroot into your new Artix system with:
</p><pre> artools-chroot /mnt
</pre><div class="vspace"></div><h4>Configure the base system</h4>
<p>First, install <strong>grub</strong> and <strong>os-prober</strong> (for detecting other installed operating systems):
</p><pre> pacman -S grub os-prober
grub-install --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
</pre><p>Create a user and password:
</p><pre> useradd -m user
passwd user
</pre><p>Set root password:
</p><pre> passwd
</pre><p class="vspace">Install <strong>networkmanager</strong>:
</p><pre> pacman -S networkmanager networkmanager-openrc network-manager-applet
rc-update add NetworkManager default
</pre><p class="vspace">Generate locales:
</p><pre> nano /etc/locale.gen &lt;- uncomment your locale
locale-gen
</pre><p>To set the locale systemwide, edit <code>/etc/profile.d/locale.sh</code> (which is sourced by <code>/etc/profile</code>) or <code>/etc/bash/bashrc.d/artix.bashrc</code> or <code>/etc/bash/bashrc.d/local.bashrc</code>; user-specific changes may be made to their respective <code>~/.bashrc</code>, for example:
</p><pre> export LANG="en_US.UTF-8"
export LC_COLLATE="C"
</pre><div class="vspace"></div><h4>Post installation configuration</h4>
<p>Now, you can reboot and enter into your new installation:
</p><pre> exit &lt;- exit chroot environment
umount -R /mnt
reboot
</pre><p>Once shutdown is complete, remove your installation media. If
all went well, you should boot into your new system. Log in as your root
to complete the post-installation configuration.
To get a graphical environment you need to install the xorg group:
</p><pre> pacman -S xorg
</pre><p>Choose your packages, or just install all of them. For the closed-source nvidia drivers you can use the <strong>nvidia-lts</strong> package, as our default kernel is <strong>linux-lts</strong>:
</p><pre> pacman -S nvidia-lts
</pre><p>Older nvidia cards work with the legacy series, <strong>nvidia-340xx-lts</strong> and <strong>nvidia-304xx-lts</strong>.
If you want to run a custom kernel, you can install the respective
nvidia dkms package which ensures all installed kernels get their nvidia
modules.
AMD and Intel cards enjoy excellent (or near-excellent) 3D support with
open-source drivers. Read the Arch wiki, for information on how Xorg
chooses the best available video driver and which one is optimal for
your hardware.
</p>
<p class="vspace">Install a desktop environment, for example <strong>MATE</strong>, <strong>LXQt</strong> or <strong>XFCE4</strong>:
</p><pre> pacman -S mate mate-extra xfce4 xfce4-goodies lxqt
</pre><p>And optionally a display manager, like <strong>LXDM</strong> or <strong>SDDM</strong>:
</p><pre> pacman -S lxdm displaymanager-openrc
rc-update add xdm default
nano /etc/conf.d/xdm &lt;- edit and set DISPLAYMANAGER="lxdm"
</pre><p>Or you can use .xinitrc to launch your DE manually; edit (or create) <code>~/.xinitrc</code> and add <strong>exec mate-session</strong>.
Notice: <strong>mate-session</strong> and quite a few other packages
from the Arch repositories are compiled against systemd even if they
don't actually use it, at least not as PID1; to satisfy the library link
you may install <strong>libsystemd-dummy</strong> and <strong>systemd-dummy</strong>.
</p><pre> pacman -S systemd-dummy libsystemd-dummy
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Installation</div>
<div class="lastmod">Page last modified on August 24, 2018, at 10:56 AM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -0,0 +1,196 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / OpenRC</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20OpenRC_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="The OpenRC init system">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: OpenRC</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<p class="vspace"><strong><big>OpenRC</big></strong>
</p>
<p class="vspace">OpenRC is a dependency-based init system that
initially maintained compatibility with sysvinit (/sbin/init) and,
beginning with OpenRC 0.25, provided its own. OpenRC was written by <a class="urllink" href="https://gentoo.org/" rel="nofollow">Gentoo</a> developers and it is designed to be used by other distributions and BSD systems.
</p>
<div class="vspace"></div><h4>Features</h4>
<p>OpenRC provides features such as hardware initiated initscripts or cgroups support.
</p>
<div class="vspace"></div><h4>Configuration</h4>
<p><code>/etc/rc.conf</code> is the global OpenRC configuration file.
</p>
<div class="vspace"></div><h4>Network management</h4>
<p>OpenRC can be used with one of several network managers or even with none, see <code>/etc/conf.d/net</code> for examples of static or dynamic network configuration. The <strong>netifrc</strong>
package provides a collection of modules for configuring and managing
network interfaces via individual, per-interface scripts located in the
/etc/init.d/ directory. Its presence is not mandatory or it can be left
unused in favour of another network manager.
</p>
<div class="vspace"></div><h4>Dependency behavior</h4>
<p>Changing the default dependencies of init scripts might be needed to fit more complex setups. See <code>/etc/rc.conf</code> for how to change the default behavior; notice the <strong>rc_depend_strict</strong> option. In addition, the following networking examples show how flexible OpenRC can be.
</p>
<div class="vspace"></div><h4>Selecting a specific runlevel at boot</h4>
<p>OpenRC reads the kernel command-line used at boot time, and will start the runlevel specified by the <strong>softlevel</strong> parameter if provided, instead of <strong>default</strong>. For instance, you can choose whether to boot into the <strong>default</strong>, <strong>nonetwork</strong> or <strong>single-user</strong> runlevels with the following example grub.conf configuration:
</p><pre> /boot/grub/grub.conf
title=Regular start-up
kernel (hd0,0)/boot/vmlinuz-linux root=/dev/sda3
title=Start without networking
kernel (hd0,0)/boot/vmlinuz-linux root=/dev/sda3 softlevel=nonetwork
title=Single-user mode
kernel (hd0,0)/boot/vmlinuz-linux root=/dev/sda3 softlevel=single
</pre><div class="vspace"></div><h3>Usage</h3>
<h4>Runlevels</h4>
<p>OpenRC uses runlevels in very much the same way as sysvinit (or BSD
init). At any given time the system is in one of the defined runlevels.
There are three internal runlevels and four user defined runlevels.
</p>
<div class="vspace"></div><ul><li>Internal runlevels, the names are self-explanatory:
<ul><li><code>sysinit</code>
</li><li><code>shutdown</code>
</li><li><code>reboot</code>
</li></ul><div class="vspace"></div></li><li>User Runlevels:
<div class="vspace"></div><ul><li><code>boot</code>: Starts all system-necessary services for other runlevels
</li><li><code>default</code>: Used for day-to-day-operations
</li><li><code>nonetwork</code>: Used when no network connectivity is required
</li><li><code>single</code>: Single-user mode
</li></ul></li></ul><p class="vspace">The system can switch to a runlevel with the <strong>openrc &lt;runlevel&gt;</strong> command, e.g.:
</p><pre> openrc nonetwork
</pre><div class="vspace"></div><h4>Control</h4>
<p>OpenRC can be controlled and configured using <strong>openrc</strong>, <strong>rc-service</strong>, <strong>rc-update</strong> and <strong>rc-status</strong> commands.
</p>
<div class="vspace"></div><h4>Adding/removing services to/from runlevels</h4>
<pre> # rc-update add net.eth0 boot
# rc-update del dropbox default
</pre><div class="vspace"></div><h4>Listing</h4>
<p>Use <strong>rc-update show -v</strong> to display all available init scripts and their their current runlevel (if they have been added to one):
</p><pre> # rc-update show -v
</pre><p>Running <strong>rc-update</strong> or <strong>rc-update show</strong> will display only the init scripts that have been added to a runlevel.
</p>
<div class="vspace"></div><h4>Named runlevels</h4>
<p>OpenRC runlevels are directories living in <code>/etc/runlevels</code> to create additional runlevels is enough to issue:
</p><pre> # install -d /etc/runlevels/$runlevel
</pre><div class="vspace"></div><h4>Stacked runlevels</h4>
<p>It is possible to manage variants using <strong>rc-update -s</strong>. An example for using stacked runlevels on laptop to group networking services based on location is at <a class="urllink" href="https://wiki.gentoo.org/wiki/OpenRC/StackedRunlevel" rel="nofollow">OpenRC/StackedRunlevel</a>.
</p>
<div class="vspace"></div><h4>Hotplug</h4>
<p>OpenRC monitors and can be triggered by external events, such as new hardware from udev. See <a class="urllink" href="https://wiki.gentoo.org/wiki/Iphone_USB_Tethering#udev_trigger" rel="nofollow">OpenRC/Event Driven</a> for details.
</p>
<div class="vspace"></div><h4>Automatic respawning of crashed services</h4>
<p>OpenRC can return the state of services to the runlevel's setting
state, provide stateful init scripts and automatic respawning. If one
issues <strong>openrc</strong> as root (for default runlevel), crashed
services will start and manually launched services will stop. To prevent
the latter you can run <strong>openrc -n</strong> (--not-stop)
By default openrc will attempt just to start crashed services, not restart. This сontrolled by <strong>rc_crashed_stop</strong> (default NO) and <strong>rc_crashed_start</strong> (default YES) options in <code>/etc/rc.conf</code>.
</p>
<div class="vspace"></div><h4>CGroups support</h4>
<p>OpenRC has extended cgroups support. See <a class="urllink" href="https://wiki.gentoo.org/wiki/OpenRC/CGroups" rel="nofollow">OpenRC/CGroups</a> for details.
</p>
<div class="vspace"></div><h4>rc.local</h4>
<p>OpenRC doesn't execute <code>/etc/rc.local</code> by default; instead, it executes scripts from <code>/etc/local.d</code> ending in .start when local service starts and .stop when it stops. To mimic the good old <code>rc.local</code> behaviour, create <code>/etc/rc.local/rc.local.start</code> with the following and make it executable with <strong>chmod +x</strong>:
</p><pre> :
# /etc/local.d/rc.local.start
[ -e /etc/rc.local ] &amp;&amp; /etc/rc.local
</pre><p>Make sure that the <strong>local</strong> service is enabled. The scripts in <code>/etc/local.d</code> are executed in lexical order and the example above assumes <code>/etc/rc.local</code> has got execute permissions.
</p>
<div class="vspace"></div><h3>Examples</h3>
<h4>Multiple network interfaces</h4>
<p>The SSH service must come up with the internal network, for instance eth0 and never wlan0.
Override the <strong>net</strong> dependency from <code>/etc/init.d/sshd</code>, and refine it to depend on <strong>net.eth0</strong>:
</p><pre> /etc/conf.d/sshd
rc_need="!net net.eth0"
</pre><div class="vspace"></div><h4>Multiple network interfaces in multiple runlevels</h4>
<p>The SSH service must start with <strong>eth0</strong> (not <strong>wlan0</strong>) in "default" runlevel, but in "office" runlevel it must start with <strong>wlan0</strong> (not <strong>eth0</strong>).
</p><pre> /etc/rc.conf
#rc_depend_strict="YES"
</pre><p>Make additional symlinks to sshd with the network interface names:
</p><pre> # ln -s sshd /etc/init.d/sshd.eth0
# ln -s sshd /etc/init.d/sshd.wlan0
</pre><p>Settings are read from <code>/etc/conf.d/sshd.eth0</code> and <code>/etc/conf.d/sshd.wlan0</code> now:
</p><pre> # cp /etc/conf.d/sshd /etc/conf.d/sshd.eth0
# cp /etc/conf.d/sshd /etc/conf.d/sshd.wlan0
</pre><p>Add the dependencies:
</p><pre> # echo 'rc_need="!net net.eth0"' &gt;&gt; /etc/conf.d/sshd.eth0
# echo 'rc_need="!net net.wlan0"' &gt;&gt; /etc/conf.d/sshd.wlan0
</pre><p>In this example net.eth0 and net.wlan0 read their settings from <code>/etc/conf.d/net</code>, or <code>/etc/conf.d/net.office</code>, depending on the active runlevel. Add all runscripts to the different runlevels:
</p><pre> # rc-update add sshd.eth0 default
# rc-update add sshd.wlan0 office
# rc-update add net.eth0 default office
# rc-update add net.wlan0 default office
</pre><p>To switch between "default" runlevel and "office" runlevel
without rebooting the computer, change to "nonetwork" runlevel in
between. The network interfaces will be stopped this way, and re-read
their runlevel specific configuration. This works best when "nonetwork"
is a stacked runlevel in both the "default" and "office" runlevels, and
the display manager and other non-network services are added to the
"nonetwork" runlevel only.
<br> <em>default runlevel &lt;---&gt; nonetwork runlevel &lt;---&gt; office runlevel</em>
</p><pre> # rc nonetwork &amp;&amp; rc office
# rc nonetwork &amp;&amp; rc default
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/OpenRC</div>
<div class="lastmod">Page last modified on June 29, 2018, at 09:59 PM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -0,0 +1,164 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / Troubleshooting</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20Troubleshooting_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
<meta name="description" content="Troubleshooting your Artix issues">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: Troubleshooting</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<div class="vspace"></div><h3>Updating icu/ncurses/whatever breaks a ton of packages</h3>
<p>Make sure you have the correct repositories activated in <code>/etc/pacman.conf</code>.
Testing [gremlins] repositories should be disabled by default. If you
want to use them, you should also uncomment [testing] from Arch. These <strong>must</strong> be above all other repositories.
<strong>Note:</strong> [gremlins] is Artix equivalent of Arch [testing]
</p><pre> #[gremlins]
#Include = /etc/pacman.d/mirrorlist
#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist
#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist
[system]
Include = /etc/pacman.d/mirrorlist
[world]
Include = /etc/pacman.d/mirrorlist
[galaxy]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[lib32]
Include = /etc/pacman.d/mirrorlist
</pre><p>Since we still depend on some of Arch packages from [extra] and
most of [community], some version mismatches during updates and until
we fully sync may cause problems. In such case, enabling temporarily the
testing repositories might just give you the right package to fix your
situation.
</p>
<p class="vspace">The list below might not be updated, always check the <a class="urllink" href="https://gitea.artixlinux.org/packages/artix-mirrorlist/src/branch/master/repos/core-any/mirrorlist" rel="nofollow">Gitea repository</a>.
</p><pre> ## Artix Linux repository mirrorlist
## Generated on 2017-10-21
##
# Artix mirrors
Server = <a class="urllink" href="https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch" rel="nofollow">https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch" rel="nofollow">https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch</a>
Server = <a class="urllink" href="https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch" rel="nofollow">https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch</a>
Server = <a class="urllink" href="https://artix.wheaton.edu/repos/$repo/os/$arch" rel="nofollow">https://artix.wheaton.edu/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch" rel="nofollow">http://mirror.strits.dk/artix-linux/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch" rel="nofollow">https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch</a>
Server = <a class="urllink" href="http://mirror1.artixlinux.org/repos/$repo/os/$arch" rel="nofollow">http://mirror1.artixlinux.org/repos/$repo/os/$arch</a>
</pre><div class="vspace"></div><h3>Invalid or corrupted packages (PGP signature)</h3>
<p>If pacman warns you about invalid or corrupted packages, it may be
due to obsolete PGP keys or Arch-signed packages in the repos. Make sure
the Artix repos are above the Arch ones and:
</p>
<p class="vspace">1. Reinstall keyrings including the latest keys:
</p><pre> sudo pacman -Sy gnupg archlinux-keyring artix-keyring --force
</pre><p>If you can't install the artix-keyring because of , perform step 2 and repeat 1, otherwise proceed to step 3.
</p>
<p class="vspace">2. Remove old and possibly expired, revoked or invalid keys by issuing this command:
</p><pre> sudo rm -r /etc/pacman.d/gnupg
</pre><p>3. Initialize the pacman keyring:
</p><pre> sudo pacman-key --init
</pre><p>4. Load the signature keys:
</p><pre> sudo pacman-key --populate archlinux artix
</pre><p>5. Clear out the software packages downloaded during the aborted installation:
</p><pre> sudo pacman -Scc
sudo pacman -Syyu
</pre><p>6. In a pinch, install the package with the -U pacman switch:
</p><pre> pacman -U /var/cache/pacman/pkg/package-1.3.9-1.x86_64.pkg.tar.xz
</pre><div class="vspace"></div><h3>Can't play games, run Steam etc!</h3>
<p>You must enable [lib32] from Artix and [multilib] from Arch in <code>/etc/pacman.conf</code> and install relevant packages for 32bit executables. Make sure [lib32] is above [multilib] (as a matter of fact <strong>all</strong> Artix repos must be above Arch's).
</p><pre> [lib32]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist-arch
</pre><div class="vspace"></div><h3>Warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.</h3>
<p>Install parted and execute:
</p><pre> parted -s /dev/sdx set 1 bios_grub on
</pre><div class="vspace"></div><h3>I'm having <strong>dbus-related</strong> problems and I keep seeing messages about <code>/etc/machine-id</code></h3>
<p>This file originated from dbus development and was adopted by systemd
as a universally unique machine identifier. Ergo, it is a useless (for
the end user) tag but apparently of some use to dbus because <a class="urllink" href="https://dbus.freedesktop.org/doc/dbus-uuidgen.1.html" rel="nofollow">"<em>The
important properties of the machine UUID are that 1) it remains
unchanged until the next reboot and 2) it is different for any two
running instances of the OS kernel. That is, if two processes see the
same UUID, they should also see the same shared memory, UNIX domain
sockets, local X displays, localhost.localdomain resolution, process
IDs, and so forth.</em>"</a> Also, <a class="urllink" href="https://www.freedesktop.org/software/systemd/man/machine-id.html" rel="nofollow">"<em>The
simple configuration file format of /etc/machine-id originates in the
/var/lib/dbus/machine-id file introduced by D-Bus. In fact, this latter
file might be a symlink to /etc/machine-id.</em>"</a> and <a class="urllink" href="https://www.freedesktop.org/software/systemd/man/machine-id.html" rel="nofollow"><em>This
ID uniquely identifies the host. It should be considered
"confidential", and must not be exposed in untrusted environments, in
particular on the network.</em></a> Privacy-conscious people <em>might</em> want to regenerate their machine-ids frequently; a new ID can be generated with
</p><pre> dbus-uuidgen &gt;| /etc/machine-id
</pre><p>or
</p><pre> dbus-uuidgen &gt;| /var/lib/dbus/machine-id
</pre>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Troubleshooting</div>
<div class="lastmod">Page last modified on August 12, 2018, at 01:15 PM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -0,0 +1,157 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Artix Wiki | Main / runit</title>
<link rel="stylesheet" href=".print.css" type="text/css">
<!--HTMLHeader--><style type="text/css"><!--
ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
code.escaped { white-space: nowrap; }
.vspace { margin-top:1.33em; }
.indent { margin-left:40px; }
.outdent { margin-left:40px; text-indent:-40px; }
a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
a.createlink { text-decoration:none; position:relative; top:-0.5em;
font-weight:bold; font-size:smaller; border-bottom:none; }
img { border:0px; }
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
.ltr, .ltr * {direction:ltr; unicode-bidi:bidi-override;}
.rtl .indent, .rtl.indent, .rtl .outdent, .rtl.outdent {
margin-left:0; margin-right: 40px;
}
.ltplus{cursor:pointer; opacity:.3; font-weight:bold; padding: 0 .3em;}
.ltplus:hover{ color: white; background: blue; opacity: 1; }.TCprogress {background-color:#5af; min-height:13px; width:13px; color:#fff; margin-left:auto; margin-right:auto;}
table.TotalCounter td {font-size:x-small; text-align:center}.editconflict { color:green;
font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }
table.markup { border:2px dotted #ccf; width:90%; }
td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
table.vert td.markup1 { border-bottom:1px solid #ccf; }
table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
table.markup caption { text-align:left; }
div.faq p, div.faq pre { margin-left:2em; }
div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
div.faqtoc div.faq * { display:none; }
div.faqtoc div.faq p.question
{ display:block; font-weight:normal; margin:0.5em 0 0.5em 20px; line-height:normal; }
div.faqtoc div.faq p.question * { display:inline; }
td.markup1 pre { white-space: pre-wrap; }
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none;}
--></style><link rel="icon" href="https://wiki.artixlinux.org/favicon.ico" type="image/x-icon"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script async="" src="Artix%20Wiki%20-%20Main%20_%20runit_files/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105345407-1', 'auto');
ga('send', 'pageview');
</script> <meta name="robots" content="noindex,nofollow">
<link rel="stylesheet" type="text/css" href="local.css">
</head>
<body>
<div id="printhead">
<h3>From Artix Wiki</h3>
<h1 class="pagename"><a href="https://wiki.artixlinux.org/Main">Main: runit</a></h1>
</div>
<!--PageText-->
<div id="wikitext">
<p class="vspace">runit is a suite of tools which provides an init (PID
1) as well as daemontools-compatible process supervision framework,
along with utilites which streamline creation and maintenance of
services.
</p>
<div class="vspace"></div><h3>Installation</h3>
<p>Install the <code>runit</code> package.
</p>
<div class="vspace"></div><h4>Installation of services</h4>
<p>runit service packages are named <code><em>package_name</em>-runit</code> and, when installed, will be available in <code>/etc/runit/sv</code>.
</p>
<div class="vspace"></div><h3>Programs</h3>
<p>Runit has several programs, but usually you will only interact directly with one program only.
</p>
<div class="vspace"></div><ul><li><code>sv</code> - used for controlling services, getting status of services, and dependency checking.
</li><li><code>chpst</code> - control of a process environment,
including memory caps, limits on cores, data segments, environments,
user/group privileges, and more.
</li><li><code>runsv</code> - supervises a process, and optionally a log service for that process.
</li><li><code>svlogd</code> - a simple but powerful logger, includes
auto-rotation based on different methods (time, size, etc),
post-processing, pattern matching, and socket (remote logging) options.
Say goodbye to logrotate and the need to stop your services to rotate
logs.
</li><li><code>runsvchdir</code> - changes service levels (runlevels, see below)
</li><li><code>runsvdir</code> - starts a supervision tree
</li><li><code>runit-init</code> - PID 1, does almost nothing besides being the init
</li></ul><div class="vspace"></div><h3>Files</h3>
<p>There are several files that will be installed by <code>runit</code>.
</p>
<div class="vspace"></div><ul><li><code>/etc/runit/1</code> - stage 1, systems one-time initialization tasks
</li><li><code>/etc/runit/2</code> - stage 2, Normally runs <code>runsvdir</code>, should not return until the system is going to halt or reboot.
</li><li><code>/etc/runit/3</code> - stage 3, systems shutdown tasks
</li><li><code>/etc/runit/ctrlaltdel</code> - Runit will execute this when receiving a <code>SIGINT</code> signal
</li><li><code>/etc/runit/runsvdir/*</code> - Runlevels
</li><li><code>/etc/runit/sv/*</code> - directory containing subdirectories of available service files
</li><li><code>/run/runit/service</code> - always symlinked to active runlevel, <code>sv</code> will search for running service here
</li></ul><p class="vspace">However, since <code>runit</code> itself depends on <code>runit-rc</code>, there will be several extra rc files installed, most contained in <code>/etc/rc</code> and <code>/usr/lib/rc</code>.
</p>
<div class="vspace"></div><h3>Basic usage</h3>
<p>Unlike other distros using runit, Artix doesnt store its service directory in <code>/var/service</code> or <code>/service</code>, but in <code>/run/runit/service</code> instead.
</p>
<div class="vspace"></div><ul><li>Enable service (in runlevel <em>default</em>)<code># ln -s /etc/runit/sv/<em>service_name</em> /run/runit/service</code>
</li><li>Disable service <code> # rm /run/runit/service/<em>service_name</em></code>
</li><li>Stop immediately <code> # sv down <em>service_name</em></code> or <code> # sv stop <em>service_name</em></code>
</li><li>Start (if not running) <code> # sv up <em>service_name</em></code> or <code> # sv restart <em>service_name</em></code>
</li><li>Restart <code> # sv restart <em>service_name</em></code>
</li><li>Reload <code> # sv restart <em>service_name</em></code>
</li><li>Status check <code> # sv status <em>service_name</em></code>
</li><li>Switch runlevels (this will stop all services that are currently running and will start all services in the new runlevel) <code> # runsvchdir <em>runlevel</em></code>
</li></ul><div class="vspace"></div><h3>Runlevel</h3>
<p>By default, runit has 2 runlevels, <code>default</code> and <code>single</code>. You can make your own runlevels just by creating a new folder in <code>/etc/runit/runsvdir/</code> and symlinking your desired service to that runlevel.
</p><pre> ln -s /etc/runit/sv/service /etc/runit/runsvdir/<em>runlevel</em>@@
</pre><div class="vspace"></div><h3>Service directory structure</h3>
<p>This is a tree of a complete service directory structure (aka <code>/etc/runit/sv/<em>servicedir</em></code>), in some run scripts, typically only <code>run</code> will be available as usually it's the only file needed.
</p>
<div class="vspace"></div><pre> servicedir
├── run (755)
├── check (755)
├── conf (644)
├── finish (755)
└── log (directory)
&nbsp;&nbsp; ├── config (644)
&nbsp; &nbsp; └── run (755)
</pre><p class="vspace">A runit (or any daemontools-compatible) run script service directory usually contains only one executable file, <code>run</code>, which runs process in the <strong>foreground</strong>. Processes that run in the background cannot be supervised by runit.
</p>
<p class="vspace">If a service directory contains another directory named <code>log</code>, the output of the <code>run</code> process in the service directory will be piped to the input of the <code>run</code> process in the log directory. If the log service uses <code>svlogd</code>, it may be configured by using the file <code>config</code>. How <code>svlogd</code> can be configured is explained in the <code>svlogd(1)</code> manpage.
</p>
<p class="vspace">A run script may also contain executables like <code>finish</code> and <code>check</code>. <code>finish</code> will be executed when a service is stopped, and <code>check</code> will be executed (if exists) by <code>sv check</code> or <code>sv status</code>.
</p>
<p class="vspace">A run script may also contain a <code>conf</code> file (which is not executable) that modifies the variables available to the script.
</p>
<div class="vspace"></div><h3>Service dependencies</h3>
<p>Some services may depend on other services. For example, <code>NetworkManager</code> depends on <code>dbus</code>. To ensure that required dependencies are satisfied, check the service's <code>run</code> file. For example, for NetworkManager:
</p>
<div class="vspace"></div><pre> # /etc/runit/sv/NetworkManager/run
sv check dbus &gt;/dev/null || exit 1
</pre><p class="vspace">This means you have to enable <code>dbus</code> for NetworkManager to start.
</p>
<div class="vspace"></div><h3>See also</h3>
<ul><li><a class="urllink" href="http://smarden.org/runit" rel="nofollow">http://smarden.org/runit</a> - Official runit documentation
</li><li><a class="urllink" href="https://voidlinux.eu/wiki/Runit" rel="nofollow">https://voidlinux.eu/wiki/Runit</a> - Void Linux wiki on runit
</li></ul>
</div>
<div id="printfoot">
<div class="from">Retrieved from https://wiki.artixlinux.org/Main/Runit</div>
<div class="lastmod">Page last modified on June 21, 2018, at 05:32 AM</div></div>
<!--HTMLFooter-->
</body><div id="simple-translate-button"></div><div id="simple-translate-panel"><p>...</p></div></html>

View File

@@ -1,17 +1,20 @@
################ install ################
# default displaymanager: none
# supported; lightdm, sddm, gdm, lxdm, mdm
# supported: lightdm, sddm, gdm, lxdm, mdm
displaymanager="sddm"
# Set to false to disable autologin in the livecd
# autologin="true"
# service runlevels
# services=('acpid' 'bluetooth' 'cronie' 'cupsd' 'dbus' 'syslog-ng' 'NetworkManager')
# start services
# services=('acpid' 'bluetooth' 'cronie' 'cupsd' 'syslog-ng' 'NetworkManager')
# unset defaults to given values
# addgroups="video,power,storage,optical,network,lp,scanner,wheel,users"
# default group membership
# addgroups="video,power,storage,optical,network,lp,scanner,wheel,users,log"
# calamares netgroups
# netgroups_url="https://raw.githubusercontent.com/artix-linux/netgroups/master"
################# live-session #################