xcb-xrm not found when installing polybar
I have installed polybar and most parts of it is working, except for reading Xresources
.
I do get a nice error message like this one
warn: No built-in support to dereference ${xrdb:color15:#555} references (requires `xcb-util-xrm`)
and it sounds rather straightforward. Just install it and it should be fine.
But I've installed libxcb-xrm-dev
and I still get the same issues.
So I thought that maybe I have to recompile polybar, but it is not working(it compiles but no change). and what is interesting is that it doesn't seem to find xcb-xrm
when compiling.
** Executing cmake command
-- Trying to enable ccache
-- Couldn't locate ccache, disabling ccache...
-- No build type specified; using RelWithDebInfo
-- Using supported compiler GNU-7.3.0
-- Build:
-- Type: RelWithDebInfo
-- CC: /usr/bin/gcc -O2 -g -DNDEBUG
-- CXX: /usr/bin/g++ -Wall -Wextra -Werror -Wno-noexcept-type -pedantic -pedantic-errors -O2 -g -DNDEBUG
-- LD: /usr/bin/ld
-- Targets:
-- [X] polybar-msg
-- [ ] testsuite
-- Module support:
-- [X] alsa (1.1.3)
-- [X] curl (7.58.0)
-- [X] i3
-- [X] mpd (2.11)
-- [X] network (wireless-tools)
-- [X] pulseaudio (11.1)
-- [ ] xkeyboard
-- X extensions:
-- [X] xcb-randr (1.13)
-- [ ] xcb-randr (monitor support)
-- [ ] xcb-render
-- [ ] xcb-damage
-- [ ] xcb-sync
-- [X] xcb-composite (1.13)
-- [ ] xcb-xkb
-- [ ] xcb-xrm
-- [ ] xcb-cursor
So why wouldn't it find xcb-xrm
?
18.04 compiling make libraries
add a comment |
I have installed polybar and most parts of it is working, except for reading Xresources
.
I do get a nice error message like this one
warn: No built-in support to dereference ${xrdb:color15:#555} references (requires `xcb-util-xrm`)
and it sounds rather straightforward. Just install it and it should be fine.
But I've installed libxcb-xrm-dev
and I still get the same issues.
So I thought that maybe I have to recompile polybar, but it is not working(it compiles but no change). and what is interesting is that it doesn't seem to find xcb-xrm
when compiling.
** Executing cmake command
-- Trying to enable ccache
-- Couldn't locate ccache, disabling ccache...
-- No build type specified; using RelWithDebInfo
-- Using supported compiler GNU-7.3.0
-- Build:
-- Type: RelWithDebInfo
-- CC: /usr/bin/gcc -O2 -g -DNDEBUG
-- CXX: /usr/bin/g++ -Wall -Wextra -Werror -Wno-noexcept-type -pedantic -pedantic-errors -O2 -g -DNDEBUG
-- LD: /usr/bin/ld
-- Targets:
-- [X] polybar-msg
-- [ ] testsuite
-- Module support:
-- [X] alsa (1.1.3)
-- [X] curl (7.58.0)
-- [X] i3
-- [X] mpd (2.11)
-- [X] network (wireless-tools)
-- [X] pulseaudio (11.1)
-- [ ] xkeyboard
-- X extensions:
-- [X] xcb-randr (1.13)
-- [ ] xcb-randr (monitor support)
-- [ ] xcb-render
-- [ ] xcb-damage
-- [ ] xcb-sync
-- [X] xcb-composite (1.13)
-- [ ] xcb-xkb
-- [ ] xcb-xrm
-- [ ] xcb-cursor
So why wouldn't it find xcb-xrm
?
18.04 compiling make libraries
add a comment |
I have installed polybar and most parts of it is working, except for reading Xresources
.
I do get a nice error message like this one
warn: No built-in support to dereference ${xrdb:color15:#555} references (requires `xcb-util-xrm`)
and it sounds rather straightforward. Just install it and it should be fine.
But I've installed libxcb-xrm-dev
and I still get the same issues.
So I thought that maybe I have to recompile polybar, but it is not working(it compiles but no change). and what is interesting is that it doesn't seem to find xcb-xrm
when compiling.
** Executing cmake command
-- Trying to enable ccache
-- Couldn't locate ccache, disabling ccache...
-- No build type specified; using RelWithDebInfo
-- Using supported compiler GNU-7.3.0
-- Build:
-- Type: RelWithDebInfo
-- CC: /usr/bin/gcc -O2 -g -DNDEBUG
-- CXX: /usr/bin/g++ -Wall -Wextra -Werror -Wno-noexcept-type -pedantic -pedantic-errors -O2 -g -DNDEBUG
-- LD: /usr/bin/ld
-- Targets:
-- [X] polybar-msg
-- [ ] testsuite
-- Module support:
-- [X] alsa (1.1.3)
-- [X] curl (7.58.0)
-- [X] i3
-- [X] mpd (2.11)
-- [X] network (wireless-tools)
-- [X] pulseaudio (11.1)
-- [ ] xkeyboard
-- X extensions:
-- [X] xcb-randr (1.13)
-- [ ] xcb-randr (monitor support)
-- [ ] xcb-render
-- [ ] xcb-damage
-- [ ] xcb-sync
-- [X] xcb-composite (1.13)
-- [ ] xcb-xkb
-- [ ] xcb-xrm
-- [ ] xcb-cursor
So why wouldn't it find xcb-xrm
?
18.04 compiling make libraries
I have installed polybar and most parts of it is working, except for reading Xresources
.
I do get a nice error message like this one
warn: No built-in support to dereference ${xrdb:color15:#555} references (requires `xcb-util-xrm`)
and it sounds rather straightforward. Just install it and it should be fine.
But I've installed libxcb-xrm-dev
and I still get the same issues.
So I thought that maybe I have to recompile polybar, but it is not working(it compiles but no change). and what is interesting is that it doesn't seem to find xcb-xrm
when compiling.
** Executing cmake command
-- Trying to enable ccache
-- Couldn't locate ccache, disabling ccache...
-- No build type specified; using RelWithDebInfo
-- Using supported compiler GNU-7.3.0
-- Build:
-- Type: RelWithDebInfo
-- CC: /usr/bin/gcc -O2 -g -DNDEBUG
-- CXX: /usr/bin/g++ -Wall -Wextra -Werror -Wno-noexcept-type -pedantic -pedantic-errors -O2 -g -DNDEBUG
-- LD: /usr/bin/ld
-- Targets:
-- [X] polybar-msg
-- [ ] testsuite
-- Module support:
-- [X] alsa (1.1.3)
-- [X] curl (7.58.0)
-- [X] i3
-- [X] mpd (2.11)
-- [X] network (wireless-tools)
-- [X] pulseaudio (11.1)
-- [ ] xkeyboard
-- X extensions:
-- [X] xcb-randr (1.13)
-- [ ] xcb-randr (monitor support)
-- [ ] xcb-render
-- [ ] xcb-damage
-- [ ] xcb-sync
-- [X] xcb-composite (1.13)
-- [ ] xcb-xkb
-- [ ] xcb-xrm
-- [ ] xcb-cursor
So why wouldn't it find xcb-xrm
?
18.04 compiling make libraries
18.04 compiling make libraries
asked Jan 17 at 13:20
munHungermunHunger
1114
1114
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
There are several ways to solve this problem. I see you are using the build.sh
script. Here the easiest way is to pass the -f
flag to the script when running it, like so: build.sh -f
This will force polybar to completely reconfigure itself and thus also detect the xrm dependency.
If you are not using the build.sh
script, the remaining two ways are to either
- Delete the
build
dir (this is whatbuild.sh -f
also does) and runcmake
andmake
again - When running
cmake
, additionally pass the-DWITH_XRM=ON
flag, this will force enable xrm support. If you are familiar with it, you can also usecmake
to change theWITH_XRM
variable toON
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110551%2fxcb-xrm-not-found-when-installing-polybar%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are several ways to solve this problem. I see you are using the build.sh
script. Here the easiest way is to pass the -f
flag to the script when running it, like so: build.sh -f
This will force polybar to completely reconfigure itself and thus also detect the xrm dependency.
If you are not using the build.sh
script, the remaining two ways are to either
- Delete the
build
dir (this is whatbuild.sh -f
also does) and runcmake
andmake
again - When running
cmake
, additionally pass the-DWITH_XRM=ON
flag, this will force enable xrm support. If you are familiar with it, you can also usecmake
to change theWITH_XRM
variable toON
add a comment |
There are several ways to solve this problem. I see you are using the build.sh
script. Here the easiest way is to pass the -f
flag to the script when running it, like so: build.sh -f
This will force polybar to completely reconfigure itself and thus also detect the xrm dependency.
If you are not using the build.sh
script, the remaining two ways are to either
- Delete the
build
dir (this is whatbuild.sh -f
also does) and runcmake
andmake
again - When running
cmake
, additionally pass the-DWITH_XRM=ON
flag, this will force enable xrm support. If you are familiar with it, you can also usecmake
to change theWITH_XRM
variable toON
add a comment |
There are several ways to solve this problem. I see you are using the build.sh
script. Here the easiest way is to pass the -f
flag to the script when running it, like so: build.sh -f
This will force polybar to completely reconfigure itself and thus also detect the xrm dependency.
If you are not using the build.sh
script, the remaining two ways are to either
- Delete the
build
dir (this is whatbuild.sh -f
also does) and runcmake
andmake
again - When running
cmake
, additionally pass the-DWITH_XRM=ON
flag, this will force enable xrm support. If you are familiar with it, you can also usecmake
to change theWITH_XRM
variable toON
There are several ways to solve this problem. I see you are using the build.sh
script. Here the easiest way is to pass the -f
flag to the script when running it, like so: build.sh -f
This will force polybar to completely reconfigure itself and thus also detect the xrm dependency.
If you are not using the build.sh
script, the remaining two ways are to either
- Delete the
build
dir (this is whatbuild.sh -f
also does) and runcmake
andmake
again - When running
cmake
, additionally pass the-DWITH_XRM=ON
flag, this will force enable xrm support. If you are familiar with it, you can also usecmake
to change theWITH_XRM
variable toON
answered Jan 17 at 18:00
Patrick ZieglerPatrick Ziegler
13
13
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110551%2fxcb-xrm-not-found-when-installing-polybar%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown