mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-11-03 08:53:20 +00:00
Resolve hacks for Fedora 43
This commit is contained in:
20
resolve/.local/bin/resolve-wrapper
Executable file
20
resolve/.local/bin/resolve-wrapper
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
!/usr/bin/env bash
|
||||||
|
LIB="/usr/lib64/libpython3.11.so.1.0"
|
||||||
|
if [[ ! -f "$LIB" ]]; then
|
||||||
|
echo "Missing $LIB – install python3.11-libs" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Force Resolve to use Python 3.11
|
||||||
|
export LD_PRELOAD="$LIB${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||||
|
|
||||||
|
# Use XCB instead of Wayland and disable threaded OpenGL
|
||||||
|
export QT_QPA_PLATFORM=xcb export __GL_THREADED_OPTIMIZATIONS=0
|
||||||
|
|
||||||
|
# HiDPI scaling (change these if you want: e.g. 1.5, 2, 2.5)
|
||||||
|
export QT_AUTO_SCREEN_SCALE_FACTOR=0 export QT_SCALE_FACTOR=2 export QT_DEVICE_PIXEL_RATIO=2
|
||||||
|
|
||||||
|
# Library path
|
||||||
|
export LD_LIBRARY_PATH="/opt/resolve/libs:/usr/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
||||||
|
|
||||||
|
exec /opt/resolve/bin/resolve "$@"
|
||||||
15
resolve/.local/share/applications/com.blackmagicdesign.resolve.desktop
Executable file
15
resolve/.local/share/applications/com.blackmagicdesign.resolve.desktop
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=DaVinci Resolve
|
||||||
|
GenericName=DaVinci Resolve
|
||||||
|
Comment=Revolutionary new tools for editing, visual effects, color correction and professional audio post production, all in a single application!
|
||||||
|
Path=/opt/resolve/
|
||||||
|
#Exec=/opt/resolve/bin/resolve %u
|
||||||
|
Exec=/home/aqua/.local/bin/resolve-wrapper %U
|
||||||
|
TryExec=/home/aqua/.local/bin/resolve-wrapper
|
||||||
|
Terminal=false
|
||||||
|
MimeType=application/x-resolveproj;
|
||||||
|
Icon=/opt/resolve/graphics/DV_Resolve.png
|
||||||
|
StartupNotify=true
|
||||||
|
Name[en_US]=DaVinci Resolve
|
||||||
Reference in New Issue
Block a user