first commit

This commit is contained in:
2026-01-31 01:03:40 +01:00
commit 8ffeb37bd4
31 changed files with 1022 additions and 0 deletions

49
data/99_zzz-portable-efi.in Executable file
View File

@@ -0,0 +1,49 @@
#!/bin/sh
# grub-mkconfig helper script.
#
# Copyright © 2014 Niall Walsh <niallwalsh@celtux.org>
#
# This program is free software; 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.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
set -e
MT_EFI_STANDALONE=""
MT_EFI_PORTABLE_PATH="/boot/efi/EFI/BOOT"
# override tool behaviour through /etc/default/grub2-fll-standalone
if [ -r /etc/default/grub2-portable-efi ]; then
. /etc/default/grub2-portable-efi
fi
patt='[[:space:]]-o[[:space:]]\+/boot/grub/grub.cfg'
# do nothing if disabled or grub-mkconfig is generating /boot/grub/grub.cfg
( [ "${MT_EFI_STANDALONE}" != "disable" ] && \
ps x | grep 'grub-mkconfig[[:space:]]' | grep -q -e "${patt}[[:space:]]" -e "${patt}$" ) || exit
beeb="${MT_EFI_PORTABLE_PATH}"
if [ -e "${beeb}" ]; then
# do not do anything to a beeb we didn't create
[ ! -e "${beeb}/fullstory" ] && exit
else
# create beeb and mark it as ours
mkdir -p "${beeb}"
touch "${beeb}/fullstory"
fi
for platform in i386-efi x86_64-efi ; do
filename="bootx64"
[ "${platform}" = "i386-efi" ] && filename="bootia32"
[ -e /usr/lib/grub/${platform} ] && grub-mkstandalone \
-o ${beeb}/${filename}.efi --compress=xz -O ${platform} \
/boot/grub/grub.cfg=/boot/grub/grub.cfg.new 2>&1 > /dev/null
done

21
data/desktop.map Normal file
View File

@@ -0,0 +1,21 @@
openbox:openbox-session
bspwm:bspwm-session
jwm:jwm
i3:i3
fluxbox:startfluxbox
pekwm:pekwm
plasma:startkde
gnome:gnome-session
xfce:startxfce4
cinnamon:cinnamon-session-cinnamon
mate:mate-session
enlightenment:enlightenment_start
LXDE:lxsession
lxqt:lxqt-session
pantheon:pantheon-session
budgie-desktop:budgie-desktop
deepin:startdde
Lumina-DE:start-lumina-desktop
awesome:awesome
ukui:ukui-session
cutefish-xsession:cutefish-session

View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=disable dpms
Comment=Disable DPMS in Live-Session
Exec=disable-dpms
StartupNotify=false
Terminal=false
Hidden=false

15
data/grub2-portable-efi Normal file
View File

@@ -0,0 +1,15 @@
# Defaults for grub2-portable-efi update-grub helper
# sourced by grub2's update-grub
# installed at /etc/default/grub2-portable-efi by the maintainer scripts
#
# This is a POSIX shell fragment
#
# specify is this should be disabled (set to "disable")
# default:
#MT_EFI_STANDALONE=""
# specify where to install the portable efi
# default: /boot/efi/EFI/BOOT
#MT_EFI_PORTABLE_PATH="/boot/efi/EFI/BOOT"

67
data/kbd-model.map Normal file
View File

