Polybar arch linux install

Arch Linux User Repository

Search Criteria

Package Details: polybar 3.5.7-1

Package Actions

Git Clone URL: https://aur.archlinux.org/polybar.git (read-only, click to copy)
Package Base: polybar
Description: A fast and easy-to-use status bar
Upstream URL: https://github.com/polybar/polybar
Keywords: bar bspwm i3 lemonbar lemonbuddy polybar
Licenses: MIT
Conflicts: polybar-git
Submitter: jaagr
Maintainer: jaagr (NBonaparte, patrick96)
Last Packager: patrick96
Votes: 380
Popularity: 8.25
First Submitted: 2016-11-19 05:09
Last Updated: 2021-09-21 16:36

Dependencies (21)

  • alsa-lib (alsa-lib-x205ta, alsa-lib-git, alsa-lib-minimal-git)
  • cairo (cairo-infinality, cairo-infinality-remix, cairo-ubuntu, cairo-dfb, cairo-git, cairo-minimal, cairo-glesv2-bin, cairo-glesv3-bin)
  • curl (curl-git, curl-minimal-git)
  • jsoncpp (jsoncpp-cmake-git, jsoncpp-git)
  • libmpdclient
  • libnl (libnl-git)
  • libpulse (libpulse-bluedio, pulseaudio-pali, pulseaudio-dummy, libpulse-nosystemd-git, libpulse-nosystemd, pulseaudio-git, libpulse-nosystemd-minimal-git, libpulse-hsphfpd, libpulse-airplay)
  • xcb-util-cursor (xcb-util-cursor-git)
  • xcb-util-image
  • xcb-util-wm
  • xcb-util-xrm
  • cmake (cmake-git) (make)
  • i3-wm (i3-gaps-doubleborder, i3-plasma, i3-gaps-fullscreen-next-git, i3-gaps-cameronleger-git, i3-wm-iconpatch, i3-gaps-rounded-git, i3-gaps-kde-git, i3-git, i3-gaps-desktop, i3-gaps-next-git, i3-gaps) (make)
  • pkg-config (pkgconf-git, pkgconf) (make)
  • python (python-dbg, python35, python38, python36, python310, python311, python37) (make)
  • python-packaging(make)
  • python-sphinx (python-sphinx-git, python-sphinx-2) (make)
  • i3-wm (i3-gaps-doubleborder, i3-plasma, i3-gaps-fullscreen-next-git, i3-gaps-cameronleger-git, i3-wm-iconpatch, i3-gaps-rounded-git, i3-gaps-kde-git, i3-git, i3-gaps-desktop, i3-gaps-next-git, i3-gaps) (optional) – i3 module support
  • siji-git(optional) – Font used in example config
  • ttf-unifont(optional) – Font used in example config
  • xorg-fonts-misc (xorg-fonts-misc-simple, xorg-fonts-misc-otb) (optional) – Font used in example config
Читайте также:  Команды линукс просмотр каталога

Required by (7)

  • dots-git
  • leftwm(optional)
  • leftwm-git(optional)
  • leftwm-theme-git(optional)
  • polify(optional)
  • polybar-spotify-module
  • xest-window-manager-git(optional)

Sources (1)

Pinned Comments

bl4n commented on 2019-12-23 10:13

Got a problem today with CMake Error at lib/xpp/CMakeLists.txt:70 (message): Missing required python module: xcbgen , even if I got xcb-proto.

While using pyenv, I resolved this problem by using: pyenv global system .

patrick96 commented on 2019-09-17 12:07

To solve the libjsoncpp issue you need to recompile polybar (particularly re-link). The easiest way to do that is to use a fresh clone of this AUR repo and run makepkg there. It is probably also possible with your AUR helper by telling it to remove existing build files (or deleting them yourself).

@victorz a clean installation will solve the issue. If it didn’t for you, you likely reused an already compiled polybar executable when building the package.

TheGreatAndyChow commented on 2019-04-23 03:46

For problems with conda, simply «conda deactivate», it will install. No need to purge path or remove anaconda.

Источник

Polybar (Русский)

polybar — быстрый и лёгкий инструмент для создания статус-баров. Он нацелен на лёгкую персонализацию, используя множество модулей и позволяя, например, отображать рабочие столы, дату или громкость звука. Особенно Polybar полезен в оконных менеджерах без панели или с её ограниченной функциональностью, таких как awesome или i3. Polybar также можно использовать и в окружениях рабочего стола, например, в Plasma.

Contents

Установка

Установите пакет polybar AUR . Экспериментальная версия доступна в пакете polybar-git AUR .

Настройка

Скопируйте пример конфигурационного файла из /usr/share/doc/polybar/config в $XDG_CONFIG_HOME/polybar/config

Запуск Polybar

Polybar можно запустить со следующими параметрами:

Но скорее всего, вы будете запускать Polybar с оконным менеджером, см. раздел #Запуск с оконным менеджером.

Читайте также:  Windows live создать группу контактов

Пример конфигурационного файла

Пример простого конфигурационного файла:

Он создаёт статус-бар mybar с модулем date .

Также по умолчанию polybar создаёт пример со многими преднастроенными модулями в файле /usr/share/doc/polybar/config .

Запуск с оконным менеджером

Создайте исполняемый файл, содержащий процесс загрузки, например, $HOME/.config/polybar/launch.sh :

Данный скрипт означает, что при перезагрузке оконного менеджера также перезагрузится и Polybar.

bspwm

Если вы используете bspwm, добавьте следующее содержание в bspwmrc :

Если вы используете i3, добавьте следующее содержание в его конфигурационный файл:

Решение проблем

Cannot open shared object file libjsoncpp.so

Попробуйте переустановить Polybar, как описано в issue на GitHub.

Если проблема не решится, попробуйте установить пакет jsoncpp .

Источник

Polybar

polybar is a fast and easy-to-use tool for creating status bars. It aims to be easily customizable, utilising many modules which enable a wide range of (editable) functionality, such as displaying workspaces, the date, or system volume. Polybar is especially useful for window managers that have a limited or non-existent status bar, such as awesome or i3. Polybar can also be used with desktop environments like Plasma.

Contents

Installation

Configuration

Copy the configuration example from /usr/share/doc/polybar/config to $XDG_CONFIG_HOME/polybar/config .

Running Polybar

Polybar can be run with the following arguments:

However you will probably want to run Polybar with your window manager’s bootstrap routine. See #Running with WM.

Sample configuration

A very basic polybar configuration may look like this:

It defines a bar named mybar with a module called date .

By default polybar will also install a sample configuration with many preconfigured modules in /usr/share/doc/polybar/config .

Running with WM

Create an executable file containing the startup logic, for example $HOME/.config/polybar/launch.sh :

This script will mean that restarting your WM will also restart Polybar.

bspwm

If using bspwm, add the following to bspwmrc :

If using i3, add the following to your i3 configuration:

Читайте также:  Program from mac os

Troubleshooting

Cannot open shared object file libjsoncpp.so

Attempt a reinstall as described in the issue on the GitHub.

Failing that, try to install the jsoncpp package.

Источник

Install Polybar
on Arch Linux

Polybar

  • Mandy Schoep (mandy91) Publisher
  • Utilities

A fast and easy-to-use status bar

This is my-snap’s description. You have a paragraph or two to tell the most important story about your snap. Keep it under 100 words though, we live in tweetspace and your description wants to look good in the snap store.

Details for Polybar

Enable snaps on Arch Linux and install Polybar

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

On Arch Linux, snap can be installed from the Arch User Repository (AUR). The manual build process is the Arch-supported install method for AUR packages, and you’ll need the prerequisites installed before you can install any AUR package. You can then install snap with the following:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap :

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

Install Polybar

To install Polybar, simply use the following command:

Источник

Polybar arch linux install

Polybar accepts donations through open collective.

Become a backer and support polybar!

Polybar is licensed under the MIT license. See LICENSE for more information.

Источник

Оцените статью