LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-18-2018, 11:34 AM   #1
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Redshift 1.12 has a mind of its own


Getting Redshift to work on my normal desktop was relatively unproblematic, but on my laptop it was a whole other matter.

No matter what I tried: putting .desktop files in /etc/xdg/autostart or .config/autostart, putting files into /usr/share/applications from my desktop install, nothing worked. It would run from the terminal but there was no tray icon and it wouldn't autostart. After a bit of digging it seemed that 1.12 was looking in /usr/lib64/python3.6 for the Redshift scripts - but there are none there. This is very strange since the scripts are always installed in /python2.7. On my desktop this is the case too. Copying the redshift_gtk folder to /python3.6 made no difference either. It still failed to load.

In the end I gave up with 1.12 on my laptop and went for version 1.8 which works with Slackware 14.1. After installing it, logging out and in again, Redshift 1.8 works perfectly, tray icon, autostart, no complaints whatsoever. Reinstalling 1.12 fails to work, presumably because Redshift is looking in /python3.6 for files that just aren't there.

This is totally bizarre since my desktop runs 1.12 and the correct files are in /python2.7, but for some reason, on this laptop, Redshift wants to look in /python3.6. I don't understand at all. Any light that could be shed on this would be appreciated, but for now I'm going to put this down to gremlins.

Last edited by Lysander666; 08-18-2018 at 11:39 AM.
 
Old 08-18-2018, 02:35 PM   #2
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Do you have python3 installed on your desktop too, or just the laptop?
 
1 members found this post helpful.
Old 08-18-2018, 03:01 PM   #3
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by montagdude View Post
Do you have python3 installed on your desktop too, or just the laptop?
Python 3 is on both.

Desktop:

Code:
lysander@psychopig-xxxiv:~$ ls /var/log/packages | grep python
dbus-python-1.2.4-x86_64-1
notify-python-0.1.1-x86_64-5
python-2.7.15-x86_64-1_slack14.2
python-evdev-1.0.0-x86_64-1_SBo
python-pillow-3.0.0-x86_64-1
python-setuptools-22.0.5-x86_64-1
python-webencodings-0.5.1-x86_64-1_SBo
python3-3.6.5-x86_64-1_SBo
Very strange.
 
Old 08-18-2018, 04:24 PM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Have you tried communicating any of your redshift issues upstream?

https://github.com/jonls/redshift/issues
 
Old 08-18-2018, 05:43 PM   #5
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
You don't say if you're building packages on one system and copying them around. You don't say what order you built and installed python3, pyxdg and redshift. This is the root of your problem.

If a python package is built when python3 is already installed, it will need python3 versions of its python dependencies (in this case pyxdg).

Now that you have python3 on your laptop, you should rebuild and reinstall pyxdg, then rebuild and reinstall redshift, and it's likely that your problem will go away.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redshift broken in Mint 18 louierev07 Linux - Software 6 07-30-2016 05:14 AM
[SOLVED] Cannot Autostart Redshift Johnny_Metal Linux - Newbie 22 02-14-2016 12:51 PM
Installing redshift muciņo LinuxQuestions.org Member Intro 6 12-25-2015 07:23 AM
LXer: ARM gives Internet of Stuff a piece mind of its mind - the Cortex-M7 LXer Syndicated Linux News 0 09-24-2014 08:21 PM
Help with RedShift Nabeel Ubuntu 1 05-25-2010 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration