You are not logged in.

#1 2017-06-18 20:18:52

FlowIt
Member
Registered: 2014-10-25
Posts: 239

polybar is not displayed

Trying to run polybar on xfwm4 and i3, nothing is displayed. This is the applications output. The termination in the middle is me Ctrl+C'ing after nothing happened. LVDS-1 is the correct monitor.

$ polybar -l info  mybar
* Loaded /home/me/.config/polybar/config
warn: No monitor specified, using "LVDS-1"
* Loaded monitor LVDS-1 (1366x768+0+0)
* Bar geometry: 1366x100+0+0
* Starting application
* Starting module/clock
* Entering event loop (thread-id=1)
* Eventqueue worker (thread-id=3)
warn: Termination signal received, shutting down...
* module/clock: Stopping
* Deconstruction of module/clock took 0 ms.
* Waiting for spawned processes to end
* Reached end of application...

And this is the config file:

[bar/mybar]
monitor-strict = false

; Tell the Window Manager not to configure the window.
; Use this to detach the bar if your WM is locking its size/position.
override-redirect = false

; Put the bar at the bottom of the screen
bottom = false

; Prefer fixed center position for the `modules-center` block
; When false, the center position will be based on the size of the other blocks.
fixed-center = true

; Dimensiosn defined as pixel value (e.g. 35) or percentage (e.g. 50%)
width = 100%
height = 100

; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
offset-x = 0
offset-y = 0

; Background argb color (e.g. #f00, #ff992a, #ddff1023)
background = #ffffff

; Foreground argb color (e.g. #f00, #ff992a, #ddff1023)
foreground = #000000

; Background gradient (vertical steps)
;   background-[0-9]+ = #aarrggbb

; Value used for drawing rounded corners
; Individual top/bottom values can be defined using:
;   radius-{top,bottom}
radius = 0.0

; Under-/overline pixel size and argb color
; Individual values can be defined using:
;   {overline,underline}-size
;   {overline,underline}-color
line-size = 1
line-color = #f00

; Values applied to all borders
; Individual side values can be defined using:
;   border-{left,top,right,bottom}-size
;   border-{left,top,right,bottom}-color
border-size =
border-color =

; Number of spaces to add at the beginning/end of the bar
; Individual side values can be defined using:
;   padding-{left,right}
padding = 0

; Number of spaces to add before/after each module
; Individual side values can be defined using:
;   module-margin-{left,right}
module-margin = 0

; Fonts are defined using <font-name>;<vertical-offset>
; Font names are specified using a fontconfig pattern.
   font-0 = NotoSans-Regular:size=8;2

; Modules are added to one of the available blocks
modules-left =
modules-center = clock
modules-right =

; The separator will be inserted between the output of each module
separator =

; This value is used to add extra spacing between elements
; @deprecated: This parameter will be removed in an upcoming version
spacing = 0

; Opacity value between 0.0 and 1.0 used on fade in/out
dim-value = 1.0

; Value to be used to set the WM_NAME atom
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name =

[module/clock]
type = internal/date
interval = 2
date = %%{F#999}%Y-%m-%d%%{F-}  %%{F#fff}%H:%M%%{F-}

I even tried the --stdout option, but nothing else except the messages as seen in the first code block is printed.

Offline

#2 2017-08-21 09:33:48

kaegell
Member
Registered: 2015-08-24
Posts: 5

Re: polybar is not displayed

Doesn't seem to be an issue with your config file. I tried it on my laptop and it works just fine.

Do you call your bar with `polybar mybar`?

Offline

#3 2017-09-24 14:19:33

mindless
Member
Registered: 2017-01-21
Posts: 29

Re: polybar is not displayed

Hello, I am facing the exact same problem.


oktomus at pangolin in ~ 
$ polybar example
warn: No monitor specified, using "DVI-I-0"

I use the configuration provided with the tool. And I am using i3-gaps.

Offline

Board footer

Powered by FluxBB