Skip to main content

Making xfdashboard start in response to reaching screen corners

Someone had asked me if it was possible to get xfdashabord to show the overview like GNOME shell does when triggering the top left corner of the screen. Upon searching the internet, I found an amazing little tool called xdotool. Here is one way of using xdotool to enable hit-the-left-corner-of-screen to enable overview behavior for xfdashboard.

First, xdotool is needed and can be trivially installed.

yum install xdotool

Assuming, top-left corner of the screen is the preferred location to start the overview, the following command may be used -

xdotool behave_screen_edge top-left exec /usr/bin/xfdashboard &


Here is some explanation -

The command usage is

xdotool [action] [values]

The action here is a mouse action. From the man page, behave_screen_edge is very appropriate.


behave_screen_edge [options] where command ...
           Bind an action to events when the mouse hits the screen edge or corner.

One useful option, in my opinion, is delay. The delay can be set in milliseconds (which I have not used in the example above).

The acceptable values are

Valid 'where' values are:

           left
           top-left
           top
           top-right
           right
           bottom-left
           bottom
           bottom-right

Now comes the part where we can start xfdashboard -


exec [options] command [...]
           Execute a program. This is often useful when combined with behave_screen_edge to do things like locking your screen.

That's it! It should work without problems now.

To start this behavior upon login, add the command above to ~/.bash_profile. Done! Done!

Comments

Popular posts from this blog

gparted 0.28.1

A new version of gparted was released recently and I have updated the Fedora package to the latest version - 0.28.1.

This version brings a rather exciting (at least, to me) update - ability to copy and resize already open LUKS filesystems.

For full details, see gparted release notes of both 0.28.0 and 0.28.1

0.28.0 - release notes (0.28.0)

0.28.1 - release notes (0.28.1)


This update is, at the moment, only pushed for Fedora 25. I will test this and submit an update for EPEL-7 in the next few days.


Obligatory screenshots -




































spyder 3 for Fedora

Spyder 3 was released sometime back and the latest version 3.1.0 was released yesterday. I have working on updating Spyder to 3.x for sometime now. Towards this effort, I got the following packages reviewed and included in Fedora - 
python-QtPypython-QtAwesomepython-flitpython-entrypointspython-nbconvertpython-entrypointspython-pickleshare
In addition to this, the package python-ipykernel had to be reviewed. This was completed sometime towards the end of last year.
Now that all the packages are available (in different forms), I have put together a COPR repo where spyder 3.1.0 package resides. I would like to get these packages tested before I submit it as a big update to Fedora 25.
COPR repo is here - nonamedotc/spyder3 - COPR repo
Of course, this repo can be directly enabled from a terminal -
dnf copr enable nonamedotc/spyder3
To install spyder along with ipython console from this repo, do

dnf install python{2,3}-{spyder,ipython}

Note: ipython package provided by this repo is version 5.…

Beautiful themes for Fedora

Ever since Fedora 24 was released, I have been looking at new themes for use with Xfce that are not completely broken with GTK 3.20. I have tried several themes and since several of them had to be compiled (not copy/paste to ~/.themes), I have packaged those I have tried so far.
Here are the links to koji builds - 
Arc

Arc theme github page

Arc theme koji build

Arc red

Arc Red theme github page

Arc Red koji build

Adapta

Adapta theme github page

Adapta theme koji build


Please email me if there are any theme requests and/or issues with these packages. Alternatively, leave comments on this page.