@@ -0,0 +1,67 @@
# Copied from systemd-localed
# http://cgit.freedesktop.org/systemd/systemd/log/src/locale/kbd-model-map
# (originally under LGPLv2.1+, used under the LGPL to GPL conversion clause)
# Generated from system-config-keyboard's model list
# consolelayout xlayout xmodel xvariant xoptions
sg ch pc105 de_nodeadkeys terminate:ctrl_alt_bksp
nl nl pc105 - terminate:ctrl_alt_bksp
mk-utf mk,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
trq tr pc105 - terminate:ctrl_alt_bksp
uk gb pc105 - terminate:ctrl_alt_bksp
is-latin1 is pc105 - terminate:ctrl_alt_bksp
de de pc105 - terminate:ctrl_alt_bksp
la-latin1 latam pc105 - terminate:ctrl_alt_bksp
us us pc105+inet - terminate:ctrl_alt_bksp
ko kr pc105 - terminate:ctrl_alt_bksp
ro-std ro pc105 std terminate:ctrl_alt_bksp
de-latin1 de pc105 - terminate:ctrl_alt_bksp
slovene si pc105 - terminate:ctrl_alt_bksp
hu101 hu pc105 qwerty terminate:ctrl_alt_bksp
jp106 jp jp106 - terminate:ctrl_alt_bksp
croat hr pc105 - terminate:ctrl_alt_bksp
it2 it pc105 - terminate:ctrl_alt_bksp
hu hu pc105 - terminate:ctrl_alt_bksp
sr-latin rs pc105 latin terminate:ctrl_alt_bksp
fi fi pc105 - terminate:ctrl_alt_bksp
fr_CH ch pc105 fr terminate:ctrl_alt_bksp
dk-latin1 dk pc105 - terminate:ctrl_alt_bksp
fr fr pc105 - terminate:ctrl_alt_bksp
it it pc105 - terminate:ctrl_alt_bksp
ua-utf ua,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
fr-latin1 fr pc105 - terminate:ctrl_alt_bksp
sg-latin1 ch pc105 de_nodeadkeys terminate:ctrl_alt_bksp
be-latin1 be pc105 - terminate:ctrl_alt_bksp
dk dk pc105 - terminate:ctrl_alt_bksp
fr-pc fr pc105 - terminate:ctrl_alt_bksp
bg_pho-utf8 bg,us pc105 ,phonetic terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
it-ibm it pc105 - terminate:ctrl_alt_bksp
cz-us-qwertz cz,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
br-abnt2 br abnt2 - terminate:ctrl_alt_bksp
ro ro pc105 - terminate:ctrl_alt_bksp
us-acentos us pc105 intl terminate:ctrl_alt_bksp
pt-latin1 pt pc105 - terminate:ctrl_alt_bksp
ro-std-cedilla ro pc105 std_cedilla terminate:ctrl_alt_bksp
tj_alt-UTF8 tj pc105 - terminate:ctrl_alt_bksp
de-latin1-nodeadkeys de pc105 nodeadkeys terminate:ctrl_alt_bksp
no no pc105 - terminate:ctrl_alt_bksp
bg_bds-utf8 bg,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
dvorak us pc105 dvorak terminate:ctrl_alt_bksp
dvorak us pc105 dvorak-alt-intl terminate:ctrl_alt_bksp
ru ru,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
cz-lat2 cz pc105 qwerty terminate:ctrl_alt_bksp
pl2 pl pc105 - terminate:ctrl_alt_bksp
es es pc105 - terminate:ctrl_alt_bksp
ro-cedilla ro pc105 cedilla terminate:ctrl_alt_bksp
ie ie pc105 - terminate:ctrl_alt_bksp
et ee pc105 - terminate:ctrl_alt_bksp
sk-qwerty sk pc105 - terminate:ctrl_alt_bksp,qwerty
fr-latin9 fr pc105 latin9 terminate:ctrl_alt_bksp
fr_CH-latin1 ch pc105 fr terminate:ctrl_alt_bksp
cf ca pc105 - terminate:ctrl_alt_bksp
sv-latin1 se pc105 - terminate:ctrl_alt_bksp
sr-cy rs pc105 - terminate:ctrl_alt_bksp
gr gr,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
by by,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
il il pc105 - terminate:ctrl_alt_bksp
kazakh kz,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
lt lt pc105 - terminate:ctrl_alt_bksp

View File

@@ -0,0 +1,5 @@
[Desktop Entry]
Exec=desktop-items
Name=desktop-items
Comment=Live session desktop items
Type=Application

28
data/live.conf Normal file
View File

@@ -0,0 +1,28 @@
# live session configuration
# autologin
autologin=true
# login shell
login_shell=/bin/bash
# live username
username=manjaro
# live password
password=manjaro
# live group membership
addgroups='video,power,disk,storage,optical,network,lp,scanner,wheel'
# iso name
iso_name=manjaro
# default_desktop_file
default_desktop_file=lxqt
# default_desktop_executable
default_desktop_executable=lxqt-session
# samba workgroup
smb_workgroup=MANJARO

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=pulseaudio-ctl
Comment=Set Volume to 70%
Exec=pulseaudio-ctl-normal
StartupNotify=false
Terminal=false
Hidden=false

