Author Topic: Micromenu plus Demu & Gemu2x switching script!  (Read 1337 times)

difuno (OP)

  • Posts: 104
Micromenu plus Demu & Gemu2x switching script!
« on: February 04, 2010, 03:04:17 am »
If someone who is using both Micromenu and the switching script (for switching between GMenu2X and Demu), and wants both of them to work (switch in between these two frontends, and Mircomenu shows up at Dingux startup with the options of booting into either of these two frontends, and everytime exiting any programs will not bring you back to Micromenu but the frontend where you first started the program).

You can download the attachment and rip off the .pdf suffix, extract it and copy the two folders ("sbin" and "Scripts")  to your /local path, overwrite the existing files.

IMPORTANT: Make sure that you back up the original folders which are to be overwritten, then you may restore your original settings whenever you want.

Also for getting DMenu to work, you will need to manually modify your "menu_system.cfg" files (under each respective theme folders, and change the reboot and poweroff commands to local\sbin\DMenuReboot and local\sbin\DMenuShutdown, here's an example (PS: You will also need to backup these "menu_system.cfg" files if you want to be able to restore your settings in the future):

MenuItem Reboot
{
Icon = "res/system/reboot.png"
Name = " Reboot"
Executable = "./DMenuReboot"
WorkDir = "/usr/local/sbin"
}

MenuItem Poweroff
{
Icon = "res/system/poweroff.png"
Name = " Poweroff"
Executable = "./DMenuShutdown"
WorkDir = "/usr/local/sbin"
}

PS: I know nothing about linux coding and all I did was simply putting together the commands.

USE AT YOUR OWN RISK!
« Last Edit: February 05, 2010, 08:43:21 am by difuno »

santino

  • Guest
Re: Selection menu for Demu & Gemu2x at startup?
« Reply #1 on: February 04, 2010, 07:29:46 am »
There is already such a thing use the micromenu.;)

difuno (OP)

  • Posts: 104
Re: Selection menu for Demu & Gemu2x at startup?
« Reply #2 on: February 04, 2010, 08:15:59 am »
There is already such a thing use the micromenu.;)

Thanks! But do you mean that micromenu can do what I decribed here? Or micromenu has a similar function, which proves that what I am asking for is something possible?

Just studied micromenu a bit, yes, it does what I am asking for but as well presents a new question to myself, if I use micromenu then it does not seem possible to use the switching script that I am using now, since they all need to use the "main" file.

OK, whilst editing this post, I got it done! Now both micromenu and menu switching script work. Just a little trick of modifying the current scripts.
« Last Edit: February 04, 2010, 08:47:30 am by difuno »