Page 1 of 1

skippy-xd

Posted: Fri Oct 25, 2019 2:15 pm
by asqwerth
May we have skippy-xd for MX19? It was packaged for MX17/18.

It enables a windows overview of all opened windows.

This was the MX17/18 package request: https://forum.mxlinux.org/viewtopic.php ... 89#p459289

In the light of the compiz issues in MX19, this would be a good one to have for people like me who frankly only need* compiz for the overview functionality.



*"need" is not the same as "would like to have just because it's cool!" :p

Re: skippy-xd

Posted: Fri Oct 25, 2019 3:04 pm
by timkb4cq
Skippy-xd hasn't been maintained for quite a while.
I rebuilt it for MX-19 and placed it in the Test repo. Not sure how to work it so I'm relying on you to tell me if it still works.

Re: skippy-xd

Posted: Fri Oct 25, 2019 3:48 pm
by asqwerth
timkb4cq wrote: Fri Oct 25, 2019 3:04 pm Skippy-xd hasn't been maintained for quite a while.
I rebuilt it for MX-19 and placed it in the Test repo. Not sure how to work it so I'm relying on you to tell me if it still works.
That's why I posted the link to my earlier post. It hasn't been officially maintained for a while, but works in Manjaro and Solus because the relevant packagers recompiled it against libpng1.6. I use it regularly in both these distros with Budgie Desktop. Manjaro must be gtk 3.32 to 3.34 by now.

Re: skippy-xd

Posted: Fri Oct 25, 2019 4:32 pm
by timkb4cq
OK, following the directions in the old thread work on MX-19 in VBox - except they leave out the part where you have to start the daemon before the window picker will work.
Please try the skippy-xd package in MX-19 Test and report back.

Re: skippy-xd

Posted: Sat Oct 26, 2019 4:50 am
by asqwerth
timkb4cq wrote: Fri Oct 25, 2019 4:32 pm OK, following the directions in the old thread work on MX-19 in VBox - except they leave out the part where you have to start the daemon before the window picker will work.
Please try the skippy-xd package in MX-19 Test and report back.
Works! No need for daemon starting.

I just added the window picker command to a panel launcher, keyboard shortcut, and also set bunsenlab's hotcorner script to trigger the command at the top left corner.

Image

https://imgur.com/OVOc5bl

Minimised windows show up as all-blue, which is usual for skippy.

Thanks, Tim.

Re: skippy-xd

Posted: Sat Oct 26, 2019 6:30 am
by richb
Are there detailed instructions to get this running? Is the old wiki article still valid?

Re: skippy-xd

Posted: Sat Oct 26, 2019 7:23 am
by asqwerth
richb wrote: Sat Oct 26, 2019 6:30 am Are there detailed instructions to get this running? Is the old wiki article still valid?
The old wiki article is still valid but I just updated it to correct formatting errors.

Plus I updated the sample bl-hotcorners config file to add the skippy-xd command within.

https://mxlinux.org/wiki/applications/hotcorner/

[ADDED]
Oh yes, a poster provided very helpful instructions in a reply to my wiki post, on how to tweak the bunsenlabs python script to make it more responsive.

Re: skippy-xd

Posted: Sat Oct 26, 2019 7:31 am
by richb
errors running terminal command.

Code: Select all

bl-hotcorners –daemon &
[1] 19427
from: can't read /var/mail/Xlib
from: can't read /var/mail/Xlib.ext.xtest
from: can't read /var/mail/Xlib

Re: skippy-xd

Posted: Sat Oct 26, 2019 7:34 am
by asqwerth
richb wrote: Sat Oct 26, 2019 7:31 am errors running terminal command.

Code: Select all

bl-hotcorners –daemon &
[1] 19427
from: can't read /var/mail/Xlib
from: can't read /var/mail/Xlib.ext.xtest
from: can't read /var/mail/Xlib
Did you install the 4 packages that are required? MX19 does not come with python-xlib as default.

Re: skippy-xd

Posted: Sat Oct 26, 2019 7:40 am
by richb
I did. There is also a python3-xlib. I installed the python-xlib and the other pacakges mentioned.

Re: skippy-xd

