-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (7) . 

Nightmode

   0.2  

KDE Improvement

Score 82%
Downloads:  744
Submitted:  Apr 26 2010
Updated:  Jan 18 2011

Description:

Nightmode is a kwin plugin that makes the entire screen darker. The reason behind this for when you are using the laptop at night, either outside or in bed - and find that even on the darkest screen backlight level the screen is way too bright.

The plugin can be turned on or off by a simple key combination, and the amount of dimming can be configured.




Changelog:

0.2: Added icon made by srog.
0.2: Ubuntu package by srog




LicenseGPL
Source(Source)
Ubuntu(Ubuntu Package)
Send to a friend
Subscribe
Other  Artwork  from DavidEdmundson
Report inappropriate content



goto page: prev   1  2  3 

-
.

 Does kwineffects.h no longer exist?

 
 by bugsbane on: Aug 3 2011
 
Score 50%

I get compiling breaking saying that kwineffects.h can't be found. In previous versions of Kubuntu this was in kdebase-workspace-dev. This is now replaced in 11.10 by kde-workspace-dev, but kwineffects.h doesn't seem to exist in that file. Helpfully apt-file no longer works either, so I have no idea how to get past this. Any ideas?


Reply to this

-

 Re: Does kwineffects.h no longer exist?

 
 by DavidEdmundson on: Sep 11 2011
 
Score 50%

Appears to be a Kubuntu packaging bug.
I'm on Kubuntu too. Will report it


Reply to this

-

 Can't compile since KDE-4.8

 
 by acidrums4 on: Sep 11 2011
 
Score 50%

Hello, I love your plugin, it's very useful to me. However, since I updated my Gentoo box to 4.8, Nightmode stopped working.

I tried compiling it again, but I get the following:

[ 0%] Built target kcm_kwin4_effect_nightmode_automoc
[ 25%] Building CXX object CMakeFiles/kcm_kwin4_effect_nightmode.dir/nightmode_config.o
/home/mp/Escritorio/nightmode/nightmode_config.cpp: In member function 'virtual void KWin::NightmodeConfig::load()':
/home/mp/Escritorio/nightmode/nightmode_config.cpp:88: error: variable 'KConfigGroup conf' has initializer but incomplete type
/home/mp/Escritorio/nightmode/nightmode_config.cpp:88: error: invalid use of incomplete type 'struct KConfigGroup'
/usr/include/kconfigbase.h:32: error: forward declaration of 'struct KConfigGroup'
/home/mp/Escritorio/nightmode/nightmode_config.cpp: In member function 'virtual void KWin::NightmodeConfig::save()':
/home/mp/Escritorio/nightmode/nightmode_config.cpp:99: error: variable 'KConfigGroup conf' has initializer but incomplete type
/home/mp/Escritorio/nightmode/nightmode_config.cpp:99: error: invalid use of incomplete type 'struct KConfigGroup'
/usr/include/kconfigbase.h:32: error: forward declaration of 'struct KConfigGroup'
make[2]: *** [CMakeFiles/kcm_kwin4_effect_nightmode.dir/nightmode_config.o] Error 1
make[1]: *** [CMakeFiles/kcm_kwin4_effect_nightmode.dir/all] Error 2
make: *** [all] Error 2

I don't know much about C++, but for my ignorance seems that the API of KDELibs changed (at least, for 'KConfigGroup')...


Reply to this

-

 Re: Can't compile since KDE-4.8

 
 by DavidEdmundson on: Sep 11 2011
 
Score 50%

Partly my fault.

Try this version
git clone git://anongit.kde.org/scratch/davidedmundson/nightmode

Let me know if it fixes it/is still broken.


Reply to this

-

 Re: Re: Can't compile since KDE-4.8

 
 by bugsbane on: Jan 3 2012
 
Score 50%

Since upgrading from Kubuntu 11.04 to 11.10, my Night Mode just stopped doing anything at all. I grabbed your new code above, recompiled and installed without a problem, but I still don't see any effect. I have darkness turned way down and I've tried changing the keyboard shortcut. No dice.

I am getting a "The following plugins can't be activated: Darken screen for night viewing" popup. This is odd as I've used Nightmode on Kubuntu+FGLRX on this machine before.

Can I do anything to get you more useful information? Night mode is such a crucial plugin to me. I still don't understand how the explode plugin is included by default but not this...


Reply to this

-

 Re: Re: Can't compile since KDE-4.8

 
 by bugsbane on: Jan 3 2012
 
Score 50%

Since upgrading from Kubuntu 11.04 to 11.10, my Night Mode just stopped doing anything at all. I grabbed your new code above, recompiled and installed without a problem, but I still don't see any effect. I have darkness turned way down and I've tried changing the keyboard shortcut. No dice.

I am getting a "The following plugins can't be activated: Darken screen for night viewing" popup. This is odd as I've used Nightmode on Kubuntu+FGLRX on this machine before.

Can I do anything to get you more useful information? Night mode is such a crucial plugin to me. I still don't understand how the explode plugin is included by default but not this...


Reply to this

