Difference between revisions of "Ubuntu"

From Organic Design wiki
(Bad Ubuntu)
(See also: Ubuntu Core 20 - Ubuntu's latest IoT OS update is a security-first approach)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{legacy}}
 
{{legacy}}
Ubuntu was an excellent user-friendly operating system based on [[Debian]] GNU/Linux, but has recently started becoming very corporate and playing some dirty corporate tricks like [http://www.fsf.org/blogs/rms/ubuntu-spyware-what-to-do installing spyware] and preventing users from having control over what's installed and what's not. We've been using Debian on our servers, but Ubuntu on our desktops for the last five years or so, but we'll now begin migrating over to pure Debian for our desktops as well.
+
<br />
[[File:Bad Ubuntu.svg|250px|right]]
+
[[File:Bad Ubuntu.svg|100px|right]]Ubuntu was an excellent user-friendly operating system based on [[Debian]] GNU/Linux, but has recently started becoming very corporate and playing some dirty corporate tricks like [http://www.fsf.org/blogs/rms/ubuntu-spyware-what-to-do installing spyware] and preventing users from having control over what's installed and what's not. We've been using Debian on our servers, but were using Ubuntu on our desktops, but have changed over to [[Linux Mint]] now. For servers Debian is definitely preferable unless you're running software that has been compiled for a specific Ubuntu release, because [https://utcc.utoronto.ca/~cks/space/blog/linux/DebianVsUbuntuForUs Debian is far better maintained] even though the release cycle is not regular.
== Post install checklist ==
+
<div style="clear:both"></div>
=== APT ===
 
*subversion
 
*git
 
*p7zip-full
 
*python-qt4
 
 
 
=== Software center ===
 
*Advanced settings (then add all buttons to windows from shell menu)
 
*Geany
 
*VLC
 
*Pidgin (with OTR and plugin pack and copy backed up .purple after install)
 
*Thunderbird (install enigmail and import keys or close, copy and chown backed up .gnupg dir and reboot - and don't forget to [[:File:Enigmail_send_key_setting.jpg|set this]])
 
*Skype
 
*Gimp
 
*World clock
 
 
 
=== Other ===
 
*bitmessage (needs python-qt4)
 
 
 
== GNOME 3 ==
 
The first thing I do after a basic update and upgrade is not install [[GNOME|GNOME 3]] as I can't stand the Unity desktop.
 
{{code|<bash>
 
sudo add-apt-repository ppa:gnome3-team/gnome3
 
sudo apt-get update
 
sudo apt-get install gnome-shell
 
</bash>}}
 
 
 
== eBooks ==
 
Often eBooks are only in formats readable by Amazon Kindles, Androids or other specific devices. The free [http://calibre-ebook.com/ Calibre e-book management system] is an awesome application for converting eBooks between any of around twenty popular formats.
 
 
 
== Flash ==
 
For Ubuntu 12.10 and above install '''flashplugin-installer''', for earlier install '''flashplugin-nonfree'''.
 
 
 
== DVD Ripping ==
 
We use [http://exit1.org/dvdrip dvd::rip], install it from the ''add/remove'' menu, then see [[Rip a DVD]] for usage details. I think some of the things installed for DVD reading above are required for the ripping to work properly. Note that currently our procedure only allows the ''xvid4'' codec for the encoded result, ''divx'' is not working for us yet.
 
 
 
== Adobe Acrobat Reader ==
 
The default [http://projects.gnome.org/evince/ evince document viewer] that comes with Ubuntu is very good, but it doesn't handle some of the more sophisticated aspects of PDF document handling such as editable forms. To do these things currently still requires the Adobe package which can be installed from the [http://www.medibuntu.org/ Medibuntu] repository.
 
{{code|<pre>
 
echo deb http://packages.medibuntu.org/ jaunty free non-free >> /etc/apt/sources.list
 
apt-get update
 
apt-get install acroread
 
</pre>}}
 
 
 
== Windows Emulator (Wine) ==
 
The windows emulator allows practically seamless integration of native windows applications into the Linux desktop environment. Internet Explorer is more difficult to set up in it than other applications due to its tight integration with the windows internal components, but a package is available allowing easy installation of multiple simultaneous Internet Explorer versions (see [http://www.tatanka.com.br/ies4linux/page/Installation:Ubuntu Installation on Ubuntu]).
 
 
 
Below is a screenshot of my local laptop running Ubuntu. As you can see all the open windows are integrated naturally into the normal desktop environment but some of them are windows applications and some native Linux ones. The top browser window is Internet Explorer 6 running in windows emulation, but the bottom one is Ubuntu's Firefox. Music is playing from the Windows emulated Winamp in the top right, and the middle application is a Windows-only family tree program. I was able to drop a folder of music directly into the Winamp window to play it, and all file paths and open/save dialogue boxes can navigate the entire Linux directory tree just like a native application behaves.
 
 
 
== Dual Monitor issues ==
 
One problem that often comes up with dual monitor setup in Ubuntu (persisting as of 11.04) is that there's nothing in the interface allowing the user to define which is the primary monitor having the panels with the launcher and notification icons etc.
 
 
 
But the monitors applet is actually just a graphical interface over the powerful [[w:RandR|xrandr]] utility. This tool can also be used to set the resolution - even custom resolutions, as for example shown in [[HDMI to DVI problem]]. The changes made with ''xrandr'' occur in real-time without any need to log out or restart anything to see the effects.
 
 
 
As an example, when I plugged a second monitor into my laptops HDMI port it automatically changed to an extended desktop setup, but the panels were all on the laptop screen. To move them across to the external monitor involves first querying ''xrandr'' to see what the current monitor names are:
 
{{code|<pre>
 
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
 
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
 
  1366x768      60.0*+
 
  1360x768      59.8    60.0 
 
  1024x768      60.0 
 
  800x600        60.3    56.2 
 
  640x480        59.9 
 
VGA1 disconnected (normal left inverted right x axis y axis)
 
HDMI1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 531mm x 299mm
 
  1920x1080      60.0*+
 
  1280x1024      75.0    60.0 
 
  1152x864      75.0 
 
  1024x768      75.1    60.0 
 
  800x600        75.0    60.3 
 
  640x480        75.0    60.0 
 
  720x400        70.1 
 
DP1 disconnected (normal left inverted right x axis y axis)
 
</pre>}}
 
 
 
 
 
From this we see that the external monitor is named HDMI1, so we can now make it primary as follows:
 
{{code|<pre>
 
xrandr --output HDMI1 --primary
 
</pre>}}
 
 
 
 
 
And voila, straight away, the panels shift across to the other screen :-)
 
 
 
== World Clock ==
 
Since the clock in GNOME3 sucks we have to now install the stand-alone World Clock app. I like to use the following custom date format:
 
{{code|<pre>%H:%M (%A)</pre>}}
 
 
 
== Working with small screens ==
 
Something that used to worm on prior versions of Ubuntu and seems to have stopped working in version 12 is the desktop panning feature. This allows your desktop to be bigger than you physical screen size and to scroll when you move the mouse to the edges. You used to be able to do this by typing a simple ''xrandr'' command such as the following:
 
{{code|<bash>xrandr --output LVDS1 --panning 1920x1080</bash>}}
 
 
 
 
 
But this no longer works, which is a real pain if you have a tiny screen because you often have dialog boxes with the buttons off the bottom where they can't be seen! However it turns out there's a simple solution to this - {{h|you can hold down the ALT key and drag the window around to reveal the hidden parts!}}
 
 
 
== Mobile broadband connection suddenly requires password ==
 
One day when I tried to connect to the net using 3G on my USB stick it wouldn't connect and after removing and reinserting the SIM in the device I was asked for a password when trying to connect. I tried my chip's PIN and PUK codes, "1234", "12345" and "vivo" as well but all failed. But when I tried the chip in my phone and in Beth's laptop it connected without issue.
 
 
 
I compared the ''/etc/NetworkManager/NetworkManager.conf'' configuration in Beth's computer to mine and found that mine had somehow gained en extra line:
 
{{code|<pre>no-auto-default=18:03:91:8E:90:BC,</pre>}}
 
The digits correspond to my ''eth0'' MAC address, and the trailing comma seems a little odd. I removed this line and found that after a full reboot everything worked again (I first tried just restarting the Network Manager but that didn't fix it). I'm not sure how this line got added, but it could have happened during a lot of plugging and unplugging of different routers and things when we had some connection problems earlier in the week.
 
  
 
== See also ==
 
== See also ==
 +
*[[Install a new desktop]] ''- our procedure for what to install and configure on a local workstation after the bare OS is installed''
 
*[[Wikipedia:Ubuntu]]
 
*[[Wikipedia:Ubuntu]]
*[[Linux migration checklist]]
 
 
*[http://www.psychocats.net/ubuntu/installingsoftware#lastresorts Overview of various ways to install software on Ubuntu]
 
*[http://www.psychocats.net/ubuntu/installingsoftware#lastresorts Overview of various ways to install software on Ubuntu]
 
*[https://help.ubuntu.com/community/CompilingEasyHowTo How to compile programs on Ubuntu]
 
*[https://help.ubuntu.com/community/CompilingEasyHowTo How to compile programs on Ubuntu]
 
*[http://wubi-installer.org/ Wubi] ''- install Ubuntu into an existing Windows environment without affecting boot loader''
 
*[http://wubi-installer.org/ Wubi] ''- install Ubuntu into an existing Windows environment without affecting boot loader''
*[[Apple wireless keyboard on Linux]]
 
*[[Transmission]]
 
*[http://news.softpedia.com/news/How-to-Fix-VirtualBox-USB-Support-111715.shtml How to fix VirtualBox USB support]
 
 
*[https://www.system76.com/home/ System76] ''- Laptops pre-installed with Ubuntu''
 
*[https://www.system76.com/home/ System76] ''- Laptops pre-installed with Ubuntu''
*[[Debian]]
+
*[https://www.zdnet.com/article/secure-to-the-core-iot-ubuntu-core-linux-20-released/ Ubuntu Core 20] ''- Ubuntu's latest IoT OS update is a security-first approach''
[[Category:Linux]][[Category:Installation]]
+
[[Category:Linux]]

Latest revision as of 22:15, 3 February 2021

Legacy.svg Legacy: This article describes a concept that has been superseded in the course of ongoing development on the Organic Design wiki. Please do not develop this any further or base work on this concept, this is only useful for a historic record of work done. You may find a link to the currently used concept or function in this article, if not you can contact the author to find out what has taken the place of this legacy item.


Bad Ubuntu.svg

Ubuntu was an excellent user-friendly operating system based on Debian GNU/Linux, but has recently started becoming very corporate and playing some dirty corporate tricks like installing spyware and preventing users from having control over what's installed and what's not. We've been using Debian on our servers, but were using Ubuntu on our desktops, but have changed over to Linux Mint now. For servers Debian is definitely preferable unless you're running software that has been compiled for a specific Ubuntu release, because Debian is far better maintained even though the release cycle is not regular.

See also