Лучше получать по 1% от усилий 100 человек, чем 100% только от своих собственных усилий.

J. Paul Getty
Меню сайта


Форма входа


Поиск


Архив записей


Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0


...
free counters


...
бесплатный счетчик посещений


...
Счетчик посетителей онлайн


...


PR-CY.ru



Приветствую Вас, Гость · RSS 11.05.2024, 14:23
Главная » 2010 » Ноябрь » 15 » Conky взгляд по другому!
10:16
Conky взгляд по другому!

И так однажды я уже писал, как можно быстро было запилить Conky на машину, но пройдя по просторам интернета нашел статью по настройке Коньков. И так выложу это еще проще чем было описано там.Открываем терминал ну и пропишем три комманды

#sudo aptitude install python-statgrab ttf-droid hddtemp curl lm-sensors conky-all
#sudo chmod u+s /usr/sbin/hddtemp
#sudo sensors-detect (отвечаем "Yes" (default) на все вопросы,но на последний вопрос ответим "No")

Перезагружаемся командой под рутом #reboot
После того как перезагрузились необходимо скачать фаил под названием conky-colors.tar.gz и распаковать командой #tar xvfz conky-colors.tar.gz(но для того чтобы распаковать необходимо пройти в тот путь, куда вы закачали сам фаил. Переход выполняется по команде #cd /home/downloads (но это у меня так у вас будет по другому)).

После того как распаковка произошла успешно пропишем следующий команды

#make
#sudo make install
#conky-colors {options}