23
data/rc/gnupg-mount.in Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/openrc-run
# Copyright 2015 artoo (flower_of_life@gmx.net)
# Distributed under the terms of the GNU General Public License v2
target_dir=/etc/pacman.d/gnupg
description="Temporary ${target_dir} directory"
depend() {
before pacman-init
}
start() {
ebegin "Mounting temporary gnupg directory"
[[ ! -d ${target_dir} ]] && mkdir -p ${target_dir}
mount -t tmpfs -o size=10M,mode=0755 tmpfs ${target_dir}
eend $?
}
stop(){
ebegin "Unmounting temporary gnupg directory"
umount -l ${target_dir}
eend $?
}

16
data/rc/manjaro-live.in Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
description="LiveMedia Config Script"
depend() {
need localmount
}
start() {
ebegin "Starting manjaro live script"
# run the manjaro live script
/usr/bin/manjaro-live
eend $?
}

16
data/rc/mhwd-live-net.in Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
depend() {
need manjaro-live
before xdm
after pacman-init
}
start() {
ebegin "Running mhwd-live script"
# run the mhwd script
/usr/bin/mhwd-live-net &> /dev/null
eend $?
}

18
data/rc/mhwd-live.in Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
#description="Manjaro livecd mhwd-live script"
depend() {
need manjaro-live
before xdm
after pacman-init
}
start() {
ebegin "Running mhwd-live script"
# run the mhwd script
/usr/bin/mhwd-live &> /dev/null
eend $?
}

View File

@@ -0,0 +1,15 @@
#!/usr/bin/openrc-run
# Copyright 2016 artoo (artoo@manjaro.org)
# Distributed under the terms of the GNU General Public License v2
description="Pacman mirror ranking"
depend() {
need net
}
start() {
ebegin "Running mirrors ranking"
/usr/bin/pacman-mirrors -f 5
eend $?
}

15
data/rc/mirrors-live.in Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/openrc-run
# Copyright 2016 artoo (artoo@manjaro.org)
# Distributed under the terms of the GNU General Public License v2
description="Pacman mirror ranking"
depend() {
need net
}
start() {
ebegin "Running mirrors randomizer"
/usr/bin/pacman-mirrors -f 5
eend $?
}

17
data/rc/pacman-init.in Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
description="Pacman initialization script"
depend() {
use net
need haveged gnupg-mount
}
start() {
ebegin "Running pacman initialization"
/usr/bin/pacman-key --init &> /dev/null
/usr/bin/pacman-key --populate archlinux manjaro &> /dev/null
eend $?
}

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Temporary /etc/pacman.d/gnupg directory
[Mount]
What=tmpfs
Where=/etc/pacman.d/gnupg
Type=tmpfs
Options=mode=0755

View File

@@ -0,0 +1,10 @@
[Unit]
Description=LiveMedia Config Script
Before=systemd-user-sessions.service
[Service]
Type=oneshot
ExecStart=/usr/bin/manjaro-live
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=LiveMedia MHWD net Script
Before=systemd-user-sessions.service
[Service]
Type=oneshot
ExecStart=/usr/bin/mhwd-live-net
[Install]
WantedBy=multi-user.target

10
data/sd/mhwd-live.service Normal file
View File

@@ -0,0 +1,10 @@
[Unit]
Description=LiveMedia MHWD Script
Before=systemd-user-sessions.service
[Service]
Type=oneshot
ExecStart=/usr/bin/mhwd-live
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=LiveMedia Pacman mirrors ranking script
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/pacman-mirrors -f 5
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=LiveMedia Pacman mirror ranking script
Before=systemd-user-sessions.service
[Service]
Type=oneshot
ExecStart=/usr/bin/pacman-mirrors -f 5
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Initialize Pacman keyring
Wants=haveged.service
After=haveged.service
Requires=etc-pacman.d-gnupg.mount
After=etc-pacman.d-gnupg.mount
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/pacman-key --init
ExecStart=/usr/bin/pacman-key --populate archlinux manjaro mabox
[Install]
WantedBy=multi-user.target