Posted: Sat Oct 26, 2019 7:50 am
by asqwerth
Could you try running the command again? I recall I had some message in the terminal as well the first time (nothing like yours about "can't read ABC" though") and when I reran the command, this time it worked and generated the rc config file in $HOME/.config/bl-hotcorners.

Re: skippy-xd

Posted: Sat Oct 26, 2019 7:54 am
by richb
I have run it several times with the same error. It cannot find the /var/mail/Xlib file because it does not exist. There is only a n empty richb file in /var/mail. Can you check your /var/mail folder and see what is in it?

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:03 am
by richb
Found one problem. There was an empty line at the top of the script copied from GitHub. Now I get a different error. Ran this twice as well

Code: Select all

bl-hotcorners: error: unrecognized arguments: –daemon

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:10 am
by asqwerth
richb wrote: Sat Oct 26, 2019 7:54 am I have run it several times with the same error. It cannot find the /var/mail/Xlib file because it does not exist. There is only a n empty richb file in /var/mail. Can you check your /var/mail folder and see what is in it?
same as you.

You mean your hotcorners script doesn't work at all?

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:12 am
by asqwerth
richb wrote: Sat Oct 26, 2019 8:03 am Found one problem. There was an empty line at the top of the script copied from GitHub. Now I get a different error. Ran this twice as well

Code: Select all

bl-hotcorners: error: unrecognized arguments: –daemon
It's 2 hyphens before the "daemon".

No matter how many times I edited the wiki post, the double hyphens combined/autocorrected into a longer dash.

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:19 am
by richb
Apparently the script does not run. The $HOME/.config/bl-hotcorners/bl-hotcornersrc folder/file is not created as the wiki indicates it should.

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:23 am
by asqwerth
richb wrote: Sat Oct 26, 2019 8:19 am Apparently the script does not run. The $HOME/.config/bl-hotcorners/bl-hotcornersrc folder/file is not created as the wiki indicates it should.
Did you make the script executable?

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:25 am
by richb
asqwerth wrote: Sat Oct 26, 2019 8:23 am
richb wrote: Sat Oct 26, 2019 8:19 am Apparently the script does not run. The $HOME/.config/bl-hotcorners/bl-hotcornersrc folder/file is not created as the wiki indicates it should.
Did you make the script executable?
Yes.

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:33 am
by asqwerth
I'm stumped. Sorry.

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:39 am
by richb
No problem. I have a working Compiz with some issues. I do not use it because of those issues and stay with the default XFCE DE.. This was more an exercise to test the application and wiki procedure. I hope others try it and report.

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:48 am
by asqwerth
bl-hotcorner has one advantage over compiz's scale windows that really is good for me, namely that when my VB Virtual Machines are full screen, compiz's hot corners don't trigger so I can't get compiz's window overview (scale).

bl-hotcorners does so nicely with skippy-xd.

Re: skippy-xd

Posted: Sat Oct 26, 2019 8:57 am
by richb
I do not use VB very much. Compiz has some other nice features other than exposing windows and desktops. You can set mouse clicks on the borders to control brightness or use key strokes. On desktops as opposed to laptops, brightness control with the keyboard without these compiz features does not work. And the same to zoom in and out of portions of your screen, Very useful for small images with text.

Re: skippy-xd

Posted: Sat Oct 26, 2019 9:08 am
by asqwerth
I do intend, when I replace my second MX15 installation with MX19, to have that one use compiz.

Re: skippy-xd

Posted: Sat Oct 26, 2019 9:11 am
by richb
asqwerth wrote: Sat Oct 26, 2019 9:08 am I do intend, when I replace my second MX15 installation with MX19, to have that one use compiz.
Please report on the results. Stevo has said it is working well for him and has not experienced the issues I detailed in another post. Different graphics processor and driver.

Re: skippy-xd

Posted: Wed May 27, 2020 3:42 pm
by catalinux
On the screenshot posted by asqwerth I can see the windows themselves are no longer minimized when launching skippy-xd, rather the overview is shown as an overlay above them (I also tried in a live MX 19 environment and I had the same behaviour). Has anyone found a way to show only the previews upon launching skippy-xd like on MX-18? or it's simply a bug that needs fixed upstream on skippy-xd itself?

Re: skippy-xd

Posted: Wed May 27, 2020 4:19 pm
by asqwerth
catalinux wrote: Wed May 27, 2020 3:42 pm On the screenshot posted by asqwerth I can see the windows themselves are no longer minimized when launching skippy-xd, rather the overview is shown as an overlay above them (I also tried in a live MX 19 environment and I had the same behaviour). Has anyone found a way to show only the previews upon launching skippy-xd like on MX-18? or it's simply a bug that needs fixed upstream on skippy-xd itself?
It's not a bug but due to the fact that when I made that screenshot, I didn't realise I was missing the config file which would allow me to configure the look and settings as I chose.

If you don't have a file called $HOME/.config/skippy-xd/skippy-xd.rc, and you can't find the template in /etc/xdg to copy over, then make an empty file with that name, and paste these contents into the same:

Code: Select all

# Copy this to ~/.config/skippy-xd/skippy-xd.rc and edit it to your liking
#
# Notes:
#
# - colors can be anything XAllocNamedColor can handle
#   (like "black" or "#000000")
#
# - distance is a relative number, and is scaled according to the scale
#   factor applied to windows
#
# - fonts are Xft font descriptions
#
# - booleans are "true" or anything but "true" (-> false)
#
# - opacity is an integer in the range of 0-255
#
# - brighness is a floating point number (with 0.0 as neutral)
#
# - if the update frequency is a negative value, the mini-windows will only
#   be updated when they're explicitly rendered (like, when they gain or
#   lose focus).
#
# - the 'shadowText' option can be a color or 'none', in which case the
#   drop-shadow effect is disabled
#
# - Picture specification:
#   [WIDTHxHEIGHT] [orig|scale|scalek|tile] [left|mid|right] [left|mid|right]
#   [COLOR|#FFFFFFFF] [PATH]
#
#   Examples:
#   background = 500x400 tile right mid #FF0000 /home/richard/screenshots/256.png
#   background = orig mid mid #FF000080
#
# - Bindings in [bindings] section can bind to "no" (do nothing), "focus"
#   (focus to window), "iconify", "shade-ewmh" (toggle window shade state),
#   "close-icccm" (close window with ICCCM method), "close-ewmh" (close
#   window with EWMH method), or "destroy" (forcefully destroy the window).
#

[general]
distance = 50
useNetWMFullscreen = true
ignoreSkipTaskbar = true
updateFreq = 10.0
lazyTrans = false
pipePath = /tmp/skippy-xd-fifo
movePointerOnStart = true
movePointerOnSelect = true
movePointerOnRaise = true
switchDesktopOnActivate = false
useNameWindowPixmap = false
forceNameWindowPixmap = false
includeFrame = true
allowUpscale = true
showAllDesktops = true
showUnmapped = true
preferredIconSize = 96
clientDisplayModes = thumbnail icon filled none
iconFillSpec = orig mid mid #909090
fillSpec = orig mid mid #FFFFFF
background = scale #333333

[xinerama]
showAll = true

[normal]
tint = black
tintOpacity = 0
opacity = 200

[highlight]
tint = #444444
tintOpacity = 64
opacity = 255

[tooltip]
show = true
followsMouse = true
offsetX = 20
offsetY = 30
align = mid
border = #4A4A4A
background = #4A4A4A
opacity = 128
text = #ffffff
textShadow = none
# font = fixed-11:weight=bold
font = fixed-12

[bindings]
miwMouse1 = focus
miwMouse2 = close-ewmh
miwMouse3 = iconify
The relevant line is 61. In the template file above, it reads:

Code: Select all

background = scale #333333
where #333333 is the background colour of your choice. If you wanted a picture as background, use:

Code: Select all

background = scale filepath-of-the-picture
In any case, once you add the above config file, you should no longer see the windows themselves.

Image
https://imgur.com/HAEd5AO

Other simple tweaks would include changing the colours/opacity of the highlighted window or the colours of the tooltip text/background.


[OK, maybe the "bug" is that the config file to be found in /etc/xdg was not included as part of the skippy-xd package? ]

Re: skippy-xd

Posted: Sun May 31, 2020 5:47 am
by catalinux
Oh, wow, thank you so much. did not know about the so many options available to configure skippy-xd. I always thought the commands were everything there is.
asqwerth wrote: Wed May 27, 2020 4:19 pm [OK, maybe the "bug" is that the config file to be found in /etc/xdg was not included as part of the skippy-xd package? ]
I see. I guess that since I will install MX-19 while preserving the home folder then this file will be readily available when I will reinstall skippy-xd there, right?

edit: I found it in /etc/xdg on my current installation. That is one more thing to backup when upgrading, haha.

Re: skippy-xd

Posted: Sun May 31, 2020 5:57 am
by asqwerth
Right, it will still be in /home if you have now created it there.

Re: skippy-xd

Posted: Sun May 31, 2020 6:19 am
by asqwerth
timkb4cq wrote: Fri Oct 25, 2019 4:32 pm OK, following the directions in the old thread work on MX-19 in VBox - except they leave out the part where you have to start the daemon before the window picker will work.
Please try the skippy-xd package in MX-19 Test and report back.
Tim, in the light of the last few posts above, could skippy-xd for MX19 be repackaged to include the /etc/xdg/skippy-xd.rc config file that is found in the MX17/18 version of the skippy package?

Thanks.

Re: skippy-xd

Posted: Sun May 31, 2020 4:53 pm
by timkb4cq
It already includes the same exact /etc/xdg/skippy-xd.rc file that is in the MX-17/18 package.

Re: skippy-xd

Posted: Mon Jun 01, 2020 8:38 am
by asqwerth
timkb4cq wrote: Sun May 31, 2020 4:53 pm It already includes the same exact /etc/xdg/skippy-xd.rc file that is in the MX-17/18 package.
Oops. It could be that I got impatient and installed skippy in my MX19 install by pasting it directly (probably copied it from Manjaro or Solus) into /usr/bin wihout waiting for your package to be ready.

Regardless, it looks like in the move from gtk2 XFCE to gtk3 XFCE, the default settings in the rc file that worked with XFCE 4.12 in MX17/18 don't give the nicest results in MX19's XFCE 4.14.

The rc file's default is for the line "background =" to be blank.

In MX17/18 that gives you the windows overview set against the current wallpaper on the desktop.

In MX19, if background is not defined, you get a visual of the ACTUAL desktop, meaning you see the wallpaper PLUS all the opened windows on it. It makes the windows overview hard to see clearly because the smaller windows of the overview are set against the confusing background that includes the actual windows themselves.

Re: skippy-xd

Posted: Mon Jun 01, 2020 1:26 pm
by catalinux
asqwerth wrote: Mon Jun 01, 2020 8:38 am In MX17/18 that gives you the windows overview set against the current wallpaper on the desktop.

In MX19, if background is not defined, you get a visual of the ACTUAL desktop, meaning you see the wallpaper PLUS all the opened windows on it. It makes the windows overview hard to see clearly because the smaller windows of the overview are set against the confusing background that includes the actual windows themselves.
I noticed the value of "background" and I thought it was actually ok to leave it like that. So it seems that because of the new XFCE version I have to set a background there, right?

Re: skippy-xd

Posted: Mon Jun 01, 2020 1:54 pm
by asqwerth
I think so, but am not 100% certain. Am currently booted into another distro.

You can test it yourself in MX19 by leaving "background=" blank in said rc file, and then setting a colour value. I think there will be a difference.

Skippy-xd hasn't been officially maintained for quite a few years now, but is still kept working in MX's and Manjaro's repos (the 2 that I know of; there may be others perhaps).

Re: skippy-xd

Posted: Tue Jun 02, 2020 4:55 am
by asqwerth
Update:

I am booted into my Manjaro install that has both XFCE and Budgie desktop.

Without the "background=" line being filled, the skippy overview still works nicely in Budgie (ie without the actual windows being displayed in the background) but in XFCE on the same Manjaro install, the windows show up in the background.

So it looks like it's something that changed in XFCE in the move from 4.12 to 4.14.