Skip to content

Instantly share code, notes, and snippets.

@tuby2017
Created April 25, 2018 05:32
Show Gist options
  • Save tuby2017/00dc637f89828b02730f6d3f875bfc4d to your computer and use it in GitHub Desktop.
Save tuby2017/00dc637f89828b02730f6d3f875bfc4d to your computer and use it in GitHub Desktop.
arch avidemux post-install fix permission error
alias ql='pacman -Ql'
~ $ ls -l xnew
-rw-r--r-- 1 s s 315 Mar 24 15:30 xnew
~ $ ql qt5ct|grep t.so
qt5ct /usr/lib/qt/plugins/platformthemes/libqt5ct.so
~ $ ls -l `ql qt5ct|grep t.so|cut -d' ' -f2`
-rwxr-xr-x 1 root root 254920 Feb 4 13:25 /usr/lib/qt/plugins/platformthemes/libqt5ct.so
~ $ ls -l `ql avidemux-cli|grep ADM6avc`
-rwx---r-x 1 root root 7266632 Apr 6 14:30 /usr/lib/libADM6avcodec.so.57
~ $ stat --format '%a' xnew
644
qt5ct 755
avidemux 705
chmod 755 filename
chmod `ql avidemux-cli|grep ADM6|cut -d' ' -f2`
QT_AUTO_SCREEN_SCALE_FACTOR=[0|1] avidemux3_qt5
QT_SCALE_FACTOR=[numeric] avidemux3_qt5
QT_SCALE_FACTOR=0.9 avidemux3_qt5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment