LinuxReviws.org --get your your Linux knowledge
> Linux Reviews > Manual Pages (man) >

ideskrc


  1. ideskrc.5.man


1. ideskrc.5.man

Manpage of ideskrc

ideskrc

Section: (5)
Updated:
Index Return to Main Contents
 

NAME

ideskrc - Configuration file for idesk(1)  

USAGE

The .ideskrc file needs to be placed in the root of your home directory.  

FORMAT

The structure of the file is as follows:
table Config
  <setting>: <value>
end table Actions
  <operation_to_perform>: <action>

Anything else in the file will be ignored.  

SETTINGS

Locked is boolean (true/false). Setting it to true disables the dragging movement.

Transparency is between 0 (no glow effect) and 255 (invisible without a mouseover).

HighContrast will draw a border around the text in the opposite colour if it is true. It will draw it in an arbitary colour if it "#aa00aa", for example. And it will not draw anything at all if it is set to "false".

Shadow is boolean (true/false). Turning this on will draw a drop shadow of color ShadowColor behind the text. The shadow will be ShadowX pixels right and ShadowY pixels down (negative values will work). Both ShadowX and ShadowY default to 1.

Bold is a boolean (true/false). Setting it to true will make your font bold.

Click Delay is the number of milliseconds that represents a double-click.

SingleClick is a boolean (true/false). Setting it to true makes a single-click execute the command associated with the icon. This also means that it is impossible to drag the icon either.

IconSnap is a boolean (true/false). Setting it to true makes the icons snap to a grid defined by "SnapWidth" and "SnapHeight". The icon will snap to the middle of the rectangle defined by "SnapWidth" and "SnapHeight". So if "SnapWidth" = "SnapHeight" = 100, the center of the icon will by in multiples of 50: (50,50), or (50, 100), or (100, 100), or (250, 350)... You will want to make "SnapWidth" and "SnapHeight" greater than or equal to the size of the picture.

SnapWidth and SnapHeight is a positive integer, see description in "IconSnap".

SnapOrigin defines where the snap grip starts from. Valid values are:
  TopLeft, TopRight, BottomLeft, BottomRight.

SnapShadow is a boolean (true/false) value. Setting it to true will make a shadow of the icon appear where the icon will snap if the drag was released there. Turn "IconSnap" on and check this out, pretty cool effect.

SnapShadowTrans is a integer between 0 (opaque) and 255 (invisible). It represents the transparency of the SnapShadow

CaptionOnHover is a boolean (true/false) value. Setting it to true will make the icon's caption only appear when the mouse hovers over an icon. False is the default behavior.

 

BETTER SNAP EXPLANATION


               .          .          .
               .          .          .
               |__________|__________|_______ . . .
               |          |          |
               |          |          |
           y   |          |          |
               |          |          |
               |          |          |
         [>    |__________|__________|________ . . .
         |           x
         |
         |
                                                                                                                This is the bottom left of the desktop (SnapOrigin: BottomLeft)
                                                                                                                X represents the snap width Y represents the snap height Snap origin only describes which corner of the screen
                                                                                                                So basically set snap width to the width of the "box" you want the icon contained in and set snap height to the height of the "box" you want the icon contained in.
                                                                                                                The icon will snap to the middle of that box specified by snap width and snap height. You will typically want the width and heihgt to be a bit larger than the width and height of the icons (make the height bigger if you use a caption).  

ACTION CONFIGURATION

In the Action table 5 different actions can be configured.

    Lock:       Disables icon dragging to prevent accidental movement.


    Reload:     Reloads all of the config options and gets a new background.


    Drag:       Puts the icon in drag mode. Icon follows cursor.


    EndDrag:    End the drag mode, icon will be positioned at the cursor.


    Exectue[i]: Executes the ith icon command. So the Execute[0] action is the
                default action and run Command[0] (in the icon config file),
                Execute[1] runs Command[1] and so forth.

The options for each command are as follows:


    <shift> <control> <alt> [Button] [ClickType]
    [Button] = left, middle, or right (more than one is allowed)
    [ClickType] = singleClk, doubleClk, tripleClk, or hold

Some examples
The default settings, should be self explanitory.

Lock: right doubleClk
Reload: middle doubleClk
Drag: left hold <== Drag starts when left button is pressed.
EndDrag: left singleClk <== Drag ends when left button is released.
Execute[0]: left doubleClk

Other examples
Left single click while holding shift on the keyboard
Execute[0]: shift left singleClk

Left double click while holding down the right mouse button.
Execute[0]: left doubleClk right hold

And for those with too many fingers, middle double click while holding down the left and right mouse buttons, and control, alt, and shift on the keyboard.
Execute[0]: control shift alt left hold middle doubleClk right hold

Notes:
For the Drag action I reccomend only doing button holds and for the EndDrag I recommend using single clicks. This way the icon begins dragging as soon as you press the button and stops dragging as soon as you release the button. Using other actions should work as expected, but there are a few small bugs.

If two actions have the same key/button combinations they both will occur, unless one is the reload action. The reload action always only happens by itself.

 

SEE ALSO

idesk(1)

 

EXAMPLE

table Config
  FontName: tahoma
  FontSize: 8
  FontColor: #ffffff
  Locked: false
  Transparency: 150
  Shadow: true
  ShadowColor: #000000
  ShadowX: 1
  ShadowY: 2
  Bold: false
  ClickDelay: 300
  IconSnap: true
  SnapWidth: 55
  SnapHeight: 100
  SnapOrigin: BottomRight
  SnapShadow: true
  SnapShadowTrans: 200
  CaptionOnHover: false
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  

PROGRAM AUTHORS

Chris Roberts (nikon) <nikon@sc.rr.com>
Bryn (curious) <curious@ihug.com.au>
Christopher Morris <cmorri9@lsu.edu>
Tim Finley <timmfin@timmfin.net>
 

MANPAGE AUTHOR

Dylan Carlson <absinthe@gentoo.org>
Sergey Kuleshov <svyatogor@gentoo.org>


 

Index

NAME
USAGE
FORMAT
SETTINGS
BETTER SNAP EXPLANATION
ACTION CONFIGURATION
SEE ALSO
EXAMPLE
PROGRAM AUTHORS
MANPAGE AUTHOR

This document was created by man2html using the manual pages.
Time: 17:31:12 GMT, October 23, 2013

Meet new people