Any way to prevent the screen from "blanking"? (Applet?)

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

Any way to prevent the screen from "blanking"? (Applet?)

Postby gosa on Tue Apr 17, 2012 2:50 pm

Hi All,

Testing Cinnamon at the moment, and as I get more and more "accustomed" to it I start missing things.

One of them is the Inhibit applet in Gnome 2 that I could use to prevent the monitor from going to sleep. I've been checking the Cinnamon website, and I've skimmed through the threads here and I can't seem to find anything similar.

Would that be a difficult applet to write for someone with a bit more knowledge than me about these things (I myself have absolutely no idea)

Also - I find a menu item under preferences called "screen" (don't know if that one is Mate or Cinnamon actually) but there's no option to "Never" blank the screen, only different time values.

Thanks in advance,
/gosa
Image
Windows, Linux, MacOS, Android or iOS. It doesn't matter what you run, with Dropbox you can access your files - all the time!
gosa
Level 4
Level 4
 
Posts: 296
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Linux Mint is funded by ads and donations.
 

Re: Any way to prevent the screen from "blanking"? (Applet?)

Postby lurkatron on Tue Apr 17, 2012 3:19 pm

i too am missing a screensaver inhibit applet. the best solution ive found so far is to use the caffeine indicator. not an applet but it works and sits in the systray. just download a deb here https://launchpad.net/~caffeine-develop ... /+packages
if ur on the latest mint u want to get the oneiric version.
lurkatron
Level 2
Level 2
 
Posts: 99
Joined: Tue Nov 01, 2011 2:18 pm

Re: Any way to prevent the screen from "blanking"? (Applet?)

Postby gosa on Wed Apr 18, 2012 3:40 pm

lurkatron wrote:i too am missing a screensaver inhibit applet. the best solution ive found so far is to use the caffeine indicator. not an applet but it works and sits in the systray. just download a deb here https://launchpad.net/~caffeine-develop ... /+packages
if ur on the latest mint u want to get the oneiric version.


Checked out the link, but I'm a bit reluctant to try it, since the general advise is not to mix ubuntu stuff with Debian (Running LMDE)
Image
Windows, Linux, MacOS, Android or iOS. It doesn't matter what you run, with Dropbox you can access your files - all the time!
gosa
Level 4
Level 4
 
Posts: 296
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: Any way to prevent the screen from "blanking"? (Applet?)

Postby zerozero on Wed Apr 18, 2012 11:03 pm

gosa,
one option is to build the deb from the LP source:
- pick caffeine_1.0.1-0ubuntu0~ppa16~jaunty.tar.gz from here https://launchpad.net/~caffeine-developers/+archive/caffeine-dev/+packages, we have to stay with 1.0.x v., the higher v. depend on appindicator which isn't available in debian http://ubuntuforums.org/archive/index.php/t-1770527.html

now, unpack the tar.gz inside a newly created folder and inside the caffeine-1.0.1 folder open a terminal (my path was similar to this - yours will vary)
Code: Select all
amadeu@amadeu ~/Downloads/caffeine/Untitled Folder/caffeine-1.0.1 $

let's start build:
Code: Select all
apt build

will tell you the deps you need, i was missing dpkg-checkbuilddeps: Unmet build dependencies: python-gnome2-dev so>>
Code: Select all
amadeu@amadeu ~/Downloads/caffeine/Untitled Folder/caffeine-1.0.1 $ apt install python-gnome2-dev

after that the building went fine and i have a deb file compiled in my system (so, i'm sure is compatible)
Code: Select all
dpkg-deb: building package `caffeine' in `../caffeine_1.0.1-0ubuntu0~ppa16~jaunty_all.deb'.
 dpkg-genchanges  >../caffeine_1.0.1-0ubuntu0~ppa16~jaunty_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build caffeine-1.0.1
dpkg-buildpackage: full upload; Debian-native package (full source is included)


note: for compiling/building you need the src-deb in the sources.list
Code: Select all
inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ debian main import backport romeo upstream
           deb-src http://packages.linuxmint.com/ debian main import backport romeo upstream #Added by software-properties
           deb http://ftp.debian.org/debian testing main contrib non-free
           deb-src http://ftp.debian.org/debian testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           deb-src http://security.debian.org/ testing/updates main contrib non-free
           deb http://www.debian-multimedia.org testing main non-free
           deb-src http://www.debian-multimedia.org testing main non-free
           deb http://tridex.net/repo/debian/ wheezy main
User avatar
zerozero
Level 16
Level 16
 
Posts: 6303
Joined: Tue Jul 07, 2009 2:29 pm

Re: Any way to prevent the screen from "blanking"? (Applet?)

Postby gosa on Fri Apr 20, 2012 11:53 am

zerozero:

Sorry for getting back a bit with a reply. I think that I'm going to wait a bit trying out your suggestion, because I'm beginning to feel that my computer might be up for a complete reinstall when the new ISO's are ready for the "masses". (Kind of neglected to clone it the last couple of months, and it feels like I've probably been a bit to abusive to it)

Anyway - thanks for your reply, I'll save it for later and get back with more if I run into any trouble.
Image
Windows, Linux, MacOS, Android or iOS. It doesn't matter what you run, with Dropbox you can access your files - all the time!
gosa
Level 4
Level 4
 
Posts: 296
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: Any way to prevent the screen from "blanking"? (Applet?)

Postby gosa on Mon Apr 30, 2012 9:26 am

And behold:

The Screensaver Inhibit 1.1:
http://cinnamon-spices.linuxmint.com/applets/view/59

- Wishes do come true!
Image
Windows, Linux, MacOS, Android or iOS. It doesn't matter what you run, with Dropbox you can access your files - all the time!
gosa
Level 4
Level 4
 
Posts: 296
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: Any way to prevent the screen from "blanking"? (Applet?)

Postby zerozero on Mon Apr 30, 2012 9:29 am

:lol:
This addition is perfect, and brings Cinnamon 1 step closer to being the perfect DE.
User avatar
zerozero
Level 16
Level 16
 
Posts: 6303
Joined: Tue Jul 07, 2009 2:29 pm

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: Google [Bot] and 10 guests