LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2010, 04:18 PM   #1
zer010
LQ Newbie
 
Registered: Oct 2010
Distribution: Ubuntu 10.04
Posts: 16

Rep: Reputation: 0
Question Ubuntu 10.04 GLText Clock


This one seems to have been done to death, but I still can't seem to get a clock going. I had done it in Jaunty, but no matter how I configure it, it's not working in Lucid!
One issue I've found in the many threads and how-to docs is that everyone says that it's only a matter of adding the options to this line in /usr/share/applications/screensavers/gltext.desktop:
Code:
Exec=gltext -root
However, my gltext.desktop looks like this:
Code:
[Desktop Entry]
Name=GLText
Exec=/usr/lib/xscreensaver/gltext -root
TryExec=/usr/lib/xscreensaver/gltext
Comment=Displays a few lines of text spinning around in a solid 3D font. The te$
StartupNotify=false
Terminal=false
Type=Application
Categories=Screensaver
OnlyShowIn=GNOME;
I've tried adding my time options to "Exec=..." and then to "TryExec=..." lines, with single quotes and double quotes, but to no avail. Am I doing this in the wrong file? What am I missing here?
 
Old 12-10-2010, 04:36 PM   #2
zer010
LQ Newbie
 
Registered: Oct 2010
Distribution: Ubuntu 10.04
Posts: 16

Original Poster
Rep: Reputation: 0
Ok, I finally got the clock that I want, but in a very cumbersome and bloated way.
First, I had to create a new file, /usr/share/applications/screensavers/gltime.desktop.
Code:
[Desktop Entry]
Name=GLTime
Exec=/usr/lib/xscreensaver/gltext -root -text "%I:%M:%S %p\n%a %b %d, %Y"
TryExec=/usr/lib/xscreensaver/gltext
Comment=Displays a few lines of text spinning around in a solid 3D font. The te$
StartupNotify=false
Terminal=false
Type=Application
Categories=Screensaver;
OnlyShowIn=GNOME;
Next, I had to install xscreensaver-data-extra which includes a long list of other screensavers that I really didn't want and includes these packages:
Code:
libjpeg-progs libnetpbm10 netpbm xscreensaver-data-extra
The cumbersome part about all of this is that whenever I changed the gltime.desktop file I had to uninstall, then reinstall xscreensaver-data-extra. I also had to log out then log back in for the changes to take effect.
There's got to be a better way of accomplishing the same thing with out the bloat of all the other screensavers and without the hassle of reinstall and relogging ...

Last edited by zer010; 12-10-2010 at 04:37 PM.
 
Old 12-13-2010, 03:01 PM   #3
zer010
LQ Newbie
 
Registered: Oct 2010
Distribution: Ubuntu 10.04
Posts: 16

Original Poster
Rep: Reputation: 0
I finally got it!

From a post in UF:
Quote:
I was a bit off: it is the python-gmenu package that is triggered by dpkg to rebuild the desktop cache. The update-desktop-database program rebuilds the mime cache.

Here's how to force the desktop cache to rebuild:
Code:

Code:
$ sudo dpkg-reconfigure python-gmenu
So, after you install or modify gltime.desktop, run the above command.
--gmargo
I just auto-removed the xscreensaver-data-extra package, logged out and when I logged back in......I still have the gltime screensaver!
So there ya go! It might not even be necessary to install the xscreensaver-data-extra package.
 
Old 03-18-2011, 11:05 PM   #4
zer010
LQ Newbie
 
Registered: Oct 2010
Distribution: Ubuntu 10.04
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by zer010 View Post
From a post in UF:

I just auto-removed the xscreensaver-data-extra package, logged out and when I logged back in......I still have the gltime screensaver!
So there ya go! It might not even be necessary to install the xscreensaver-data-extra package.
I can say for a fact that it isn't necessary to install any of that stuff, just create the file and run the reconfigure and it's good! ^.^d
 
  


Reply

Tags
clock, lucid, screensaver



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
Cannot change GLtext DRZ4007 Ubuntu 1 11-25-2010 05:39 PM
[SOLVED] Wall clock accuracy in ubuntu 9.10 Mohammad Abdelhadi Linux - Desktop 2 10-25-2010 07:53 AM
how to adjust clock in ubuntu linux.ab Linux - Newbie 4 03-03-2010 11:21 PM
Time Warp / Clock Problem - Ubuntu Alternate CD install over Ubuntu Server krimzen85 Linux - Software 2 08-07-2009 10:01 AM
changing the gltext screensaver in ubuntu nthillaiarasu Ubuntu 0 04-14-2008 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 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