Add packages to Ubuntu Distro installation I wanna create small change to Ubuntu Install CD. I want to add a few packages so when Ubuntu is installing, those packages also would be installed. So I wondering if it has some maybe post-installation script?  All this just for personal use. I need to install same software on about 30 computer and I want to automate this process as possible.  Thanks
How to customize the Ubuntu Live CD? I would like to customize Ubuntu live CD by installing some additional packages. I have followed   but it doesn't seems to work. Can anyone provide clear instructions?   Note: I do not prefer Remastersys, manual way will be appreciated.  Customization  Packages that I want to install:   Thunderbird    Samba    SSH       Changes that I need:   Remove Games menu from the Application menu Firefox shortcut on Desktop Radiance as the default Theme Different default Ubuntu Wallpaper   Configuration file changes   I want the panel to be placed at the bottom I want to paste my Samba configuration file instead of default Samba configuration I have few Firefox shortcuts and folders I would like to show that in Desktop Also it will be nice if you say me how to change the icon sets   Recent Updates   I have customized Ubuntu 10.10 with Firefox shortcuts and few folders on desktops. Everything went smooth. But the installer gets crashes after choosing the timezone. How do i fix this issue? Also setting wallpaper affects the login screen. The wallpaper which i set is displayed on the login screen also. I just want the default one for the login screen.
Formatting doubles for output in C# Proof the Legendre polynomial $P_n$ has $n$ distinct real zeros How can I implement a comprehensive apa-style citation and bibliography I am really new to LaTeX and I need a comprehensive solution for my Thesis  I have this problem since two days and I couldn't find any solution in any other post.  I work with BibDesk on Mac  And I used Packages apacite and natbib  @article{Ha89, Author = {Peter M. Haas}, Date-Added = {2017-02-06 21:15:57 +0000}, Date-Modified = {2017-02-06 21:45:06 +0000}, Journal = {International Organization}, Lastchecked = {03/02/2010 12:54}, Number = {3}, Pages = {377-403}, Publisher = {Peter Haas}, Read = {0}, Title = {Do regimes matter? Epistemic communities and Mediterranean pollution control}, Urldate = { http://www.jstor.org/stable/2706652}, Volume = {43}, Year = {1989}}   this is a stripped version of my document:  \documentclass[11pt, oneside]{article}  \usepackage{lipsum} \usepackage[margin=1in, left=1.5in, includefoot]{geometry}   \usepackage{ragged2e} % REFERENCE PREAMBLE %\usepackage{url} \usepackage{apacite} \usepackage{natbib} %\usepackage{biblatex-apa}                                                   % Bullet preamble \renewcommand{\labelitemi}{$\bullet$} \renewcommand{\labelitemii}{$\diamond$} \renewcommand{\labelitemiii}{$\circ$} % graphics preamble \usepackage{graphicx}   %Allows you to import images \usepackage{float}      %Allows for control of float positions %HEADER AND FOOTER STUFF \usepackage{fancyhdr}  \pagestyle{fancy} \usepackage{graphicx}        \usepackage{amssymb} %Zeilenabstand 1,5 wenn aktiviert  \usepackage{setspace}\makeatletter\newcommand{\MSonehalfspacing}{\setstretch{1.44}\ifcase \@ptsize \relax\setstretch {1.448}\or\setstretch {1.399}\or\setstretch {1.433}\fi}\newcommand{\MSdoublespacing}{\setstretch {1.92}\ifcase \@ptsize \relax\setstretch {1.936}\or\setstretch {1.866}\or\setstretch{1.902}\fi}\makeatother\MSonehalfspacing %Zeilenabstand Code fertig \usepackage[hidelinks]{hyperref}   %allows for clickable reference %                       BEGIN OF DOCUMENT \citeA{source} %                       REFERENCES  \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \fancyhf{} \rhead{\fancyplain{}{Identifying the Regime}} \lhead{\fancyplain{}{List of References}} \cfoot{\fancyplain{}{\thepage}}  \setlength\bibitemsep{1.9\itemsep} \bibliography{/User/Desktop/Thesis/references/mybib.bib}                   \bibliographystyle{apa} \addcontentsline{toc}{section {\numberline{}References}                                                       \end{document}   I would like to have the bibliography entry include a retrieved from    I tried to deactivate hyperref – as suggested in another post – but it didn't work. I also tried to activate and deactivate natbib and apacite as well.   I would really appreciate any help... How to fix lsregister failing associations after reboot? I understand that the expressions on both sides of an equal sign are the same entity, and I know that when you modify one side, the other must be changed because it is referring to the same thing. What I do not understand is why making a new equation (adding or taking away from an expression) allows one to know what an unknown represents. What about equations lets us do this? On the Bash on Ubuntu on Windows app, I only have   root@localhost:~# ls -a     .bash_history  .bashrc  .profile   How do I access all of the Windows folders like Documents, Downloads, etc.? I moved postgresql's data directory by following the following steps:   Stop postgres cp -a source_data_directory destination_data_directory export PGDATA=destination_data_directory Changing data directory to destination_data_directory within postgresql.conf pg_ctl start   But when I run: "pg_ctl start" I get the following error. Can someone please help me figure out the error.   server starting postgres@Server:/usr/lib/postgresql/9.1/bin$ postgres cannot access the server configuration file "/home/destination_data_directory/postgresql.conf": No such file or directory I have a mathematical transformation that takes 16 parameters (grouped into 3+8+5) and would like to make a latex command for it, so that I can easily change the notation for it if the need arises.  As far as I know, both \def and \newcommand take a maximum of 9 arguments, is there any (recommended) way to extend this? I have a SCSI disk in a server (hardware Raid 1), 32G, ext3 filesytem. df tells me that the disk is 100% full. If I delete 1G this is correctly shown.  However, if I run a du -h -x / then du tells me that only 12G are used (I use -x because of some Samba mounts).  So my question is not about subtle differences between the du and df commands but about how I can find out what causes this huge difference?  I rebooted the machine for a fsck that went w/out errors. Should I run badblocks? lsof shows me no open deleted files, lost+found is empty and there is no obvious warn/err/fail statement in the messages file.  Feel free to ask for further details of the setup. Code for looping through all excel files in a specified folder, and pulling data from specific cells If I have a sequence of .obj (or any other readable format) files created from my own simulation code (say cloth simulation), can I use the rendering capabilities of blender to generate a video?   Is there a way to set the material properties for frame 1 and use the same or rest of the frames while the corresponding meshes are imported afresh from that ones I provide? How to make read-only file system writable? At some point, the filesystem on my digital audio player has become read-only. I cannot copy files into it or remove files on it.  Are there some possible reasons for the player's file system to change permissions in this way?  I tried using chmod:  $ sudo chmod a+rw SGTL\ MSCN/  chmod: changing permissions of `SGTL MSCN/': Read-only file system   SGTL MSCN is the mount point of the digital audio player.  What else can I try to make it writeable? \sum caused \sqrt to not be slanted FaceTime not working on iPhone 6 Plus purchased from Dubai I bought my iPhone 6 Plus in Dubai. I am using the phone in Sri Lanka and I cannot use the FaceTime. How can I use FaceTime while in Sri Lanka? I am learning basics of the category theory (CT).  I do understand that CT is a modern powerful framework to describe various branches of mathematics in a unified way.  I do admit that category's definition tells a lot about the whole thing and focuses on the most important properties, shadowing unnecessary details. However, the more I go forward, the more it feels like it should explicitly require a notion of morphisms equality (like it does with morphism composition). It feels so because equality or inequality of morphisms arises everywhere, since the very beginning: any commutative diagram eventually reduces to an equality of two different paths and many other things involve equality as well. Even composition is defined grounding upon an (implicit) equality!  I'll try to give an example of my concern. Consider $\mathbb{SET}$. Its objects are sets and morphisms are functions. Now, let's recall that functions are sets as well - to be more precise, a function $f : A \mapsto B$ is a subset of a $A \times B$ obeying certain properties, which I omit. Thus, one could argue that $f$ is both a morphism between objects $A, B \in Obj(\mathbb{SET})$ and an object defined as a set of pairs $\{ (a_1 \in A, b_1 \in B), ..., (a_n \in A, b_n \in B) \}$ and those are equal because both are essentially exactly the same thing.  I hope my concern is clear and I need some kind of "conceptual insight" from knowledgeable people to move forward. Please give me the right perspective. What is wrong with code snippets/blocks on Stack Overflow? I wasn't following Meta Stack Overflow too closely so maybe something was changed that I'm not aware of. But each time I paste a snippet from a Python console I'm getting wrong formatting. What I'm doing wrong? It seems that &gt;&gt;&gt; is confusing for Stack Overflow. I've tried to escape it with backslashes, and it was working fine in preview but doesn't work after the question is rendered.  I was able to observe that problem on: recent Chrome (Windows, Mac), Safari 4 (Mac).  Here is  I wasn't able to make right.  Funny, I think the snippets are rendered just fine on Meta Stack Overflow. Here is one:  &gt;&gt;&gt; def throw(): raise Exception()  ...  &gt;&gt;&gt; a=1 &gt;&gt;&gt; a=throw() Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in &lt;module&gt;   File "&lt;stdin&gt;", line 1, in throw Exception &gt;&gt;&gt; a 1 Opening a context menu (with the Menu key) In popular science books and articles, I keep running into the claim that the total energy of the Universe is zero, "because the positive energy of matter is cancelled out by the negative energy of the gravitational field".  But I can't find anything concrete to substantiate this claim. As a first check, I did a calculation to compute the gravitational potential energy of a sphere of uniform density of radius $R$ using Newton's Laws and threw in $E=mc^2$ for energy of the sphere, and it was by no means obvious that the answer is zero!  So, my questions:   What is the basis for the claim &ndash; does one require General Relativity, or can one get it from Newtonian gravity? What conditions do you require in the model, in order for this to work? Could someone please refer me to a good paper about this? Prove the following integral inequality: $\int_{0}^{1}f(g(x))dx\le\int_{0}^{1}f(x)dx+\int_{0}^{1}g(x)dx$ Suppose $f(x)$ and $g(x)$ are continuous function from $[0,1]\rightarrow [0,1]$, and $f$ is monotone increasing, then how to prove the following inequality: $$\int_{0}^{1}f(g(x))dx\le\int_{0}^{1}f(x)dx+\int_{0}^{1}g(x)dx$$ Bibliography per chapter with continuous numbering I would like to create a document with two chapters. After the first chapter there should be a bibliography. The next chapter should be able to reference items of the former chapter, but only show the new items in its bibliography, starting with the next number from the first bibliography.  Example:     Chapter 1 - The Fu   Fu has been done by Bar [1]. Early versions ...   Bibliography   [1] Bar et. al., Doning the Fu      Chapter 2 - Compining Fu with Herp   Doning Fu as described in [1]   neglects the advantages of Herp pointed out by Derp [2].   Consequently ....   Bibliography   [2] Derp et. al., The Advantages of Using Herp   Please not too much discussion about if that is a friendly-to-use idea, it is not my own demand :)