It is currently Tue Jul 25, 2017 12:43 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Install option still there after install
PostPosted: Sat Aug 02, 2008 1:05 am 
Offline

Joined: Mon Mar 17, 2008 1:28 am
Posts: 251
I just installed antiX M7.2 in Virtualbox. Everything went smooth as usual, however the Fluxbox Menu is still the one from the LiveCD. I still have the "Install" menu option. I am trying to edit the Fluxbox menu as it says in the antiX FAQ (http://antix.mepis.org/index.php/Fluxbo ... uxbox_Menu) but I do not have that option either. Any solution for this?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 02, 2008 2:50 am 
Offline
User avatar

Joined: Sun Oct 07, 2007 5:16 pm
Posts: 1520
Location: Canada's South Coast
The install option can be removed from the menu. I don't think Anti has figured out how to script it out once installed. You could apt-get remove minstall.

To edit the menu open a run dialog from the menu and enter:

Code:
leafpad /home/username/.flubox/menu


Edit away, save and close. Enjoy.

_________________
eriefisher

Image

The Home of eriefisher erie's blog


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 02, 2008 5:51 pm 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
if we have antix installed on a usb stick and the install button it's still there we can install antix on someone computer right?

_________________
the man in black


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 02, 2008 6:29 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5883
Location: Greece
You can do this as long as the antiX on the usb stick is a 'livecd', not installed as if to a hardrive, ICE-M.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 2:53 pm 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
thank you anti i'll wait for the livecd script to be ready, to make a livecd of my install. so i guess we need to let install button in fluxbox.

_________________
the man in black


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 9:29 pm 
Offline

Joined: Mon Mar 17, 2008 1:28 am
Posts: 251
eriefisher wrote:
The install option can be removed from the menu. I don't think Anti has figured out how to script it out once installed. You could apt-get remove minstall.

To edit the menu open a run dialog from the menu and enter:

Code:
leafpad /home/username/.flubox/menu


Edit away, save and close. Enjoy.


Thanks erie


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 10:02 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
eriefisher wrote:
I don't think Anti has figured out how to script it out once installed.

I've thought about that a bit and have this question: couldn't he dupe the menu, take out the install item, and put it into a different location for installation? Maybe not possible, given that the installer is closed code.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 10:49 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5883
Location: Greece
I think it is possible to do. I think it will have to be something like how the slim login dialog box changes once installed.

This is part of the script:

if [ "$OS_MODE" = "HDD" ]
then
(lots of options)
if [ -e "$LOC/panel-install.png" ]
then
echo "Updating the log-in panel artwork."
mv $LOC/panel-install.png $LOC/panel.png
fi

So I guess if I add something like
if [ -e "$LOC/menu" ]
then
echo "Updating the fluxbox menu."
mv $LOC/menu-install $LOC/menu

LOC=~/.fluxbox

Does that seem ok?

I'm still very much a noob when it comes to scripting.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 11:21 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
(tee-hee) I certainly hope you are not asking ME!! I am below your level when it comes to scripts, so I hope somebody who actually knows something about all this will jump in.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 11:22 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
<giggles> I certainly hope you are not asking ME!! I am below your level when it comes to scripts, so I hope somebody who actually knows something about all this will jump in.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 12:48 am 
Offline

Joined: Sat Sep 29, 2007 8:12 pm
Posts: 1081
Location: California
It seems ok to me, as long as you close off your if statement...

Code:
if [ -e "$LOC/menu" ] ; then
   echo "Updating the fluxbox menu."
   mv $LOC/menu-install $LOC/menu
fi

Give it a try. (I changed the look of the code a little bit. I think it makes it a bit more readable.)

john


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 7:10 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5883
Location: Greece
This didn't work.

The problem is moving the fluxbox menu-install file to /home/USERNAME/.fluxbox.

LOC=/usr/share/fluxbox
if [ -e "$LOC/menu-install" ] ; then
echo "Updating the fluxbox menu."
mv $LOC/menu-install /home/$USER/.fluxbox
fi

Any ideas anyone?

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred