Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Conkyのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Conky
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:システムモニタ]] [[de:Conky]] [[en:Conky]] [[fr:Conky]] [[zh-hans:Conky]] {{Related articles start}} {{Related|Conky/ヒントとテクニック}} {{Related|Lm_sensors}} {{Related|Hddtemp}} {{Related articles end}} [[Wikipedia:Conky (software)|Conky]] is a system monitor software for the X Window System (Wayland support is a [https://github.com/brndnmtthws/conky/issues/56 work in progress]). It is available for GNU/Linux and FreeBSD. It is free software released under the terms of the GPL license. Conky is able to monitor many system variables including CPU, memory, swap, disk space, temperature, top, upload, download, system messages, and much more. It is extremely configurable, however, the configuration can be a little hard to understand. ''Conky'' is a fork of torsmo. == Installation == {{Pkg|conky}} パッケージを [[インストール]] します。追加のコンパイルオプションを有効にしてインストールできる代替パッケージもあります。 * {{AUR|conky-cli}} - X11 依存関係のない conky * {{AUR|conky-lua-nv}} - Lua と Nvidia の両方をサポート Some built in variables in conky require additional packages to be installed in order to be utilized, for example [[mpd]] for music. As for hard drive temperature, [https://hwmon.wiki.kernel.org/device_support_status Since kernel 5.6] the {{ic|drivetemp}} module will report SATA/SAS temperature through hwmon. See the [[Lm_sensors#S.M.A.R.T. drive temperature]] discussion. From conky point of view, {{ic|drivetemp}} can be used as a replacement for the [[hddtemp]] package and variable by using its {{ic|hwmon}} variable. Additional utility: * {{App|Conky Manager|Theme manager for Conky widgets. It provides options to start/stop, browse and edit Conky themes installed on the system.|https://teejeetech.com/conky-manager/|{{Pkg|conky-manager}}}} == Configuration == The configuration file can be located in one of the following paths (the first one found will be used): * {{ic|~/.config/conky/conky.conf}} * {{ic|~/.conkyrc}} * {{ic|/etc/conky/conky.conf}} If none of these files exist, conky will use the default built-in configuration, which you can print out with: $ conky --print-config Furthermore, you can create a default configuration file with the following command: $ mkdir -p ~/.config/conky && conky --print-config > ~/.config/conky/conky.conf If you prefer to have a configuration [[dotfile]] in home, you can create a file elsewhere and tell conky to use it using arguments. For example to tell conky to use a dotfile located in the user's home directory: $ conky --config=~/.conky.conf Additional example configuration files are available in [https://github.com/brndnmtthws/conky/wiki/Configs the upstream wiki article]. When editing your configuration file while conky is running, conky will update with the new changes every time you write to the file. See the [https://conky.sourceforge.net/variables.html SourceForge page] for a complete reference for all Conky objects/variables; these are also listed in {{man|1|conky}}. === Dual screen === When using a dual screen configuration, you will need to play with a few options to place your ''conky'' window where you want it on the desktop. By adjusting {{ic|gap_x}}, let us say you are running a 1680x1050 pixels resolution and you want the window on middle top of your left monitor, you will use: alignment = 'top_left', gap_x = 840, The {{ic|alignment}} option is self-explanatory, the {{ic|gap_X}} is the distance, in pixels, from the left border of your screen. {{ic|xinerama_head}} is an alternative useful option, the following will place the ''conky'' window at the top right of the second screen: alignment = 'top_right', xinerama_head = 2, === Configuration file syntax === Since Conky 1.10 (Circa 2015Q2), configuration files are written with a [[Lua]] syntax, like so: conky.config = { -- Comments start with a double dash bool_value = true, string_value = 'foo', int_value = 42, } conky.text = [[ $variable ${evaluated variable} ]] Pre 1.10 use the old syntax, which looks like this: bool_value yes string_value 'foo' int_value 42 A Lua script is available to convert from the old syntax to the new Lua syntax [https://github.com/brndnmtthws/conky/blob/master/extras/convert.lua at the GitHub repository]. The script is also at {{ic|/usr/share/doc/conky-1.15.0_pre/convert.lua}}. == Fonts == For displaying Unicode pictures and emoji with conky you will need a [[Fonts#Emoji and symbols|font]] that supports this and then configure conky to use the font with the Unicode you want to display. For example: ${font Symbola:size=48}☺${font} === Symbolic fonts === Symbolic fonts are also very commonly used in more decorated conky configurations, some of the more popular ones include; * {{Pkg|otf-font-awesome}} * {{AUR|ttf-pizzadude-bullets}} - PizzaDude Bullet's font * {{AUR|ttf-weather-icons}} - Erik flowers weather icon font with 222 glyphs == Autostart == There are several different ways to start Conky automatically, as outlined in [[Autostarting]]. Conky has a configuration setting which will tell it to fork to the background. This may be desirable for some autostarting setups. In {{ic|conky.conf}}: conky.config = { background = true, } If you use a graphical desktop environment and wish to use a {{ic|conky.desktop}} file for autostarting, use the following: {{hc|~/.config/autostart/conky.desktop|2= [Desktop Entry] Type=Application Name=conky Exec=conky --daemonize --pause=5 StartupNotify=false Terminal=false}} The {{ic|1=pause=5}} parameter delays ''conky'''s drawing for 5 seconds at startup to make sure that the desktop had time to load and is up. == Troubleshooting == These are known issues people have with conky and their solutions. === Conky starts and does not display anything on the screen === First check for syntax errors in your configuration file's text variable. Then double check that your user has permission to run every command inside your configuration file and that all needed packages are installed. === Transparency === {{Merge|Conky/Tips and tricks|This is not a troubleshooting section, it belongs in the Tips and tricks section.}} Conky supports two different types of transparency. Pseudo-transparency and real transparency that requires a [[composite manager]] to be installed and running. If you enable real transparency and do not have a composite manager running your conky will not be alpha transparent with transparency enabled for fonts and images as well as the background. ==== Pseudo-transparency ==== Pseudo-transparency is enabled by default in conky. Pseudo-transparency works by copying the background image from the root window and using the relevant section as the background for conky. Some window managers set the background wallpaper to a level above the root window which can cause conky to have a grey background. To fix this issue you need to set it manually. An example with [[feh]] is: In {{ic|~/.xinitrc}}: sleep 1 && feh --bg-center ~/background.png & ==== Enable real transparency ==== To enable real transparency, you must have a [[composite manager]] running and the following lines added to {{ic|.conkyrc}} inside the conky.config array: conky.config = { own_window = true, own_window_transparent = true, own_window_argb_visual = true, own_window_type = 'desktop', } If window type "desktop" does not work try changing it to {{ic|normal}}. If that does not work try the other options: {{ic|dock}}, {{ic|panel}}, or {{ic|override}} instead. {{Note|1=[[Xfce]] requires enabled compositing, see [https://forum.xfce.org/viewtopic.php?pid=25939].}} ==== Semi-transparency ==== To achieve semi-transparency in real transparency mode, the following setup must be used in the conky configuration file: conky.config = { own_window = true, own_window_transparent = false, own_window_argb_visual = true, own_window_argb_value = 90, own_window_type = 'desktop', } To reduce the transparency of the conky window, one can increase the value of {{ic|own_window_argb_value}} towards 255. === Do not minimize on Show Desktop === '''Using Compiz:''' If the 'Show Desktop' button or key-binding minimizes Conky along with all other windows, start the Compiz configuration settings manager, go to "General Options" and uncheck the "Hide Skip Taskbar Windows" option. '''Using XFCE:''' If clicking the desktop hides Conky, add {{ic|1=own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',}} inside {{ic|conky.conf}}. '''For the other [[Desktop environment]]s/[[WM]]:''' Try editing {{ic|conky.conf}} and adding/changing the following line: own_window_type = 'override', or own_window_type = 'desktop', Refer to {{man|1|conky}} [[man page]] for the exact differences. But the latter option enables you to snap windows to ''conky''s border using resize key-binds in e.g. Openbox, which the first one does not. === Integrate with GNOME Shell === Some have experienced problems with ''conky'' showing up under [[GNOME]]. Add these lines to {{ic|conky.conf}}: own_window = true, own_window_type = 'desktop', === Prevent flickering === {{Expansion|Explain the steps to follow if there is no dbe module, probably in [[xorg]] rather than here with a link}} ''Conky'' needs Double Buffer Extension ''(DBE)'' support from the X server to prevent flickering because it cannot update the window fast enough without it. It can be enabled with [[Xorg]] in {{ic|/etc/X11/xorg.conf}} with {{ic|Load "dbe"}} line in {{ic|"Module"}} section. The {{ic|xorg.conf}} file has been replaced (1.8.x patch upwards) by {{ic|/etc/X11/xorg.conf.d}} which contains the particular configuration files. ''DBE'' is loaded automatically as long as it is present within {{ic|/usr/lib/xorg/modules}}. The list of loaded modules can be checked with {{ic|grep LoadModule /var/log/Xorg.0.log}}. To enable double buffering, add the {{ic|double_buffer}} option to {{ic|conky.conf}}: conky.config = { double_buffer = true, } == 参照 == * [https://github.com/brndnmtthws/conky 公式ウェブサイト] * [http://conky.sourceforge.net/config_settings.html 設定に使用する Conky 変数] * [http://conky.sourceforge.net/variables.html Conky オブジェクト] * [https://bbs.archlinux.org/viewtopic.php?id=39906 Arch フォーラムの Conky 設定スレッド] * [https://github.com/brndnmtthws/conky/wiki/FAQ FAQ]
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:App
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Man
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
Conky
に戻る。
検索
検索
Conkyのソースを表示
話題を追加