Skip to content

Instantly share code, notes, and snippets.

@ikidd
ikidd / source_select.xml
Last active Jan 18, 2021
Original style source select for Seren, pre-2.X
View source_select.xml
<window type="dialog">
<defaultcontrol>2</defaultcontrol>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<!-- Background Texture -->
<control type="image">
<texture>$INFO[Window().Property(texture.white)]</texture>
View nextcloud Upgrade
**Upgrade process**
DO NOT USE WEB-BASED UPGRADE!
- put into Maintenance Mode
`sudo -u http php /usr/share/nginx/nextcloud/occ maintenance:mode --on`
- stop and/or disable nginx, maybe reboot
`systemctl disable nginx.service`
- unmount nextcloud data folder:
`zfs unmount zstore1/nextcloud_data`
- rename /usr/share/nginx/nextcloud folder to nextcloud.old
`mv nextcloud nextcloud.old`
View application-legacy-messaging-app-.log
file:///usr/share/messaging-app//Messages.qml:118:32: Unable to assign [undefined] to QString
file:///usr/share/messaging-app//Messages.qml:118:32: Unable to assign [undefined] to QString
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read property 'lastItem' of null
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read property 'lastItem' of null
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read property 'lastItem' of null
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read property 'lastItem' of null
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read property 'lastItem' of null
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read property 'lastItem' of null
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read property 'lastItem' of null
file:///usr/share/messaging-app//MessageDelegate.qml:48: TypeError: Cannot read
@ikidd
ikidd / journalctl -b
Last active Jan 1, 2019
4.20 upgrade: multi-user.target booted with lightDM
View journalctl -b
lspci -nn | grep 1022:15d3
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:15d3]
00:01.6 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:15d3]
00:01.7 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:15d3]
lspci -nn | grep 1002:15dd
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c4)
@ikidd
ikidd / journalctl
Created Dec 31, 2018
4.20 failed upgrade
View journalctl
This file has been truncated, but you can view the full file.
-- Logs begin at Thu 2018-09-27 23:58:15 MDT, end at Mon 2018-12-31 16:04:14 MST. --
Dec 31 15:55:34 laptop-arch kernel: Linux version 4.20.0-arch1-1-ARCH (builduser@heftig-29859) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Mon Dec 24 03:00:40 UTC 2018
Dec 31 15:55:34 laptop-arch kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=3abfefbe-fc0f-4f50-99f2-cae2c48c5ee6 rw quiet
Dec 31 15:55:34 laptop-arch kernel: KERNEL supported cpus:
Dec 31 15:55:34 laptop-arch kernel: Intel GenuineIntel
Dec 31 15:55:34 laptop-arch kernel: AMD AuthenticAMD
Dec 31 15:55:34 laptop-arch kernel: Hygon HygonGenuine
Dec 31 15:55:34 laptop-arch kernel: Centaur CentaurHauls
Dec 31 15:55:34 laptop-arch kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
View bluetooth-usb.conf
# use "reset=1" as default, since it should be safe for recent devices and
# solves all kind of problems.
options btusb reset=1
View journalctl -b
# GRUB boot loader configuration
GRUB_DEFAULT="saved"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.si_support=0 amdgpu.si_support=1"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER="false"
View journalctl -xb
-- Logs begin at Fri 2018-09-14 08:04:07 MDT, end at Sun 2018-12-09 01:02:22 MST. --
Dec 09 00:54:31 desktop-arch kernel: microcode: microcode updated early to revision 0x11, date = 2018-05-08
Dec 09 00:54:31 desktop-arch kernel: Linux version 4.19.1-arch1-1-ARCH (builduser@heftig-16768) (gcc version 8.2.1 20180831 (GCC)) #1 SMP PREEMPT Sun Nov 4 16:49:26 UTC 2018
Dec 09 00:54:31 desktop-arch kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f587481a-d9ae-4148-bc5f-13409d6ff8f0 rw quiet splash radeon.si_support=0 amdgpu.si_support=1
Dec 09 00:54:31 desktop-arch kernel: KERNEL supported cpus:
Dec 09 00:54:31 desktop-arch kernel: Intel GenuineIntel
Dec 09 00:54:31 desktop-arch kernel: AMD AuthenticAMD
Dec 09 00:54:31 desktop-arch kernel: Centaur CentaurHauls
Dec 09 00:54:31 desktop-arch kernel: x86/fpu: x87 FPU will use FXSAVE
Dec 09 00:54:31 desktop-arch kernel: BIOS-provided physical RAM map:
@ikidd
ikidd / Someinfo
Last active Dec 6, 2018
NixOS on ZFS: not mounting on reboot
View Someinfo
[root@nixos:~]# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 4.80G 18.3G 96K /rpool
rpool/home 96K 18.3G 96K legacy
rpool/root 4.80G 18.3G 96K none
rpool/root/nixos 4.80G 18.3G 4.80G legacy
[root@nixos:~]# zpool status
pool: rpool
state: ONLINE