Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: xscreensaver clock

  1. #11
    Join Date
    Oct 2008
    Beans
    3,509

    Re: xscreensaver clock

    Quote Originally Posted by ully-mick View Post
    Brilliant, Thank you very much
    The xscreensaver had a fix for making the clock not move which I would have
    liked.
    I sent an email to the author to see if there is a fix for the
    gnome-screensaver version.

  2. #12
    Join Date
    Oct 2008
    Beans
    3,509

    Re: xscreensaver clock

    Ok, I just love the way open-source operates.
    I sent an email to the author about making the clock static and got an answer.

    Code:
    gksudo gedit /usr/share/applications/screensavers/anclock.desktop
    and change the lines
    Code:
    Exec=anclock
    TryExec=anclock

    to read
    Code:
    Exec=/usr/lib/gnome-screensaver/gnome-screensaver/anclock -p
    TryExec=/usr/lib/gnome-screensaver/gnome-screensaver/anclock
    You may have to change to another screensaver and back for changes to take effect.


    He has also posted a new version @ http://www.d8.dion.ne.jp/~pt2k/software/gnome-clock-screensaver/index_e.html

    I installed the new version and it's basically the same (just minor documentation and path changes), and you still
    need to edit the /usr/share/applications/screensavers/anclock.desktop
    file to make the clock static.
    Attached Images Attached Images
    Last edited by stinkeye; January 15th, 2011 at 03:20 PM.

  3. #13
    Join Date
    Mar 2008
    Beans
    22

    Re: xscreensaver clock

    ah, thats better. static and centred. cheers.

  4. #14
    Join Date
    Dec 2009
    Location
    Tokyo/Japan
    Beans
    16
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: xscreensaver clock

    Woaaahh! This is EXACTLY what I've been looking for for a long time, brother!
    And sorry to be adding on a solved thread.

    Quote Originally Posted by stinkeye View Post
    Try this
    Code:
    sudo apt-get install build-essential gcc
    Done!
    Quote Originally Posted by stinkeye View Post
    Now extract the folder gnome-clock-screensaver-1.0.1 from the
    gnome-clock-screensaver-1.0.1.tar.gz file you downloaded
    and place in your home directory.

    Open the terminal and enter(change if your folder has different name)
    Code:
    cd ~/gnome-clock-screensaver-1.0.1
    Then enter
    Code:
    make
    ...but I did get errors here

    Code:
    p@p:~/Downloads/gnome-clock-screensaver-1.0.1$ make
    gcc `pkg-config gtk+-2.0 --cflags` -Wall -c gs-theme-window.c -o gs-theme-window.o
    Package gtk+-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtk+-2.0' found
    gs-theme-window.c:31:18: error: glib.h: No such file or directory
    gs-theme-window.c:32:25: error: glib-object.h: No such file or directory
    gs-theme-window.c:33:24: error: glib/gi18n.h: No such file or directory
    gs-theme-window.c:35:22: error: gdk/gdkx.h: No such file or directory
    gs-theme-window.c:36:21: error: gtk/gtk.h: No such file or directory
    In file included from gs-theme-window.c:38:
    gs-theme-window.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
    gs-theme-window.h:48: error: expected specifier-qualifier-list before ‘GtkWindow’
    gs-theme-window.h:57: error: expected specifier-qualifier-list before ‘GtkWindowClass’
    gs-theme-window.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gs_theme_window_get_type’
    gs-theme-window.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    gs-theme-window.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’
    gs-theme-window.c:41: error: expected ‘)’ before ‘*’ token
    gs-theme-window.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    gs-theme-window.c:49: warning: return type defaults to ‘int’
    gs-theme-window.c: In function ‘G_DEFINE_TYPE’:
    gs-theme-window.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
    gs-theme-window.c:66: error: expected ‘)’ before ‘*’ token
    gs-theme-window.c:94: error: expected ‘)’ before ‘*’ token
    gs-theme-window.c:100: error: expected ‘)’ before ‘*’ token
    gs-theme-window.c:114: error: expected ‘)’ before ‘*’ token
    gs-theme-window.c:198: error: expected declaration specifiers before ‘GtkWidget’
    gs-theme-window.c:208: error: expected ‘{’ at end of input
    make: *** [gs-theme-window.o] Error 1
    p@p:~/Downloads/gnome-clock-screensaver-1.0.1$
    GTK+ is installed AFAIK.
    Help appreciated!
    Last edited by PetteriP; March 30th, 2011 at 09:38 AM. Reason: Added apology.
    BR,
    -P

  5. #15
    Join Date
    Dec 2009
    Location
    Tokyo/Japan
    Beans
    16
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: xscreensaver clock

    Quote Originally Posted by PetteriP View Post
    ...but I did get errors here
    Hold it!
    I didn't have gtk2.0-dev package installed.
    Installing that baby did it.

    Love this thing!
    BR,
    -P

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •