Actions

Difference between revisions of "PC configurations"

From Just in Time

(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Note that this page is not directly related to any MCU project. Since I'm installing quite a number of different linux configurations on systems, this page contains some notes on how they've been configured.
 
Note that this page is not directly related to any MCU project. Since I'm installing quite a number of different linux configurations on systems, this page contains some notes on how they've been configured.
 +
 +
==Eclipse==
 +
[http://hanynowsky.wordpress.com/2012/05/08/eclipse-ides-ubuntu-integrated-menus-hack/ This page] describes how to hack a shared library to allow Unity menu integration of eclipse. The gist of it:
 +
cd /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies && sudo sed -i 's/Eclipse/Xclipse/' libappmenu.so
 +
 +
To change the appearance of tool tips in unity to be legible within eclipse, follow [http://askubuntu.com/questions/70599/how-to-change-tooltip-background-color-in-unity these instructions]. Gist:
 +
sudo gedit /usr/share/themes/Radiance/gtk-2.0/gtkrc
 +
and use #000000 for tooltip_fg_color and  #f5f5b5 for tooltip_fg_color.
  
 
==Media PC==
 
==Media PC==
Line 11: Line 19:
  
 
==Laptop==
 
==Laptop==
===Wacom Touch===
+
 
 +
Adapt /etc/init.d/ondemand to switch to 'conservative' instead of 'ondemand'.
 +
 
 +
Citrix receiver setup on [https://help.ubuntu.com/community/CitrixICAClientHowTo this page].
 +
 
 +
if needed add the local script to the init sequence with
 +
sudo update-rc.d local defaults
 +
 
 +
<b>The following is not needed anymore after a clean install of 13.04</b>
 +
 
 
See this thread: http://ubuntuforums.org/showthread.php?t=1747226
 
See this thread: http://ubuntuforums.org/showthread.php?t=1747226
  
Add the following to /etc/init.d/local
+
To get touch interface to work again on a Toshiba M700, add the following to /etc/init.d/local
 
  xsetwacom set "Serial Wacom Tablet touch" touch on
 
  xsetwacom set "Serial Wacom Tablet touch" touch on
 
  xsetwacom set "Serial Wacom Tablet touch" Gesture on
 
  xsetwacom set "Serial Wacom Tablet touch" Gesture on
  
if needed add the local script to the init sequence with
+
By default the screen brightness is very low when logging in. I therefore also add the following to the same file
  sudo update-rc.d local defaults
+
  echo 7 > /sys/class/backlight/acpi_video0/brightness
  
 
==Desktop==
 
==Desktop==
 +
===Graphics driver performance===
 +
High compiz cpu load? Verify that the graphics driver is not the gallium (software) renderer ("System Settings"->"Details"). Install xserver-xorg-video-intel if it is.
 +
 
adapt /etc/nsswitch.conf if browsers start to become slow in dns lookup.
 
adapt /etc/nsswitch.conf if browsers start to become slow in dns lookup.
  
Line 30: Line 50:
 
sudo apt-get update
 
sudo apt-get update
 
sudo apt-get install cnijfilter-mp640series
 
sudo apt-get install cnijfilter-mp640series
 +
</pre>
 +
===Install inconsolata===
 +
Easiest by installing [https://launchpad.net/typecatcher TypeCatcher]. This install inconsolate from Google fonts, making sure that there is a decent (truly monospaced) bold version as well.
 +
 +
===Server===
 +
[https://ubuntuforums.org/showthread.php?t=2320889 Dovecot issue with smb pam]:
 +
<pre>
 +
dpkg --purge libpam-winbind libpam-smbpass
 
</pre>
 
</pre>

Revision as of 13:46, 28 January 2017

Note that this page is not directly related to any MCU project. Since I'm installing quite a number of different linux configurations on systems, this page contains some notes on how they've been configured.

Eclipse

This page describes how to hack a shared library to allow Unity menu integration of eclipse. The gist of it:

cd /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies && sudo sed -i 's/Eclipse/Xclipse/' libappmenu.so

To change the appearance of tool tips in unity to be legible within eclipse, follow these instructions. Gist:

sudo gedit /usr/share/themes/Radiance/gtk-2.0/gtkrc

and use #000000 for tooltip_fg_color and #f5f5b5 for tooltip_fg_color.

Media PC

  • Ubuntu 10.04
  • mythtv from synaptic
  • mythweb
  • phpmyadmin
  • unsuccessful move to new Nvidia graphics card (FIXME)
  • tv_grab_nl_py script
  • trying to slow down GPU fan through lm-sensors, needs kernel option to run it87 driver (as descriped here)

Laptop

Adapt /etc/init.d/ondemand to switch to 'conservative' instead of 'ondemand'.

Citrix receiver setup on this page.

if needed add the local script to the init sequence with

sudo update-rc.d local defaults

The following is not needed anymore after a clean install of 13.04

See this thread: http://ubuntuforums.org/showthread.php?t=1747226

To get touch interface to work again on a Toshiba M700, add the following to /etc/init.d/local

xsetwacom set "Serial Wacom Tablet touch" touch on
xsetwacom set "Serial Wacom Tablet touch" Gesture on

By default the screen brightness is very low when logging in. I therefore also add the following to the same file

echo 7 > /sys/class/backlight/acpi_video0/brightness

Desktop

Graphics driver performance

High compiz cpu load? Verify that the graphics driver is not the gallium (software) renderer ("System Settings"->"Details"). Install xserver-xorg-video-intel if it is.

adapt /etc/nsswitch.conf if browsers start to become slow in dns lookup.

this page shows how to install a canon MP640 under ubuntu. The gist is:

sudo add-apt-repository ppa:michael-gruz/canon
sudo apt-get update
sudo apt-get install cnijfilter-mp640series

Install inconsolata

Easiest by installing TypeCatcher. This install inconsolate from Google fonts, making sure that there is a decent (truly monospaced) bold version as well.

Server

Dovecot issue with smb pam:

dpkg --purge libpam-winbind libpam-smbpass