How to debug any (non-Qt) executable with QtCreator
- Create .gdbinit in the same directory as executable, with the following contents:
set breakpoint pending on b main
- Run this:
You need to do this if you need the freshest version of Mixxx. However, it might have bugs. Consider installing the stable version from the repository.
First, clone the repo:
git clone https://github.com/mixxxdj/mixxx.git cd mixxx
Next, install all of the dependencies detailed at:
I've broken the clips of my Thinkpad's aftermarket battery.
These clips hold the battery in the laptop. Without those, it can slide out, so the battery is not much useful. They were very weak indeed (probabily because the battery is not an original one, but I don't know because this is the only one I disassembled).
I've fixed it with some stick-on velcro (that has glue on its other side).
This should be very cheap, and you are likely to find it in the nearest fabric store.
The velcro seems to keep the battery in the laptop quite stable.
I made this hack as the built-in battery module failed to display the battery status correctly after waking up from suspend.
[module/custom-battery] type = custom/script exec = acpi -b | cut -d' ' -f3-5 | sed 's/Unknown/Charging/g' | sed 's/^/ /' tail = true interval = 30
|% Copyright 2019 Andras Retzler <email@example.com>|
|% Permission is hereby granted, free of charge, to any person obtaining a copy of this software|
|% and associated documentation files (the "Software"), to deal in the Software without restriction,|
|% including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,|
|%and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,|
|% subject to the following conditions:|
|% The above copyright notice and this permission notice shall be included in all copies or substantial|
|% portions of the Software.|