-

 Re: Re: Re: Can't compile since KDE-4.8

 
 by DavidEdmundson on: Jan 6 2012
 
Score 50%

Chances are they've changed some internal aspect of the kwin API without telling anyone.

I'm very busy at the moment, but remind me constantly (you can see my email at the top of any of the source files) and I'll get round to it.

Alternately you can possibly post on the kwin bugzilla page saying "you've broken this plugin". It's a bit rude, but I think technically valid. KDE Libs isn't allowed to break compatibility within a 4.x series.


Reply to this

-
.

 Re: Re: Re: Re: Can't compile since KDE-4.8

 
 by avlas on: Jan 19 2012
 
Score 50%

I'm also in kubuntu 11.10 with kde 4.8 rc2 and it works with no issues. I used the code from git indicated above


Reply to this

-

 Re: Re: Re: Re: Can't compile since KDE-4.8

 
 by acidrums4 on: Jan 27 2012
 
Score 50%

Git version not working on KDE 4.8 :(


Reply to this

-

 Re: Re: Re: Re: Can't compile since KDE-4.8

 
 by dcimafonte on: Feb 13 2013
 
Score 50%

I'm actually getting:

~/.xsession-errors
Quote:
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 945GM x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 8.0.4
OpenGL shading language version string: 1.20
Driver: Intel
GPU class: i915/i945
OpenGL version: 1.4
GLSL version: 1.20
Mesa version: 8.0.4
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: yes
GLSL shaders: limited
Texture NPOT support: yes
kwin(2769) KWin::EffectsHandlerImpl::loadEffect: Effect "kwin4_effect_nightmode" requires unsupported API version 157


Reply to this

-
.

 Yayz! All working on KDE 4.8 (Chakra)

 
 by bugsbane on: Mar 16 2012
 
Score 50%

Working perfectly now on my Chakra install, running KDE 4.8. Love that I didn't even need to log out before the effect showed up in the "All effects" tab.

Thanks again for this very simple, but incredibly handy effect!


Reply to this

-

 Re: Yayz! All working on KDE 4.8 (Chakra)

 
 by bugsbane on: Mar 16 2012
 
Score 50%

Using the version from:
git clone git://anongit.kde.org/scratch/davidedmundson/nightmode


Reply to this

-

 Just

 
 by bugsbane on: Jun 17 2012
 
Score 50%

It's one of the first things I install each time I reinstall my distro(s).

Any chance the darkest setting could be made darker? Ideally the slider would go from 5% (yes, barely visible) brightness to 95%. I don't know the numbers, but right now it looks like it goes from about 25% to 90%

I tried to poke around in the code and find it myself, but having the coding experience of a walrus, it generally fell down in a blubbery heap.

Anyway, thanks for creating this must have, keeps-my-kids-asleep-and-my-spouse-happy plugin. It rocks! :D


Reply to this

-

 So beautiful... but broken again for KDE 4.10

 
 by bugsbane on: Feb 14 2013
 
Score 50%

[100%] Building CXX object CMakeFiles/kwin4_effect_nightmode.dir/nightmode.o
/home/user/Apps/nightmode/nightmode.cpp: In member function ‘virtual void NightmodeEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&)’:
/home/user/Apps/nightmode/nightmode.cpp:77:49: error: invalid use of member function (did you forget the ‘()’ ?)
make[2]: *** [CMakeFiles/kwin4_effect_nightmode.dir/nightmode.o] Error 1
make[1]: *** [CMakeFiles/kwin4_effect_nightmode.dir/all] Error 2
make: *** [all] Error 2


Man I wish this would just get added in KDE by default. I mean we have the explosion effect that I've never seen anyone use and but not this... :|


Reply to this

-
.

 Re: So beautiful... but broken again for KDE 4.10

 
 by mrm0j0risin on: May 2 2013
 
Score 63%

My programming knowledge covers only M$ Windows systems, but I've been using Ubuntu 12.04 and Kubuntu KDE on my home system over the last year, and I find this plugin really useful. I don't know the KDE API, but after examining the header files, it seems that now the brightness member variable, which belongs to the class WindowPaintData can change value only if you use a member function. To solve this problem, the line 77 in source file nightmode.cpp :

data.brightness *= (m_brightness / 100.0);

should be changed to:

data.setBrightness(data.brightness() * (m_brightness / 100.0));

and the plugin will compile and work properly with KDE 4.10, but as I don't have the necessary qualifications, someone who knows the platform must verify my assumptions.


Reply to this

-
.

 Re: Re: So beautiful... but broken again for KDE 4

 
 by srog on: Sep 10 2013
 
Score 50%

Well - it is workig - so it is good ;)

Thank you of the fix.


Reply to this

-

 Compiled and installed but no new effect

 
 by dantefff on: Mar 5 2014
 
Score 50%

As the title said, I could compile and install, but no new effect has appeared int the control panel.

Is there anytnig I can do to debug it? Can I force it to load in the all effects tab?

I am in solydk (debian based) and kde 4.12.1


Reply to this

goto page: prev   1  2  3 

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.