You are not logged in.
Hello!
I'm a bit of a noob, so bear with me.
I'm using Arch with xfce4 DE. I read that xfce4-terminal just released version 1.0.0 and had implemented a keyboard shortcuts editor, so I wanted to try it. I updated xfce4-terminal with pacman:
sudo pacman -S xfce4-terminal But, on the xfce4-terminal page it says "The Shortcuts Editor requires libxfce4ui 4.17.2 or greater.", so I checked the remote repos with pacman, and only version 4.16.1-1 was available:
pacman -Si libxfce4ui
Repository : extra
Name : libxfce4ui
Version : 4.16.1-1
Description : Commonly used Xfce widgets among Xfce applications
Architecture : x86_64
URL : https://www.xfce.org/
Licenses : GPL2
Groups : None
Provides : None
Depends On : libxfce4util gtk3 xfconf libsm startup-notification libgtop libepoxy hicolor-icon-theme
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 421,89 KiB
Installed Size : 1967,24 KiB
Packager : Philip Mueller <philm@manjaro.org>
Build Date : mån 6 sep 2021 11:44:11
Validated By : MD5 Sum SHA-256 Sum SignatureSo I went to the libxfce4ui gitlab page and downloaded the latest version (4.17.6) from source and installed it manually.
But I still can't see any Shortcuts Editor in xfce4-terminal, and when I query pacman about my local libxfce4ui package, it still says version 4.16.1-1:
pacman -Qi libxfce4ui
Name : libxfce4ui
Version : 4.16.1-1
Description : Commonly used Xfce widgets among Xfce applications
Architecture : x86_64
URL : https://www.xfce.org/
Licenses : GPL2
Groups : None
Provides : None
Depends On : libxfce4util gtk3 xfconf libsm startup-notification libgtop libepoxy hicolor-icon-theme
Optional Deps : None
Required By : exo garcon xfce4-panel xfce4-settings xfwm4
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1967,24 KiB
Packager : Philip Mueller <philm@manjaro.org>
Build Date : mån 6 sep 2021 11:44:11
Install Date : tor 16 sep 2021 23:26:52
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : SignatureIs pacman aware that I installed libxfce4ui manually, without the aid of pacman? Am I using libxfce4ui version 4.16.1-1 or 4.17.6 at this point? How do I know?
EDIT: I did the pacman queries on my Manjaro machine, but the versions are the same on my Arch machine.
//Bendilock
Last edited by Bendilock (2022-04-09 18:39:52)
Offline
First off, you installed a development snapshot. Expect things to go wrong.
Second, if you didn't build a package, of course pacman would have no knowledge of it. Whether it's being used depends on just where you installed it.
Offline
The right way to do this is building the package for the version you need by yourself.
It's best to first check AUR for already created packages that might suit your needs (either libxfce4ui-devel or libxfce4ui-git should work for your case). If there were no suitable packages, you could try editing the source files for libxfce4ui from [extra] to build the version you need.
See https://wiki.archlinux.org/title/Arch_User_Repository if you don't know how to build packages from AUR.
As Scimmia noted, keep in mind that you're building development version of the package, so there's higher chance of issues. Also in some cases other packages from arch repos that depend on your updated package may break completely, unless you rebuild or update them as well.
Offline
I installed it from the release tarball as shown on the gitlab page:
tar xf libxfce4ui-<version>.tar.bz2
cd libxfce4ui-<version>
./configure
make
make installI thought that would install it to the system library dir, but maybe not. The makefile is rather hard to decipher.
Should I have done things differently in order to install a newer version of libxfce4ui than exists in the repos?
Offline
The right way to do this is building the package for the version you need by yourself.
It's best to first check AUR for already created packages that might suit your needs (either libxfce4ui-devel or libxfce4ui-git should work for your case). If there were no suitable packages, you could try editing the source files for libxfce4ui from [extra] to build the version you need.
See https://wiki.archlinux.org/title/Arch_User_Repository if you don't know how to build packages from AUR.
As Scimmia noted, keep in mind that you're building development version of the package, so there's higher chance of issues. Also in some cases other packages from arch repos that depend on your updated package may break completely, unless you rebuild or update them as well.
Thanks, I'll give it a try!
Offline
If you didn't run any of the commands listed as root, the call to `make install` would have failed and reported an error (which would be the best possible outcome for you).
If you did run some of those commands as root, which ones? If `make install` was run as root, then you've made a bit of a mess that should be cleaned up.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If you didn't run any of the commands listed as root, the call to `make install` would have failed and reported an error (which would be the best possible outcome for you).
If you did run some of those commands as root, which ones? If `make install` was run as root, then you've made a bit of a mess that should be cleaned up.
I ran only make install as root:
sudo make install I just tried installing libxfce4ui-devel from AUR and my window manager (and perhaps other things) were not too happy (read functional)
So I reinstalled libxfce4ui with pacman, and everything seems to be working fine and dandy. Well, except the xfce4-terminal feature that I wanted, but at least I feel a little wiser now, maybe.
Offline
Judging by the packager information of the libxfce4ui package in your package repos, you are running Manjaro, not Arch. As was made clear during the registration process, these support forums are for Arch Linux support only. Please seek support from the Manjaro support channels.
https://bbs.archlinux.org/misc.php?action=rules
Closing, for deletion.
Reopening on appeal. I did indeed miss your first post edit stating you have both Arch and Manjaro machines.
Last edited by WorMzy (2022-04-09 16:52:33)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline