Dispense
Navigation
Tips - Dritte
PmWiki
pmwiki.org
edit SideBar
|
< 24.04 on new XPS 13 9340 | Index | 16.04 on XPS >
DIARY of UBUNTU 20.04 on XPS 9360 started on 11/2020
Start bottom, proceed to top
sudo apt instal aeskulap to view radiographies (then just click on the image file (no file spec)
- qpdf installed in
/usr/bin
- merge two files
qpdf --empty --pages cur1s.pdf cur2s.pdf -- Curioni.pdf
- extract
qpdf multipage-file.pdf --pages . 1 -- page1.pdf
- extract several
qpdf multipage-file.pdf --pages . 1-5 -- pages1-5.pdf , or 3,5,11-14@, reverse order @z-1@, last two pages r2-r1@@
- multiple source files place
qpdf file first.pdf pages=1-4 second.pdf pages=r4-r1 merged.pdf
qpdf multipage.pdf --replace-input --pages=r3-r1 overwrites with only last 3 pages
- use
--collate=i,j,k,... to take i from the first, then j from the second, then k from the third, then i from the first, etc.
- see Page selection
- Lid closed does not suspend when second screen is present see https://askubuntu.com/questions/1355031/when-laptop-lid-is-closed-the-desktop-switches-to-external-monitor-ubuntu-20-0
- EFI boot accident. The laptop switched off after moving from aula Galilei to office and restart would give "Did not find primary boot..." or similar. Suspected SSD failure, but booting a live UDB key the partitions of /dev/nvme0n1 (p1-p5) were mountable. p3 is ubuntu 18.04 and p5 is 20.04. Started BIOS and discovered that advanced booting had switched to Non EFI. Selected EFI again.
- Thunderbird auth per outolook office365 CMarchesini helpdesk 25/10/2022 dice
nella configurazione di accesso deve selezionare l'autenticazione oauth2
- Thunderbird moves mails from Inbox to Archive/yyyy: do it, but less than ~100 at a time, and not two moves in parallel. Effect must be instantaneous. Check that filed get transferred.
- battery drain in suspend mode (100%-0% in 12 hours), according to Dell use suspend to RAM instead of deep sleep (hybernate)
- to delete permanently folders from a /media/user/disk from Nautilus, do not use Move to Trash but select the folder and press Shift-Calc
- matlab license need restart with specific license for each network macaddress (both activated)
- on wifi use
mat -c /usr/local/MATLAB/R2014b/licenses/license.roberto.derenzi.ethernet.9c_b6_d0_ee_df_07.lic
- on wired use
mat -c /usr/local/MATLAB/R2014b/licenses/license.roberto.derenzi.wired.a0_ce_c8_3b_4c_79.lic
- created
~/.Xresources with xterm*font: *-fixed-*-*-*-18-* and runxrdb -merge ~/.Xresources to have 18 pt font xterm
- pulse audio settings always wrong, tried this, reverse it if not suited.
- Network and printer issues
- no forticlient at startup https://forum.fortinet.com/tm.aspx?m=188983 (to launch write forti in Activities)
- https://help.ubuntu.com/community/EnvironmentVariables and https://askubuntu.com/questions/11274/setting-up-proxy-to-ignore-all-local-addresses and//
https://forum.snapcraft.io/t/not-able-to-costomize-the-exec-field-in-desktop-file/18232
sudo apt install youtube-dl to rip from youtube https://itsfoss.com/download-youtube-linux/ (uninstalled)
- openafs bug in 1.8.4 (default on 20.04). There is a patch indicated by ENEA. Did
sudo add-apt-repository ppa:openafs/stable and sudo apt upgrade
- restarted after kernel patch, works! now (17-04-21) 5.8.0-50-generic. Wonder if the patch must be reapplied if the kernel is upgraded... We'll see
- perhaps
sudo dpkg-reconfigure openafs-modules-dkms after a new kernel [however, 27/12/21 klog yields klog: unknown RPC error (-1765328366) Unable to authenticate in realm D.PSI.CH and recompiling kernel modules does not help
- installed alien (apt), but not used.
xfce4 xfce4-goodies tightvnc , launched by vncserver , pwd in HELP, change by vncpasswd , see rest here in order to have vnc for PSI, but there is no easy way to launch through hop (not allowed to tunnel), perhaps through VNP, see mail of helpdesk@psi.ch on 16/04/21
- installed
laptop-mode-tools
- run
pkexec /usr/sbin/lmt-config-gui and set Enable module video-out (supposed to solve sleepy external monitor) (this black-magic runs automatically in sudo mode, but it does not help)
sudo systemctl disable bluetooth.service to disable by default
- installed EPSON at home (Network printer/ asked for keyring user ans pwd / strange! user was pc34 user, but password was ***2 not the newly updated one)
- to check what snap does
snap list --all , see also /snap ; compressed packages are kept in var/lib/snapd/snaps/ (with one backup previous version); snap refresh is run automatically 4 times a day.
- Virtual WIN10 machine by ASI (like PTA)
- on change primary SITI,
- change pc34, and also musr_n45
- change mail (is now on OAUTH2, so RESTART thunderbird (otherwise get blank credential window), it goes through unipr interface, K9 update Impostazioni Recupero and Invio, in both cases need to update only unipr password)
- Forti on pc34 (cell asks always) &
- tablet, LENOVO
- edit connection eduroam - on cell FORGET first, on pc upgate from settings * -(see pc, cell, remarkable, Samsung tablet),
sudo service cups stop , change pwd on /etc/cups/printers.conf TaskAlfa special char and sudo service cups restart , check user authenticate),
- firefox primary (hamburger Settings/Privacy&Security ...),
- elly, one drive on pc34 and android browsers.
- Change also musr_n45, see HELP
- Stampanti nuove
- ReMarkable: installed key, works with ssh root@10.11.99.1 from 20.04 box if connected by usb.
rmview works also
- TODO import LO templates,
- after suspend a window with authentication is required to run gvfsd-admin daemon appears. see Ubuntu gnome bug
- solutions:
Alt+Fn+F2 + "r". Alternative: sudo killall -9 gnome-shell
- install musrfit: in the end installed cmake, libboost-dev, fftw-dev, libx11-dev, libxpm-dev, libxft-dev, libxext-dev, libgsl-dev [g++ gcc libgsl23 dpkg-dev binutils openssl libpng-dev are default] libssl-dev libxml2 libxml++2.6-dev hdf4-tool hdf5-tool libmxml-dev nexus-tools qt5-default libqt5svg5-dev libfftw3-dev
- root: clone githuhb root master (6-23-01), only difference
make --build ./ --clean-first -j4 , for 4 CPUs (lscpu ); (see README.install in ~/musrfit/)
- policy for generating NEW RDR tree
- closed Thunderbird, copied .thunderbird/, restarted Thunderbird, everything sync-ed
- changed uid and gid of myself to coincide with 16.04. Start copying and reorganizing folders. When finished start new cron with rsync to new Toshiba backp
- remove Music Documents etc: edit .config/user-dirs.dirs, change as XDG_VIDEOS_DIR="$HOME" all unwanted locs, save and exec commend
xdg-user-dirs-gtk-update
- LO: snap is not recommended because snap cannot access /tmp. Reinstalled LO 6.4 with apt
- removed LO 6.4.1 with synaptic Editor and installed 7.0.2 with sudo snap install libreoffice
sudo snap install zoom-client
sudo snap install scrcpy
- OBS:
sudo snap install obs-studio
- standard 20.04 misses many fundamental or useful packages
- synaptic # to quickly install the following
- texlive, including pstricks texlive-publishers (revtex) texlive-publishers-doc
- inkscape
- gimp
- update Dell firmware (BIOS)
sudo service fwupd start
sudo fwupdmgr refresh
sudo fwupdmgr update # pc must be connected to power cord
- remove autostartup skype TEAMS: Activities / Startup Applications untick
- installed skypeforlinux teams dropbox
- git clone rmview, pip3 install .
sudo apt upgrade (update just gets newest list, upgrade actually replaces packages)
- try out mujpy
- complete python3
- install git
- matlab 2014b installed does not need eth0, mulab copied from toolbox/local works
- installed net-tools (to get ifconfig). Can also use
ip -c address show
- installed Forti VPN donloaded from https://wiki.asi.unipr.it/dokuwiki/lib/exe/fetch.php?media=guide_utente:internet:forticlientsslvpn_linux_4.4.2332_1_.tar.gz
- linked /usr/bin/forticlient to VPNPARMA
- installed openAFS-krb5
- copy /etc/krb5.conf
systemctl enable openafs-client.service
systemctl status openafs-client.service to check
systemctl restart openafs-client
klog derenzi to autenticate, alias of klog.krb5, before 04_21 (fix openafs kernel bug) only klog.krb5 derenzi worked
- installed openssh
- backup on Seagate
- started 16.04 on 1TB, no problem (worked for a few weeks)
- Antonio replaced 1TB inside XPS and 256 GB in enclosure
- replicated 16.04 on new 1TB SSD in external case, mounted as /dev/sda, copying the entire /dev/nvme0n1 to the root /dev/sda as follows
- sudo dd if=/dev/nvme0n1 of=/dev/sda** bs=4096 conv=notrunc,noerror
- start Ubuntu 20.04 live [BIOS key is F2; should work directly but USE right USB, not left one!]. Unmount both old mountpoint ubuntu (\dev\nvme0n1) and new disk (\dev\sda)
- created Ubuntu 20.04 live bootable USB key with Startup Disk Creator (does not finish, but key is fine)
- inserted Samsung 970 EVO NVMe M.2 V-NAND SSD 1Tb in ORICO NVME M.s SSD enclosure
< 24.04 on new XPS 13 9340 | Index | 16.04 on XPS >
|