LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2016, 12:23 PM   #16
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

what you can try to fix the icon:
Code:
dpkg -L 'redshift*'
post results here, we will take it from there.
 
Old 02-13-2016, 12:47 PM   #17
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Original Poster
Rep: Reputation: 1
Alright. I'm gonna try some of these things. I'll report in a while.
 
Old 02-13-2016, 01:04 PM   #18
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Original Poster
Rep: Reputation: 1
Alright. I installed redshift through the Lubuntu Software Center. I then ran the command dpkg -L redshift. Here are the results:

Quote:
/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/redshift.5.gz
/usr/share/man/man1
/usr/share/man/man1/redshift.1.gz
/usr/share/doc
/usr/share/doc/redshift
/usr/share/doc/redshift/README
/usr/share/doc/redshift/example-redshift.conf
/usr/share/doc/redshift/copyright
/usr/share/doc/redshift/changelog.Debian.gz
/usr/share/doc/redshift/README.Debian
/usr/share/locale
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/redshift.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/redshift.mo
/usr/share/locale/fi
/usr/share/locale/fi/LC_MESSAGES
/usr/share/locale/fi/LC_MESSAGES/redshift.mo
/usr/share/locale/ka
/usr/share/locale/ka/LC_MESSAGES
/usr/share/locale/ka/LC_MESSAGES/redshift.mo
/usr/share/locale/ca
/usr/share/locale/ca/LC_MESSAGES
/usr/share/locale/ca/LC_MESSAGES/redshift.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/redshift.mo
/usr/share/locale/cs
/usr/share/locale/cs/LC_MESSAGES
/usr/share/locale/cs/LC_MESSAGES/redshift.mo
/usr/share/locale/lt
/usr/share/locale/lt/LC_MESSAGES
/usr/share/locale/lt/LC_MESSAGES/redshift.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/redshift.mo
/usr/share/locale/pt_BR
/usr/share/locale/pt_BR/LC_MESSAGES
/usr/share/locale/pt_BR/LC_MESSAGES/redshift.mo
/usr/share/locale/he
/usr/share/locale/he/LC_MESSAGES
/usr/share/locale/he/LC_MESSAGES/redshift.mo
/usr/share/locale/eu
/usr/share/locale/eu/LC_MESSAGES
/usr/share/locale/eu/LC_MESSAGES/redshift.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/redshift.mo
/usr/share/locale/it
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/redshift.mo
/usr/share/locale/gl
/usr/share/locale/gl/LC_MESSAGES
/usr/share/locale/gl/LC_MESSAGES/redshift.mo
/usr/share/locale/zh_CN
/usr/share/locale/zh_CN/LC_MESSAGES
/usr/share/locale/zh_CN/LC_MESSAGES/redshift.mo
/usr/share/locale/nl
/usr/share/locale/nl/LC_MESSAGES
/usr/share/locale/nl/LC_MESSAGES/redshift.mo
/usr/share/locale/ar
/usr/share/locale/ar/LC_MESSAGES
/usr/share/locale/ar/LC_MESSAGES/redshift.mo
/usr/share/locale/da
/usr/share/locale/da/LC_MESSAGES
/usr/share/locale/da/LC_MESSAGES/redshift.mo
/usr/bin
/usr/bin/redshift
EDIT: I tried running the commmand
Code:
dpkg -L 'redshift*'
but i got the reply
Quote:
dpkg-query: error: --listfiles needs a valid package name but 'redshift*' is not: illegal package name in specifier 'redshift*': character `*' not allowed (only letters, digits and characters `-+._')

Last edited by Johnny_Metal; 02-13-2016 at 02:01 PM.
 
Old 02-13-2016, 02:35 PM   #19
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Original Poster
Rep: Reputation: 1
Just learned something important. when i run sudo make install, this is one of the parts of the output that i get
Code:
make[3]: Entering directory `/home/johnny-metal/Redshift/redshift-1.11'
gtk-update-icon-cache -f -t /home/johny-metal/Redshift/root/share/icons/hicolor || :;
/bin/bash: gtk-update-icon-cache: command not found
 
Old 02-14-2016, 08:55 AM   #20
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ that is interesting, however i don't see why redshift would need to run update-icon-cache after installation, because your dpkg output suggests that redshift does not come with its own icon.
i guess it's a generic list of actions that are being performed after installing anything.

next steps:
1) find out what icon theme you are currently using.
2) perform the following command:
Code:
find /usr/share/icons -name '*redshift*'
- my guess is that you will get some results, but none for your current icon theme.
in that case, you have to open the "index.theme" file that belongs to your icon theme (so, e.g. /usr/share/icons/Faenza/index.theme) with superuser privileges, and edit the "Inherits" line, appending the name of the icon theme containing a suitable redshift icon.
Warning: you need to choose the name of the icon theme, and not the name of the containing folder.
They are often the same, but not always.
 
Old 02-14-2016, 09:39 AM   #21
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Original Poster
Rep: Reputation: 1
I actually tried something in the meanwhile. I uninstalled and de-compiled (is that how you say it?) redshift. I opened the Makefile and i changed the following line
Quote:
UPDATE_ICON_CACHE = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor || :
to
Quote:
UPDATE_ICON_CACHE = /path_to_gtk-update-icon-cache -f -t $(datadir)/icons/hicolor || :
.

I then compiled and installed redshift again. I got a message saying that cache generation was successful. But the problem persists!

I tried finding the index.theme file, but to no avail.

I won't insist on any more help, because i think you guys have helped out enough already, so if you are sick of trying to solve this i perfectly understand (i am absolutely desperate myself). However, probably the best thing i would ask any of you out there to try would be to run Lubuntu 14.03, download Redshift's source code, follow the instructions of the HACKING file LINE BY LINE, and then see if the same problem arises.

Thank you all for your persistence, i am very much appreciated.
 
Old 02-14-2016, 10:32 AM   #22
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Johnny_Metal View Post
I tried finding the index.theme file, but to no avail.
i'm sorry, but this is not possible.
ok, i understand if you had enough of it, but my instructions must return something.
 
Old 02-14-2016, 12:51 PM   #23
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Original Poster
Rep: Reputation: 1
Sorry, i actually found the file. It was at
Quote:
/usr/share/icons/hicolor
. I did not, however, find the Inherits line.
 
  


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
Installing redshift muciņo LinuxQuestions.org Member Intro 6 12-25-2015 07:23 AM
[SOLVED] Can't see the Redshift icon in top bar in GNOME running on Arch gregorian Linux - Desktop 1 04-11-2015 07:53 PM
Help with RedShift Nabeel Ubuntu 1 05-25-2010 09:40 AM
KDE 4 Autostart Program Bash Script to Write Autostart Bash Scripts for You! jdmcdaniel3 SUSE / openSUSE 1 05-03-2010 06:17 AM
tomboy autostart in xfce, though not on autostart list zlya Linux - Desktop 2 11-10-2009 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 AM.

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