Skip to content

Instantly share code, notes, and snippets.

@hxss
hxss / config.rasi
Last active November 28, 2017 20:48
configuration {
modi: "drun,run";
theme: "fullscreen";
/*width: 1920;*/
/*height: 100;*/
/*lines: 5;*/
/* columns: 1;*/
/*font: "mono 18";*/
/* bw: 1;*/
/* location: 0;*/
<!-- /etc/thermald/thermal-conf.xml -->
<?xml version="1.0"?>
<ThermalConfiguration>
<Platform>
<Name>Generic X86 Laptop Device</Name>
<ProductName>*</ProductName>
<Preference>QUIET</Preference>
<ThermalSensors>
<ThermalSensor>
@hxss
hxss / debug-70.log
Last active January 14, 2018 23:31
thermal-conf auto
Registering the well-known name (org.freedesktop.thermald)
RequestName returned 1.
Registering it on the D-Bus.
RAPL sysfs present
RAPL base path /sys/class/powercap/intel-rapl/
RAPL domain dir intel-rapl:0
name package-0
RAPL base path /sys/class/powercap/intel-rapl/intel-rapl:0/
RAPL domain dir intel-rapl:0:1
name uncore
<?xml version="1.0"?>
<ThermalConfiguration>
<Platform>
<Name>_TRT export</Name>
<ProductName>80TX </ProductName>
<Preference>QUIET</Preference>
<ThermalSensors>
<ThermalSensor>
<Type>INT3400 Thermal</Type>
<Path>/sys/class/thermal/thermal_zone0/</Path>
### Notify recieved from vivaldi(chromium):
2018-01-29T21:10:05+0500 lenovo dbus-daemon[1049]: [session uid=1000 pid=1049] Activating via systemd: service name='org.freedesktop.Notifications' unit='xfce4-notifyd.service' requested by ':1.166' (uid=1000 pid=5263 comm="/opt/vivaldi/vivaldi-bin --enable-native-gpu-memor")
2018-01-29T21:10:05+0500 lenovo systemd[1034]: Starting XFCE notifications service...
2018-01-29T21:10:05+0500 lenovo dbus-daemon[1049]: [session uid=1000 pid=1049] Successfully activated service 'org.freedesktop.Notifications'
2018-01-29T21:10:05+0500 lenovo systemd[1034]: Started XFCE notifications service.
### Single click on link in notify:
@hxss
hxss / 0.dmesg
Last active January 30, 2018 10:59
# dmesg | grep -i bluetooth
[ 3.885464] Bluetooth: Core ver 2.22
[ 3.885479] Bluetooth: HCI device and connection manager initialized
[ 3.885482] Bluetooth: HCI socket layer initialized
[ 3.885485] Bluetooth: L2CAP socket layer initialized
[ 3.885488] Bluetooth: SCO socket layer initialized
[ 3.901000] Bluetooth: HCI UART driver ver 2.3
[ 3.901002] Bluetooth: HCI UART protocol H4 registered
[ 3.901003] Bluetooth: HCI UART protocol BCSP registered
[ 3.901017] Bluetooth: HCI UART protocol LL registered
@hxss
hxss / fonts.conf
Created February 15, 2018 14:47
fontconfig
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- hxss: -->
<!-- ######################################################### -->
<!-- ######################### MAIN ########################## -->
<!-- ######################################################### -->
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.16.13-2-ARCH] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Scorpio Blue Serial ATA (AF)
Device Model: WDC WD3200BPVT-22JJ5T0
Serial Number: WD-WXR1EB0ZDH64
LU WWN Device Id: 5 0014ee 601b4f0aa
Firmware Version: 01.01A01
User Capacity: 320,072,933,376 bytes [320 GB]
@hxss
hxss / bluetooth.service.chrome.log
Created April 26, 2020 15:26
powerbeats-mpris-avrcp-volume-control
16:46:04 [hxss@lenovo] # sudo jrc -u bluetooth.service -f [~]
[sudo] password for hxss:
-- Logs begin at Thu 2018-11-08 20:47:36 MSK. --
2020-04-26T16:46:01+0300 lenovo bluetoothd[7247]: profiles/audio/a2dp.c:suspend_cfm() Source 0x55ad2b5b3db0: Suspend_Cfm
2020-04-26T16:46:01+0300 lenovo bluetoothd[7247]: profiles/audio/transport.c:media_request_reply() Request Release Reply Success
2020-04-26T16:46:01+0300 lenovo bluetoothd[7247]: profiles/audio/transport.c:media_owner_remove() Owner :1.1778 Request Release
2020-04-26T16:46:01+0300 lenovo bluetoothd[7247]: profiles/audio/a2dp.c:a2dp_sep_unlock() SEP 0x55ad2b5b3db0 unlocked
2020-04-26T16:46:01+0300 lenovo bluetoothd[7247]: profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_4C_6B_E8_0C_A7_40/sep2/fd0: TRANSPORT_STATE_SUSPENDING -> TRANSPORT_STATE_IDLE
2020-04-26T16:46:01+0300 lenovo bluetoothd[7247]: profiles/audio/transport.c:media_t
@hxss
hxss / 10-hdmi-dpi.rules
Last active May 16, 2020 17:33
Linux XFCE scripts for changing xrandr and dpi settings on hdmi toggle
#/etc/udev/rules.d/10-hdmi-dpi.rules
KERNEL=="card0", ACTION=="change", RUN+="/home/hxss/.config/scripts/xorg/hdmi.sh"