Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't run application launchers in sway
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tzycce
n00b
n00b


Joined: 05 Nov 2019
Posts: 15

PostPosted: Sun Feb 16, 2020 8:55 am    Post subject: [SOLVED] Can't run application launchers in sway Reply with quote

I have tried running bemenu and dmenu but neither of them works. In both dmenu and bemenu just nothing happens when I try to launch it from terminal with default configs. If I change the environment variable from wayland to curses in bemenu, I'm at least able to run it in terminal but that is not what I'm looking after. I believe dmenu should also work since Xwayland is installed.

Tried in st and kitty with similar results. Using config determined keys to launch leads to nothing happening.

I'm a new user in Gentoo so I might be missing something trivial.

Use flags from make.conf:
Code:
USE="acpi alsa bash-completion emacs ncurses glamor truetype ttf vim-syntax xattr -gnome -gnome-keyring -kde -pulseaudio -startup-notification -systemd"


$equery --nocolor uses bemenu
Code:
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/bemenu-9999:
 U I
 + + X       : Add support for X11
 - - doc     : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + ncurses : Add ncurses support (console display library)
 - - wayland : Enable dev-libs/wayland backend


$equery --nocolor uses dmenu
Code:
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-misc/dmenu-4.8:
 U I
 - - savedconfig : Use this to restore your config from /etc/portage/savedconfig ${CATEGORY}/${PN}. Make sure your USE flags allow for appropriate dependencies
 - - xinerama    : Add support for querying multi-monitor screen geometry through the Xinerama API


Last edited by tzycce on Mon Feb 17, 2020 9:08 pm; edited 2 times in total
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 778
Location: S.O. France

PostPosted: Mon Feb 17, 2020 11:57 am    Post subject: Reply with quote

Can you post your emerge --info ?

Seems you don't have the wayland USE enabled
Back to top
View user's profile Send private message
tzycce
n00b
n00b


Joined: 05 Nov 2019
Posts: 15

PostPosted: Mon Feb 17, 2020 8:13 pm    Post subject: Reply with quote

I'm not sure if I was supposed to do this but I added wayland to make.conf and fully updated the system. But I had to remove bemenu and firefox (the latter not related to this) in order to run sudo emerge -uDU --keep-going --with-bdeps=y @world

now I can't emerge bemenu. I get the following error message:

sudo cat '/var/tmp/portage/dev-libs/bemenu-9999/temp/build.log'
Code:
 * Package:    dev-libs/bemenu-9999
 * Repository: gentoo
 * Maintainer: prometheanfire@gentoo.org
 * USE:        X abi_x86_64 amd64 elibc_glibc kernel_linux ncurses userland_GNU wayland
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Repository id: Cloudef_bemenu.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_CLOUDEF_BEMENU
 *   EGIT_OVERRIDE_BRANCH_CLOUDEF_BEMENU
 *   EGIT_OVERRIDE_COMMIT_CLOUDEF_BEMENU
 *   EGIT_OVERRIDE_COMMIT_DATE_CLOUDEF_BEMENU
 *
 * Fetching https://github.com/Cloudef/bemenu.git ...
git fetch https://github.com/Cloudef/bemenu.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/dev-libs/bemenu/0/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/Cloudef/bemenu.git to /var/tmp/portage/dev-libs/bemenu-9999/work/bemenu-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/Cloudef/bemenu.git
   at the commit:            15f96d2d2347fcfefd89e7486db762397df3367f
>>> Source unpacked in /var/tmp/portage/dev-libs/bemenu-9999/work
>>> Preparing source in /var/tmp/portage/dev-libs/bemenu-9999/work/bemenu-9999 ...
 * Unable to locate CMakeLists.txt under:
 * "/var/tmp/portage/dev-libs/bemenu-9999/work/bemenu-9999/CMakeLists.txt"
 * Consider not inheriting the cmake eclass.
 * ERROR: dev-libs/bemenu-9999::gentoo failed (prepare phase):
 *   FATAL: Unable to find CMakeLists.txt
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_prepare
 *   environment, line 2620:  Called cmake-utils_src_prepare
 *   environment, line 1115:  Called _cmake_cleanup_cmake
 *   environment, line  381:  Called die
 * The specific snippet of code:
 *           die "FATAL: Unable to find CMakeLists.txt";
 *
 * If you need support, post the output of `emerge --info '=dev-libs/bemenu-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/bemenu-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/bemenu-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/bemenu-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/bemenu-9999/work/bemenu-9999'
 * S: '/var/tmp/portage/dev-libs/bemenu-9999/work/bemenu-9999'



emerge --info '=dev-libs/bemenu-9999::gentoo':
https://pastebin.com/VXwBxbEi

$emerge -pqv '=dev-libs/bemenu-9999::gentoo'
Code:
[ebuild  N    ] dev-libs/bemenu-9999  USE="X ncurses wayland -doc"
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24691
Location: here

PostPosted: Mon Feb 17, 2020 8:23 pm    Post subject: Reply with quote

It seems that bemenu has changed from cmake to make then you can compile only 0.2.0 version with current ebuild
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tzycce
n00b
n00b


Joined: 05 Nov 2019
Posts: 15

PostPosted: Mon Feb 17, 2020 8:47 pm    Post subject: Reply with quote

The version 0.2.0 seems to be masked and I tried to follow the wiki for unmasking with no success. https://wiki.gentoo.org/wiki/Knowledge_Base:Unmasking_a_package

with root privileges
emerge --ask --autounmask-write =dev-libs/bemenu-0.2.0
dispatch-conf
emerge =dev-libs/bemenu-0.2.0

got the following message:
Code:
!!! All ebuilds that could satisfy "=dev-libs/bemenu-0.2.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/bemenu-0.2.0::gentoo (masked by: missing keyword)


also tried the manual unmasking:
echo "=dev-libs/bemenu-0.2.0::gentoo" >> /etc/portage/package.unmask
dispatch-conf

and got the same result. Is it not possible to unmask all packages or am I missing something?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24691
Location: here

PostPosted: Mon Feb 17, 2020 8:52 pm    Post subject: Reply with quote

No version 0.2.0 isn't masked is like 9999 without keywords, then you should add =dev-libs/bemenu-0.2.0 ** entry in package.accept_keywords
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tzycce
n00b
n00b


Joined: 05 Nov 2019
Posts: 15

PostPosted: Mon Feb 17, 2020 9:07 pm    Post subject: Reply with quote

That did the trick. And it's also working. Thank you!
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24691
Location: here

PostPosted: Mon Feb 17, 2020 9:09 pm    Post subject: Reply with quote

You can also open a new bug report telling build system is changed from cmake to make
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum