You are not logged in.
Pages: 1
Some time ago I wrote pretty simple hot corners implementation for X server in modern C++. It supports config file and should work with any WM using X server.
Link to repo: https://github.com/Leinnan/lwa-hot-corners
I was thinking- which way is recommended for make it a plugin/part of XFCE?
Offline
Xfce Panel Plugins How To: https://wiki.xfce.org/dev/howto/panel_plugins
Also, are you aware of this? https://mxlinux.org/wiki/applications/hotcorner
Offline
Leinnan lwa-hot-corners just works great! Well, does it already exists as an XFCE plugin? It should.
I’ve tested it on Xubuntu 19.10 and it only takes about 4 mg of memory, agains the 15 mg from the python one (bl-hotcorners from MXLinux). And there's no major dependencies. I was looking for an alternative to the old Brightside to work with Skippy-xd and xdotool and it works fine with both of them. This deserves to be ‘debianized ‘ and maybe a configuration menu based on yad or something like that.
Offline
I installed it, launched it with the config location, and it has been spending the last 10 minutes generating display parameters. Once it stops that, um, how do I use it?
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
Jerry3904, I believe you are running it in a terminal window and the output is the mouse position. It is constantly getting the mouse position. That's how it works. There's no problem about that. It is supposed to work on the background. Also, you have to configure the config file with your commands/actions like these examples: 'bottom_right_command=exo-open --launch WebBrowser' OR 'bottom_left_command=firefox' OR 'top_right_command=xdotool key ctrl+alt+d' and so on.
I use it creating a startup entry in Session and Startup:
'lwa-hot-corners path/to/config.file'
or
bash -c "lwa-hot-corners $HOME/.config/lwa-hot-corners.conf"
I’m working on a configuration tool to debianize it togheter with an altered version of skyppy-xd that doesn’t work anymore with the latest ubuntu. I will post a link here if everything goes right.
Offline
Sorry, There is a little issue with the output, after all. It keeps writing the cursor position to $HOME/.xsession-errors all the time, making it grow fast. Redirecting both stdout and stderr to /dev/null solves the problem:
lwa-hot-corners $HOME/.config/lwa-hot-corners.conf > /dev/null 2>&1
You can also use xdotool to replicate the same behavior:
xdotool behave_screen_edge --delay 500 top-right exec catfish &
xdotool behave_screen_edge --delay 500 top-left exec firefox &
xdotool behave_screen_edge --delay 500 bottom-right exec xdotool key ctrl+alt+d &
xdotool behave_screen_edge --delay 500 bottom-left exec just_another_command
But it takes about 4mg of memory per corner, which is 4x lwa-hot-corners.
Offline
Debianized to hot-corners-xd package.
Screen Hot Corners and composited Exposé-like window picker for
Ubuntu(s) (from 18.04 to 20.04) XFCE and LXDE bringing together Leinnan's
lwa-hot-corners and the abandoned project Skippy-XD.
The deb package was tested with Ubuntu LXDE and XFCE (Xubuntu and Lubuntu) from Bionic (18.04) to the daily release of the next (20.04).
After installing, log out and login again to start the service. Or use 'Reset to defaults' in the configuration tool. The configuration tool will show on the xfce settings panel.
Get it here:
http://nazarux.square7.net/statics.html
List of Dependencies mainly because of the skippy-xd:
libc6 (>= 2.16), libgif7 (>= 5.1), libjpeg8 (>= 8c), libx11-6, libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxfixes3, libxft2 (>> 2.1.1), libxinerama1, yad (>= 0.27.0), xdotool, libxrender1, zlib1g (>= 1:1.1.4)
I made this tool and the others for a future distro release - nazaruX
If you just want the hot corners and configuration tool, extract the debian package and manually copy the non skippy-xd files to the equivalent directories and edit the commands in the configuration tool. In that case, only YAD and XDOTOOL should be necessary.
If it's working on MX Linux please leave a reply.
Offline
If it's working on MX Linux please leave a reply.
I'll be glad to take a look--just as long as it's not dependent on systemd...
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
It's not a systemd service. It's started in a user level an can be disabled in Session and Startup preferences, unchecking it in the autostart tab.
Offline
I tried to install it on MX-19.1 (Debian 10.3 Buster), and it showed a missing dependency: libjpeg8 (>= 8c). That package is missing throughout Debian versions with the exception of one version in Sid.
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
I tried to install it on MX-19.1 (Debian 10.3 Buster), and it showed a missing dependency: libjpeg8 (>= 8c). That package is missing throughout Debian versions with the exception of one version in Sid.
It looks like a deprecated library. I will try to sort that out in Buster.
P.S. I've been told that Leinnan's hot corner app has issue with the multi-monitor setup(s).
----
The deb package of Gabriel contains only the binaries.
skippy-xd has to be compiled in Debian Buster.
libjpeg8-dev is deprecated but there is libjpeg62-turbo-dev. Anyway, installing libjpeg-dev and libgif-dev will install all the necessary libraries.
Compiling from the source works and skippy-xd is working despite v8 isn't backwards compatible with v6 https://en.wikipedia.org/wiki/Libjpeg
Of course, this needs testing.
If you are going to make packages, skippy-xd is best to be in a separate package.
Next component is lwa-hot-corners.
And finally Gabriel's bash scripts (yad dialogs to create, configure and autostart lwa-hotcorners).
Last edited by Misko_2083 (2020-02-21 11:58:13)
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
My main lwa-hotcorners purpose is to have a nice and light corner launcher to toggle desktop view and for skippy-xd , which is lightweight, simple and clear. I’ve been using it for the last 6 years through the extincted Brightside. I haven’t tested this with more than one monitor but I’ve tried using other ‘corner’ launchers, like the python bl-hotcorners, which is also referred as not supporting multi-monitor, so probably this one will have issues either. If you know other lightweight alternatives, please share.
I made this package with both binaries together to easy the installation on the squashfs of the distro I am working on and because, for me, they just make sense together.
I’ve made some changes and recompiled lwa-hotcorners to make it more cpu friendly and also recompiled skippy-xd with the latest libjpeg 9.
To make it compatible with Debian Buster, I’ve also made a version (1.0.5-jpg62) with skippy-xd compiled with libjpeg62-turbo, present in Buster’s repositories, which is a fork of libjpeg62 and should also work with it. But I couldn’t test it in Buster so, some feedback would be appreciated.
with libjpeg9:
http://nazarux.square7.net/statics/hot- … _amd64.deb
with libjpeg62-turbo:
http://nazarux.square7.net/statics/hot- … _amd64.deb
Offline
Thanks for both posts, will test and report.
My time has been taken up FWIW with developing mx-dockmaker for MX-Fluxbox using the 2018 wmalauncher by Sébastien Ballet, and in producing my first video, an introduction to MX-Fluxbox--man, was that a lot of work!
Last edited by Jerry3904 (2020-03-05 12:31:21)
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
The Turbo deb installs and seems to work fine here on MX-19.1 (Debian 10.3 Buster). The other one had the same dependency problem, of course.
Very nice!
Last edited by Jerry3904 (2020-03-07 12:31:55)
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
We might be interested in bringing it into the MX repo if possible, but would probably need a bit of information:
--What is the license for this package?
--Is there a source repo for it somewhere?
Thanks.
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
I’m glad that it works and that it may be useful.
I don’t have much time now but I will send you a message in a few days with more details. But it’s all open source and I think there’s a doc file in the deb regarding GPL2/3.
It’s not in a repo but I can create a github one or something like that if needed or send you all the sources – the major credits are for lwa-hot-corners and skippy-xd, after all. I’ve just made a few changes and the configuration scripts/interface.
Thanks.
Offline
I’m glad that it works and that it may be useful.
I don’t have much time now but I will send you a message in a few days with more details. But it’s all open source and I think there’s a doc file in the deb regarding GPL2/3.
It’s not in a repo but I can create a github one or something like that if needed or send you all the sources – the major credits are for lwa-hot-corners and skippy-xd, after all. I’ve just made a few changes and the configuration scripts/interface.Thanks.
Hi, this is asqwerth from MX Linux, and I'm following up on Jerry3904's last post above.
MX Linux already packages skippy-xd, so would it be possible for you to provide the necessary sources/github/details just focusing on your tweaked lwa-hot-corners and your hot-corners GUI+scripts?
Thanks!
PS. Your lwa-hot-corners + GUI work pretty nicely in MX19, by the way.
Offline
Hi GabrielCoutinho, In Debian 11 don´t work. After reboot this is log:
17/9/20 16:22 pcdebian systemd[2642] /etc/xdg/autostart/hot-corners.desktop:8: Unknown key name 'Path' in section 'Desktop Entry', ignoring.
17/9/20 16:22 pcdebian systemd[2737] /etc/xdg/autostart/hot-corners.desktop:8: Unknown key name 'Path' in section 'Desktop Entry', ignoring.
17/9/20 16:28 pcdebian kernel [ 379.358880] traps: hot-corners-lwa[3130] trap invalid opcode ip:5629bcf1fd00 sp:7ffd93d1e9e0 error:0 in hot-corners-lwa[5629bcf1c000+8000]
Last edited by fernando-inf (2020-09-17 19:38:32)
Offline
I've updated repository.
Changes:
- by default logs are disabled
- disable calls with empty command
- change default update interval in order to make update less often
- allow to change interval via config(update_interval=value in ms)
Offline
where would I put the config file and what should I name it?
the readme file doesn't say much aside from how to build it and not about it's configuration.
oops sorry.....never mind just found out by back reading previous comments
Last edited by vinox14 (2020-10-03 04:04:25)
Offline
Anyone know if there is a way to show the window cycler (that is, what's shown upon alt+tab)? Is there a command for that?
Offline
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 622.47 KiB (Peak: 655.31 KiB) ]