Minstall code

From MEPIS Documentation Wiki

Jump to: navigation, search

MInstall Code

The MEPIS installer has been open sourced - so the code is available for editing.

The installer contains messages displayed during the install process - much of which is now out of date (10/08), a section of which is displayed below as taken from the minstall.cpp file, use the second section of code - bottom half of page to edit - keeping the top version original. Once editing is complete the new version can be submitted to Warren to recompile into an updated minstall package for inclusion in future releases of MEPIS - starting hopefully with MEPIS 8.


Minstall.cpp Text section for editing:

Do NOT edit this section - use version below!

switch (i) {
    case 1:
      tipsEdit->setText(tr("<p><b>Getting Help</b><br/>"
        "MEPIS Linux support information is at www.mepis.org. "
        "And there are volunteers to help you at the MEPISLovers Forum, www.mepislovers.org.</p>"
        "<p>If you ask for help, please remember to describe your problem and your computer in some detail. "
        "Usually statements like 'it didn't work' are not helpful.</p>"));
      break;

    case 4:
        break;

    case 7:
      tipsEdit->setText(tr("<p><b>Repairing Your Installation</b><br/>"
      "If MEPIS stops working from the hard drive, sometimes it's possible to fix the problem by booting from CD and running one of the utilities in System Configuration or by using one of the regular Linux tools to repair the system.</p>"
      "<p>You can also use your MEPIS CD to recover data from MS-Windows systems!</p>"));
      break;

    case 10:
      tipsEdit->setText(tr("<p><b>MEPIS and Debian Compatibility</b><br/>"
      "The MEPIS core is compatible with most Debian Stable software packages of the same release cycle. "
      "Ubuntu binary packages are almost never compatible with Debian or MEPIS. "
      "But if a package is not available from the recommended MEPIS and Debian package pools, "
      "then some other Debian or Ubuntu based package could be tried as a substitute.</p>"));
      break;

    case 17:
      tipsEdit->setText(tr("<p><b>Installing and Updating Packages</b><br/>"
      "Software packages can be installed and updated from the MEPIS and global Ubuntu software pools with K Menu > System > Synaptic. </p>"));
      break;

    case 20:
      tipsEdit->setText(tr("<p><b>Information on the Internet</b><br/>"
      "Much of the Linux information on the Internet is inaccurate or obsolete. "
      "It is not wise to rely on such sources, unless the information pertains to the exact version of Linux you are using.</p>"));
      break;

    case 23:
      tipsEdit->setText(tr("<p><b>Ubuntu and Debian Communities</b><br/>"
        "MEPIS Linux stands on the shoulders of the excellent work of Linus, the kernel team, Ubuntu, Debian, Mozilla, OpenOffice.org, and other upstream software communities. "
        "Without their hard work and support, MEPIS Linux would not be possible.</p> "
        "<p>Our thanks to one and all!<br/>Team MEPIS</p>"));
      break;

    case 25:
      tipsEdit->setText(tr("<p><b>Internal Modems</b><br/>"
      "Some computers contain inexpensive internal modems that are designed only for use with MS-Windows. "
      "These are called winmodems. MEPIS includes drivers for some winmodems. </p>"
      "<p>Sometimes an alternate driver will be available on the internet but these drivers tend to be difficult to install.</p>"));
      break;

    case 28:
      tipsEdit->setText(tr("<p><b>Dialup Connection</b><br/>"
      "If you use a dialup connection with your computer, use K Menu > Internet > Connection > KPPP to define a connection, test that the modem is working, and dial your ISP.</p>"));
      break;

    case 30:
      tipsEdit->setText(tr("<p><b>Network Configuration</b><br/>"
      "MEPIS comes preconfigured for a standard LAN or cable modem that uses DHCP to assign IP addresses and DNS resolution. "
      "This will work in most cases as-is. "
      "If your network does not work, you can change the configuration with the MEPIS Network tool. </p>"));
      break;

    case 36:
      tipsEdit->setText(tr("<p><b>Recovering Hard Drive Space</b><br/>"
      "Over time Linux log files can become quite large. "
      "Downloaded packages are cached and not deleted after installation. "
      "The MEPIS System tool can be used to delete old log files and empty the packages cache. </p>"));
      break;

    case 40:
      tipsEdit->setText(tr("<p><b>Support MEPIS</b><br/>"
      "MEPIS is supported by people like you. Some help others at the Forum, or translate help files into different languages, or make suggestions, write documentation, or help test new software.</p>"
      "<p>If you like MEPIS please purchase a subscription to help pay for future improvements.</p>"));
      break;

    case 44:
      tipsEdit->setText(tr("<p><b>Say Goodbye to MS-Office</b><br/>"
      "SimplyMEPIS includes OpenOffice, the widely acclaimed Open Source office suite. "
      "It offers excellent compatibility with files created using MS-Office.</p>"));
      break;
    
    case 48:
      tipsEdit->setText(tr("<p><b>Fonts in MEPIS Linux</b><br/>"
      "MEPIS provides excellent support for TrueType fonts. Some high quality ttf fonts are included with MEPIS. "
      "If you have additional fonts, you can install and manage them with the Font Installer tool in System Configuration.</p>"));
      break;

    case 52:
      tipsEdit->setText(tr("<p><b>Additional System Configuration</b><br/>"
        "The KDE desktop, system software, and hardware can be configured in K Menu > System Configuration (Settings). "
        "With the tools in Settings, you can customize the look and feel, peripherials, and much more.</p>"
        "<p>Information about your system is available in K Menu > System > InfoCenter.</p>"));
      break;

    case 54:
      tipsEdit->setText(tr("<p><b>Archiving with Ark</b><br/>"
        "KDE has an archiving utility, called Ark, that works similar to WinZip. "
        "You can use Ark to open archives you receive, to 'extract here,' create new archives, etc.</p>"));
      break;

    case 56:
      tipsEdit->setText(tr("<p><b>Adding Applets to the Panel</b><br/>"
        "The bar at the bottom of the display in KDE is called 'the Panel' or the 'kicker.' "
        "You can right click on the panel and a menu will appear that allows you to add and remove shortcuts and useful little applets. "
        "For example, if your screen is small, you may want to remove the kweather applet.</p>"));
      break;

    case 60:
    case 63:
      tipsEdit->setText(tr("<p><b>Removable Devices</b><br/>"
      "Removable media like USB keys and CDROMs are accessable via shortcuts that appear on the desktop. "
      "After using a device, it is important to select 'Safely Remove' and wait a few seconds before removing the media or unplugging the device.</p>"));
      break;

    case 66:
    case 69:
      if (!getCmdValue("cat /etc/default/mepis","SERVER","="," ").contains("yes", Qt::CaseInsensitive)) {
      tipsEdit->setText(tr("<p><b>Adjusting Your Sound Mixer</b><br/>"
      "MEPIS attempts to configure the sound mixer for you but sometimes it will be necessary for you to turn up volumes and unmute channels in the mixer in order to hear sound.</p> "
      "<p>The mixer shortcut is located in the tray. Click on it to open the mixer. </p>"));
      }
      break;

    case 72:
    case 75:
      tipsEdit->setText(tr("<p><b>Keep Your Copy of MEPIS Up-to-date</b><br/>"
        "For MEPIS information and updates please visit www.mepis.com and www.mepis.org. </p>"
        "<p>If you find that MEPIS is useful, please make a purchase at "
        "the MEPIS store.</p>"));
      break;

    case 78:
      if (!getCmdValue("cat /etc/default/mepis","SERVER","="," ").contains("yes", Qt::CaseInsensitive)) {
      tipsEdit->setText(tr("<p><b>Playing Audio CDs</b><br/>"
      "The most common way to play an audio CD is with K Menu > Multimedia > KsCD. "
      "To play an audio CD, do not open it like a data CD.</p>"));
      }
      break;

    case 80:
      if (!getCmdValue("cat /etc/default/mepis","SERVER","="," ").contains("yes", Qt::CaseInsensitive)) {
      tipsEdit->setText(tr("<p><b>Managing an iPod</b><br/>"
      "K Menu > Multimedia > Amarok can be configured to autodetect a Mac or PC iPod and open a connection to it automatically. "
      "Amarok can be used to manage the iTunes database or play and import music.  It can also be used to listen to audio streams and your local music files.</p>"));
      }
      break;

    default:
      break;
  }

