Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on Ubuntu 12.04 64 bit #18

Closed
kambatla opened this issue Oct 5, 2012 · 16 comments
Closed

Issues on Ubuntu 12.04 64 bit #18

kambatla opened this issue Oct 5, 2012 · 16 comments

Comments

@kambatla
Copy link

kambatla commented Oct 5, 2012

I recently discovered flux and am a huge fan of it - using it on Windows 8 at the moment. I have made several attempts at installing it on my Ubuntu 12.04 64 bit machine, but in vain.

Installation - installed it via apt-get install fluxgui after adding the suggested ppa.

Issues -

  1. fluxgui & does start the applet, but I can't open the preferences.
  2. xflux -z complains of the following:
    xflux: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory

Noticed that others also experienced similar issues - http://lists.bitrot.info/pipermail/linguru/2012-April/000033.html Looks like it is an issue with running the 32 bit flux on 64 bit machines.

@bcomnes
Copy link

bcomnes commented Oct 8, 2012

Any fixes for this?

@Kilian
Copy link
Owner

Kilian commented Oct 8, 2012

Install libxxf86vm1(>=1.1.0) and ia32-libs(>=2.7) :) They're requirements that come with the f.lux indicator applet.

@Kilian Kilian closed this as completed Oct 8, 2012
@bcomnes
Copy link

bcomnes commented Oct 8, 2012

Wow, that completely did the trick! libxxf86vm1 was already installed somehow, but ia32-libs was missing. I am very new to linux package management, but shouldn't these be installed when installing the gui helper via apt-get? Anyway, thanks for the help. This is the only place I have been able to find this fix.

@kambatla
Copy link
Author

kambatla commented Oct 8, 2012

Thanks Kilian. That definitely worked.

It would be even better if it pulls on those two libs during installation; add the two packages as a dependency for fluxgui.

Great work! This is a life-changing application. Thank you very much.

@bcomnes
Copy link

bcomnes commented Oct 9, 2012

I'm still having issues. While the applet is working great, as well as the preview, its not changing all the way even well after sundown.

@kambatla
Copy link
Author

kambatla commented Oct 9, 2012

Same here. It doesn't change by much. May be, we need to set how soon it should change. I am using redshift for the time-being.

@bcomnes
Copy link

bcomnes commented Oct 10, 2012

I am as well, but much prefer the flux interface for setting up the configuration. I could never get redshift to be quite like flux. Can we re-open the issue given that it still does not work under this environment?

@Kilian
Copy link
Owner

Kilian commented Oct 10, 2012

Agreed, there is work to be done there but there are other tickets regarding that problem! :)

@YvesChan
Copy link

YvesChan commented Dec 8, 2012

A similar problem occured on my 64 bit ubuntu 12.04....I installed it through PPA.

/tmp/fluxlog.txt as follow:
/usr/bin/xflux: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Then I try to find it:
$: locate libstdc++.so.6
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16

I'm sorry but is this a bug?
Since I'm a freshman in Linux, I don't really know how to solve it. Any help please?

@bcomnes
Copy link

bcomnes commented Dec 9, 2012

I never resolved it, but I did find a program called Redshift + Redshift GTK (the little GUI icon you can use to star the program / toggle it on and off) you can get from the Ubuntu repo that works great!

http://jonls.dk/redshift/

You need to set up a configuration file in ~/.config. I'm away from my system at the moment, but I'll post a gist of mine soon.

@kambatla
Copy link
Author

kambatla commented Dec 9, 2012

Same here. Could never really run f.lux on my ubuntu machine, though I love it on my mac. Using redshift on ubuntu, but without any particular config file. Without a config file, it does become really red.

Bret - looking forward to your config file.

@bcomnes
Copy link

bcomnes commented Dec 9, 2012

Here is my config file:
https://gist.github.com/4243805

Just place it in ~/.config

Its set up to use Geoclue to automatically set the location based on your IP. It used to work awesome, getting my location EVERY time at start-up, but I re-installed ubuntu 12.10 recently, and now it only works when I reset my network adapter. Gahh I wish I knew what I was doing since the installs are so inconsistent, with components working sometimes, and other times not.

If reshift does not appear to work, its because geoclue cant find your location. if this is the case, comment out the geoclue setting, and un-comment the manual setting and the lat long settings. Make sure you grab correct lat long settings for your location from google maps or something.

Troubleshoot using the redshift -v command in terminal with the settings you want. Use info redshift for the full man page. Check out the website for even more info.

@chandlerwall
Copy link

I know this is an older issue, but I thought others might benefit from this information (this thread was the top result when I searched for the error message).

I ran into this issue on Ubuntu 13.10 (64 bit). I was able to resolve the issue by installing the 32 bit version of libxxf86vm1 (http://packages.ubuntu.com/saucy/libxxf86vm1). For what it's worth, I also have the 64 bit version installed. In order to install the 32 bit version on a 64 bit environment, I included :i386 after the package name in my install command:
sudo apt-get install libxxf86vm1:i386

After the installation completed, I was able to run xflux. This also allowed the indicator applet to function (the reason I tried to run xflux directly in the first place). I'm not an expert when it comes to managing/troubleshooting Linux/Ubuntu, so there may be a better way to solve this problem. This simple process worked for me; your results may vary.

@nmcv
Copy link

nmcv commented May 7, 2014

@chandlerwall Your solution was correct in my case - just needed libxxf86vm1:i386. Thanks.

@GitterHubDone
Copy link

@thechanmane You don't know how much that means to me, thank you!

@chrischoy
Copy link

@thechanmane Thanks! it worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants