- Based on https://gist.github.com/mdziekon/221bdb597cf32b46c50ffab96dbec08a
- Installation date: 16-08-2019
- Additional notes based on my own experience
- EFI boot
- Ubuntu 19.04 -> 21.04
- This should work on any computer. Only the
RAID > AHCI
change described below and the device name for the nvme ssd drive are specific to this laptop. - The process describes a completely fresh installation with complete repartitioning, however it should work fine when Windows is already installed (eg. brand new machine with Windows preinstalled) as long as Windows already boots with EFI.
- The process was conducted on Dell's XPS 15 9560 (2017) with specs:
- CPU: i7-7700HQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########### | |
# Backend # | |
########### | |
# Dev env base container | |
FROM phpdockerio/php73-fpm:latest AS backend-dev | |
WORKDIR "/application" | |
# Fix debconf warnings upon build | |
ARG DEBIAN_FRONTEND=noninteractive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-06-19 17:37:38 - [sway/input/switch.c:38] 0:5:Lid_Switch: type 1 state 1 | |
2019-06-19 17:37:38 - [types/wlr_surface.c:609] New wlr_surface 0x56004c58bb40 (res 0x56004c3c7c20) | |
2019-06-19 17:37:38 - [types/wlr_surface.c:609] New wlr_surface 0x56004c5b7120 (res 0x56004c1e9ab0) | |
2019-06-19 17:37:38 - [types/wlr_layer_shell_v1.c:388] new layer_surface 0x56004c682ad0 (res 0x56004c3d3e90) | |
2019-06-19 17:37:38 - [sway/desktop/layer_shell.c:368] new layer surface: namespace lockscreen layer 3 anchor 3 size 0x0 margin 0,0,0,0 | |
2019-06-19 17:37:38 - [sway/desktop/layer_shell.c:314] Layer surface destroyed (lockscreen) | |
Segmentation fault (core dumped) | |
2019-06-19 17:37:38 - [sway/tree/arrange.c:190] Usable area for ws: 1920x1045@0,35 | |
2019-06-19 17:37:38 - [sway/tree/arrange.c:221] Arranging workspace '3' at 0.000000, 35.000000 | |
2019-06-19 17:37:38 - [sway/desktop/transaction.c:412] Transaction 0x56004c4e6360 committing with 4 instructions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bt full | |
#0 0x00007ff1f521ec00 in xkb_state_layout_index_is_active () | |
from /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 | |
No symbol table info available. | |
#1 0x00005605eaa7890d in keyboard_modifiers () | |
No symbol table info available. | |
#2 0x00007ff1f43f181e in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 | |
No symbol table info available. | |
#3 0x00007ff1f43f11ef in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 | |
No symbol table info available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 0x0000556fe10a9047 in std::__remove_if<__gnu_cxx::__normal_iterator<std::unique_ptr<waybar::waybar_output>*, std::vector<std::unique_ptr<waybar::waybar_output> > >, __gnu_cxx::__ops::_Iter_pred<waybar::Client::handleMonitorRemoved(Glib::RefPtr<Gdk::Monitor>)::<lambda(const auto:2&)> > > (__pred=..., __last=std::unique_ptr<waybar::waybar_output> = {get() = 0x0}, __first= | |
std::unique_ptr<waybar::waybar_output> = {get() = 0x0}) at /usr/include/c++/9/bits/unique_ptr.h:352 | |
__result = std::unique_ptr<waybar::waybar_output> = {get() = 0x556fe16aa5e0} | |
__result = <optimised out> | |
#1 std::remove_if<__gnu_cxx::__normal_iterator<std::unique_ptr<waybar::waybar_output>*, std::vector<std::unique_ptr<waybar::waybar_output> > >, waybar::Client::handleMonitorRemoved(Glib::RefPtr<Gdk::Monitor>)::<lambda(const auto:2&)> > (__pred=..., __last=..., __first=...) at /usr/include/c++/9/bits/stl_algo.h:939 | |
No locals. | |
#2 waybar::Client::handleMonitorRemoved (this=<optimised out>, monitor=...) at ../src/client.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Swytch is a script providing a window switcher for sway using rofi, awk and jq. | |
# The script is based on: | |
# https://www.reddit.com/r/swaywm/comments/aolf3u/quick_script_for_rofi_alttabbing_window_switcher/ | |
# Copyright (C) 2019 Björn Sonnenschein | |
# | |
# 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 3 of the License, or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ swaymsg -t get_outputs Thu 02 Apr 2020 11:03:11 BST | |
Output eDP-1 'Sharp Corporation 0x1476 0x00000000' (focused) | |
Current mode: 3840x2160 @ 59.997002 Hz | |
Position: 0,1081 | |
Scale factor: 2.000000 | |
Scale filter: nearest | |
Subpixel hinting: unknown | |
Transform: normal | |
Workspace: 2 | |
Max render time: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Make sure you run this in the mysql container | |
RETRIES=5 | |
echo "Waiting for mysql" | |
until mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" "${MYSQL_DATABASE}" -e "select 1" &> /dev/null || [ $RETRIES -eq 0 ] | |
do | |
echo "Waiting for mysql server, $((RETRIES--)) remaining attempts..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Found here https://askubuntu.com/questions/1029562/move-snap-packages-to-another-location-directory | |
############################################################################## | |
# Take Care this section may break your System !!! | |
############################################################################## | |
##Move snap folder to Home instead of root. | |
#Create the directory : you can change the location | |
mkdir -p /${NEW_LOCATION}/snapd |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:00:00.000 [INFO] [sway/main.c:310] Sway version 1.6-e76e13ef (Oct 26 2021, branch 'HEAD') | |
00:00:00.000 [INFO] [sway/main.c:311] wlroots version 0.15.0 | |
00:00:00.001 [INFO] [sway/main.c:118] Linux luis-XPS-15-9560 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | |
00:00:00.001 [INFO] [sway/main.c:134] Contents of /etc/lsb-release: | |
00:00:00.001 [INFO] [sway/main.c:118] DISTRIB_ID=Ubuntu | |
00:00:00.001 [INFO] [sway/main.c:118] DISTRIB_RELEASE=21.10 | |
00:00:00.001 [INFO] [sway/main.c:118] DISTRIB_CODENAME=impish | |
00:00:00.001 [INFO] [sway/main.c:118] DISTRIB_DESCRIPTION="Ubuntu 21.10" | |
00:00:00.001 [INFO] [sway/main.c:134] Contents of /etc/os-release: | |
00:00:00.001 [INFO] [sway/main.c:118] PRETTY_NAME="Ubuntu 21.10" |