Beruflich Dokumente
Kultur Dokumente
Click the browse button on the right of the "ISO file" field and point it to your ISO file
Click "Next" and then "Yes" to confirm.
2. Modify the system
Most modifications are done via the mintconstructor chroot terminal.
To access the contents of the ISO and modify it, click on the "Open a chroot
terminal" button.
In this chroot terminal, you can type commands, install and remove packages and
this will have a direct impact on the ISO, its contents and the contents of the system
which installs itself from the ISO to the Hard drive when installed.
If you just need to edit a text file or add/delete files, you can also perform these tasks
by opening a root file manager instead of using nano in the chroot terminal (but you
can use nano in the chroot terminal if you wish).
To open a file manager as root in mate, press alt+f2 for the run command and run
gksu caja
TIP: mintconstructor uses xterm when you open a chroot terminal. The usual ways of
copy and pasting dont work here (such as dragging text in to the terminal, or
shift+ctrl+v). To paste text into xterm, highlight the text to be copied, then in the
terminal with your mouse, middle click, or with your touchpad simultaneously press
the left+right touchpad buttons.
The following steps reflect software that I wanted to add/remove and changes that I
like
You can perform these too, or do your own
Skip down to step 3 (clean up), if you dont want to do any of these modifications
Replace the default display manager mdm with an alternative like lightdm
in the chroot terminal, remove mdm
apt-get remove mdm
then install lightdm (and a few extra packages that it needs for theming)
apt-get install lightdm gnome-settings-daemon indicator-session-gtk2
unity-greeter ubuntu-mono light-themes
edit the following file
/remaster/root/etc/lightdm/lightdm.conf
edit the file to look like this:
[SeatDefaults]
greeter-session=unity-greeter
user-session=mate
the same goes for any other images, do not include /remaster/root
find the line:
<key name="draw-user-backgrounds" type="b">
<default>false</default>
change to true
find the line:
<key name="draw-grid" type="b">
<default>true</default>
change to false
find the line:
<key name="logo" type="s">
<default>'/usr/share/unity-greeter/logo.png'</default>
enter the path of your own custom logo or use the one I made
http://i.imgur.com/Ki8uR.png. Its small and white on a clear background, so it may
be hard to see in the browser.
change to #000000
in the mintconstructor chrooted terminal run the following command to apply
changes:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
Prevent Lightdm and unity greeter from upgrading (to save your customized
theme)
note: If you dont prevent these 2 updates, your login screen will change to the
default purple with dots and generic logos anytime they are upgraded.
In the chroot terminal run the following command
echo lightdm hold | dpkg --set-selections
echo unity-greeter hold | dpkg --set-selections
next create the following file
/home/user/remaster/root/etc/linuxmint/mintupdate.ignored
add the following lines and save
lightdm
unity-greeter
Mate updates
(install new updates with backports from Mint 14)
found here: http://blog.linuxmint.com/?p=2225
edit /etc/apt/sources.list
find the line:
deb http://packages.linuxmint.com/ maya main upstream import
add (without the quotes) backport to the end. should look like this:
deb http://packages.linuxmint.com/ maya main upstream import backport
save the file
In the chroot terminal run
apt-get update
then
apt-get upgrade
Customize fstab
(add noatime,nodiratime mount option for ext3/4 file systems for less disk writes)
edit /lib/partman/fstab.d/ext3
find the lines:
options="errors=remount-ro"
else
options="${options},errors=remount-ro"
add (without the quotes) noatime,nodiratime, right before errors.
It should look like this:
options="noatime,nodiratime,errors=remount-ro"
else
options="${options},noatime,nodiratime,errors=remount-ro"
3. clean up
Once you're finished making modifications, make sure to clean up with the following
commands in the mintconstructor chroot terminal
aptitude purge ~c
aptitude unmarkauto ~M
apt-get clean
rm -rf /var/cache/debconf/*.dat-old
rm -rf /var/lib/aptitude/*.old
rm -rf /var/lib/dpkg/*-old
rm -rf /var/cache/apt/*.bin
updatedb
history -c
rm /root/.bash_history
rm /root/.nano_history
history -c
4. Rebuild a new ISO
Close the chroot terminal
Click Next
Give your ISO a description (which will be embedded as the name of the CD or USB stick
onto which the ISO is burnt)
Click Next
You can see the progress of the image being built in the terminal that you used to start
mintconstructor.py. On my eeepc, it takes a little over an hour to finish.
note1: If the build fails, for example your .iso should be around 1GB in size.
If it is much smaller (like 200MB) then it failed.
Reboot your machine, then try the build again.
note2: If you give your remaster too long of a filename, It will also fail. The program will say
successfull, but the file will
not exist. shorten the name and try again.
note3: You can now burn the .iso to a disk or use unetbootin to run it from a usb drive.
of course, you need to find your own username and working directory name
Rebuild
once the files have been copied over, just rebuild the image like you did the first time
Test
when the image is finished building, burn it to disk, or use unetbootin to make a
bootable USB stick.
boot into it and test it out.
the desktop should look exactly as it did when you customized it on the second step
above.
Description of folders in /root/etc/skel/ directory
note: Leave the empty %*.xml files alone in any of the folders that you want the settings
saved for. They are required.
I only listed the folders that I actually use. All other files and folders were deleted. The
system will create new defaults as it needs them.
/remaster/root/etc/skel/
any files places in here will be on the live user session home directory
/remaster/root/etc/skel/Desktop/
any files places in here will be on the live user session Desktop
/remaster/root/etc/skel/.cofig/
Any application specific settings are saved here
/autostart/*
shortcuts to apps that you want autostarted with the LiveCD
/chromium/*
settings shared between chromium and chrome
/google-chrome/*
settings for google chrome
/libreoffice/*
settings for libreoffice
/mate/backgrounds.xml
list of backgrounds (wallpaper)
/remaster/root/etc/skel/.gconf/apps/
settings for gnome2 apps
/docky-2/
docky settings
/remaster/root/etc/skel/.local/share/applications/
any applications manually added to the menu using the menu editor wind up
in here, otherwise not used.
/remaster/root/etc/skel/.mateconf/apps/
mate apps specific settings
/caja/
file manager settings (show/no show icons on the desktop)
/eom/
desktop ui settings
/marco/
desktop theme settings
/mate-notification-daemon/
notification popup options
/panel/
mate panel settings
/remaster/root/etc/skel/.mateconf/desktop/mate/
mate desktop settings
/backgroung/
desktop background options
/interface/
icon and gtk theme settings
/peripherals/
keyboard, mouse, and touchpad settings
/remaster/root/etc/skel/.remaster_changelog
dated list of any changes made to the remaster
~fin~