Idesk: Difference between revisions

From ArchWiki
m (中文翻译添加)
m (add ru link)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
[[de:iDesk]]
[[de:iDesk]]
[[ja:Idesk]]
[[ja:Idesk]]
[[ru:Idesk]]
[[zh-hans:Idesk]]
[[zh-hans:Idesk]]
[http://idesk.sourceforge.net/html/index.html Idesk] is a simple program for adding icons to your X desktop. It can also manage your wallpaper with a built in changer similar to that found in Windows 7.
[http://idesk.sourceforge.net/html/index.html Idesk] is a simple program for adding icons to your X desktop. It can also manage your wallpaper with a built in changer similar to that found in Windows 7.
Line 7: Line 8:
== Installation ==
== Installation ==


[[Install]] {{AUR|idesk}}. Then copy the necessary configuration files to your home directory as shown below:
[[Install]] the {{AUR|idesk}} package and [[create]] the {{ic|~/.idesktop/}} directory.
$ mkdir ~/.idesktop
$ cp /usr/share/idesk/dot.ideskrc ~/.ideskrc
optional:
$ cp /usr/share/idesk/default.lnk ~/.idesktop/
(This adds the default icon which just runs Xdialog to display a welcome message. It can be used as a template for other icons.)


== Configuration ==
== Configuration ==


The {{AUR|idesk}} package does not come with a man page, but it does come with a readme file: {{ic|/usr/share/idesk/README}}. There is also documentation on [http://idesk.sourceforge.net/html/usage.html '''SourceForge.net'''] however most of the configuration options should be self-explanatory.
At the first run ''idesk'' will create the {{ic|~/.ideskrc}} configuration file. If {{ic|~/.idesktop/}} is empty, it will also create the {{ic|~/.idesktop/default.lnk}} icon, which just runs {{Pkg|xdialog}} to display a welcome message. It can be used as a template for other icons.
 
The {{AUR|idesk}} package does not come with a man page, but it does come with a readme file: {{ic|/usr/share/idesk/README}}. There is also documentation on [http://idesk.sourceforge.net/html/usage.html SourceForge.net], however most of the configuration options should be self-explanatory.


=== Background options ===
=== Background options ===


If you are using another wallpaper setter such as [[Feh]] or [[Nitrogen]], Idesk's background settings do not need to be modified.
If you are using another wallpaper setter such as [[Feh]] or [[Nitrogen]], Idesk's background settings do not need to be modified.
 
If you are using Idesk's own background setter, supported wallpaper formats include JPEG, PNG, GIF, and XPM. Using either {{ic|Background.File}} or {{ic|Background.Source}}, specify the path to the image file you wish to use as a wallaper.
If you are using Idesk's own background setter, supported wallpaper formats include JPEG, PNG, GIF, and XPM. Using either {{ic|Background.File}} or {{ic|Background.Source}}, specify the path to the image file you wish to use as a wallpaper.


{{Tip|{{ic|Background.Source}} seems to take precedence over {{ic|Background.File}}; however, it is ignored if {{ic|Background.Delay}} is set to 0.}}
{{Tip|{{ic|Background.Source}} seems to take precedence over {{ic|Background.File}}; however, it is ignored if {{ic|Background.Delay}} is set to 0.}}
Line 28: Line 26:
=== Icons ===
=== Icons ===


Idesk looks in {{ic|~/.idesktop}} for files which names end with {{ic|.lnk}} for icons. Each file should define one icon If you attempt to define a second icon it will be silently ignored. Aside from ending with {{ic|.lnk}}, the files' names are not important.
Idesk looks in {{ic|~/.idesktop/}} for files which names end with {{ic|.lnk}} for icons. Each file should define one icon. If you attempt to define a second icon, it will be silently ignored. Aside from ending with {{ic|.lnk}}, the files' names are not important.


Example for Chromium:
Example for Chromium:
{{hc|chromium.lnk|table Icon
{{hc|chromium.lnk|
table Icon
   Caption: Chromium
   Caption: Chromium
   ToolTip.Caption: Google's OSS Web Browser
   ToolTip.Caption: Google's OSS Web Browser
Line 40: Line 39:
   Y: 369
   Y: 369
   Command[0]: chromium
   Command[0]: chromium
end}}
end
}}


{{ic|Width}} and {{ic|Height}} should match the actual dimensions of the icon. {{ic|X}} and {{ic|Y}} will be modified by idesk to reflect the icon's actual position.
{{ic|Width}} and {{ic|Height}} should match the actual dimensions of the icon. {{ic|X}} and {{ic|Y}} will be modified by idesk to reflect the icon's actual position.


{{Tip|
{{Tip|
* Most system icons can be found in the following locations: {{ic|/usr/share/icons/hicolor}}, {{ic|/usr/share/icons/gnome}} and {{ic|/usr/share/pixmaps}}.
* Most system icons can be found in the following locations: {{ic|/usr/share/icons/hicolor/}}, {{ic|/usr/share/icons/gnome/}} and {{ic|/usr/share/pixmaps/}}.
* Many icon themes provide a variety of different sizes of icon - 48x48 is a commonly used size for desktop icons.
* Many icon themes provide a variety of different sizes of icon - 48x48 is a commonly used size for desktop icons.
}}
}}

Latest revision as of 14:30, 19 December 2022

Idesk is a simple program for adding icons to your X desktop. It can also manage your wallpaper with a built in changer similar to that found in Windows 7.

Installation

Install the ideskAUR package and create the ~/.idesktop/ directory.

Configuration

At the first run idesk will create the ~/.ideskrc configuration file. If ~/.idesktop/ is empty, it will also create the ~/.idesktop/default.lnk icon, which just runs xdialog to display a welcome message. It can be used as a template for other icons.

The ideskAUR package does not come with a man page, but it does come with a readme file: /usr/share/idesk/README. There is also documentation on SourceForge.net, however most of the configuration options should be self-explanatory.

Background options

If you are using another wallpaper setter such as Feh or Nitrogen, Idesk's background settings do not need to be modified.

If you are using Idesk's own background setter, supported wallpaper formats include JPEG, PNG, GIF, and XPM. Using either Background.File or Background.Source, specify the path to the image file you wish to use as a wallpaper.

Tip: Background.Source seems to take precedence over Background.File; however, it is ignored if Background.Delay is set to 0.

Icons

Idesk looks in ~/.idesktop/ for files which names end with .lnk for icons. Each file should define one icon. If you attempt to define a second icon, it will be silently ignored. Aside from ending with .lnk, the files' names are not important.

Example for Chromium:

chromium.lnk
table Icon
  Caption: Chromium
  ToolTip.Caption: Google's OSS Web Browser
  Icon: /usr/share/icons/hicolor/32x32/apps/chromium.png
  Width: 32
  Height: 32
  X: 977
  Y: 369
  Command[0]: chromium
end

Width and Height should match the actual dimensions of the icon. X and Y will be modified by idesk to reflect the icon's actual position.

Tip:
  • Most system icons can be found in the following locations: /usr/share/icons/hicolor/, /usr/share/icons/gnome/ and /usr/share/pixmaps/.
  • Many icon themes provide a variety of different sizes of icon - 48x48 is a commonly used size for desktop icons.

Idesktool

The idesk-extrasAUR package provides a graphical configuration tool for Idesk. It can be started by running the idesktool command. Users can use Idesktool to create and remove icons, modify settings and restart Idesk.