Re: Redshift, no effect?

2016-02-28 Thread A M
Redshift works fine outside of awesome, I've been using it for several 
years.


I discovered the issue and resolved it. I had to replace the relative 
path to the .redshift.conf with the absolute path.

The only edit I did was thus:
redshift.options = "-c /home/alex/.config/redshift.conf"

In the error log I has these messages:
fopen: No such file or directory
Unable to load config file.

It seems fairly odd that a relative path using tilde (~) leads to 
errors, but the most likely explanation is that somewhere the 
tilde-expansion fails.
Without going in-depth I'd guess the error comes at awful.util.spawn() 
in the library. Maybe awful.util.spawn_with_shell() would work better?


On 02/28/2016 05:26 PM, fatemail1...@gmail.com wrote:

Does redshift work outside awesome, run it from console, with your
config, if it works, show log of the awesome when you trying to use
awesome-redshift
On Sun, Feb 28, 2016 at 05:18:03PM +0100, A M wrote:

Hello

I've setup redshift integration as described in these two links:
https://awesome.naquadah.org/wiki/Using_redshift_with_awesome
https://github.com/YoRyan/awesome-redshift/blob/master/README.md

I've followed the instructions carefully and imitated them precisely. As far
as I am aware of all dependencies are fulfilled (redshift and xrandr is
installed) .
I am getting no results at all. I've added the key-binding for
redshift.toggle and nothing happens when triggering it.

I'm using Fedora 23 with awesome 3.5.8 (Major Tom)

Should these instructions work with recent versions of awesome (they appear
to be a few years old)?
Is anyone else successfully using redshift?
How can I debug and determine the issue?

Best Regards
Alex

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.



--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Redshift, no effect?

2016-02-28 Thread Abraham Baker
I just start redshift-gtk on boot, and the icon shows up in the bar at the
top.  Seems to just work, but I guess this wouldn't help if you can't use
gtk for some reason.

Abe

On Sun, Feb 28, 2016 at 10:18 AM, A M  wrote:

> Hello
>
> I've setup redshift integration as described in these two links:
> https://awesome.naquadah.org/wiki/Using_redshift_with_awesome
> https://github.com/YoRyan/awesome-redshift/blob/master/README.md
>
> I've followed the instructions carefully and imitated them precisely. As
> far as I am aware of all dependencies are fulfilled (redshift and xrandr is
> installed) .
> I am getting no results at all. I've added the key-binding for
> redshift.toggle and nothing happens when triggering it.
>
> I'm using Fedora 23 with awesome 3.5.8 (Major Tom)
>
> Should these instructions work with recent versions of awesome (they
> appear to be a few years old)?
> Is anyone else successfully using redshift?
> How can I debug and determine the issue?
>
> Best Regards
> Alex
>
> --
> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>


Redshift, no effect?

2016-02-28 Thread A M

Hello

I've setup redshift integration as described in these two links:
https://awesome.naquadah.org/wiki/Using_redshift_with_awesome
https://github.com/YoRyan/awesome-redshift/blob/master/README.md

I've followed the instructions carefully and imitated them precisely. As 
far as I am aware of all dependencies are fulfilled (redshift and xrandr 
is installed) .
I am getting no results at all. I've added the key-binding for 
redshift.toggle and nothing happens when triggering it.


I'm using Fedora 23 with awesome 3.5.8 (Major Tom)

Should these instructions work with recent versions of awesome (they 
appear to be a few years old)?

Is anyone else successfully using redshift?
How can I debug and determine the issue?

Best Regards
Alex

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Key bindings for shutdown, reboot?

2016-02-28 Thread A M

Hello

I've looked at the wiki article 'Shutdown Dialog' and added an alternate 
script (the main improvement being improved keyboard-friendliness :) ). 
Feel free to comment on it.


Best Regards
Alex

On 02/21/2016 02:47 PM, Abraham Baker wrote:
I just map Shift+Pause/break to "systemctl suspend" or "reboot" or 
"poweroff":
awful.key({"Shift"}, "#127", function () awful.util.spawn("systemctl 
suspend") end),


I haven't needed a dialog yet since it would be really hard to press 
both Shift and Pause at the same time by accident, but that looks like 
a great idea for when other people need to shutdown the computer.


On Sun, Feb 21, 2016 at 5:57 AM, Daniel Sont > wrote:


Really, all you need is zenity. If you look into the docs I
imagine it should be easy to hook up a confirmation box to a
shutdown command with some &&s

On Feb 21, 2016 8:53 PM, "Daniel Sont" mailto:dan.s...@gmail.com>> wrote:

I just ran into this:
http://awesome.naquadah.org/wiki/ShutdownDialog

On Feb 21, 2016 8:48 PM, "A M" mailto:alex334...@gmail.com>> wrote:

Hello

Is possible to create key bindings for shutting down or
rebooting the computer?

As a next step, it might be good to have some form of
secondary confirmation that the user really wants to do
this action (in case the key binding was entered
accidentally). I guess maybe some simple popup
window/dialog might be an easy solution? "Reboot computer?
Yes/No"

Best Regards
Alex

-- 
To unsubscribe, send mail to

awesome-unsubscr...@naquadah.org
.