Hi all,

I recently pushed to gitlab the sources of the popupmenu announced in the IRC channel:

https://git.devuan.org/aitor_czr/popupmenu/tree/master

You can build the packages for you own architecture following these steps:

1.- Install the packaging utilities:

# apt-get install git-buildpackage pristine-tar

2.- Clone the git repository:

$ git clone https://git.devuan.org/aitor_czr/popupmenu.git

3.- Install the builddeps:

# apt-get install libgtk2.0-dev libmenu-cache-dev libglib2.0-dev

4.- Go to the directory:

$ cd popupmenu

5.- Checkout the pristine-tar branch:

$ git checkout pristine-tar

6.- Look at the content of the branch:

$ ls -l

total 8
-rw-r--r-- 1 aitor aitor 977 ene 22 14:42 popupmenu_0.1.1.orig.tar.xz.delta
-rw-r--r-- 1 aitor aitor  41 ene 22 14:42 popupmenu_0.1.1.orig.tar.xz.id

7.- Generate the tarball in the parent directory:

$ pristine-tar checkout ../popupmenu_0.1.1.orig.tar.xz

pristine-tar: successfully generated ../popupmenu_0.1.1.orig.tar.xz

8.- Create the tag:

$ git tag upstream/0.1.1

9.- Return to the master branch (if you want), and build the packages:

$ git-buildpackage -j4 -tc --git-export-dir="../build-area"

Finally, replace the root-menu in your ./config/openbox/rc.xml file by the following lines:

    <mousebind button="Right" action="Press">
         <action name="Execute">
          <execute>popupmenu terminator thunar medit </execute>
        </action>
    </mousebind>

The arguments in the command line will be added to the header of the popupmenu (use the *Exec* field of the *.destop entries for that)

And that's all :)

Here you are a screenshot:

https://git.devuan.org/aitor_czr/popupmenu/blob/master/screenshot.png

Most of the work is done by the developers of the menu-cached daemon:

https://github.com/lxde/menu-cache

Happy hacking <3

  Aitor.





_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to