· 8 years ago · Dec 02, 2017, 11:48 AM
1######################################
2!! Check for all new distros:
3
4######################################
5
6Notes:
7-> To do
8? Old notes, still not checked
9! Note
10!! Important
11
12######################################
13ETC
14##############
15
16New Distro
17 Cinnamon 17 updated to Cinnamon 17.3
18 Download distro iso file.
19 linuxmint-17.1-cinnamon-64bit.iso
20 Check MD5
21 md5sum linuxmint-17.1-cinnamon-64bit.iso
22 Compare result with MD5 in download site: Must be identical!
23 Transfer iso image to USB stick
24 Launch "USB Image Writer" from Mint menu (Type USB in search window).
25 Select ISO image and USB device and then press "Write to device".
26 Another way to do the same:
27 !! Warning: Make sure to set the correct device path (/dev/sdc in example below),
28 !! as this process will delete all data that was on the specified device previously!
29 Open terminal
30 sudo dd if=linuxmint-17.1-cinnamon-64bit.iso of=/dev/sdc oflag=direct bs=1048576
31 706+1 records in
32 706+1 records out
33 740601856 bytes (741 MB) copied, 91.7024 s, 8.1 MB/s
34
35NEW DISTRIBUTION INSTALLATION {
36Unplug HD with current Distribution (To protect it from accidental damage) before installing new distribution on the other HD.
37Choose manual partitioning.
38Before updating MainLinux check new distribution openoffice with a complex spreadsheet if necesary use Find/Replace in all
39complex spreadsheets with old openoffice before upgrading to new.
40}
41
42Computer name:
43 Home cinema: Linux-1
44 Library: Linux-2
45Made new partition table with ext4 partitions
46 Swap 6000 MB
47 / 20000 MB
48 /home 20000 MB
49 /home/common/Store Rest
50Notes:
51 Make all 'primary' partitions!
52 Careful with numbers: make sure that suggested size is completely deleted before typing the size you want.
53 MB are not binary MB. So real sizes will be smaller.
54 ext4 reserves 5% of capacity for root and system processes. That's unnecessary with /home/common/Store partition:
55 Do this with all /dev/sd?4 partitions:
56 To make that reserve 0, later run (as root):
57 tune2fs -m 0 /dev/sda4
58 tune2fs 1.41.11 (14-Mar-2010)
59 Setting reserved blocks percentage to 0% (0 blocks)
60
61######################################
62New computer Linux-1
63
64blkid
65/dev/sda1: UUID="A90B-A7A5" TYPE="vfat"
66/dev/sda2: UUID="ffe92553-4b60-4fbb-ac08-7dd8c309e0ea" TYPE="swap"
67/dev/sda3: UUID="6a2466ed-2c48-4972-8bd7-76d98d015e24" TYPE="ext4"
68/dev/sda4: UUID="e8933985-a314-41d5-80ac-9cf1952c87b6" TYPE="ext4"
69/dev/sda5: UUID="775ca288-6d19-416a-9124-7e32e8821f18" TYPE="ext4"
70/dev/sdb1: LABEL="EMERGENCY" UUID="6873-FBC9" TYPE="vfat"
71/dev/sdb2: UUID="50038e99-eac5-42a4-8cac-66213b166f23" TYPE="swap"
72/dev/sdb3: UUID="705afc33-5453-4968-8398-1ac7e9bdf95c" TYPE="ext4"
73/dev/sdb4: UUID="616f51fe-94d9-4890-88cf-1896474555f0" TYPE="ext4"
74/dev/sdb5: UUID="854468f2-5d42-4ad5-8ba8-19fe111d08c3" TYPE="ext4"
75/dev/sdc1: UUID="D37C-DEB8" TYPE="vfat"
76/dev/sdc2: UUID="30add1bd-9b1c-4d65-8d3f-ffee507f5234" TYPE="swap"
77/dev/sdc3: UUID="e80d93a6-57b2-4878-be72-e629090ab833" TYPE="ext4"
78/dev/sdc4: UUID="85b65dbc-d11b-46c9-8795-e60cbf718b90" TYPE="ext4"
79/dev/sdc5: UUID="2f1dff4c-ba1f-4941-8c88-37f84d684e2d" TYPE="ext4"
80
81/dev/sd?1 mounted on /boot/efi (vfat)
82/dev/sd?2 mounted on none (swap)
83/dev/sd?3 mounted on /
84/dev/sd?4 mounted on /home
85/dev/sd?5 mounted on /home/common/Store
86
87######################################
88NEW DISTRIBUTION COMMENTS & USER DEFAULTS
89###
90
91!! Cinnamon and Panel settings
92 Stored in file:
93 $HOME/.config/dconf/user
94 Can be copied from one user to another and works!
95
96Nvidia drivers
97 Find out which nvidia-XXX to install:
98 Visit http://www.nvidia.com/Download/index.aspx
99 Fill in the details about your graphics card and system and then click Search.
100 On the next page, it should tell you the correct driver version.
101 New reccomended ppa in Ubuntu:
102 sudo add-apt-repository ppa:graphics-drivers/ppa
103 sudo apt-get update
104 sudo synaptic
105 Install nvidia-XXX
106 apt-get purge nvidia-prime # Was not installed, nothing purged. Version locked with Synaptic to make sure it is not installed again!
107 apt-get purge intel-gpu-tools # Purged
108 Sometimes you're being offered several versions of the restricted driver for your video card. The order of preference is as follows:
109 1. nvidia-current
110 2. nvidia-current-updates
111 3. (nvidia-173)
112 4. (nvidia-173-updates)
113 5. nvidia-experimental
114
115SystemLinks: $SYSTEMLINKS_STORE_DIR/70-persistent-cd.rules.
116 Still necessary if system has cd/dvd player. Check:
117 ls -l /dev/cdrom /dev/dvd
118 lrwxrwxrwx 1 root root 3 Jan 18 11:56 /dev/cdrom -> sr0
119 lrwxrwxrwx 1 root root 3 Jan 18 11:56 /dev/dvd -> sr0
120
121!!Modify CommonSettings: Check report of temperatures in the new distribution; Change Alternatives, etc.
122
123Synaptic Notes
124 -Before using Synaptic: Administration/Software_sources: Update sources.
125 -If a file fails to download, answer No to install the incomplete package and then click on 'Apply' again
126 downloading of the file will continue from the place where it was interrupted.
127
128LANG and LANGUAGE {
129!! Gui Login sets LANG and LANGUAGE before running /etc/profile (which sources $SYSTEMLINKS_TO_LINK_DIR/profile.local.sh).
130 Cinnamon 17: $HOME/.dmrc changed after new graphical login.
131
132AddUser_Skeleton:
133 users-admin, when adding a system user, creates some $HOME directories (cat $HOME/.config/user-dirs.dirs).
134 If the above directories do not exist, all are assumed to be $HOME, I.E. If $HOME/Desktop does not exist
135 desktop directory becomes $HOME and all $HOME contents are shown in the desktop at start up.
136 As I am using adduser to add users, and adduser does not create the above directories, it is necessary to add them (empty)
137 to the user templates in $COMMON_MISC_DIR/AddUser_Skeleton. Check with each new distribution main user's
138 $HOME/.config/user-dirs.dirs to see which directories to add/remove from $COMMON_MISC_DIR/AddUser_Skeleton.
139 Instead of directories it is better to use links. All Distro Directories removed and linked to Desktop:
140 Remove
141 Documents
142 Downloads
143 Music
144 Pictures
145 Public
146 Templates
147 Videos
148 Link:
149 ln -s Desktop Documents
150 ln -s Desktop Downloads
151 ln -s Desktop Music
152 ln -s Desktop Pictures
153 ln -s Desktop Public
154 ln -s Desktop Templates
155 ln -s Desktop Videos
156
157CHECK groups a normal/special user belongs to. To update AddUser_Skeleton.
158 New users/user-groups: run 'users-admin' as root.
159 Check after a new distro and update these scripts/files:
160 $COMMON_BIN_DIR/MainUserEnvironment
161 $COMMON_MISC_DIR/AddUser_Skeleton/sspecial/.Groups.txt
162 $COMMON_MISC_DIR/AddUser_Skeleton/snormal/.Groups.txt
163 Cinnamon 17:
164 Special user groups:
165 manolo adm cdrom sudo dip plugdev lpadmin sambashare
166 Normal user groups:
167 ??
168
169In case Inet connection erased. Create new one (Cinnamon 17): {
170 Wired Connection 2 (Being used -on card)
171 General
172 Connect automatically
173 All user can use it
174 Ethernet
175 00:0E:2E:D8:53:19 (eth1)
176 MTU automatic
177 802.1x Security
178 Nothing selected
179 IPv4 Settings
180 Method: Automatic (DHCP)
181 IPv6 Settings
182 Automatic
183 Wired Connection 1 (Not being used -on motherboard)
184 General
185 Connect automatically
186 All user can use it
187 Ethernet
188 90:E6:BA:BB:34:8C (eth0)
189 MTU automatic
190 802.1x Security
191 Nothing selected
192 IPv4 Settings
193 Method: Automatic (DHCP)
194 IPv6 Settings
195 Automatic
196}
197
198root does not receive mail (goes to main user) {
199Solution
200 make sure /etc/aliases (SystemLinks) does not contain any aliases information
201 run newaliases (produces a new aliases db)
202}
203
204echo -n "\a\a\a\a\r" >/dev/tty1 does not make a sound but motherboard speaker beeps at shutdow.
205 pcspkr included in /etc/modules (SystemLinks)
206
207!!After a total upgrade, check that New packages info go into directory '/var/lib/dpkg/info'.
208 Modify '$COMMON_SBIN_DIR/BkpIfChanges_Bkp_System' & '$COMMON_SBIN_DIR/RunIfChanges_UDir_System' if necessary.
209 Checked Cinnamon 17
210
211!!If you edit Hd's partition labels be aware that the partition flags may change {
212 User gparted to check that boot partitions have flag: bios_grub
213}
214
215USER DEFAULTS
216All users
217 Default '.profile' for new users: {
218 Copy (to $HOME) & Edit /etc/skel/.profile:
219 ..................
220 # set PATH so it includes user's private bin if it exists
221 # Commented out: already done in $SYSTEMLINKS_TO_LINK_DIR/profile.local.sh
222 #if [ -d "$HOME/bin" ] ; then
223 # PATH="$HOME/bin:$PATH"
224 #fi
225 Session properties
226 Ctrl Alt Backspace
227 mintupdate Delay 20 secs (distro default)
228 Nvidia X Server Settings
229 Edit panel
230 Move mintupdate icon just before the date. Panel positions:
231 [MainMenuAndNetTraffic] [ Running Applications] [WorkspaceSwitcher,MintMenu,AllWindows,Volume,Network,Notifications (Visible),User,PowerManagement,MintUpdate+other applications,DateTime,RubbishBin]
232 DateTime
233 %a, %e %b %Y %H:%M
234 LogOut LogIn
235 Change background
236 + Add $COMMON_MISC_DIR/Desktop_Backgrounds
237 Choose Light_blue.jpg in $COMMON_MISC_DIR/Desktop_Backgrounds (Light_red.jpg for root)
238 Change Terminal profile (Right-Click and select Show Menubar. Edit Profiles. Edit Default)
239 Normal User
240 black on white
241 bold: dark blue
242 Root
243 black on pink: root
244 bold: dark blue
245 thunderbird
246 For every account
247 Account settings
248 Server Settings
249 Check for new messages every 5 minutes
250 Tools/Add-ons # Minimize on start -no plugin works to 'minimize to tray' on start
251 Install 'Minimize On Start and Close' plugin
252 Tools/Add-ons/Extensions
253 Minimize On Start and Close/Preferences
254 Tick only 'Minimize on start'
255 Nemo
256 Preferences
257 Views
258 List View
259 Behaviour/Media Handling
260 Untick
261 Automatically open a folder ...
262 Prompt or autorun ....
263 List Columns
264 Name
265 Size
266 Type
267 Date Modified
268 MIME Type
269 Octal Permissions
270 Owner
271 (Rearrange/resize)
272 Toolbar
273 Show refresh button
274 Show computer button
275 Show home button
276 View
277 Tick Show Hidden Files
278 Toolbar
279 All ticked
280 firefox
281 Drop down Search engines list
282 Add google
283 Fix Bug (Keeps asking 'Do you want Firefox to save your tabs for the next time it starts?' at exit)
284 type about:config in the address bar
285 promise to be careful (!)
286 search for 'browser.warnOnQuit' entry
287 Right-click on this line and select – Toggle – so changing the state of the flag from true to false.
288 LibreOffice
289 DefaultWordProcessor
290 Open $COMMON_APPLICATION_DEFAULTS_DIR/LibreOffice_templates/DefaultWordProcessor.ott
291 Save it as DefaultWordProcessor's template.
292 DefaultSpreadSheet
293 Open $COMMON_APPLICATION_DEFAULTS_DIR/LibreOffice_templates/DefaultSpreadSheet.ots
294 Save it as DefaultSpreadSheet's template.
295 Remove Video effects
296 Cinnamon/Preferences/Effects
297 Remove Auto resizing of windows # Doesn't work :-(
298 Cinnamon/Preferences/Window Tiling and Edge Flip
299 Untick Enable Window Tiling and Snapping
300 Cinnamon/Preferences/Power Manager
301 Turn off the Screen when inactive for Never # Otherwise turns it off while watching movies?
302 Suspend when inactive Never
303 When Power button is pressed Shutdown immediately
304 Cinnamon/Preferences/Screensaver
305 Screensaver Stars
306 Settings
307 Lock settings All Off, Never
308 Away Message Defaults No message
309 Date Defaults
310 Sound
311 Use Cinnamon/Preferences/Sound just for testing
312 Configure with MainMenu/UserSystem/Configuration/User preferences/Audio Mixer
313 System/Preferences/Keyboard_shortcuts:
314 Select Keys for Sound Mute/ Sound Up / Sound down
315 Remove Iconized applications thumbnail view (interferes with MainMenu)
316 System/Preferences/Applets
317 WindowList/Configure
318 Untick: Show window thumbnails on hover
319Audacious
320 Configure Sound applet
321 Untick Hide System tray icons
322 Configure audacious
323 Preferences/Plugins/General
324 Enable Audio Cd
325 Enable IMMS
326 Enable MPRIS Server
327 Enable 'Status Icon'
328 Preferences/Plugins/Effect
329 Disable Extra Stereo # Causes bad sound quality
330 Show window and right-click
331 View/Interface
332 Winamp Classic interface
333gedit
334 EditPreferences
335 View
336 Tick Highlight Current Line
337 Edit
338 Tick File Saving Create a backup
339 Plugins
340 Tick Change Case
341 Tick Sort
342NumLock: End session with NumLock on: At next start up NumLock will be on. {
343 Note: Tried same trick with key 'FLock' (Function keys lock): Doesn't work :-(
344}
345
346######################################
347AFTER INSTALLATION LINUX CHANGES & DISTRIBUTION FILES MODIFIED.
348###
349
350!! Register VideoDownloaderHelper's companion in new distro:
351Note: See 'VideoDownloaderHelper's companion' (Video DownloaderHelper is an Add-on for firefox and chromium browsers) below.
352 cd $COMMON_DIR/UserLocal/Bins/D.VideoDownloadHelper/bin
353 ../setup-linux-system.sh # Read script. It basically creates some directories and signature files in them.
354
355!! Recompile sispmctl (See PACKAGES ALREADY INSTALLED below) to use the new distro USB module.
356
357!! Check that SMART daemon works: {
358Modify, temporarily, /etc/smartd.conf for a test run and restart the daemon.
359Please read: SystemDocs/root_System/Linux.en26486.txt/'SMART Disk Monitoring Daemon'
360}
361
362Add 'Mark All Upgrades' button to Synaptic: { !! Does not work
363Read System_Docs/Distros/Mint__Add_Synaptic_Mark_All_Upgrades_button.zipsh
364Added 05-synaptic.preserve file to /etc/linuxmint/adjustments (SystemLinks)
365Reinstalled Synaptic:
366 apt-get --reinstall install synaptic # As root
367}
368
369New Computer partitions IDs Check with 'blkid -o full -s UUID' {
370 /dev/sda1: UUID="dcce4b04-42f3-4fb5-b7f7-e4634bb8c537" (swap partition) |
371 /dev/sda2: UUID="444002a9-3960-4149-a606-b588d5dcd208" / |
372 /dev/sda3: UUID="ace25b54-f1ae-4f76-ada7-3472a91d98af" /home | MainLinux
373 /dev/sda4: UUID="fdf8a63c-606f-46bf-8111-dfe3d545c7a5" /home/common/Store |
374
375 /dev/sdb1: UUID="859d53e3-c2ad-4099-b956-fd7509b3beb7" (swap partition) |
376 /dev/sdb2: UUID="3f2626a5-7ff8-46d3-9cc4-064ecfad9bcb" / | EmergencyLinux
377 /dev/sdb3: UUID="0fb02d90-5470-4b7f-b8b0-2a51eafde857" /home |
378 /dev/sdb4: UUID="86b8abd0-cba1-4423-a6d1-19207894e0af" /home/common/Store |
379
380 /dev/sdc1: UUID="d53986f4-93e0-4011-a2fc-b51ab11ebf95" (swap partition) |
381 /dev/sdc2: UUID="d2f78030-dab9-4631-a2b6-b840d389bdee" / | Externam EmergencyLinux
382 /dev/sdc3: UUID="aa2e7959-84e6-4f6d-bf2f-4d8fb2bda7e1" /home |
383 /dev/sdc4: UUID="ea023728-cd2d-4b39-bb17-5957eb820428" /home/common/Store |
384
385 /dev/sdc1: UUID="607ab10d-8a9a-4b71-88c7-321b566a2014" /mnt/UsbExtDrive01 | Usb External drive 01
386}
387
388Notes:
389 /dev/sda connected to SATA connector #1 (Upper Hd)
390 /dev/sdb connected to SATA connector #2 (Lower Hd)
391 /dev/sdc connected to external eSATA/USB connector
392 /dev/scd0 connected to SATA connector #3 (/dev/sr0 DvdRecorder)
393USB
394 /dev/sdc First connected device. I.e. Flash memory # When External Sata not connected /dev/sdd otherwise.
395 /dev/sdc1 First partition of first connected device. I.e. External H.D # When External Sata not connected /dev/sdd1 otherwise.
396 /dev/sdd1 First partition of second connected device. I.e. External H.D # When External Sata not connected /dev/sde1 otherwise.
397}
398
399!!Important Disk changes affect the following files: {
400 $SYSTEMLINKS_STORE_DIR/07_custom -> /etc/grub.d/07_custom
401 $SYSTEMLINKS_STORE_DIR/fstab.MainLinux -> /etc/fstab (MainLinux)
402 $SYSTEMLINKS_STORE_DIR/fstab.EmergencyLinux -> /etc/fstab (EmergencyLinux)
403 $SYSTEMLINKS_STORE_DIR/fstab.ExtEmergencyLinux -> /etc/fstab (ExtEmergencyLinux)
404
405Replacing a drive: {
406 Install Linux on new drive from Flash drive. !! Unplug good drives to avoid inadvertently damaging data.
407 Computer name:
408 Home cinema: Linux-1
409 Library: Linux-2
410 Made new partition table with ext4 partitions
411 Swap 6000 MB
412 / 20000 MB
413 /home 20000 MB
414 /home/common/Store Rest
415 Notes:
416 Make all 'primary' partitions!
417 Careful with numbers: make sure that suggested size is completely deleted before typing the size you want.
418 MB are not binary MB. So real sizes will be smaller.
419 ext4 reserves 5% of capacity for root and system processes. That's unnecessary with /home/common/Store partition:
420 Do this with all /dev/sd?4 partitions:
421 To make that reserve 0, later run (as root):
422 tune2fs -m 0 /dev/sda4
423 tune2fs 1.41.11 (14-Mar-2010)
424 Setting reserved blocks percentage to 0% (0 blocks)
425!! Complete Linux Instalation so that grub is installed in drive
426 Find partition UUIDs with 'blkid -o full -s UUID' and edit files:
427 $SYSTEMLINKS_STORE_DIR/07_custom -> /etc/grub.d/07_custom
428 $SYSTEMLINKS_STORE_DIR/fstab.MainLinux -> /etc/fstab (MainLinux)
429 $SYSTEMLINKS_STORE_DIR/fstab.EmergencyLinux -> /etc/fstab (EmergencyLinux)
430 $SYSTEMLINKS_STORE_DIR/fstab.ExtEmergencyLinux -> /etc/fstab (ExtEmergencyLinux)
431 Run as root 'update-grub'
432 Copy Whole partitions with:
433 UDir_CopyPartitionHome
434 UDir_CopyPartitionStore # Last time it was done it took ~17 hours (1,826,390 MB = 1.742 TB)
435 UDir_CopyPartitionSystem
436!! Remove Store/.ThisDriveDifferentialBackups (or Store/.MainLinuxDifferentialBackups if replaced drive is /dev/sda)
437!! Remove /home/*/tmp/* (if replaced drive is not /dev/sda)
438 Use MountUmount to check that /etc/fstab values for new drive are correct:
439 MountUmount /mnt/ExtEmergencyLinux
440 MountUmount /mnt/ExtEmergencyLinuxHome
441 MountUmount /mnt/ExtEmergencyLinuxStore
442 Shutdown system, unplug all drives except the new one and check that Linux runs all right from that drive
443 Use the correct grub menu item
444 Replug all drives and test with CommonCron:
445 Check for 'cannot delete non-empty directory:' rsync messages
446}
447}
448
449!!No SystemLinks: Automatic mounting follows links to source. Copy $SYSTEMLINKS_DIR/Etc/* to '/' after installing a new distro.
450 lsl /media (Copied from $SYSTEMLINKS_DIR/Etc/media)
451 lsl /mnt (Copied from $SYSTEMLINKS_DIR/Etc/mnt)
452
453######################################
454SYSTEMLINKS (First time with new distribution):
455
456
457
458
459######################################
460BASIC DISTRIBUTION PACKAGES
461
462Synaptic Notes
463 -Before using Synaptic: Administration/Software_sources: Update sources.
464 -If a file fails to download, answer No to install the incomplete package and then click on 'Apply' again
465 downloading of the file will continue from the place where it was interrupted.
466 -Edit repositories and change 'Spain server' by 'Main server' (Spain very slow)
467 -acpi and acpi-support uninstalled. Necessary info supplied by sensors, nvidia-settings & hddtemp.
468 -acpi and acpi-support suspected of causing 'freezes'
469
470Basic downloads {
471 Synaptic nvidia-settings
472 Synaptic dconf-editor, dconf-tools # Desktop text scaling, configuring auto mount, etc
473 Synaptic dconf.cli # Used to set Desktop text scaling factor (Via $COMMON_BIN_DIR/GuiDesktopTextScalingFactor Check also $COMMON_ETC_DIR/CommonGUIPostLogin)
474 Synaptic bsd-mailx (mailx) Set to work as 'Local mail' Host name: localhost
475!!Synaptic dar (includes dar_manager), dar-docs, dar-static. # See comment at the top of $COMMON_BIN_DIR/Bkp_Main. Try to remove $SilenceFileDatesWarnings in new versions!
476 Synaptic groff (ManHtml)
477 Synaptic mc (Midnight commander)
478 Synaptic gnome-commander # Graphic mc (for local menus editing)
479 Synaptic thunderbird, thunderbird-gnome-support thunderbird-locale-en-gb thunderbird-locale-es-es thunderbird-locale-de
480 Synaptic audacious, audacious-plugins, audacious-plugins-extra etc
481 Synaptic imms-audacious (plus imms-common, etc) intelligent playlist plug-in: tracks your listening patterns and dynamically adapts to your taste.
482 Synaptic smartmontools gsmartcontrol (gui) (smartctl and smartd: to control and monitor storage systems)
483!! Once running (See SystemDocs/root_System/Linux.en26486.txt), make sure that smartctl is ON for all drives (some combinations USB/Drive_brand do not work):
484 smartctl -a /dev/sda;smartctl -a /dev/sdb
485 Synaptic sdparm (The sdparm utility outputs and in some cases modifies SCSI device parameters)
486 Synaptic pavucontrol (pulse audio mixer) -> DefaultAudioMixer
487!!Synaptic gparted partitions manager (Very important in emergencies)
488 Synaptic lm-sensors (Temp monitoring) Works :-) Run sensors-detect, reboot and check with sensors (included in distro)
489 Synaptic hddtemp (HDs temp monitoring) (included in distro)
490 Synaptic gufw GUI for ufw (firewall control)
491 Synaptic wmctrl # To control graphic windows (used in MainMenuAndNetTraffic)
492 Synaptic e2fslibs # Programs that use this package include e2fsck, mke2fs, tune2fs, dumpe2fs, chattr, and lsattr. Check that 'tune2fs' is also installed.
493 Synaptic tunapie A GUI based program for displaying Shoutcast or Icecast video and radio streams. # Music while setting up new distro.
494}
495MORE DISTRIBUTION PACKAGES
496 Synaptic mintupdate, mint-meta-cinnamon, mint-meta-core. # Not removed in case they are critical.
497 Synaptic mintWelcome # Not removed in case they are critical.
498 Synaptic rhythmbox, rhythmbox-plugin-cdrecorder, rhythmbox-plugins, rhythmbox-radio-browser, rhythmbox-plugin-visualizer
499 Synaptic planner, planner-doc
500 Synaptic inkscape # Scalable vector graphics
501 Synaptic xsane # scanner (on printer)
502 Synaptic gnome-media # Includes gnome-sound-recorder
503 Synaptic gnome-media-player # /usr/bin/gnome-media-player might be useful
504 Synaptic glchess # includes gnome-chess Chess playing program
505 Synaptic gnumeric, gnumeric-doc # Gnome spreadsheet
506 Synaptic gnome-system-tools # Includes /usr/bin/network-admin,/usr/bin/shares-admin,/usr/bin/time-admin,/usr/bin/users-admin
507 Synaptic stardict + stardict-plugin + stardict-tools + stardict-plugin-* + stardict-gnome
508 Synaptic vorbis-tools vorbisgain (ogginfo, oggenc, ..)
509 Synaptic speex, speex-doc # Low bit-rate sound compression speexenc, speexdec. *.spx files
510 Synaptic txt2regex (Regular Expression tool)
511 Synaptic alsaplayer-alsa, alsaplayer-common, alsaplayer-gtk
512 Synaptic audacity + audacity-data
513 Synaptic libdvdnav? (DVD navigation library) (included in distro)
514 Synaptic libdvdread? # To read Dvds. (included in distro) After installing run: /usr/share/doc/libdvdread4/install-css.sh (Synaptic must not be running) (Done)
515 Synaptic oggconvert (convert any media file to ogg)
516 Synaptic dir2ogg converts MP3, M4A, WMA, FLAC, WAV to OGG format (replaces mp32ogg).
517 Synaptic gstreamer-tools #just in case ;-)
518 Synaptic gstreamer?.??-alsa (included in distro)
519 Synaptic gstreamer?.??-ffmpeg (included in distro)
520 Synaptic gstreamer?.??-fluendo-mp3 |
521 Synaptic gstreamer?.??-plugins-bad (included in distro) | All good, bad, ugly legal & illegal plugins for totem, etc.
522 Synaptic gstreamer?.??-plugins-bad-multiverse (included in distro) |
523 Synaptic gstreamer?.??-plugins-good (included in distro) |
524 Synaptic gstreamer?.??-plugins-ugly (included in distro) | gstreamer0.10-pitfdll (propietary Msoft codecs) no longer
525 Synaptic ffmpegthumbnailer | available
526 Synaptic ffmpeg2theora
527 Synaptic libav-tools (avprobe replaces ffmpeg command in /usr/bin)
528 Synaptic libavcodec-extra metapackage (libavcodec + extra codecs)
529 Synaptic imagemagick imagemagick-doc
530 Synaptic ubuntu-restricted-extras ubuntu-restricted-addons # includes many things: flash plugin, mp3 libraries, etc
531 Synaptic unace, unace-nonfree, p7zip-rar, sharutils, sharutils-doc rar, unrar, unrar-free, arj, lunzip, lzip # Archive formats
532 Synaptic ncompress (Lempel-Ziv compress/uncompress programs)
533 Synaptic dvdbackup
534 Synaptic mpv # mplayer fork. Installed but not used because current Ubuntu version is old and does not include On Screen Controller.
535 Synaptic gnome-mplayer, mplayer?, mplayer-doc, mplayer-skins, mplayer-fonts. Necessary for totem shell-script. # At least mplayer2!! mplayer-skins necessary for gmplayer
536 Synaptic mplayer-gui # gmplayer
537 Synaptic smplayer # another GUI interface for mplayer
538 Synaptic mencoder
539 Synaptic ogmrip, ogmrip-doc ogmrip-profiles (Rips DVDs)
540 Synaptic acidrip
541 Synaptic xine-ui, xine-plugin
542 Synaptic libxine2-gnome, libxine2-plugins, libxine2-all-plugins # check if there is a libxine3...
543 Synaptic transcode, transcode-doc # No transcode-utils in this distro
544 Synaptic subtitleripper (Necessary for dvdrip)
545 Synaptic dvdrip, dvdrip-doc, dvdrip-queue, video-dvdrip-doc
546 Synaptic vcdimager (Necessary for dvdrip)
547 Synaptic libmatroska, mkvtoolnix, mkvtoolnix-gui (matroska multimedia format)
548 Synaptic gtkam, gtkam-gimp
549 Synaptic gimp, gimp-data, gimp-data-extras, gimp-help-common, gimp-help-en, gimp-help-es
550 Synaptic flpsed #A WYSIWYG pseudo PostScriptEditor (Also Pdf with pdf2ps & ps2pdf)
551 Synaptic libreoffice.org Should include everything. Check:
552 libreoffice, libreoffice-base, libreoffice-calc, libreoffice-math, libreoffice-writer, libreoffice-help-en ..es
553 Synaptic languages, dictionaries, spelling,...{
554 hyphen-* (no 'es' :( )
555 libreoffice-l10n-*
556 language-pack-*-base (en, es)
557 language-pack-gnome-*-base (en, es)
558 myspell-*
559 aspell-* (en, es, de)
560 dictionaries-common
561 wamerican, wamerican-large, wamerican-huge
562 wbritish, wbritish-huge
563 wspanish
564 dictzip
565 link-grammar-dictionaries-en
566 }
567 Synaptic dia (Diagram editor)
568 Synaptic gftp
569 Synaptic uget # /usr/bin/uget-gtk # Downloader. d4x not available
570 Synaptic amule, amule-utils, amule-utils-gui, amule-gnome-support
571 Synaptic xchat, xchat-common, xchat-gnome, xchat-gnome-common, xchat-gnome-indicator
572 Synaptic html2text
573 Synaptic transmission (*-common *-gtk, etc) bittorrent client # /usr/bin/transmission-gtk
574 Synaptic mathomatic mathomatic-primes
575 Synaptic pidgin, pidgin-plugin-pack (plugins for pidgin messenger client)
576 Synaptic ekiga DefaultInetMeetingClient
577 Synaptic poppler-utils, poppler-data includes pdftohtml
578 Synaptic chromium-browser, chromium-browser-l10n (languages), chromium-codecs-*
579 Synaptic adobe-flashplugin (already included)
580 Synaptic pepperflashplugin-nonfree # flashplugin for chromium # Install after chromium!!
581 Synaptic gthumb, gthumb-data (included in distro)
582 Synaptic mp3splt, libmp3splt0-ogg (To split audio files -Cd audio ripped into a single file)
583 Synaptic sound-juicer Cd ripper, replaces grip
584 Synaptic unace, unace-nonfree (to uncompress .ace files) (included in distro)
585 Synaptic exfalso (includes python-mutagen, python-pyogg, python-pyvorbis) (audio files metadata editor)
586 Synaptic gnome-subtitles (movies subtitles editor)
587 Synaptic flac (flac tools: flac & metaflac)
588 Synaptic uniutils (Unicode utils)
589 Synaptic clive (Youtube video extractor)
590 Synaptic youtube-dl (Youtube video extractor)
591 Synaptic gnash, gnash-doc (SWF player -flash. Binary: /usr/bin/gnash-gtk-launcher)
592 Synaptic libjmac-java Java implementation of Monkey's Audio Compression decoder.
593 Synaptic subtitleeditor (Another subtitle editor)
594 Synaptic mp3info
595 Synaptic soundconverter (DefaultAudioFilesConverter)
596 Synaptic lsscsi (List scsi devices).
597 Synaptic calibre E-book converter
598 Synaptic libebook (included in distro)
599 Synaptic okular, okular-extra-backends # document viewer (E-Books)
600 Synaptic okular-extra-backends
601 Synaptic vlc (Video player. Good for video streaming) (included in distro)
602 Synaptic gnome-search-tool
603 Synaptic idle3-tools # To disable some HDs head parking timer. See 'Head parking in Western Digital Green HDs' in $COMMON_DIR/SystemDocs/root_System/Linux.txt
604 Synaptic python-gmenu # In case MainMenu.py is needed.
605 Synaptic iotop # To check HD activity.
606 Synaptic mtp-tools # To connect Android tablet via USB. Not sure if it is necessary.
607 Synaptic mtpfs # To connect Android tablet via USB. Not sure if it is necessary.
608 Synaptic mediainfo # Includes several libraries. Reads media metadata.
609
610See also PACKAGES ALREADY INSTALLED below.
611
612Notes:
613After new install:
614 Configure firewall
615 $COMMON_DIR/SystemDocs/root_System/Linux.txt/Firewall
616 Install printer
617Installed packages' problems
618 ??
619
620Not available in this distro
621 Synaptic gnome-device-manager, libgnome-device-manager
622 Synaptic hal-doc
623 Synaptic googleearth googleearth-data (Works with 64 bits distro but not with 32 bits!)
624 Synaptic acroread, acroread-fonts
625
626Tested and then removed/not used:
627 Synaptic expect (includes tcl?.?) # No longer needed for $COMMON_BIN_DIR/XSu (See 'pdip' in PACKAGES ALREADY INSTALLED/INSTALLED IN /usr/local).
628 Synaptic libusb-dev # Used to be able to compile new versions of sispmctl and then removed.
629 Synaptic f-spot # Photo album manager # Doesn't work
630 Synaptic at # Not needed: Using distro independent 'CommonDaemon common'
631 Synaptic tracker, tracker-extract, tracker-miner-fs, tracker-gui, tracker-utils # Never worked correctly. :-( Good riddance!
632 Synaptic read-edid # To read monitor data # Doesn't work
633 Synaptic opera # Web browser installed directly from http://www.opera.com (see below)
634 Synaptic beets, beets-doc # Music tagger and library organizer. Could mess up my audio collection.
635 Synaptic java-common, openjdk-?-*, etc. # Oracle Java + Netbeans in $USRLOCAL_DIR.
636 Synaptic default-jdk default-jdk-doc default-jre default-jre-headless (includes open-jdk-?-*) # Oracle Java + Netbeans in $USRLOCAL_DIR.
637 Synaptic netbeans (JavaIDE -includes many libraries) # Oracle Java + Netbeans in $USRLOCAL_DIR.
638 Synaptic libnb-platform11-java-doc (package's doc) # doc in /usr/share/doc/default-jdk-doc/api
639 Synaptic libswing-layout-java-doc (package's doc) # Oracle Java + Netbeans in $USRLOCAL_DIR.
640 Synaptic junit-doc (Java test package's doc)
641 Synaptic scsiadd (To spin down sata drives: Obsolete solved in a different way: $COMMON_SBIN_DIR/SuspendDrive )
642
643######################################
644UPDATING GRUB MANUALLY (Done automatically after upgrading to a new kernel)
645
646Check new kernel version works all right, remove old version files from Synaptic and /boot
647 and run as root:
648 update-grub
649 Generating grub.cfg ...
650 Found linux image: /boot/vmlinuz-2.6.31-19-generic
651 Found initrd image: /boot/initrd.img-2.6.31-19-generic
652 Found memtest86+ image: /boot/memtest86+.bin
653 Found Ubuntu 9.10 (9.10) on /dev/sdb2
654 done
655!!Note it only changes grub config in current system (Main or Emergency). Run update-grub when in Emergency if there have been kernel changes in Main.
656
657######################################
658TO DO
659###############
660
661'nemo': Display area not updated completely when scrolling
662 Don't like it but I can live with it
663
664######################################
665CURRENT ISSUES
666(And comments about this distribution)
667###########
668
669CURRENT ISSUES SOLVED
670 /dev/dvd link not created.
671 Solved by editing $SYSTEMLINKS_STORE_DIR/70-persistent-cd.rules:
672 KERNEL=="sr0", SYMLINK+="dvd", NAME="dvd_player_link"
673 Login window preferences
674 System settings
675 Login window (modifies /etc/mdm/mdm.conf SystemLinks)
676 Theme
677 GTK
678 Background $COMMON_MISC_DIR/Desktop_Backgrounds/Light_red.jpg
679 Options
680 Tick 'User 24 Hour Clock'.
681 Tick 'Automatically select the last logged in user'.
682 Tick 'Limit the session output': Avoids creating enormous $HOME/.xsession-errors.
683 Tick 'Allow root login'.
684 UnTick 'Filter the session output': filters repetitive, meaningless messages but also supresses important ones.
685 Default Session: 'Cinnamon'.
686 Allowing root login
687 /etc/mdm/mdm.conf (SystemLinks)
688 sudo passwd root
689
690Nvidia driver problems and updates
691 Nvidia proprietary (Linux-2) driver doesn't load. Solution:
692 In a fresh install without proprietary nvidia driver:
693 log out and login in a terminal as root:
694 /etc/init.d/mdm stop
695 apt-get purge nvidia-prime # Purge, remove is not enough
696 apt-get purge intel-gpu-tools # Purge, remove is not enough
697 apt-get remove nvidia-331
698 apt-get install nvidia-331
699 update-alternatives --config x86_64-linux-gnu_gl_conf # select 0 (nvidia)
700 nvidia-xconfig
701 # apt-get purge ubuntu-drivers-common (also purges mintdrivers) # Only if the rest doesn't work
702 # apt-get install ubuntu-drivers-common # Only if the rest doesn't work
703 # apt-get install mintdrivers # Only if the rest doesn't work
704 apt-get remove mdm
705 apt-get install mdm
706 reboot # starting up: Moving dots if nvidia driver active/Mint logo otherwise
707 Note: installing nvidia-331 doesn't add nvidia-prime
708!! Note: A bug in gpu-manager (part of ubuntu-drivers-common) sometimes deletes (renames) /etc/X11/xorg.conf
709 Solution: gpu-manager disabled by including 'nogpumanager' in grub entries generated by $SYSTEMLINKS_STORE_DIR/07_custom
710 Contents of /var/log/gpu-manager.log: 'Disabled by kernel parameter "nogpumanager"'.
711!!Nvidia proprietary in new computer Linux-1:
712 Follow instructions 'Nvidia driver' in in Motherboard_MSI_X99S_SLI_Plus/Setup_notes.en04569.txt
713 24/04/2017 update from nvidia-367 to nvidia-375
714!! Problems with nvidia update (Linux-1). Kernel 3.19.0-68-generic & nvidia-367 for one year without problems.
715 After update to nvidia-375 system occasionally (average once every 2 days) self-reboots leaving no trace in logs.
716 A sure way to trigger a self-reboots is to use the SecondLife viewer.
717 Googled and found:
718 nvidia-375 giving problems to other users (but no mention of reboots) who want to roll back to nvidia-367.
719 nvidia-367 has a security problem and is no longer available.
720 nvidia-381 seems to solve some of nvidia-375 problems.
721 Checked system memory (see SystemDocs/root_This_PC/Performance.txt for Linux-1) which seems to be OK.
722 20/06/2017 Installed nvidia-381.22 with following commands (as root):
723 add-apt-repository ppa:graphics-drivers/ppa # Add the Proprietary drivers ppa.
724 apt-get update # Update the repos.
725 apt-get install nvidia-381 # Install the nvidia driver 381.
726 Rebooted and everything seemed OK. Mint Updater showed new updates available:
727 libxnvctrl0
728 nvidia-settings
729 libvdpau1
730 Ran updates, rebooted again and everything seemed OK.
731!! 02/07/2017 No more self-reboots since nvidia-381.22 was installed. Removing nvidia-375 driver seems to have solved that problem.
732 Mint Updater:
733 Refresh: No more updates available.
734 Edited Software sources: Unticked all PPA sources to avoid any nvidia driver updates.
735!! HDMI audio/pulseaudio: Problems solved temporarily by adding 'pulseaudio --kill' (restarts pulseaudio) in 'GraphicalSessionAutostart'.
736 Remove line after checking that the problem disappears with a new nvidia driver.
737 01/08/2017 Installed nvidia-384.59 with following commands (as root):
738 Temporarily enabled Nvidia PPAs in Mint Updater.
739 apt-get update # Update the repos.
740 apt-get install nvidia-384 # Install the nvidia driver 384.59.
741 Rebooted and everything seemed OK. Mint Updater showed new updates available:
742 nvidia-settings
743 Ran updates, rebooted again and everything seemed OK.
744 Disabled again Nvidia PPAs in Mint Updater.
745!! HDMI audio/pulseaudio: Line 'pulseaudio --kill' in 'GraphicalSessionAutostart' still needed :-(
746!! There are occasional self-reboots with nvidia-384.59 but not very frequent.
747!!22/10/2017 Updated BIOS to last version (In case it helps with Self-reboots bug).
748 23/10/2017 Installed nvidia-384.90 with 'Update Manager'.
749!! Rebooted and, as soon as the login screen appeared, the system self-rebooted. We'll see what happens. :-(
750!! HDMI audio/pulseaudio: Line 'pulseaudio --kill' in 'GraphicalSessionAutostart' still needed :-(
751 In www.reddit.com/r/linuxmint/ by HeidiH0:
752 If you recently got an Nvidia driver update(nvidia-384 or the like),
753 And you see something similar to the below:
754 The following packages will be upgraded: icu-devtools libcuda1-384 libicu-dev libicu55 libicu55:i386 nvidia-384 nvidia-opencl-icd-384
755 Setting up nvidia-384 (384.90-0ubuntu0.16.04.1) ...
756 /sbin/ldconfig.real: /usr/lib/nvidia-384/libEGL.so.1 is not a symbolic link
757 /sbin/ldconfig.real: /usr/lib32/nvidia-384/libEGL.so.1 is not a symbolic link
758 Just run the command: sudo dpkg-reconfigure nvidia-384
759 I noticed the above messages. Running 'dpkg-reconfigure nvidia-384' (as root).
760!! Self-reboots with nvidia-384.90:
761 23/10/2017 First reboot after installation: Self-reboot, just after login screen appeared.
762 29/10/2017 18:30 h. Self-reboot. Running Firefox.
763 12/11/2017 11:15 h. Self-reboot. Running Firefox.
764 12/11/2017 11:17 h. Self-reboot, just after log in, start session applications and just trying to open /var/log with nemo.
765 17/11/2017 11:51 h. Self-reboot. Running Gedit, Firefox in background.
766 22/11/2017 18:35 h. Playing video file with mplayer, Firefox in background.
767 24/11/2017 08:41 h. After boot, in Login screen. 85 seconds after 'nvidia-modeset: Allocated GPU:0 (GPU-5d91272e-160e-d7ed-5344-26f87d53d6a6) @ PCI:0000:03:00.0'.
768 Self-reboots just after login:
769 It seems it always happens (comparing with normal boots in /var/log/kern.log) after:
770 20:47:57 Linux-1 kernel: [ 10.736378] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 384.90 Tue Sep 19 17:05:19 PDT 2017
771 20:47:57 Linux-1 kernel: [ 10.737163] [drm] [nvidia-drm] [GPU ID 0x00000300] Loading driver
772 20:47:57 Linux-1 kernel: [ 10.809764] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 242
773 20:47:58 Linux-1 kernel: [ 11.644321] NVRM: Your system is not currently configured to drive a VGA console
774 20:47:58 Linux-1 kernel: [ 11.644321] on the primary VGA device. The NVIDIA Linux graphics driver
775 20:47:58 Linux-1 kernel: [ 11.644321] requires the use of a text-mode VGA console. Use of other console
776 20:47:58 Linux-1 kernel: [ 11.644321] drivers including, but not limited to, vesafb, may result in
777 20:47:58 Linux-1 kernel: [ 11.644321] corruption and stability problems, and is not supported.
778 20:47:58 Linux-1 kernel: [ 13.715394] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
779 20:47:58 Linux-1 kernel: [ 13.715398] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
780 20:47:58 Linux-1 kernel: [ 13.715430] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
781 20:48:01 Linux-1 kernel: [ 16.086675] nf_conntrack: automatic helper assignment is deprecated ... helpers instead.
782 Just_before/when logging:
783 20:48:01 Linux-1 kernel: nvidia-modeset: Allocated GPU:0 (GPU-5d91272e-160e-d7ed-5344-26f87d53d6a6) @ PCI:0000:03:00.0 <- Self-reboot just before or after this.
784 17/11/2017 Opened PC: No obvious hardware problems: Connectors Ok, No burst capacitors...
785!!24/11/2017 (Trying to remove Self-reboots bug) Re-Installed nvidia-381.22 with 'Synaptic':
786 Temporarily enabled ppa:graphics-drivers/ppa in Mint Updater.
787 Re-Installed nvidia-381.22 with 'Synaptic', removing 384.90.
788 Note: nvidia-387.12 available in PPA (as shown by Restricted drivers Manager).
789 Disabled again ppa:graphics-drivers/ppa in Mint Updater.
790!! Self-reboots with nvidia-381.22:
791 25/11/2017 08:53 h. After boot, in Login screen. 105 seconds after 'nvidia-modeset: Allocated GPU:0 (GPU-5d91272e-160e-d7ed-5344-26f87d53d6a6) @ PCI:0000:03:00.0'.
792!!25/11/2017 Replaced power supply (see SystemDocs/root_Hardware/Hardware_notes.*.txt).
793 25/11/2017 Installed nvidia-384.98
794 Temporarily enabled Nvidia PPAs in Mint Updater.
795 apt-get install nvidia-384
796 apt-get autoremove # Recommended in previous output to remove unnecessary packages
797 dpkg-reconfigure nvidia-384 # Recommended by www.reddit.com/r/linuxmint/HeidiH0 (see above)
798 Disabled again Nvidia PPAs in Mint Updater.
799!! HDMI audio/pulseaudio: Works all right with nvidia-384.98. Line 'pulseaudio --kill' in 'GraphicalSessionAutostart' no longer needed. :-)
800 No ttys (Ctrl+Alt+F1[F2...] -> Black screen) available with this driver.
801 Updated to new kernel, 4.4.0-98-generic, but still no ttys.
802
803 Display manager fails to start (see /var/log/boot.log)
804 Solved temporarily by adding lines to /etc/rc.local
805 Reinstalling mdm doesn't seem to work :-(
806 Tried reinstalling 'plymouth'
807 Installing nvidia proprietary driver, as explained above, seems to have avoided this problem
808!! Solved installing a new kernel
809 gmplayer (mplayer-gui) does not work. Something to do with skin and an icon
810 Error in skin config file on line 6: PNG read error in /usr/share/mplayer/skins/default/main
811 Config file processing error with skin 'default'
812 Solved:
813 Make copy of dir /usr/share/mplayer/skins/clearplayer (default skin): /usr/share/mplayer/skins/clearplayer.bak
814 cd /usr/share/mplayer/skins/clearplayer
815 for FILE in *.png ; do sudo convert $FILE -define png:format=png24 $FILE ; done # Modifies png files to those mplayer-gui likes
816!! Solved in a new update
817 No support for locale: en_IE.utf8
818 dpkg-reconfigure locales # As root
819 /var/log/syslog messages when CommonCron runs
820 Jun 19 19:25:01 Linux-1 console-kit-daemon[5172]: GLib-CRITICAL: Source ID 1022 was not found when attempting to remove it
821 Jun 19 19:30:01 Linux-1 console-kit-daemon[5172]: GLib-CRITICAL: Source ID 1039 was not found when attempting to remove it
822 Seems console-kit-daemon doesn't like CommonCron 'su' logins. Doesn't seem to cause any problems.
823!! Known problem. Nothing to do with CommonCron.
824 MoBo audio hardware not detected.
825 Only happens if there is a delay between booting and mdm start
826 Error messages in /home/manolo/.xsession-errors
827 (cinnamon:4771): Clutter-CRITICAL **: clutter_text_get_editable: assertion 'CLUTTER_IS_TEXT (self)' failed
828 Seems to be a problem with the audio applet. Solution here:
829 https://bugs.launchpad.net/linuxmint/+bug/1336311
830 /usr/share/cinnamon/applets/sound@cinnamon.org/applet.js # New version
831 /usr/share/cinnamon/applets/sound@cinnamon.org/applet.js.BugFixed # backup in case an update replaces working 'applet.js'
832 $COMMON_MISC_DIR/etc/Binaries/applet.js.BugFixed # backup in case an update replaces working 'applet.js'
833!! Solved in a new update
834 Sometimes System doesn't power off after shutdown.
835!! Seems to have been solved after installer a new kernel
836 Wrong sorting in LibreOffice calc https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1389858:
837 Here is a quick and dirty way for those who want the fdo#81309 behaviour (Sorting should automatically adjust references.):
838 sudo vim /usr/lib/libreoffice/share/registry/main.xcd
839 Search for:
840 <prop oor:name="UpdateReferenceOnSort" oor:type="xs:boolean" oor:nillable="false"><value>false</value></prop>
841 and replace it with:
842 <prop oor:name="UpdateReferenceOnSort" oor:type="xs:boolean" oor:nillable="false"><value>true</value></prop>
843 glesialo: As I am not familiar with vim I have written a bash script to modify '/usr/lib/libreoffice/share/registry/main.xcd':
844 #!/bin/bash
845 FileToModify="/usr/lib/libreoffice/share/registry/main.xcd"
846 OrgLine='<prop oor:name="UpdateReferenceOnSort" oor:type="xs:boolean" oor:nillable="false"><value>false</value></prop>'
847 CorrectedLine='<prop oor:name="UpdateReferenceOnSort" oor:type="xs:boolean" oor:nillable="false"><value>true</value></prop>'
848 mv "$FileToModify" "${FileToModify}.bak"
849 if [ -f "${FileToModify}.bak" ]
850 then
851 cat ${FileToModify}.bak | sed 's%'"${OrgLine}"'%'"${CorrectedLine}"'%g' >"$FileToModify"
852 fi
853!! Not completely solved in a new update. It is still necessary to modify /usr/lib/libreoffice/share/registry/main.xcd
854
855######################################
856PACKAGES ALREADY INSTALLED
857
858######## INSTALLED IN /usr/local. BEGIN.
859
860VideoDownloaderHelper's companion (Video DownloaderHelper is an Add-on for firefox and chromium browsers):
861 Download package (current version: net.downloadhelper.coapp-1.0.7-1_amd64.tar.gz) requested by add-on when trying to download video.
862 Leave a copy in $PACKAGES_DIR
863 Install system-wide:
864 Extract in $COMMON_DIR/UserLocal/Bins: $COMMON_DIR/UserLocal/Bins/net.downloadhelper.coapp-1.0.7
865 cd $COMMON_DIR/UserLocal/Bins
866 ln -s net.downloadhelper.coapp-1.0.7 D.VideoDownloadHelper
867 cd ../bin
868 ln -s ../Bins/D.VideoDownloadHelper/bin/net.downloadhelper.coapp-linux-64 net.downloadhelper.coapp-linux-64
869 cd ../Bins/D.VideoDownloadHelper/bin
870 ../setup-linux-system.sh # Read script. It basically creates some directories and signature files in them.
871 Installation valid for firefox and chromium (when Video DownloaderHelper Add-on is installed in browser).
872 Check SystemDocs/root_Applications/Firefox*.txt & SystemDocs/root_Applications/Chromium*.txt
873
874'pdip'. Programmed Dialogue with Interactive Programs. Used in $COMMON_BIN_DIR/XSu.
875 # It is a command line oriented utility looking like a simplified version of the famous EXPECT utility.
876 # The acronym PDIP itself comes from the first lines of the manual of EXPECT.
877 # Like EXPECT, it is a freeware and it interprets a scripting language to dialog with an interactive program
878 # as a human operator would do. But it has not all the bells and whistles of EXPECT which is able to interact
879 # with multiple programs at the same time, accept a high level scripting language providing branching and high
880 # level control structures or giving back the control to the operator during a session.
881 Sources in $PACKAGES_DIR/pdip-1.9.0.tgz
882!!To compile it is first necessary to install 'cmake'. Can be removed after compiling 'pdip'.
883 Synaptic cmake
884 As root
885 Extract to $PACKAGES_DIR/Temp
886 cd $PACKAGES_DIR/Temp/pdip-1.9.0
887 ./pdip_install.sh -I # Installs in /usr/local
888 Configuring PDIP installation in /usr/local...
889 -- The C compiler identification is GNU 4.8.4
890 -- Check for working C compiler: /usr/bin/cc
891 -- Check for working C compiler: /usr/bin/cc -- works
892 -- Detecting C compiler ABI info
893 -- Detecting C compiler ABI info - done
894 -- Building PDIP version 1.9.0
895 The user id is 0
896 -- Configuring done
897 -- Generating done
898 -- Build files have been written to: /home/manolo/documents/Internet/pdip-1.9.0
899 Scanning dependencies of target man
900 [ 33%] Building pdip_en.1.gz
901 [ 66%] Building pdip_fr.1.gz
902 [ 66%] Built target man
903 Scanning dependencies of target pdip
904 [100%] Building C object CMakeFiles/pdip.dir/pdip.c.o
905 Linking C executable pdip
906 [100%] Built target pdip
907 Install the project...
908 -- Install configuration: ""
909 -- Installing: /usr/local/bin/pdip
910 -- Installing: /usr/local/share/man/fr/man1/pdip.1.gz
911 -- Installing: /usr/local/share/man/man1/pdip.1.gz
912 rm -R /usr/local/share/man/fr # man in French not needed.
913 # Files/Directories in /usr/local:
914 # /usr/local/bin/pdip
915 # /usr/local/share/man/man1/*
916 # More info in Default_Library/Science/Computer_Science/Linux/Using_pseudo_terminals_with_interactive_programs__pty_pdip
917
918SecondLife viewer
919 Third party viewer Phoenix_FirestormOS-Betax64_x86_64_4.6.5.40833 (Works without installing lib32 libraries)
920 Extract archive in $USRLOCAL_DIR/Bins
921 ln -s Phoenix_FirestormOS-Betax64_x86_64_4.6.5.40833 D.Second_Life
922 cd $USRLOCAL_DIR/bin
923 ln -s ../Bins/D.Second_Life/firestorm secondlife
924
925Java & Netbeans
926 Downloading sites:
927 http://www.oracle.com/technetwork/java/javase/downloads/index.html
928 Java SE Development Kit (JDK) Cobundles (Java SE and NetBeans Cobundle)
929 Java SE ?? Documentation (Click on Download for JavaDoc + JavaFxDoc)
930 Current version: dk-8u40-nb-8_0_2-linux-x64.sh
931 Current versions: jdk-8u40-docs-all.zip + javafx-8u40-apidocs.zip
932 Cobundle installation:
933 Copy ./jdk-????-nb-?_?_?-linux-x64.sh to $PACKAGES_DIR
934 Make it executable and double click
935 Specify $COMMON_DIR/UserLocal/Bins as installation directory, Install also JUnit in netbeans
936 Make links
937 cd $COMMON_DIR/UserLocal/Bins
938 ln -s jdk?.?.?_?? D.Java
939 ln -s netbeans-?.? D.Nnetbeans
940 Check $COMMON_DIR/UserLocal/share/man/java -> $COMMON_DIR/UserLocal/Bins/D.Java/man
941 cd $COMMON_DIR/UserLocal/bin
942 ln -s ../Bins/D.Netbeans/bin/netbeans netbeans
943!! # DON'T. Considered security risk in browsers # cd $SYSTEMLINKS_STORE_DIR
944!! # Will be linked to /usr/lib/firefox-addons/plugins, /usr/lib/firefox/plugins & /usr/lib/chromium-browser/plugins by $SYSTEMLINKS_TO_LINK_DIR/libnpjp2.so
945!! # DON'T. Considered security risk in browsers # ln -s /usr/local/Bins/D.Java/jre/lib/amd64/libnpjp2.so libnpjp2.so
946 Edit $COMMON_DIR/UserLocal/Bins/D.Nnetbeans/etc/netbeans.conf
947 #netbeans_jdkhome="/home/common/UserLocal/Bins/jdk?.?.?_??" # Original line
948 netbeans_jdkhome="$JAVA_HOME"
949 Remove $PACKAGES_DIR/jdk-????-nb-?_?_?-linux-x64.sh
950 JavaDoc + JavaFxDoc installation
951 Copy jdk-?u??-docs-all.zip & javafx-?u??-apidocs.zip to $COMMON_DIR/UserLocal/Bins
952 Extract jdk-?u??-docs-all.zip to $COMMON_DIR/UserLocal/Bins/D.Java (D.Java/docs)
953 Extract javafx-?u??-apidocs.zip to $COMMON_DIR/UserLocal/Bins
954 Rename api (extracted directory) to javafx_api
955 Move $COMMON_DIR/UserLocal/Bins/javafx_api to $COMMON_DIR/D.Java/docs (D.Java/docs/javafx_api)
956 Change permissions
957 cd $COMMON_DIR/UserLocal/Bins/D.Java
958 chmod 755 docs
959 Remove jdk-?u??-docs-all.zip & javafx-?u??-apidocs.zip
960 Download Java SE Tutorial
961 http://www.oracle.com/technetwork/java/javase/java-tutorial-downloads-2005894.html
962 javatutorials.zip
963 Rename javatutorials_Jun_2014.zip and copy to $PACKAGES_DIR
964 Extract in $INTERNET_DIR ($INTERNET_DIR/tutorial)
965 Replace text (Links to local docs):
966 cd $INTERNET_DIR
967 ReplaceTextInAllFiles tutorial "http://docs.oracle.com/javase/8/docs" "file:///tmp/JAVA_DOC"
968 ReplaceTextInAllFiles: "http://docs.oracle.com/javase/8/docs" -> "file:///tmp/JAVA_DOC"
969 ReplaceTextInAllFiles: Recursive in /home/manolo/documents/Internet/tutorial/*
970 ReplaceTextInAllFiles: Run? (y|n):y
971 Substitute new 'tutorial' in $COMMON_TEXT_DIR/../Books/Various_Authors/Java_Tutorial.zip
972 Notes
973!! In netbeans IDE:
974 For root and each user:
975 Set user (author) value (See SystemDocs/root_Applications/JavaIde )
976 Tools/Java Platforms
977 Javadoc
978 AddZIP/Folder
979 /usr/local/Bins/D.Java/docs
980 /usr/local/Bins/D.Java/docs/javafx_api
981 Books that depend on Java packages:
982 $COMMON_TEXT_DIR/../Books/Various_Authors/JavaDoc.zip/CommandInZip:
983 JavaDoc
984 $COMMON_TEXT_DIR/../Books/Various_Authors/Java_Tutorial.zip/CommandInZip:
985 DefaultBrowser -tab tutorial/index.html tutorial/tutorialLearningPaths.html tutorial/reallybigindex.html "about:blank" "about:blank" "about:blank" "about:blank" "about:blank" "about:blank"; ln -s $JAVA_DOC /tmp/JAVA_DOC
986 Testing new versions:
987 -Run JavaIde
988 -Run javacar and compile and run all projects
989 -Replace old *.jar files in $COMMON_ETC_DIR/etc/Java_Jars
990 -Run */jar files from a text terminal to check for Java run time Errors
991 Scripts that depend on Java packages:
992 $COMMON_BIN_DIR/JavaDoc (Uses $JAVA_DOC)
993 $COMMON_BIN_DIR/javacar (ExternalLibDirs="$NETBEANS_HOME/java/modules/ext $NETBEANS_HOME/platform/modules/ext")
994
995'ttaenc' TTA audio format encoder/decoder.
996 Compiled from $PACKAGES_DIR/ttaenc-3.4.1-src.tgz
997 Installed in $USRLOCAL_DIR/bin
998
999'mtn' video files preview generator
1000 Download Linux binary package $PACKAGES_DIR/mtn-200808a-linux.tgz
1001 extract and copy binary file 'mnt' to $USRLOCAL_DIR/bin
1002 Shell script wrapper: $COMMON_BIN_DIR/mtn
1003 Normally invoked by $COMMON_BIN_DIR/DefaultVideoPreviewGenerator (link to $COMMON_BIN_DIR/DefaultApplications)
1004!!Check if value of $COMMON_BIN_DIR/mtn's variable 'TrueTypeFontFile' corresponds to an existing font after a new distro upgrade!!
1005
1006StarDict dictionaries
1007 http://stardict.sourceforge.net/Dictionaries_dictd-www.dict.org.php
1008 Unpacked in $COMMON_TEXT_DIR/.Store/Dictionaries/dic
1009 The Collaborative International Dictionary of English
1010 Moby Thesaurus II
1011 from http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php
1012 Unpacked in $COMMON_TEXT_DIR/.Store/Dictionaries/dic
1013 German-English
1014 English-German
1015 English - Spanish
1016 Spanish - English
1017 from http://stardict.sourceforge.net/Dictionaries_misc.php
1018 Unpacked in $COMMON_TEXT_DIR/.Store/Dictionaries/dic
1019 latin-english
1020 English-Latin
1021 from http://stardict.sourceforge.net/Dictionaries_de.php
1022 Unpacked in $COMMON_TEXT_DIR/.Store/Dictionaries/dic
1023 LDaF (Langenscheidt Grosswoerterbuch: Deutsch als Fremdsprache)
1024
1025'libtommath' (Note: It was very difficult to find the package in Internet. Forbidden?)
1026! Compiled temporarily to compile clit1.8 (See below)
1027! Linux sources not needed.
1028 Download, fromftp://ftp.nerim.net/debian-marillat/pool/main/libt/libtommath/, file 'libtommath_0.37.orig.tar.gz'
1029 -extract $PACKAGES_DIR/libtommath_0.37.orig.tar.gz to $PACKAGES_DIR/Temp/
1030 -Follow INSTALL instructions.
1031 cd $PACKAGES_DIR/Temp/libtommath-0.37
1032 make
1033!! -After compiling clit1.8 (See below)
1034 rm -R $PACKAGES_DIR/Temp/libtommath-0.*
1035
1036'clit18' (Binary renamed 'LitFilesConverter') '.lit' files converter (needs 'libtommath', see above).
1037! Linux sources not needed.
1038! $PACKAGES_DIR/Temp/libtommath-0.37 must be present (See libtommath above)
1039 mv $PACKAGES_DIR/Temp/libtommath-0.37 $PACKAGES_DIR/Temp/libtommath-0.30 #(What clit18 looks for)
1040 Download, from http://www.convertlit.com/download.php, file 'clit18src.zip'
1041 -extract $PACKAGES_DIR/clit18src.zip to $PACKAGES_DIR/Temp/
1042 -Follow INSTALL instructions.
1043 cd $PACKAGES_DIR/Temp/lib
1044 make
1045 cd ../clit18
1046 make
1047 cp $PACKAGES_DIR/Temp/clit18/clit /usr/local/bin
1048 rm -R $PACKAGES_DIR/Temp/*
1049 mv /usr/local/bin/clit /usr/local/bin/LitFilesConverter
1050! See $COMMON_BIN_DIR/LitFilesConverter
1051
1052'sispmctl' (Controls Gembird SIS-PM Silver Shield programmable mains power outlet strips) (Currently using /usr/local/bin/sispmctl)
1053! Linux sources not needed.
1054! $PACKAGES_DIR/Temp/libtommath-0.37 must be present (See libtommath above)
1055! Use synaptic to install libusb-?.?-?-dev & libusb-dev
1056 Extract $PACKAGES_DIR/sispmctl-3.1.tar.gz to Dir
1057 -Follow INSTALL instructions.
1058 cd Dir
1059 ./configure --enable-webless
1060 ./make
1061 -Find binary in Dir/sispmctl-3.1/src/sispmctl
1062 -Test binary (as root)
1063 -Rename /usr/local/bin/sispmctl to sispmctl.old
1064 -Copy Dir/sispmctl-3.1/src/sispmctl to /usr/local/bin
1065 -Test binary (as root) using shell wrapper $COMMON_ETC_DIR/OnOffMainsSocket02 (Printer)
1066 -Remove /usr/local/bin/sispmctl.old (A copy will be saved by FileVersions_CommonBins anyway)
1067
1068######## INSTALLED IN /usr/local. END.
1069
1070Opera
1071 Download from http://www.opera.com
1072 dpkg --install opera-stable_41.0.2353.56_amd64.deb
1073 Selecting previously unselected package opera-stable.
1074 dpkg: considering removing opera in favour of opera-stable ...
1075 dpkg: yes, will remove opera in favour of opera-stable
1076 (Reading database ... 236472 files and directories currently installed.)
1077 Preparing to unpack opera-stable_41.0.2353.56_amd64.deb ...
1078 update-alternatives: using /usr/bin/chromium-browser to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
1079 update-alternatives: using /usr/bin/chromium-browser to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
1080 Unpacking opera-stable (41.0.2353.56) ...
1081 Warning in file "/usr/share/applications/gnumeric.desktop": usage of MIME type "zz-application/zz-winassoc-xls" is discouraged ("zz-application/zz-winassoc-xls" should be replaced with "application/vnd.ms-excel")
1082 Setting up opera-stable (41.0.2353.56) ...
1083 update-alternatives: using /usr/bin/opera to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
1084 update-alternatives: warning: skip creation of /usr/share/man/man1/x-www-browser.1.gz because associated file /usr/share/man/man1/opera.1.gz (of link group x-www-browser) doesn't exist
1085 update-alternatives: using /usr/bin/opera to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
1086 update-alternatives: warning: skip creation of /usr/share/man/man1/gnome-www-browser.1.gz because associated file /usr/share/man/man1/opera.1.gz (of link group gnome-www-browser) doesn't exist
1087 Processing triggers for mime-support (3.54ubuntu1.1) ...
1088 Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
1089 Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
1090 Processing triggers for hicolor-icon-theme (0.13-1) ...
1091 Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
1092 Processing triggers for menu (2.1.46ubuntu1) ...
1093 Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
1094
1095PACKAGE COMPILATION EXAMPLE
1096 pdftohtml (Distribution version currently installed)
1097!!Kernel source must be present!
1098 pdftohtml (pdf to html converter)
1099 -Download pdftohtml-1.36.tar.gz
1100 -extract $PACKAGES_DIR/pdftohtml-1.36.tar.gz to $PACKAGES_DIR/Temp/
1101 -ln -s $LINUX_SOURCE /usr/src/linux #Current kernel source.
1102 -cd $PACKAGES_DIR/Temp/pdftohtml-0.36
1103 -Follow INSTALL instructions.
1104 make DEBUG="-g -DDEBUG_MEM"
1105 -Copy result of compilation to /usr/local/bin
1106 cp ./pdftohtml /usr/local/bin
1107 rm /usr/src/linux #Leaving link may cause problems at next kernel compilation.
1108 cd ..; rm -R $PACKAGES_DIR/Temp/pdftohtml-0.36
1109
1110PACKAGES INSTALLED BUT NOT USED
1111
1112Video H.265 codecs:
1113!!Installed but mplayer, xine, mkv-converter, subtitle editors... do not work.
1114!!Removed ppa in Mint update manager.
1115 Use Mint update manager to add ppa or (as root):
1116 apt-add-repository ppa:strukturag/libde265
1117 apt-get update
1118 Installed codecs (as root):
1119 apt-get install gstreamer0.10-libde265 gstreamer1.0-libde265
1120 Installed vlc plugin (as root):
1121
1122######################################
1123REMOVED PACKAGES.
1124
1125Monkey's audio libraries and tool (ape files).
1126# Not installed, Distro 'jmac' used instead.
1127# If installed, check if there is a newer version and install in /usr/local.
1128 Source files in $PACKAGES_DIR/mac-3.99-u4-b5-s7.tar.gz
1129 Installed:
1130 Unpack
1131 cd mac-3.99-u4-b5-s7
1132 ./configure
1133 make
1134 make install (as root)
1135
1136'autoexpect' to automate 'expect' scripts generation.
1137# Not needed as 'expect' is no longer used for $COMMON_BIN_DIR/XSu.
1138# Can be found in $COMMON_VAR_DIR/FileVersions_CommonBins/OldFiles/home/common/UserLocal/bin
1139 Installed in $USRLOCAL_DIR/bin
1140
1141######################################