Edit this section:

switch (i) {
    case 1:
      tipsEdit->setText(tr("<p><b>Getting Help</b><br/>"
        "MEPIS Linux support information is at www.mepis.org. "
        "And there are volunteers to help you at the MEPISLovers Forum, mepislovers.org.</p>"
        "<p>If you ask for help, please remember to describe your problem and your computer in some detail. "
        "Usually statements like 'it didn't work' are not helpful.</p>"));
      break;

    case 4:
        break;

    case 7:
      tipsEdit->setText(tr("<p><b>Repairing Your Installation</b><br/>"
      "If MEPIS stops working from the hard drive, sometimes it's possible to fix the problem by booting from CD and running one of the utilities in System Configuration or by using one of the regular Linux tools to repair the system.</p>"
      "<p>You can also use your MEPIS CD to recover data from MS-Windows systems!</p>"));
      break;

    case 10:
      tipsEdit->setText(tr("<p><b>MEPIS and Debian Compatibility</b><br/>"
      "The MEPIS core is compatible with most Debian Stable software packages of the same release cycle. "
      "Ubuntu binary packages are almost never compatible with Debian or MEPIS. "
      "But if a package is not available from the recommended MEPIS and Debian package pools, "
      "then it may be available in the community software repository - see: mepislovers.org.</p>"));
      break;

    case 17:
      tipsEdit->setText(tr("<p><b>Installing and Updating Packages</b><br/>"
      "Software packages can be installed and updated from the MEPIS software pools with K Menu > System > Synaptic. </p>"));
      break;

    case 20:
      tipsEdit->setText(tr("<p><b>Information on the Internet</b><br/>"
      "Much of the Linux information on the Internet is inaccurate or obsolete. "
      "It is not wise to rely on such sources, unless the information pertains to the exact version of Linux you are using.</p>"));
      break;

    case 23:
      tipsEdit->setText(tr("<p><b>Ubuntu and Debian Communities</b><br/>"
        "MEPIS Linux stands on the shoulders of the excellent work of Linus, the kernel team, Debian, Mozilla, OpenOffice.org, the Mepislovers.org community and other upstream software communities. "
        "Without their hard work and support, MEPIS Linux would not be possible.</p> "
        "<p>Our thanks to one and all!<br/>Team MEPIS</p>"));
      break;

    case 25:
      tipsEdit->setText(tr("<p><b>Internal Modems</b><br/>"
      "Some computers contain inexpensive internal modems that are designed only for use with MS-Windows. "
      "These are called winmodems. MEPIS includes drivers for some winmodems. </p>"
      "<p>Sometimes an alternate driver will be available on the internet but these drivers tend to be difficult to install.</p>"));
      break;

    case 28:
      tipsEdit->setText(tr("<p><b>Dialup Connection</b><br/>"
      "If you use a dialup connection with your computer, use K Menu > Internet > Connection > KPPP to define a connection, test that the modem is working, and dial your ISP.</p>"));
      break;

    case 30:
      tipsEdit->setText(tr("<p><b>Network Configuration</b><br/>"
      "MEPIS comes preconfigured for a standard LAN or cable modem that uses DHCP to assign IP addresses and DNS resolution. "
      "This will work in most cases as-is. "
      "If your network does not work, you can change the configuration with the MEPIS Network tool. </p>"));
      break;

    case 36:
      tipsEdit->setText(tr("<p><b>Recovering Hard Drive Space</b><br/>"
      "Over time Linux log files can become quite large. "
      "Downloaded packages are cached and not deleted after installation. "
      "The MEPIS System tool can be used to delete old log files and empty the packages cache. </p>"));
      break;

    case 40:
      tipsEdit->setText(tr("<p><b>Support MEPIS</b><br/>"
      "MEPIS is supported by people like you. Some help others at the support forum - Mepislovers.org, or translate help files into different languages, or make suggestions, write documentation, or help test new software.</p>"
      "<p>If you like MEPIS please purchase a subscription to help pay for future improvements.</p>"));
      break;

    case 44:
      tipsEdit->setText(tr("<p><b>Say Goodbye to MS-Office</b><br/>"
      "SimplyMEPIS includes OpenOffice, the widely acclaimed Open Source office suite. "
      "It offers excellent compatibility with files created using MS-Office.</p>"));
      break;
    
    case 48:
      tipsEdit->setText(tr("<p><b>Fonts in MEPIS Linux</b><br/>"
      "MEPIS provides excellent support for TrueType fonts. Some high quality ttf fonts are included with MEPIS. "
      "If you have additional fonts, you can install and manage them with the Font Installer tool in System Configuration.</p>"));
      break;

    case 52:
      tipsEdit->setText(tr("<p><b>Additional System Configuration</b><br/>"
        "The KDE desktop, system software, and hardware can be configured in K Menu > System Configuration (Settings). "
        "With the tools in Settings, you can customize the look and feel, peripherals, and much more.</p>"
        "<p>Information about your system is available in K Menu > System > InfoCenter.</p>"));
      break;

    case 54:
      tipsEdit->setText(tr("<p><b>Archiving with Ark</b><br/>"
        "KDE has an archiving utility, called Ark, that works similar to WinZip. "
        "You can use Ark to open archives you receive, to 'extract here,' create new archives, etc.</p>"));
      break;

    case 56:
      tipsEdit->setText(tr("<p><b>Adding Applets to the Panel</b><br/>"
        "The bar at the bottom of the display in KDE is called 'the Panel' or the 'kicker.' "
        "You can right click on the panel and a menu will appear that allows you to add and remove shortcuts and useful little applets.</p>"));
      break;

    case 60:
    case 63:
      tipsEdit->setText(tr("<p><b>Removable Devices</b><br/>"
      "Removable media like USB keys and CDROMs are accessible via shortcuts that appear on the desktop. "
      "After using a device, it is important to select 'Safely Remove' and wait a few seconds before removing the media or unplugging the device.</p>"));
      break;

    case 66:
    case 69:
      if (!getCmdValue("cat /etc/default/mepis","SERVER","="," ").contains("yes", Qt::CaseInsensitive)) {
      tipsEdit->setText(tr("<p><b>Adjusting Your Sound Mixer</b><br/>"
      "MEPIS attempts to configure the sound mixer for you but sometimes it will be necessary for you to turn up volumes and unmute channels in the mixer in order to hear sound.</p> "
      "<p>The mixer shortcut is located in the tray. Click on it to open the mixer. </p>"));
      }
      break;

    case 72:
    case 75:
      tipsEdit->setText(tr("<p><b>Keep Your Copy of MEPIS Up-to-date</b><br/>"
        "For MEPIS information and updates please visit www.mepis.com and www.mepis.org. </p>"
        "<p>If you find that MEPIS is useful, please make a purchase at "
        "the MEPIS store.</p>"));
      break;

    case 78:
      if (!getCmdValue("cat /etc/default/mepis","SERVER","="," ").contains("yes", Qt::CaseInsensitive)) {
      tipsEdit->setText(tr("<p><b>Playing Audio CDs</b><br/>"
      "The most common way to play an audio CD is with K Menu > Multimedia > KsCD. "
      "To play an audio CD, do not open it like a data CD.</p>"));
      }
      break;

    case 80:
      if (!getCmdValue("cat /etc/default/mepis","SERVER","="," ").contains("yes", Qt::CaseInsensitive)) {
      tipsEdit->setText(tr("<p><b>Managing an iPod</b><br/>"
      "K Menu > Multimedia > Amarok can be configured to autodetect a Mac or PC iPod and open a connection to it automatically. "
      "Amarok can be used to manage the iTunes database or play and import music.  It can also be used to listen to audio streams and your local music files.</p>"));
      }
      break;

    default:
      break;
  } 
Personal tools