После всего этого в самом conky есть небольшой HELP фаил где описаны комманды которые нам необходимы чтобы впилить в фаил и так для начала необходимо войти в фаил где он уже лежит распакованный
user@user:~$ cd Downloads/
user@user:~/Downloads$ ls
92328-conky_colors_4.3.2.tar.gz  conky_colors
user@user:~/Downloads$ cd conky_colors/
После того как мы вошли в папку conky пропишем команды (conky-colors --help)
user@user:~/Downloads/conky_colors$ conky-colors --help

    -------------- DEFAULT MODE --------------
    ./conky-colors <options>

    Priority of options : -h or --help > --default_datadir > --createlocalcopy >
      --finddir > the rest
    options:
    --lang=<language> - Set default language:
        bulgarian OR bg
        deutsch OR de
        english OR en*
        estonian OR et
        italian OR it
        polish OR pl
        portuguese OR pt
        russian OR ru
        spanish OR es
    --theme=<theme> - Set default theme color
        gnome-brave
        gnome-carbonite
        gnome-human*
        gnome-noble
        gnome-tribute
        gnome-wine
        gnome-wise
        shiki-brave
        shiki-human
        shiki-noble
        shiki-wine
        shiki-wise
        shiki-dust
        dust
        radiance
        ambiance
        elementary
        custom
            These options work only with --theme=custom option
            --default-color=<value>
            --color0=<value>
            --color1=<value>
            --color2=<value>
    --dark - Set Dark Brightness(Don't work with skiki-colors/shikidust/dust/ambiance/radiance/elementary/custom themes)
    --alldark - Set Dark Brightness for all(Don't work with any theme)'
    --alllight - Set light Brightness for all(Don't work with any theme)'
    --cpu=<number> - Set number of cpu cores
    --cputemp - Enable CPU temperature
    --swap - Enable SWAP
    --battery - Enable battery
    --updates - Show updates of Debian/Ubuntu
    --proc=<number> - Enable top processes widget and set the number of processes to show [Max = 10]
    --clock=<default|classic|slim|modern|lucky|digital|off> - Enable/disable clock widget and set type
    --nodata - disable Data widget
    --calendar - Enable calendar
        -m - Set monday as first day in the week in calendar
    --nvidia - Enable nvidia gpu widget
    --todo - Enable ToDo widget
    --hd=<default|meerkat|mix|simple> - Enable HD widget
    --hdtemp1=<device> - Enable HD temperature [Ex: --hdtemp1=sda]
    --hdtemp2=<device> - Enable HD temperature [Ex: --hdtemp2=sdb]
    --hdtemp3=<device> - Enable HD temperature [Ex: --hdtemp3=sdc]
    --hdtemp4=<device> - Enable HD temperature [Ex: --hdtemp4=sdd]
    --photo - Enable Photo widget
    --photord - Enable Photo widget in random mode
    --mpd - Enable MPD widget
    --covergloobus - Enable CoverGloobus widget
    --rhythmbox=<default|cd|case|glassy|vinyl|oldvinyl|simple> - Enable Rhythmbox widget
    --banshee=<default|cd|case|glassy|vinyl|oldvinyl|simple> - Enable Banshee widget
    --exaile=<default|cd|case|glassy|vinyl|oldvinyl|simple> - Enable Exaile widget
    --pidgin - Enable Pidgin widget
        --limit=<number> - [default: 5] Set a limit to the number of buddies displayed
    --gmail - Enable gmail notify
        --user=<username> - Type your username
        --passwd=<password> - Type your password
    --network - Enable network widget
        --eth=<number> - Change ethernet device [Default=0]
        --wlan=<number> - Change wireless device [Default=0]
        --ppp=<number> - Change 3g modem device [Default=0]
    --unit=<C|F>- Force output temperature either in Celius or Fahrenheit
    --bbcweather=<AreaID> - Enable weather widget and set your AreaID[Ex: --bbcweather=3849]
    --weather=<AreaID> - Enable weather widget and set your AreaID[Ex: --weather=BRXX0043]
    --weatherplus - Give a plus to the weather widget
    --simpleweather=<AreaID> - Enable simple weather widget and set your AreaID[Ex: --simpleweather=BRXX0043]
    --side=<left|right*> - Set the side of conky in your screem
    Choose your Distro Logo:
        --ubuntu
        --fedora
        --opensuse
        --debian
        --arch
        --gentoo
        --pardus
        --xfce
        --gnome
    -------------- CAIRO MODE --------------
    --cairo - Enable cairo-conky mode.
        Some of these options work only with this mode:
    --theme=<theme> - Set default theme color (Don't work with skiki-colors/shikidust/dust themes)
    --dark - Set Dark Brightness (Don't work with ambiance/radiance/elementary themes)
    --alldark - Set Dark Brightness for all(Don't work with any theme)'
    --alllight - Set light Brightness for all(Don't work with any theme)'
    --shape - Enable rounded rectangles over the widgets
    --cpu=<number> - Set number of cpu cores
    --orcpu - Enable the One-Ring-CPU mod, use this with --cpu=<number> option'
    --swap - Enable SWAP
    --clock=<cairo|bigcairo> - Enable/disable clock widget
    --rhythmbox=<cairo|cairo-case|cairo-cd|cairo-glassy|lua> - Enable Rhythmbox widget
    --banshee=<cairo|cairo-case|cairo-cd|cairo-glassy|lua> - Enable Banshee widget
    --exaile=<cairo|cairo-case|cairo-cd|cairo-glassy|lua> - Enable Banshee widget
    --network - Enable network widget
    --unit=<C|F>- Force output temperature either in Celius or Fahrenheit
    -------------- EXTRA OPTIONS --------------
    --datadir=/path/to/datadir - it overrides default datadir
    --createlocalcopy - it copies the content of system datadir to ~/.conkycolors
    --nofilecheck - disables checking the presence of files
    --default_datadir - prints the order of default datadirs in which files are searched by default.
    --finddir=FILE - this option makes this program find and print out a directory where FILE is located.
    --argb-value=0-255 - Set the value of own_window_argb_value, the default is 180
    --install=local, system, or custom - install generated configuration files to a chosen datadir.

после этого тут же в этом же пути вводим данный которые я отметил жирным шрифтом, я так указал свои параметры вы же можете указать свои и так вводим

user@user:~/Downloads/conky_colors$conky-colors --lang=ru --theme=gnome-brave --cpu=2 --cputemp --swap --updates --proc=5 --clock=modern --calendar --hd=meerkat --hdtemp1=/dev/sda --network --gnome
жмем Enter после чего.
ну и последняя команда, чтобы обновить весь фаил

#sudo fc-cache -v -f

Ну теперь запускаем конки через терминал для этого просто необходимо прописать #conky либо нажать клавиши Alt+F2 и написать там.

Если запустился конки стандартный, то значит вы запустили встроенный конки, поэтому вам необходимо его будет прописать жестко указав дерикторию

System > Preferences > Startup Applications, жмем "Add" и добавляем путь conkyStart фаил [/usr/share/conkycolors/bin/conkyStart]

Если нам необходимо что то подкорректировать открываем консоль и пишем
#gedit .conkyrc

Либо тут #cd ~/.conkycolors и тут будет фаил которые необходимо отредактировать
#sudo gedit conkyrc

P.S. чтобы запустить в Debian conky пропишите следующий путь
#conky -c /root/.conkycolors/conky

Хотя когда вы сконфигурируете сам конки то он уже покажет путь где расположен фаил.

Источник

Просмотров: 1701 | Добавил: kritik | Теги: conky, коньки, conky monitor, конки | Рейтинг: 0.0/0
Всего комментариев: 0
Имя *:
Email *:
Код *:
Создать бесплатный сайт с uCoz