You are not logged in.
Hi all, as i noted in another post, i'm working on some applications in gtk for openbox. One of them is a new menu for openbox in Gtk. It has a dynamic part which will add/remove entries in the menu automatically as applications are installed/removed. Here you are a video:
http://gnuinos.org/openbox-menu3.mpg
It's also multilingual.
Cheers,
Aitor.
Last edited by aitor_czr (2017-05-25 07:07:00)
Offline
^ you mean something like obmenu-generator?
Offline
Hi, ohnonot
Something similar, but different. It's a GUI in Gtk for "openbox-menu". Openbox-menu is developed by:
Mateusz Łukasik <mati75@linuxmint.pl>
So, my work depends on this package. We'll not reinvent the wheel.
Icon themes and gtk themes will adapt to the current themes in the system automatically.
Cheers,
Aitor.
Last edited by aitor_czr (2017-05-25 11:54:45)
Offline
Oh, that looks like a great candidate to add to the dynamic menus list on #BL!
Offline
Thanks a lot, martix
Offline
Hi all,
I recently pushed to gitlab the sources of the openbox-gtk-menu, renamed to popupmenu:
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.2.orig.tar.xz.delta
-rw-r--r-- 1 aitor aitor 41 ene 22 14:42 popupmenu_0.1.2.orig.tar.xz.id
7.- Generate the tarball in the parent directory:
$ pristine-tar checkout ../popupmenu_0.1.2.orig.tar.xz
pristine-tar: successfully generated ../popupmenu_0.1.2.orig.tar.xz
8.- Return to the master branch (if you want), and build the packages:
$ git-buildpackage -j4 -tc --git-export-dir="../build-area"
Finally, install the generated .deb package in the ../build-area directory and replace the root-menu in your ./config/openbox/rc.xml file, for example, by the following lines :
<mousebind button="Right" action="Press">
<action name="Execute">
<execute>popupmenu "terminator" "thunar %F" "geany %F"</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). You need to add the whole "exec" field in the *.desktop entries as arguments in the command line, another example:
popupmenu "exo-open --launch FileManager %u" "medit %F"
otherwise, the applications will be missing in the header.
And that's all
Here you are a screenshot:
http://gnuinos.org/2018-01-30--15173204 … _scrot.png
Most of the work is done by the developers of the menu-cached daemon:
https://github.com/lxde/menu-cache
I used some code from two different projects: openbox-menu and myGtkMenu, and i'll give credits to the authors.
Happy hacking <3
Aitor.
Last edited by aitor_czr (2018-02-04 09:54:19)
Offline
pristine-tar: successfully generated ../popupmenu_0.1.2.orig.tar.xz
8.- Return to the master branch (if you want), and build the packages:
$ git-buildpackage -j4 -tc --git-export-dir="../build-area"
Finally, install the generated .deb package in the ../build-area directory
First of all thank you for this post. Always wanted to check out this menu. However there was something wrong as it did not start for me. I had no issues till Step 8, I received like above: "pristine-tar: successfully generated ../popupmenu_0.1.2.orig.tar.xz"
These were my steps:
8. Return to the master branch:
git checkout master
"Switched to branch 'master'
Your branch is up-to-date with 'origin/master'."
9. git-buildpackage -j4 -tc --git-export-dir="../build-area" did not work for me: "bash: git-buildpackage: command not found"
But:
gbp buildpackage -j4 -tc --git-export-dir="../build-area"
started to look good: "gbp:info: Creating popupmenu_0.1.2.orig.tar.xz from 'upstream/0.1.2' ... " -> creating a longer output and ending with:
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc popupmenu_0.1.2-2.dsc Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>
gpg: skipped "Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>": No secret key
gpg: /tmp/debsign.1sf7lZU9/popupmenu_0.1.2-2.dsc: clear-sign failed: No secret key
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1045:
running debsign failed
gbp:error: 'debuild -i -I -j4 -tc' failed: it exited with 29
10. In the "build-area" directory there were two .deb packages and it looks like it's possible to install popupmenu_0.1.2-2_amd64.deb. Starting "popupmenu" gives "Segmentation fault" though.
Offline
Hi Martix, are you in jessie or stretch? The popupmenu only has been tested in jessie.
On the other hand, do you understand the sense of using pristine-tar? Pristine-tar mantains a constant tarball as you can see in the following example:
1) Download the kernel of gnuinos:
http://packages.gnuinos.org/gnuinos/poo … ig.tar.bz2
2) Download the same version from the releases of the fsfla (FSF Latin América):
http://linux-libre.fsfla.org/pub/linux- … nu.tar.bz2
Now, you can compare both tarballs:
aitor@devuan:~/Descargas$ md5sum linux_3.16.56.orig.tar.bz2
892c9ab1cf6cfcb9aac3ec2c8616734e linux_3.16.56.orig.tar.bz2
aitor@devuan:~/Descargas$ md5sum linux-libre-3.16.56-gnu.tar.bz2
892c9ab1cf6cfcb9aac3ec2c8616734e linux-libre-3.16.56-gnu.tar.bz2
As you can see, they are the same. So, since it's not possible to add binary files using quilt, it's not possible to add binary blobs to the kernel
You can find more information about pristine-tar here:
generating pristine tarballs from git repositories (by Joey Hess)
But turning to the issue in hand, i want to publish the releases of gnuinos jessie this week, and you'll be able to test the popupmenu (it needs improvements).
Cheers, and feel free to ask
Offline
Thank you for the quick response! That's good to know about pristine-tar, did not try this method before.
I'm indeed on Stretch, so probably this is why the menu does not work. I'm not sure if it's any help, but the .deb file I created has 51ddce2e8738279d42d3db66fbe36661 md5 hash.
Do you plan to make popupmenu available on Stretch in the near future? There will be several dynamic menus available on openbox: obmenu-generator, jgmenu and popupmenu - freedom of choice.
Offline
I'm indeed on Stretch, so probably this is why the menu does not work.
The same mentioned segmentation fault appears in xfce. The popupmenu is only for window managers so far.
I'm not sure if it's any help, but the .deb file I created has 51ddce2e8738279d42d3db66fbe36661 md5 hash.
The hash of the generated package is not relevant. The hash acquire relevance in the tarball; that is, in the upstream branch. Particurarly when a project grows involving more and more people in both sides: developers and package mantainers. The changes of the developers are included directly in the upstream branch; the changes of the package mantainers are included in the debian branch, using quilt patches.
Do you plan to make popupmenu available on Stretch in the near future? There will be several dynamic menus available on openbox: obmenu-generator, jgmenu and popupmenu - freedom of choice.
Yes, future versions of the popupmenu will be developed in gtkmm instead of gtk, and they'll be multithreaded, optimising the response. In any case, it'll be in ascii.
Sorry, in stretch
Offline
^I see, thank you for the explanation. Looking forward to giving it a try one day!
Offline
The same mentioned segmentation fault appears in xfce. The popupmenu is only for window managers so far.
i just experienced what martix diescribed.
i am not using any sort of DE; plain openbox, just like BL, but on archlinux.
Offline
i just experienced what martix diescribed.
i am not using any sort of DE; plain openbox, just like BL, but on archlinux.
Then wait for a few days, until i publish the releases of gnuinos jessie.
Thanks for your patience
Last edited by aitor_czr (2018-03-30 01:38:23)
Offline
Hi again,
I uploaded the latest packages of the popupmenu. The static parts (the header and the footer have been removed for now). Here you are the link of the debian packages:
The git repository:
https://git.devuan.org/aitor_czr/popupmenu.git
And also the packaging instructions:
https://lists.dyne.org/lurker/message/2 … e6.en.html
The above mentioned segmentation fault has been removed, i hope
Cheers,
Aitor.
Last edited by aitor_czr (2018-05-17 21:57:25)
Offline
Hello,
Just arrived, however… @aitor_czr mistook the packager of openbox-menu for its developer. I am the one who inspired the developer, **FabriceT**, to write it, back in 2006, (time flies!) I originally created a PPA package for it at launchpad, and Mateusz Łukasik (viewtopic.php?pid=51968#p51968) is the Debian developer who adopted my demand in Debian as a wish list. ^^
Now the sources are available at **FabriceT's repos** at Github, along with a few other interesting creations of his.
(hint : it compiles well, still yet, and works perfectly).
Last edited by melodie (2024-11-29 14:55:26)
Offline
Welcome to BunsenLabs
Link to FabriceT's repos at Github please
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Welcome to BunsenLabs
Link to FabriceT's repos at Github please
I tried, but I am not allowed to paste links, yet. ( https 2 dots 2 slash github dot com slash fabriceT)
Last edited by melodie (2024-11-29 14:56:43)
Offline
Sector11 wrote:Welcome to BunsenLabs
Link to FabriceT's repos at Github please
I tried, but I am not allowed to paste links, yet. ( https 2 dots 2 slash github dot com slash fabriceT)
Ahhh yes, it is a security measure againts spammers.
Get the right number of posts and you will.
Thank, I got it.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
melodie wrote:Sector11 wrote:Welcome to BunsenLabs
Link to FabriceT's repos at Github please
I tried, but I am not allowed to paste links, yet. ( https 2 dots 2 slash github dot com slash fabriceT)
Ahhh yes, it is a security measure againts spammers.
Get the right number of posts and you will.Thank, I got it.
Hi,
I am now allowed to post links, so here is the link to FabriceT projets at Github : https://github.com/fabriceT.
He is a long time friend of mine I am sure he will be interested to know about aitor_czr's GTK version. Where are the source exactly?
Offline
He is a long time friend of mine I am sure he will be interested to know about aitor_czr's GTK version. Where are the source exactly?
No idea, but maybe someone else can help.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline