From what I could see, xwinwrap
is a command line tool with no configuration file.
You could write a script to execute your xwinwrap
command(s), save it, create a .desktop
file to execute it when your window session starts.
On my laptop, I have a lot of books (as HTML files) stored in a compressed directory that I want to be able to access from my desktop, so I need to run fusecompress
every time I start my GUI. Here's how I did that, which I'm showing you so you can see how it's done.
First, create the script that does what you want:
$ cat Uncompress_Books
# Mount a compressed file system
# Are we using the same directory for compressed and uncompressed data?
[ "$compressed" = "$uncompressed" ] && args="$args",nonempty
# Skip the mount part if the target is already mounted
mounted=$(mount | grep "$uncompressed")
if [ -z "$mounted" ]
fusecompress -o "$args" \""$compressed"\" \""$uncompressed"\"
Note that the srcipt should be executable: chmod +x Uncompress_Books
Next, create the .desktop
$ cat ~/.config/autostart/Uncompress\ Books.desktop
And move the file into the .config/autostart
directory in your home directory. (I think
that both GNOME and KDE use that directory for things to be run when either GI starts.)
Logout and back in to confirm that it works as you expect, and you're done. (Note that I suggest a logout, not a reboot.)
(Oh, for new Linux users who may read this, the first line of those two file listings - the parts in bold - are the command used to display the files contents, and not part of the file itself.)