Skip to content

Instantly share code, notes, and snippets.

@yoyosan
Last active October 23, 2023 21:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoyosan/88f2d049604392edad651d3f7b34ed9b to your computer and use it in GitHub Desktop.
Save yoyosan/88f2d049604392edad651d3f7b34ed9b to your computer and use it in GitHub Desktop.
Install xprintidle on Fedora 25+

In order to use Safeeyes with the Smart Pause plugin you need install xprintidle. This process wasn't that simple for me so I thought about writing it down:

cd /tmp
git clone https://github.com/lucianposton/xprintidle
cd xprintidle
sudo dnf install libX11-devel libXScrnSaver-devel
sudo ln -s /usr/lib64/libXss.so.1.0.0 /usr/lib64/libXss.so
./configure
./make
sudo make install

That's all.

Enjoy folks!

@szszszsz
Copy link

szszszsz commented May 1, 2021

Looks like the version for the automake is hardcoded in the original setup scripts. This is what I needed to make it work on Fedora 32 with automake 1.16 before calling the final make:

sudo ln -s /usr/bin/aclocal /usr/local/bin/aclocal-1.15
sudo ln -s /usr/bin/automake /usr/local/bin/automake-1.15
Original error message
sz@stumpy ~/s/xprintidle (master)> make                                                        
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/sz/software/xprintidle/missing aclocal-1.15
/home/sz/software/xprintidle/missing: line 81: aclocal-1.15: command not found                 
WARNING: 'aclocal-1.15' is missing on your system.                                             
         You should only need it if you modified 'acinclude.m4' or                             
         'configure.ac' or m4 files included by 'configure.ac'.                                
         The 'aclocal' program is part of the GNU Automake package:                            
         <http://www.gnu.org/software/automake>                                                
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:                       
         <http://www.gnu.org/software/autoconf>                                                
         <http://www.gnu.org/software/m4/>                                                     
         <http://www.perl.org/>                                                                
make: *** [Makefile:306: aclocal.m4] Error 127                                                 

Edit: btw there should be make there at the end, not ./make

@pmorch
Copy link

pmorch commented Oct 23, 2023

On a completely new Fedora installation:

$ cat /etc/fedora-release 
Fedora release 38 (Thirty Eight)
  • I also needed the @development-tools install package
  • I did not need ln -s for libXss.so, aclocal or automake
  • make, not ./make

This worked for me:

git clone https://github.com/lucianposton/xprintidle
cd xprintidle
sudo dnf @development-tools install libX11-devel libXScrnSaver-devel
./configure
make
sudo make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment