Skip to content

Commit 2b3bc90

Browse files
author
Erik H
committed
Add basic profile. Build now includes a custom package with settings for libinput.
1 parent c112e4e commit 2b3bc90

27 files changed

+587
-2
lines changed

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# LinuxirE
2-
This is my personal preference of Debian (influenced by the ASUS UX32LN laptop that I'm currently on). It a work in progress and it is mostly for my private use. Though, if it can help anybody I'll be very happy.
2+
This is my personal blend of Debian (with hardware support for the ASUS UX32LN laptop that I'm currently on). It is a work in progress and it is mostly for my private use. Though, if it can help anybody I'll be very happy.
33

44
## About
5-
This repo contains only the configuration (recepie) files for brewing the install media using [Simple-CCD](https://wiki.debian.org/Simple-CDD).
5+
This repo contains only the configuration (recepie) files for brewing the install media using [Simple-CDD](https://wiki.debian.org/Simple-CDD).
6+
7+
## Usage
8+
In the project root folder run:
9+
10+
```build-simple-cdd --conf profiles/UX32LN.conf```
11+
12+
This generates an ISO-image that may be found in the ```image``` folder. Install as normal.
13+
3.4 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Configuration file for libinput-gestures.
2+
#
3+
# The default configuration file exists at /etc/libinput-gestures.conf
4+
# but a user can create a personal custom configuration file at
5+
# ~/.config/libinput-gestures.conf.
6+
#
7+
# Lines starting with '#' and blank lines are ignored. Currently
8+
# "gesture" and "device" configuration keywords are supported as
9+
# described below. The keyword can optionally be appended with a ":" (to
10+
# maintain compatibility with original format configuration files).
11+
#
12+
# Each gesture line has 3 [or 4] arguments:
13+
#
14+
# action motion [finger_count] command
15+
#
16+
# where action and motion is either:
17+
# swipe up
18+
# swipe down
19+
# swipe left
20+
# swipe right
21+
# pinch in
22+
# pinch out
23+
#
24+
# command is the remainder of the line and is any valid shell command +
25+
# arguments.
26+
#
27+
# finger_count is a single numeric digit and is optional (and is
28+
# typically 3 or 4). If specified then the command is executed when
29+
# exactly that number of fingers is used in the gesture. If not
30+
# specified then the command is executed when that gesture is executed
31+
# with any number of fingers. Gesture lines specified with finger_count
32+
# have priority over the same gesture specified without any
33+
# finger_count.
34+
#
35+
# Typically command will be xdotool, or wmctrl. See "man xdotool" for
36+
# the many things you can action with that tool. Note that unfortunately
37+
# xdotool does not work with native Wayland clients.
38+
#
39+
# Note the default is an "internal" command that uses wmctrl to switch
40+
# workspaces and, unlike xdotool, works on both Xorg and Wayland (via
41+
# XWayland). It also can be configured for vertical and horizontal
42+
# switching over tabular workspaces, as per the example below. You can
43+
# also add "-w" to the internal command to allow wrapping workspaces.
44+
#
45+
# I've edited these four following rows 2017-11-18 //Erix
46+
47+
# Move to next workspace (works for GNOME/KDE/etc on Wayland and Xorg)
48+
#gesture swipe up internal ws_up
49+
gesture swipe left 4 xdotool key ctrl+alt+Left
50+
51+
# Move to prev workspace (works for GNOME/KDE/etc on Wayland and Xorg)
52+
#gesture swipe down _internal ws_down
53+
gesture swipe right 4 xdotool key ctrl+alt+Right
54+
55+
# Browser go forward (works only for Xorg, and Xwayland clients)
56+
gesture swipe left 3 xdotool key alt+Left
57+
58+
# Browser go back (works only for Xorg, and Xwayland clients)
59+
gesture swipe right 3 xdotool key alt+Right
60+
61+
# Example of 8 static workspaces, e.g. using KDE virtual-desktops,
62+
# arranged in 2 rows of 4 across using swipe up/down/left/right to
63+
# navigate in fixed planes. Must match how you have configured your
64+
# virtual desktops.
65+
#gesture swipe up _internal --col=2 ws_up
66+
#gesture swipe down _internal --col=2 ws_down
67+
#gesture swipe left _internal --row=4 ws_up
68+
#gesture swipe right _internal --row=4 ws_down
69+
70+
# GNOME SHELL open/close overview (works for GNOME on Wayland and Xorg)
71+
gesture pinch in dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'
72+
73+
gesture pinch out dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'
74+
75+
# This application normally determines your touchpad device
76+
# automatically. Some users may have multiple touchpads but by default
77+
# we use only the first one found. However, you can choose to specify
78+
# the explicit device name to use. Run libinput-list-devices to work out
79+
# the name of your device (from the "Device:" field). Then add a device
80+
# line specifying that name, e.g:
81+
#
82+
#device DLL0665:01 06CB:76AD Touchpad
83+
#
84+
# Or you can choose to use ALL touchpad devices by setting the device
85+
# name to "all". This reduces performance slightly so only set this if
86+
# you need to.
87+
#
88+
#device all
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
erix-preferences (0.0.1) unstable; urgency=medium
2+
3+
* Initial Release.
4+
5+
-- Erik Halvarsson <erik@debBOX> Thu, 07 Feb 2019 11:02:43 +0100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Source: erix-preferences
2+
Section: unknown
3+
Priority: optional
4+
Maintainer: Erik Halvarsson <erik@debBOX>
5+
Build-Depends: debhelper (>= 9)
6+
Standards-Version: 3.9.8
7+
Homepage: <insert the upstream URL, if relevant>
8+
#Vcs-Git: https://anonscm.debian.org/collab-maint/erix-preferences.git
9+
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/erix-preferences.git
10+
11+
Package: erix-preferences
12+
Architecture: all
13+
Depends: ${misc:Depends}
14+
Description: <insert up to 60 chars description>
15+
<insert long description, indented with spaces>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: erix-preferences
3+
Source: <url://example.com>
4+
5+
Files: *
6+
Copyright: <years> <put author's name and email here>
7+
<years> <likewise for another author>
8+
License: GPL-3.0+
9+
10+
Files: debian/*
11+
Copyright: 2019 Erik Halvarsson <erik@debBOX>
12+
License: GPL-3.0+
13+
14+
License: GPL-3.0+
15+
This program is free software: you can redistribute it and/or modify
16+
it under the terms of the GNU General Public License as published by
17+
the Free Software Foundation, either version 3 of the License, or
18+
(at your option) any later version.
19+
.
20+
This package is distributed in the hope that it will be useful,
21+
but WITHOUT ANY WARRANTY; without even the implied warranty of
22+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23+
GNU General Public License for more details.
24+
.
25+
You should have received a copy of the GNU General Public License
26+
along with this program. If not, see <https://www.gnu.org/licenses/>.
27+
.
28+
On Debian systems, the complete text of the GNU General
29+
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
30+
31+
# Please also look if there are files or directories which have a
32+
# different copyright/license attached and list them here.
33+
# Please avoid picking licenses with terms that are more restrictive than the
34+
# packaged work, as it may make Debian's contributions unacceptable upstream.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
erix-preferences
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
README
2+
README.source
3+
README.Debian
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
dh_update_autotools_config
2+
dh_auto_configure
3+
dh_auto_build
4+
dh_auto_test
5+
dh_prep
6+
dh_auto_install
7+
dh_install
8+
dh_installdocs
9+
dh_installchangelogs
10+
dh_perl
11+
dh_link
12+
dh_strip_nondeterminism
13+
dh_compress
14+
dh_fixperms
15+
dh_installdeb
16+
dh_gencontrol
17+
dh_md5sums
18+
dh_builddeb
19+
dh_builddeb
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
misc:Depends=
2+
misc:Pre-Depends=
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/etc/skel/.config/libinput-gestures.conf
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Package: erix-preferences
2+
Version: 0.0.1
3+
Architecture: all
4+
Maintainer: Erik Halvarsson <erik@debBOX>
5+
Installed-Size: 17
6+
Section: unknown
7+
Priority: optional
8+
Homepage: <insert the upstream URL, if relevant>
9+
Description: <insert up to 60 chars description>
10+
<insert long description, indented with spaces>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
5a4cfa36f893c6cfb4fcff1437b32ae0 usr/share/doc/erix-preferences/changelog.gz
2+
439020081a97c0f04fee4a4637decece usr/share/doc/erix-preferences/copyright
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Configuration file for libinput-gestures.
2+
#
3+
# The default configuration file exists at /etc/libinput-gestures.conf
4+
# but a user can create a personal custom configuration file at
5+
# ~/.config/libinput-gestures.conf.
6+
#
7+
# Lines starting with '#' and blank lines are ignored. Currently
8+
# "gesture" and "device" configuration keywords are supported as
9+
# described below. The keyword can optionally be appended with a ":" (to
10+
# maintain compatibility with original format configuration files).
11+
#
12+
# Each gesture line has 3 [or 4] arguments:
13+
#
14+
# action motion [finger_count] command
15+
#
16+
# where action and motion is either:
17+
# swipe up
18+
# swipe down
19+
# swipe left
20+
# swipe right
21+
# pinch in
22+
# pinch out
23+
#
24+
# command is the remainder of the line and is any valid shell command +
25+
# arguments.
26+
#
27+
# finger_count is a single numeric digit and is optional (and is
28+
# typically 3 or 4). If specified then the command is executed when
29+
# exactly that number of fingers is used in the gesture. If not
30+
# specified then the command is executed when that gesture is executed
31+
# with any number of fingers. Gesture lines specified with finger_count
32+
# have priority over the same gesture specified without any
33+
# finger_count.
34+
#
35+
# Typically command will be xdotool, or wmctrl. See "man xdotool" for
36+
# the many things you can action with that tool. Note that unfortunately
37+
# xdotool does not work with native Wayland clients.
38+
#
39+
# Note the default is an "internal" command that uses wmctrl to switch
40+
# workspaces and, unlike xdotool, works on both Xorg and Wayland (via
41+
# XWayland). It also can be configured for vertical and horizontal
42+
# switching over tabular workspaces, as per the example below. You can
43+
# also add "-w" to the internal command to allow wrapping workspaces.
44+
#
45+
# I've edited these four following rows 2017-11-18 //Erix
46+
47+
# Move to next workspace (works for GNOME/KDE/etc on Wayland and Xorg)
48+
#gesture swipe up internal ws_up
49+
gesture swipe left 4 xdotool key ctrl+alt+Left
50+
51+
# Move to prev workspace (works for GNOME/KDE/etc on Wayland and Xorg)
52+
#gesture swipe down _internal ws_down
53+
gesture swipe right 4 xdotool key ctrl+alt+Right
54+
55+
# Browser go forward (works only for Xorg, and Xwayland clients)
56+
gesture swipe left 3 xdotool key alt+Left
57+
58+
# Browser go back (works only for Xorg, and Xwayland clients)
59+
gesture swipe right 3 xdotool key alt+Right
60+
61+
# Example of 8 static workspaces, e.g. using KDE virtual-desktops,
62+
# arranged in 2 rows of 4 across using swipe up/down/left/right to
63+
# navigate in fixed planes. Must match how you have configured your
64+
# virtual desktops.
65+
#gesture swipe up _internal --col=2 ws_up
66+
#gesture swipe down _internal --col=2 ws_down
67+
#gesture swipe left _internal --row=4 ws_up
68+
#gesture swipe right _internal --row=4 ws_down
69+
70+
# GNOME SHELL open/close overview (works for GNOME on Wayland and Xorg)
71+
gesture pinch in dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'
72+
73+
gesture pinch out dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'
74+
75+
# This application normally determines your touchpad device
76+
# automatically. Some users may have multiple touchpads but by default
77+
# we use only the first one found. However, you can choose to specify
78+
# the explicit device name to use. Run libinput-list-devices to work out
79+
# the name of your device (from the "Device:" field). Then add a device
80+
# line specifying that name, e.g:
81+
#
82+
#device DLL0665:01 06CB:76AD Touchpad
83+
#
84+
# Or you can choose to use ALL touchpad devices by setting the device
85+
# name to "all". This reduces performance slightly so only set this if
86+
# you need to.
87+
#
88+
#device all
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: erix-preferences
3+
Source: <url://example.com>
4+
5+
Files: *
6+
Copyright: <years> <put author's name and email here>
7+
<years> <likewise for another author>
8+
License: GPL-3.0+
9+
10+
Files: debian/*
11+
Copyright: 2019 Erik Halvarsson <erik@debBOX>
12+
License: GPL-3.0+
13+
14+
License: GPL-3.0+
15+
This program is free software: you can redistribute it and/or modify
16+
it under the terms of the GNU General Public License as published by
17+
the Free Software Foundation, either version 3 of the License, or
18+
(at your option) any later version.
19+
.
20+
This package is distributed in the hope that it will be useful,
21+
but WITHOUT ANY WARRANTY; without even the implied warranty of
22+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23+
GNU General Public License for more details.
24+
.
25+
You should have received a copy of the GNU General Public License
26+
along with this program. If not, see <https://www.gnu.org/licenses/>.
27+
.
28+
On Debian systems, the complete text of the GNU General
29+
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
30+
31+
# Please also look if there are files or directories which have a
32+
# different copyright/license attached and list them here.
33+
# Please avoid picking licenses with terms that are more restrictive than the
34+
# packaged work, as it may make Debian's contributions unacceptable upstream.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
erix-preferences_0.0.1_all.deb unknown optional
2+
erix-preferences_0.0.1_amd64.buildinfo unknown optional
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
data/* /
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/make -f
2+
# See debhelper(7) (uncomment to enable)
3+
# output every command that modifies files on the build system.
4+
#export DH_VERBOSE = 1
5+
6+
7+
# see FEATURE AREAS in dpkg-buildflags(1)
8+
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9+
10+
# see ENVIRONMENT in dpkg-buildflags(1)
11+
# package maintainers to append CFLAGS
12+
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
13+
# package maintainers to append LDFLAGS
14+
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
15+
16+
17+
%:
18+
dh $@
19+
20+
21+
# dh_make generated override targets
22+
# This is example for Cmake (See https://bugs.debian.org/641051 )
23+
#override_dh_auto_configure:
24+
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
25+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

profiles/UX32LN.conf

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Version of Debian.
2+
dist="stable"
3+
# We want contrib and non-free repos.
4+
export CONTRIB=1
5+
export NONFREE=1
6+
mirror_components="main contrib non-free"
7+
# Select profile.
8+
profiles="UX32LN"
9+
auto_profiles="UX32LN"
10+
# Where we at?
11+
locale=en_EN
12+
# Keyboard layout
13+
keyboard=sv_SE
14+
export KERNEL_PARAMS="preseed/file=/cdrom/simple-cdd/UX32LN.preseed video.use_native_backlight=1 acpi_osi="
15+
16+
export ARCH="amd64"
17+
export DISKINFO="LinuxirE $(date --utc +%Y%m%d)"
18+
#export SPLASHPNG="`pwd`/extras/splash.png"
19+
20+
# extra files
21+
all_extras=""
22+
23+
#extra packages
24+
local_packages="`pwd`/packages/erix-preferences_0.0.1_all.deb"
25+
26+
## qemu options
27+
# size of qemu hard disk image to create
28+
hd_size="6G"
29+
# memory available within qemu, in MB
30+
mem=512

profiles/UX32LN.description

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Install packages for the hardware found on ASUS UX32LN.
2+

0 commit comments

Comments
 (0)