Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
6
votes
1
answers
1594
views
Preventing systemd-inhibit in Linux
**Question** Is it possible to prevent applications from using systemd-inhibit ? **Why?** systemd-inhibit allows applications to override directives from /etc/systemd/logind.conf , in particular HandleLidSwitch=ignore , HandleLidSwitchDocked=ignore , and LidSwitchIgnoreInhibited=no . At one point or...
**Question**
Is it possible to prevent applications from using
systemd-inhibit
?
**Why?**
systemd-inhibit
allows applications to override directives from /etc/systemd/logind.conf
, in particular HandleLidSwitch=ignore
, HandleLidSwitchDocked=ignore
, and LidSwitchIgnoreInhibited=no
.
At one point or the other, the developers of nearly every desktop environment has discovered that they can do this, including KDE , Gnome , and recently Enlightenment . This recent development in enlightenment is my current problem:
$ systemd-inhibit
WHO UID USER PID COMM WHAT WHY MODE
Enlightenment 1000 769 enlightenment handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch Normal Execution block
1 inhibitors listed.
$
Worse, I do not think the configuration of enlightenment allows specifying what should happen in that event, i.e. the lid being closed. As a consequence, the laptop suspends every time I close the lid. This is very bad and should never happen, which is why I had HandleLidSwitch=ignore
, HandleLidSwitchDocked=ignore
, and LidSwitchIgnoreInhibited=no
in /etc/systemd/logind.conf
in the first place. Without enlightenment running, everything is fine and I can close the lid without the system suspending automatically; when enlightenment runs, I cannot.
The way I see it, there is absolutely no reason whatsoever for any application to override anything in my /etc/systemd/logind.conf
. Hence, I would like to try to prevent enlightenment_start
from using the inhibitor (hoping that it is not built in such a way that it won't start any more if it cannot have the inhibitor.)
**Related question**
An answer to a similar question (about the same thing happening in gnome) seems to suggesr that systemd-inhibitors can only be removed by terminating the app responsible for the inhibitor. If this is not an option, it suggests preventing the original app from placing the inhibitor instead. It suggests reading the man page of dbus-daemon
to see how to do that, but I do not see how this is related.
**Approaches**
* Can I limit permissions for setting inhibitors for certain apps?
* Can I disable inhibitors alltogether?
* Can I set another inhibitor reversing the behavior of the one set by enlightenment
?
**Note on using alternative desktop environments etc**
I understand that every desktop enviromnent developer aims for "user-friendlyness", commonly understood as making interaction with config files unnecessary by handling everything in their own application. Unfortunately, this makes it increasingly difficult to find a desktop environment that does not do that and leaves my system configuration alone but still offers a bit of functionality and does that with some reliability. An example: For instance, I looked into LXDE, which seems nice, except that when executing systemctl suspend
purposefully (i.e., I really want the machine to suspend), it may or may not lock the screen. I am sure all of these issues can be solved somehow, but it seems a lot of hassle for just getting the functionality back that I had 10 years ago.
**Software**
System is Arch Linux with kernel 5.5.9, systemd is version 245.2, enlightenment is version 0.23.1.
0range
(171 rep)
Mar 23, 2020, 06:09 PM
• Last activity: Jul 11, 2023, 04:21 AM
0
votes
0
answers
431
views
Browser cookies lost when switching desktop environment
Each time I switch between Enlightenment and KDE Plasma, Chromium seems to loose all cookies and I need to re-login to any web service I use (really annoying). Is this a known problem? Can I do anything to prevent this?
Each time I switch between Enlightenment and KDE Plasma, Chromium seems to loose all cookies and I need to re-login to any web service I use (really annoying). Is this a known problem? Can I do anything to prevent this?
mara004
(146 rep)
Jan 6, 2023, 01:52 PM
1
votes
1
answers
1133
views
How to change the mouse cursor in Bodhi Linux
In Bodhi Linux, there is a poor choice of mouse cursor - only from the MOKSHA desktop theme, is it possible to change the theme of the mouse cursor?
In Bodhi Linux, there is a poor choice of mouse cursor - only from the MOKSHA desktop theme, is it possible to change the theme of the mouse cursor?
Alexander Volnov
(13 rep)
Apr 12, 2022, 11:38 AM
• Last activity: Aug 23, 2022, 03:25 PM
0
votes
0
answers
335
views
Compositor Warning: Your display driver does not support OpenGL, GLSL shaders
Using Enlightenment on Gentoo in Virtualbox and at startup I'm getting ```Compositor Warning: Your display driver does not support OpenGL, GLSL shaders or no OpenGL engines were compiled or installed for Evas or Ecore-Evas. Falling back to software engine. You will need an OpenGl 2.0 (or OpenGL ES 2...
Using Enlightenment on Gentoo in Virtualbox and at startup I'm getting
Warning: Your display driver does not support OpenGL, GLSL shaders or no OpenGL engines were compiled or installed for Evas or Ecore-Evas. Falling back to software engine. You will need an OpenGl 2.0 (or OpenGL ES 2.0) capable GPU to use OpenGL with compositing.
With glxinfo | grep 'OpenGL'
I'm getting
# glxinfo | grep OpenGL
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.1.0, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.4
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 20.3.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
So clearly I have it (or the drivers or whatever) installed. Is it just not detecting it?
Shidouuu
(101 rep)
Mar 27, 2021, 10:14 PM
• Last activity: Mar 28, 2021, 11:36 PM
1
votes
0
answers
214
views
Enlightenment 22 -- Binding cursor movement to keys
I've seen that it's possible for X11-based desktops to move the cursor/pointer around using keys with stuff like [xdotool](https://www.semicomplete.com/projects/xdotool/) or [keynav](https://www.semicomplete.com/projects/keynav/). While these look quite convenient, I've been trying to do the same us...
I've seen that it's possible for X11-based desktops to move the cursor/pointer around using keys with stuff like [xdotool](https://www.semicomplete.com/projects/xdotool/) or [keynav](https://www.semicomplete.com/projects/keynav/) .
While these look quite convenient, I've been trying to do the same using non-X11 methods. Here's what I've tried in e22:
- No action relating to mouse movement in the Key Bindings section of the settings panel.
- No way to bind mouse movement to keypad (or any other keys for that matter) in the Mouse section of the settings panel just like Gnome users could do.
- and I haven't found the mouse structs in the few e_bindings files that I've inspected.
Is it possible to move the cursor using only e configuration?
If not, what possibilities do I have that don't involve X11?
Void Linux, 4.19.28
Enlightenment 0.22.4
SpectreVert
(111 rep)
Mar 28, 2019, 12:24 AM
• Last activity: Mar 28, 2019, 12:55 AM
3
votes
2
answers
1276
views
Bind Windows Key in Enlightenment
so I set up Arch with Enlightenment. You open the "Run Everything" application using alt+esc by default. I'd like to use the Windows Key for that. The key bindings manager only allows for key pairs. Like modifier + key... so I can't do it in the key bindings manager. [At least, I think I can't]. So,...
so I set up Arch with Enlightenment. You open the "Run Everything" application using alt+esc by default. I'd like to use the Windows Key for that. The key bindings manager only allows for key pairs. Like modifier + key... so I can't do it in the key bindings manager. [At least, I think I can't].
So, how can I run "Run Everything" using the Windows Key only?
xotix
(133 rep)
Feb 21, 2017, 10:09 AM
• Last activity: Jan 5, 2019, 03:05 AM
1
votes
0
answers
201
views
Do i3 workspaces have to be linear?
Currently the way i3 does workspaces, they're all linear 0-9. Under a normal workflow this typically means you have one workspace for browsing the web, and one for managing media, and messaging/chat .. etc. Browsing for alternative ideas, I found this description for Enlightenment, > Enlightenment a...
Currently the way i3 does workspaces, they're all linear 0-9. Under a normal workflow this typically means you have one workspace for browsing the web, and one for managing media, and messaging/chat .. etc.
Browsing for alternative ideas, I found this description for Enlightenment,
> Enlightenment allows the user to have a grid of workspaces called virtual desktops. Switching between them is achieved by hurling the mouse cursor to the edge of the screen, at which the desktop appears to slide across to reveal the next. The maximum grid size is eight by eight desktops, and the user can have 32 grids (each with a different background), making 2048 total possible desktop spaces (users can enable a map of the desktops, in case they get lost, which is called the pager).
> The desktop dragbar allows a desktop to be 'slid back' to reveal the desktop 'underneath'. **The E team use the analogy of sheets of paper, stacked on top of each other, where the user can slide off a piece partially to reveal what's beneath.**
I kind of like that philosophy. Normally for my projects, I need
* An editor for the front-end code (under a different repo)
* An editor for the back-end code (under a different repo)
* A database connection
* A browser, to view and research the project's problems.
In this sense, the linear organization of i3 doesn't make sense and this is really what I *want*. Is there anyway to get this out of i3?
I would rather think of Workspace 1 as "Project 1" and then go
* up to the browser
* left to the back-end of the project
* right to the front-end of the project
* down to my sql-client.
Some of them get a bit more complex. For example, I could see have left-left going to testing the back-end, and right-right go to the testing of the front end.
Is there any way to hack together a notion of a "project" which has different facets *unique* to it that I can access relative to the "project"?
Evan Carroll
(34663 rep)
Dec 16, 2018, 07:53 PM
0
votes
1
answers
388
views
Enlightenment (E17) not opening settings windows or click menu
I cannot open any settings windows and cannot access the menu be clicking on an empty part of the desktop on enlightenment installed on Arch. What could be the problem? I'm running GDM for a desktop manager.
I cannot open any settings windows and cannot access the menu be clicking on an empty part of the desktop on enlightenment installed on Arch. What could be the problem?
I'm running GDM for a desktop manager.
Mike George
(101 rep)
Oct 5, 2013, 01:57 AM
• Last activity: Nov 26, 2018, 12:14 AM
1
votes
1
answers
915
views
How do I convert image files to .edj format from the command-line?
I have recently installed the E17 fork, Moksha, on my Sabayon Linux machine the problem is that the graphical tools for changing the wallpaper to JPG or PNG files are causing me grief (and yes I have tried to get support for this from the Bodhi Linux community, see [this forum post](http://forums.bo...
I have recently installed the E17 fork, Moksha, on my Sabayon Linux machine the problem is that the graphical tools for changing the wallpaper to JPG or PNG files are causing me grief (and yes I have tried to get support for this from the Bodhi Linux community, see [this forum post](http://forums.bodhilinux.com/index.php?/topic/12735-cant-change-wallpaper-in-moksha/)) , but I seem to be able to use wallpapers (including animated ones) in .edj format quite easily. So I was hoping that someone would have a shell script (that's simple enough for me to be able to use) or something I can run from the command-line to convert my JPG and PNG wallpapers to the .edj file format.
Josh Pinto
(3533 rep)
Oct 16, 2015, 12:20 PM
• Last activity: Aug 25, 2018, 09:38 PM
0
votes
1
answers
525
views
Enlightenment E20: how to remove desktop gadget?
I try E20 DE. Mouse click on desktop calls the menu -> Main -> Desktop -> + Add Gadgets To Desktop. Then I click on Thermal gadget and click on desktop. The problem is that I can't remove it from the desktop. I can't do anything with this gadget. By the way, there is another one option to add a gadg...
I try E20 DE.
Mouse click on desktop calls the menu -> Main -> Desktop -> + Add Gadgets To Desktop.
Then I click on Thermal gadget and click on desktop.
The problem is that I can't remove it from the desktop. I can't do anything with this gadget.
By the way, there is another one option to add a gadgets on a desktop: Main -> Desktop -> Change Gadgets. These gadgets may be removed.
Kroll
(101 rep)
Jul 4, 2017, 10:43 PM
• Last activity: Feb 14, 2018, 02:54 PM
2
votes
1
answers
4381
views
How to run Enlightenment on Wayland on Arch Linux?
I'd like to run an Enlightenment on Wayland session on Arch Linux, I read the [Arch Linux](https://www.enlightenment.org/distros/archlinux-start) article at enlightenment.org, but it seems to be outdated as enlightenment-wayland-git no longer exists in the Arch User Repository (AUR). I tried install...
I'd like to run an Enlightenment on Wayland session on Arch Linux, I read the [Arch Linux](https://www.enlightenment.org/distros/archlinux-start) article at enlightenment.org, but it seems to be outdated as enlightenment-wayland-git no longer exists in the Arch User Repository (AUR). I tried installing enlightenment-git from the AUR, in the hope it was a typo, but it will not build due to missing dependencies (e.g. gitmeson). The official enlightenment package does not have an enlightenment_wayland_start binary so I can't start it using that. I tried starting it with
plus I could run Plank in it, but under other Wayland sessions Plank won't start because it can't run on Wayland.
ELM_DISPLAY=wl ELM_ACCEL=opengl enlightenment_start
based on what is said near the end of the [Wayland](https://www.enlightenment.org/about-wayland) article at enlightenment.org, but it does not seem this is a Wayland session that it started. The window enlightenment started in was called "WL-X11"

Josh Pinto
(3533 rep)
Oct 3, 2017, 09:24 AM
• Last activity: Feb 9, 2018, 10:33 AM
7
votes
2
answers
876
views
What does the Enlightenment desktop (E17) environment variable "PANTS=ON" do?
Installing the Enlightenment Window Manager (E17), results in an [environment variable being set][1]: PANTS=ON What does this environment variable do? What will happen if I set PANTS=OFF [1]: http://svn.enlightenment.org/svn/e/trunk/e/src/bin/e_main.c
Installing the Enlightenment Window Manager (E17), results in an environment variable being set :
PANTS=ON
What does this environment variable do? What will happen if I set
PANTS=OFF
rcourtna
(173 rep)
Jan 25, 2013, 04:02 PM
• Last activity: Sep 1, 2017, 03:59 PM
3
votes
2
answers
2994
views
Change default file manager in Arch Linux with E17 to Dolphin
I am using Arch Linux with E17 as my DE. However, I am not happy with the file manager that E17 comes with, so I researched a bit and decided to go with the Dolphin file manager (the one KDE comes with). So I need the following info from the experts: - What's the best place to get it from? Official...
I am using Arch Linux with E17 as my DE.
However, I am not happy with the file manager that E17 comes with, so I researched a bit and decided to go with the Dolphin file manager (the one KDE comes with).
So I need the following info from the experts:
- What's the best place to get it from? Official packages? AUR? If yes, which, if no, where and how?
- And, of course, how to make it the default file manager so that it gets launched instead of E17's file manager.
greduan
(513 rep)
May 26, 2013, 07:01 PM
• Last activity: Jun 15, 2017, 02:53 AM
1
votes
1
answers
305
views
Text wrapping in Terminology
I just installed Enlightenment in OpenSuse Tumbleweed via YasT. I'm using E as the WM and entrance as the DM, if it matters. While checking its terminal emulator Terminology, I noticed that output lines larger than the width of the window get clipped i.e. if my window is 120 chars wide and the comma...
I just installed Enlightenment in OpenSuse Tumbleweed via YasT. I'm using E as the WM and entrance as the DM, if it matters.
While checking its terminal emulator Terminology, I noticed that output lines larger than the width of the window get clipped i.e. if my window is 120 chars wide and the command output 150 chars,only the first 120 chars of the output are printed - the rest is neither wrapped nor hidden "beyond the window border". If I resize the window to 150+ chars and rerun the command, I can see the full output.
I looked in Terminology's settings but didn't find a relevant attribute. The choice of names for both the WM and the emulator doesn't help when searching online and I've had no luck.
Thanks.
Gyan
(1065 rep)
Jun 12, 2017, 01:22 PM
• Last activity: Jun 14, 2017, 05:24 PM
3
votes
1
answers
435
views
Enlightenment E19 Screen Magnifier
I'm looking for a solution for accessibility in the Enlightenment E19 WM. I am using Bodhi Linux 3.0.0, returning from a long hiatus of Linux. Last time I used Linux in a desktop environment was Ubuntu in 2009 and at that time I seem to remember a full screen zoom feature through Compiz-Fusion or so...
I'm looking for a solution for accessibility in the Enlightenment E19 WM. I am using Bodhi Linux 3.0.0, returning from a long hiatus of Linux. Last time I used Linux in a desktop environment was Ubuntu in 2009 and at that time I seem to remember a full screen zoom feature through Compiz-Fusion or something to that effect. I have searched extensively and it seems that the accessibility options in Ubuntu have been push aside in recent years. Since Bodhi Linux is based on Ubuntu **I am wondering if there are others out there who have found alternatives to the full screen magnifier that was once bundled with Ubuntu?**
Thanks!
Donald J
(63 rep)
Mar 17, 2015, 03:49 PM
• Last activity: Jan 15, 2017, 05:37 AM
4
votes
1
answers
2038
views
Changing Firefox's Open Containing Folder action
I've just installed Enlightenment on my Mint desktop and am loving it. But when I download something from Firefox, then click on "open Containing Folder" (in the Firefox download menu) the entire screen becomes unresponsive until I switch to text console and kill Firefox. In the default desktop (Mat...
I've just installed Enlightenment on my Mint desktop and am loving it. But when I download something from Firefox, then click on "open Containing Folder" (in the Firefox download menu) the entire screen becomes unresponsive until I switch to text console and kill Firefox.
In the default desktop (Mate) this action brings up the Caja file manager. I can start and run Caja under enlightenment. Ideally I'd want to use the native Enlightenment file manager, but would be happy with any workable solution which did not freeze my screen.
I believe that the action is mapped by the desktop mimetype settings - but I can't find any way to edit that within Enlightenment.
symcbean
(6301 rep)
Dec 24, 2016, 05:43 PM
• Last activity: Dec 29, 2016, 02:24 PM
1
votes
0
answers
362
views
Applications don't start in enlightenment WM
I installed enlightenment on my arch but I experience some rather strange behaviour. If I start it with `startx /bin/enlightenment_start` I get a black screen and a mouse cursor. The same happens if I do `startx` with a single `exec enlightenment_start` inside. If I just run `enlightenment_start` (f...
I installed enlightenment on my arch but I experience some rather strange behaviour.
If I start it with
startx /bin/enlightenment_start
I get a black screen and a mouse cursor. The same happens if I do startx
with a single exec enlightenment_start
inside.
If I just run enlightenment_start
(from tty) it starts and I can click around, open file explorer and some settings windows, but nothing more. I can't open xterm or chromium or vim or whatever. Nothing happens.
However, I noticed something weird. If I try to open vim in enlightenment and then log out (i.e. return to the tty; I do not use any graphical login managers), I get the zsh prompt again but get some vimy behaviour. The cursor goes to the top of the screen and starts rewriting some characters there. In some cases I do also see the insert mode indicator.
If I do ctrl-c
I get "type :q to quit vim". If I type it, it gets written on the screen. I.e. I get some mixed prompt/vim behaviour which I escape only by running pkill vim
from the outside. Then I get back the working prompt.
I couldn't find anything related neither on SE nor in the official website. According to the arch docs it should work only by installing it and running startx
.
Any ideas on how to make enlightenment usable?
Al.G.
(287 rep)
Nov 20, 2016, 06:11 PM
2
votes
1
answers
1763
views
Make terminal content fit the window size
I have a `fluxbox` environment that uses Eterm to open a telnet connection to my server. I set Eterm to have the biggest fint possible, but it's not full-width. Is there a way to set Eterm to make the content fit the window size?
I have a
fluxbox
environment that uses Eterm to open a telnet connection to my server.
I set Eterm to have the biggest fint possible, but it's not full-width. Is there a way to set Eterm to make the content fit the window size?
RikyTres
(203 rep)
Feb 29, 2016, 08:41 AM
• Last activity: Feb 29, 2016, 11:23 PM
2
votes
0
answers
144
views
How do I prevent unlocking the screen?
Use case: I want my screen to auto-lock when I unmount my USB drive. (That part is easy.) What's not so easy: I want the screen lock to require the USB drive _and_ the password when I return. Thus, is there a way block the screen unlock so that it only allows unlocking when some additional condition...
Use case: I want my screen to auto-lock when I unmount my USB drive. (That part is easy.) What's not so easy: I want the screen lock to require the USB drive _and_ the password when I return.
Thus, is there a way block the screen unlock so that it only allows unlocking when some additional condition is met (test whether a file exists, for instance; I'd create that with the help of udev, that's not the problem; or run a check script and disallow unlocking unless that program exits zero)?
I'm using e17 and Gnome, but solutions for
kde/lxde/xscreensaver
are appreciated too.
Matthias Urlichs
(290 rep)
Feb 3, 2016, 05:30 PM
• Last activity: Feb 3, 2016, 05:35 PM
2
votes
1
answers
775
views
Is Enlightenment a full DE or just a WM?
I installed Enlightenment on my Linux Mint 17.2 Cinnamon. I thought it was just a Window Manager that I could switch to and use within Cinnamon. However, I found that I had to log out to my display manager and log in to Enlightenment. It presented me with what appeared to be a complete Desktop Envir...
I installed Enlightenment on my Linux Mint 17.2 Cinnamon. I thought it was just a Window Manager that I could switch to and use within Cinnamon. However, I found that I had to log out to my display manager and log in to Enlightenment. It presented me with what appeared to be a complete Desktop Environment. This brings me to the question: is Enlightenment a complete Desktop Environment or just a Windows Manager? Also, is it possible for me to use it to replace Muffin within Cinnamon? I doubt this is possible if Enlightenment is a complete DE.
Rohan
(3711 rep)
Jan 10, 2016, 08:26 AM
• Last activity: Jan 10, 2016, 08:56 AM
Showing page 1 of 20 total questions