...making Linux just a little more fun!

### wallpaper support in idesk

J. Bakshi [j.bakshi at unlimitedmail.org]

Sat, 18 Jul 2009 21:32:02 +0530

Hello,

Is there anyone using icewm+idesk combination ? I have seen that wallpaper support is already there in idesk; more over changing the wall paper from a source folder is also possible. But is it all theory ? I can't get the wallpaper working in box. I am using idesk 0.7.5-4.

Any success from anyone ?

Please CC to me

Top Back

Ben Okopnik [ben at linuxgazette.net]

Sat, 18 Jul 2009 21:00:42 -0500

On Sat, Jul 18, 2009 at 09:32:02PM +0530, J. Bakshi wrote:

    > Hello,
    >
    > Is there anyone using icewm+idesk combination ? I have seen that
    > wallpaper support is already there in idesk; more over changing the
    > wall paper from a source folder is also possible. But is it all theory
    > ? I can't get the wallpaper working in box. I am using idesk  0.7.5-4.
    >
    > Any success from anyone ?

It works fine for me; I described the setup in the article that I wrote (http://linuxgazette.net/160/okopnik.html). You know, the one that I pointed you to at the time. Have you read it yet? Perhaps you should.

    --
    * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *

Top Back

J. Bakshi [j.bakshi at unlimitedmail.org]

Sun, 19 Jul 2009 20:04:37 +0530

On Sat, 18 Jul 2009 21:00:42 -0500 Ben Okopnik <ben@linuxgazette.net> wrote:

    > On Sat, Jul 18, 2009 at 09:32:02PM +0530, J. Bakshi wrote:
    > > Hello,
    > >
    > > Is there anyone using icewm+idesk combination ? I have seen that
    > > wallpaper support is already there in idesk; more over changing the
    > > wall paper from a source folder is also possible. But is it all
    > > theory ? I can't get the wallpaper working in box. I am using
    > > idesk  0.7.5-4.
    > >
    > > Any success from anyone ?
    >
    > It works fine for me; I described the setup in the article that I
    > wrote (http://linuxgazette.net/160/okopnik.html). You know, the one
    > that I pointed you to at the time. Have you read it yet? Perhaps you
    > should.
    >
    >

Hello Ben,

Yes, I read it. But for me it is not working unfortunately. idesk always reports

     Idesk starting in :1.0
    [idesk] Background's file not found.
    [idesk] Background's source not found.

Though I have the configuration in my .ideskrc

    #Background.Delay: 1
    #Background.Source: /home/joy/pics/Father
    Background.File: /home/joy/pics/Father/Father.jpg
    Background.Mode: Center
    Background.Color: #FFFFFF

And the file is also there.

    joy@debian:~$ ls -l /home/joy/pics/Father/Father.jpg
    -rw-r--r-- 1 joy joy 33493 Oct 12  2008 /home/joy/pics/Father/Father.jpg

Don't know what prevents the wallpaper !!!

Top Back

J. Bakshi [j.bakshi at unlimitedmail.org]

Sun, 19 Jul 2009 22:57:06 +0530

On Sun, 19 Jul 2009 13:14:08 -0500 Ben Okopnik <ben@linuxgazette.net> wrote:

    > On Sun, Jul 19, 2009 at 08:04:37PM +0530, J. Bakshi wrote:
    > >
    > > Hello Ben,
    > >
    > > Yes, I read it. But for me it is not working unfortunately. idesk
    > > always reports
    > >
    > > ````````````
    > >  Idesk starting in :1.0
    > > [idesk] Background's file not found.
    > > [idesk] Background's source not found.
    > > ``````````````````````
    >
    > Well, idesk is telling you that it can't find either one. Go ahead and
    > post your whole .ideskrc here, and I'll check it out.
    >
    > > Though I have the configuration in my .ideskrc
    > >
    > > `````````````````
    > > #Background.Delay: 1
    > > #Background.Source: /home/joy/pics/Father
    > > Background.File: /home/joy/pics/Father/Father.jpg
    > > Background.Mode: Center
    > > Background.Color: #FFFFFF
    > > ``````````````````````
    > >
    > > And the file is also there.
    > >
    > > `````````````
    > > joy@debian:~$ ls -l /home/joy/pics/Father/Father.jpg
    > > -rw-r--r-- 1 joy joy 33493 Oct 12
    > > 2008 /home/joy/pics/Father/Father.jpg ````````````````````
    > >
    > > Don't know what prevents the wallpaper !!!
    >
    > Given the above, I don't know what would prevent it either; it all
    > looks pretty reasonable.
    >
    >

Thanks for your time. Any debug process to find out the problem ?

Here i my whole .ideskrc

    table Config
      FontName: gothic
      FontSize: 11
      FontColor: #37CFA6
      ToolTip.FontSize: 11
      ToolTip.FontName: gothic
      ToolTip.ForeColor: #0000FF
      ToolTip.BackColor: #FFFFFF
      ToolTip.CaptionOnHover: true
      ToolTip.CaptionPlacement: Right
      Locked: false
      Transparency: 100
      Shadow: true
      ShadowColor: #000000
      ShadowX: 1
      ShadowY: 1
      Bold: true
      ClickDelay: 300
      IconSnap: true
      SnapWidth: 10
      SnapHeight: 10
      SnapOrigin: BottomRight
      SnapShadow: false
      SnapShadowTrans: 200
      CaptionOnHover: false
      CaptionPlacement: bottom
      FillStyle: fillinvert
    #  Background.Delay: 1
    #  Background.Source: /home/joy/pics/Father
      Background.File: /home/joy/pics/Father/Father.jpg
      Background.Mode: Center
      Background.Color: #FFFFFF
    end

    table Actions
      Lock: control right doubleClk
      Reload: middle doubleClk
      Drag: left hold
      EndDrag: left singleClk
      Execute[0]: left doubleClk
      Execute[1]: right doubleClk
    end

Top Back

Ben Okopnik [ben at linuxgazette.net]

Sun, 19 Jul 2009 13:14:08 -0500

On Sun, Jul 19, 2009 at 08:04:37PM +0530, J. Bakshi wrote:

    >
    > Hello Ben,
    >
    > Yes, I read it. But for me it is not working unfortunately. idesk always reports
    >
    > ````````````
    >  Idesk starting in :1.0
    > [idesk] Background's file not found.
    > [idesk] Background's source not found.
    > ``````````````````````

Well, idesk is telling you that it can't find either one. Go ahead and post your whole .ideskrc here, and I'll check it out.

    > Though I have the configuration in my .ideskrc
    >
    > `````````````````
    > #Background.Delay: 1
    > #Background.Source: /home/joy/pics/Father
    > Background.File: /home/joy/pics/Father/Father.jpg
    > Background.Mode: Center
    > Background.Color: #FFFFFF
    > ``````````````````````
    >
    > And the file is also there.
    >
    > `````````````
    > joy@debian:~$ ls -l /home/joy/pics/Father/Father.jpg
    > -rw-r--r-- 1 joy joy 33493 Oct 12  2008 /home/joy/pics/Father/Father.jpg
    > ````````````````````
    >
    > Don't know what prevents the wallpaper !!!

Given the above, I don't know what would prevent it either; it all looks pretty reasonable.

    --
    * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *

Top Back

Steve Brown [steve.stevebrown at gmail.com]

Sun, 19 Jul 2009 21:21:46 +0100

Hi Guys,

J. Bakshi wrote:

    > Ben Okopnik <ben@linuxgazette.net> wrote:
    >> On Sun, Jul 19, 2009 at 08:04:37PM +0530, J. Bakshi wrote:

    >>>
    >>> ````````````
    >>>  Idesk starting in :1.0
    >>> [idesk] Background's file not found.
    >>> [idesk] Background's source not found.
    >>> ``````````````````````
    >> Well, idesk is telling you that it can't find either one. Go ahead and
    >> post your whole .ideskrc here, and I'll check it out.
    >>
    >>> Though I have the configuration in my .ideskrc
    >>>
    >>> `````````````````
    >>> #Background.Delay: 1
    >>> #Background.Source: /home/joy/pics/Father
    >>> Background.File: /home/joy/pics/Father/Father.jpg
    >>> Background.Mode: Center
    >>> Background.Color: #FFFFFF
    >>> ``````````````````````

In the example .ideskrc file at: http://idesk.sourceforge.net/wiki/index.php/Idesk-usage

it contains this:

    Background.File: image.jpg
    Background.Delay: 1
    Background.Source: ~/.idesktop/icons
    Background.Mode: Mirror
    Background.Color: #C2CCFF

which suggest that you need to provide these lines instead:

    Background.Source: /home/joy/pics/Father
    Background.File: Father.jpg
    Background.Mode: Center
    Background.Color: #FFFFFF

Can you try having a go with them?

Good luck,

Steve

Top Back

Steve Brown [steve.stevebrown at gmail.com]

Wed, 29 Jul 2009 13:47:19 +0100

On Wed, Jul 29, 2009 at 2:28 PM, Ben Okopnik<ben@linuxgazette.net> wrote:

    > On Sun, Jul 19, 2009 at 10:57:06PM +0530, J. Bakshi wrote:
    >> On Sun, 19 Jul 2009 13:14:08 -0500
    >> Ben Okopnik <ben@linuxgazette.net> wrote:

[...]

    >> Any debug process to find out the problem ?
    >
    > I don't know of any. I've just tried using "strace", but it shows idesk
    > reading the config file, then generating the 'not found' message - no
    > other info. Seems to me that idesk is broken in this regard: it works
    > fine when I use it my preferred way (i.e., a random image from a
    > directory), but doesn't work with a specified single image.

As a temporary workaround, have several copies of the image with different filenames and have it randomly select from them.

Steve

Top Back

Ben Okopnik [ben at linuxgazette.net]

Wed, 29 Jul 2009 08:28:07 -0500

On Sun, Jul 19, 2009 at 10:57:06PM +0530, J. Bakshi wrote:

    > On Sun, 19 Jul 2009 13:14:08 -0500
    > Ben Okopnik <ben@linuxgazette.net> wrote:
    >
    > > Well, idesk is telling you that it can't find either one. Go ahead and
    > > post your whole .ideskrc here, and I'll check it out.

[...]

    > > > Don't know what prevents the wallpaper !!!
    > >
    > > Given the above, I don't know what would prevent it either; it all
    > > looks pretty reasonable.
    >
    > Thanks for your time.
    > Any debug process to find out the problem ?

I don't know of any. I've just tried using "strace", but it shows idesk reading the config file, then generating the 'not found' message - no other info. Seems to me that idesk is broken in this regard: it works fine when I use it my preferred way (i.e., a random image from a directory), but doesn't work with a specified single image.

Your best bet is to file a bug.

    --
    * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *

Top Back

Deividson Okopnik [deivid.okop at gmail.com]

Wed, 29 Jul 2009 11:08:28 -0300

2009/7/29 Steve Brown <steve.stevebrown@gmail.com>:

    > On Wed, Jul 29, 2009 at 2:28 PM, Ben Okopnik<ben@linuxgazette.net> wrote:
    >
    > As a temporary workaround, have several copies of the image with
    > different filenames and have it randomly select from them.
    >

or just one image in the folder? i guess that would work.

Top Back

Ben Okopnik [ben at linuxgazette.net]

Wed, 29 Jul 2009 13:54:29 -0500

On Wed, Jul 29, 2009 at 11:08:28AM -0300, Deividson Okopnik wrote:

    > 2009/7/29 Steve Brown <steve.stevebrown@gmail.com>:
    > > On Wed, Jul 29, 2009 at 2:28 PM, Ben Okopnik<ben@linuxgazette.net> wrote:
    > >
    > > As a temporary workaround, have several copies of the image with
    > > different filenames and have it randomly select from them.
    >
    > or just one image in the folder? i guess that would work.

[blink] That's brilliant. Sounds like it would work just fine.

    --
    * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *

Top Back