libinput-gestures on wayland: can't get 'super' key [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm trying to configure libinput-gestures by editing /etc/libinput-gestures.conf.
I'm using gnome 3.28.1 on Linux Mint 19 and I want to trigger 'activities overview' with a given multi-touch trackpad gesture.
Libinput-gestures is working for switching desktops using
_internal ws_up &
_internal ws_down in the config file.
The way I got into overview in Linux Mint 18.03 is by sending a key via
xdotool key super for 'activities overview' &
xdotool key super+a for 'show applications'.
From my research I have found that the version of gnome I had in mint 18 used x11 as it's display manager and the version of gnome in mint 19 uses wayland. Wayland has I believe deprecated the ability to 'send keys' for security reasons.
Solutions to this problem might be:
A way to trigger the 'activities overview' from the terminal.
A way around waylands blocking of 'send key'.
All insights are appreciated.
Thanks :)

I know this is an old post. However, I've also been looking for a solution in using different gestures in Wayland. There's an example of the op's post right in the libinput-gestures.conf file.
gesture swipe up 3 dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'
This is effectively the equivalence of pressing the Super_L key.
What I'd like to know is if there's a similar command for "Show Applications" that might be compatible with Wayland. What other possibilities using "dbus" are there? I've researched for days and have found little information on the topic.

The quickest way would be to have gjs call Main.overview.toggle() though I'm on mobile right now, so I don't have access to it.
I'll edit this in the next hour or so for a complete answer, when I can confirm the exact syntax

Related

Second monitor flickering and leaving trail with black background in extended display on Manjaro GNOME/Wayland [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 days ago.
Improve this question
I am running the latest version of GNOME and Wayland on my Manjaro computer. When I connect my second monitor and extend my display, one screen flickers and the mouse icon leaves a trail, with a black background. However, I can still open applications and drag them to the second screen, which works fine. Mirror mode for two screens works great. What could be causing this issue and how can I fix it?
After trying some more things, it seems everything except the background is working, the bottom bar is working, when i press super key it will take me to menu where I can move.
When I try to screenshot the buggy monitor it just screenshots the normal background. (The background picture)
I tried updating GNOME and Wayland, also tried to update the whole system with pacman -Syu to no avail. Tried looking it up but couldn't find anything.

startx /bin/bash in fullscreen without desktop [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Ok so I know it's a weird case but hang in here with me.
So the thing is I've got an very old laptop running ubuntu 14.04 server without any desktop aka shell only. BUT the laptop also has a touch screen so we want to be able to use the "mouse"/touchscreen/touchpad to select text inside the terminal and/or click/copy/paste/cut/etc. It's part of art project with some students and also one of the tasks is to run as less as possible. So running a desktop in the background is not really an option. My question is:
Is there a way to start the Ubuntu terminal as UI application in fullscreen without the actual desktop in the background but giving the functionality of an mouse cursor.
(If someone knows a even better solution for adding a mouse without starting the desktop its appreciated)
Try this: create a ~/.xinitrc with content : exec gnome-terminal, then run startx
Or another solution is to stay in tty and install gpm for mouse control

How to start GNOME Wayland session from command line/tty? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm experimenting with wayland.
You can start Gnome with X through startx command. Is there an way to start Gnome with wayland through some command?
I would like to be able to run Gnome/X on my main display.
Then switch to display :2 (Ctrl+alt+win+F2/F3) and then run something like:
startWayland
So that I have a seconday desktop with gnome running with wayland.
Is this possible? (A near-alternative is also welcome)
A working solution per Jonas Ã…dahl a mutter developer:
Usually what I do is switch to a VT and run:
dbus-run-session -- gnome-shell --display-server --wayland
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
to force firefox and QT applications as well to wayland, in 2019-12-31 they do not respect XDG_SESSION_TYPE=wayland:
MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
if it should log out the command line session after pressing "logout" in the gnome GUI, add an exec:
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
From docs:
https://wiki.archlinux.org/index.php/GNOME#Wayland_sessions
Never mind, I found the solution:
gnome-session --session gnome-wayland
Source:
GNOME / Wayland in Fedora | Goings on
https://blogs.gnome.org/mclasen/2013/10/03/gnome-wayland-in-fedora/
[EDIT]
This no longer seems to work with recent fedora (24). At the moment I haven't found a solution for this. The only way I get Wayland working these days is to use the gear at login and set the system to log into wayland. If anyone has a solution to this...
Note that the following video drivers do not work with Wayland: nvidia, cirrus, Hi1710.
I discovered this after several days of trying to get Wayland to work with my Nvidia video device until I saw this comment buried in the ArchLinux Wiki for GDM. ArchLinux GDM Wiki
The file that controls this is /usr/lib/udev/rules.d/61-gdm.rules
This script sets /usr/lib/gdm3/gdm-disable-wayland which tells gdm not to show the /usr/share/wayland-sessions on the session menu for these device drivers. (I am using Ubuntu Focal/20.04)
I was able to get Wayland working by uninstalling the nvidia drivers, and although I was pleased to get it working I went back to using the X/Nvidia setup as I preferred the smoother look and performance.

Linux box with only one application which is fullscreen [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Sorry for the rather broad question, but I'm just looking for some leads here to get started on this...
Let's say I have a CentOS machine running the X Windows System. I'd like to have the machine only display a single application (let's say Mozilla Firefox) and have that application full screen at all times. Is there a more suitable distro to do this with than CentOS?
I hope I've given enough information here about what I want to do.
Thanks!
I think you are looking for kiosk mode, you can achieve this by various kiosk based linux based iso distribution like http://sanickiosk.wikidot.com/ (Sanickiosk) and WebKiosk
(http://www.binaryemotions.com/).
Even you can customize ubuntu to run only firefox in full screen mode (http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/?ALLSTEPS).
Thanks & Regards,
Alok Thaker
I'm really not sure if this is the proper place, but the disto for this type of use hardly matters, its really up to personal preference and how hard you find it to set up. In my limited expirence you can just add the command to launch the app, typically with a geometry option (with firefox you can specify the -width and -height flags), and then that X session will end when the program ends.

AwesomeWM wallpaper change [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
When I am using Awesome-WM under Linux Mint 13 "Maya" MATE, sometimes I need to open the File Manager "Caja". But when I launch caja, the wallpaper changes to the one I set under MATE instead of the one in rc.lua. I have tried
sudo gsettings set org.gnome.desktop.background draw-background false
but it seems useless.
How can I keep my settings under awesome-wm? Or I should set the 2 backgrounds the same?
You could try setting your wallpaper using feh.
Create a .fehbg file in your $HOME and put this in:
feh --bg-scale '/path/to/wallpaper.jpg'
..then save it.
Then in your autostart script just add sh $HOME/.fehbg & then try restarting your DE. If it still persists after opening Caja, then I am not sure about that since I am totally unfamiliar with Caja, rather, I am not familiar with MATE at all.
I think what's happening is that caja is set to 'manage' your desktop. That means it'll change your wallpaper to the one set in MATE, and probably display desktop icons as well, e.g., Computer, Home, etc. This has always been a problem for me when using alternative window managers on Ubuntu, because nautilus does it as well. With nautilus the behaviour can be turned off using the terminal flag --no-desktop. caja seems to be a descendant of nautilus and a quick Google shows references to the same terminal option for it as well. So I suggest you try
caja --no-desktop
and see if that works for you.

Resources