
QMyMenu
Source (link to git-repo or to original if based on someone elses unmodified work):
Available as/for:
Description:This is my first program using Qt, as well as my first programming contribution to the free software world. So don't really expect this to be perfect !
The main reason for making this was because of the "dynamic menus" feature from pekwm that I missed after making the switch to KDE. It was also a pretty easy program for me to start.
The program installs a sample config file, which you can use as base (~/.qmymenurc). There's two sample scripts that you can also use for dynamic menus, qmymenu-fstab and qmymenu-network).
I don't use KDE dependencies to make it more usable on other desktops. It's possible for example to replace "RunAsRoot" with "RunAsRoot = GTK" if you prefer GNOME/Xfce (for using gksu over kdesu).
How to Build:
$ cd QMyMenu
$ qmake #(from your qt4 distribution)
$ make
$ make install
0.1
--
* Context menu with launchers, icons, subdirs
* Dynamically-generated menus
* No icon lookup, desktop file support, I will try to get this into the next release
(freedesktop XDG)
Ratings & Comments
4 Comments
This is my report __________________________________________________________ root@librelinux:/home/darkend/Descargas/qmymenu# qmake root@librelinux:/home/darkend/Descargas/qmymenu# make g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp main.cpp:1:24: fatal error: QApplication: No existe el fichero o el directorio compilation terminated. make: *** [main.o] Error 1 __________________________________________________
Hi, Very useful! No problem compiling and installing on PuppyLinux 4.12. In line your approach, this makes a great addition to a small wm which I'm trying to "cushion" and make less disorienting through a stand-alone tray. Many thanks.
hi, i tried to build your app, but i got error. errors is following ------------------------------------------ ExecAction.cpp: In member function 'void ExecAction::runCommand()': ExecAction.cpp:12: error: 'fork' was not declared in this scope ------------------------------------------- how can i solve this problem or process fork function. im working in qt4.3.4 and msvc2005. regards.
This small program looks nice :)