Dispense
Navigation
Tips - Dritte
PmWiki
pmwiki.org
edit SideBar
|
< Migration of PMwiki to musr-nmr.unipr.it | Index | 20.04 on XPS >
- on change primary SITI,
- change pc34, also su
- change mail, now on OAUTH2, so RESTART Thunderbird, not immediate! it goes through unipr interface and Microsoft Authenticator, same for cell Thunder , renew Recupero Server (not immediate)
- change Thunderbird pwd on pc (bottom left Thunderbird Settings/Privacy/Change Primary Password) and Firefox primary (hamburger Settings/Privacy&Security ...),
- Forti on pc34 (cell asks always)
- teams on cell auto restart
- edit connection eduroam - on cell use geteduroam, on pc update from Settings - Remarkable renew Integration (cancel from leftmost three dots e start a new one)
- elly, one drive on pc34 and android browsers.
- Change also musr_n45, see HELP
- tablet, LENOVO, also pc34 WIN11 should be auto.
- boot WIN once (on unipr wifi will not recognize eduroam/UNIPR-WPA because the passwd is wrong), then change passwd on wifi according to prompts, then exit
- (THIS DOES NOT WORK ON 24.04)
sudo service cups stop , change pwd on /etc/cups/printers.conf TaskAlfa special char and sudo service cups restart , check user authenticate),
Top is recent
----------- Add below
- ALWAYS install firmware on WIN11, download from Dell, click on it from explorer. Had re-updated firmware from ubuntu on 24-03-25 as offered by snap, Mipi works, LC display works only because boot installed new UEFI, equivalent to passing thorough UEFI (mistery!). However at a second try cannot boot (stops with two lines of EFI and a blinking central light on the keyboard). All well after win11 BIOS update.
- apparently cannot boot with HDD connected to hub
- fn-ESC toggles lock on fn or audio/light/stamp/.../canc
- reflashed latest UEFI from WIN11, BitLocher is permanently removed, so directly download from Dell with the product key (self identified) and simply launch, waiting for completion.
- had previously updated firmware from linux
- attaching SSD to hub is enough to fail the hdmi recognition, see SsdBoot
- hdmi sees hdmi again after booting in Win11, which does detect HDMI. Now works also after suspend, resume in 6.5 (with no Mipi drivers). Now also works in 6.11, with Mipi and suspend.
- but after a long suspend hdmi does not come back! and touchpad misbehaves... Maybe must go through BIOS to reactivate detect. Working xrandr_output.
-
- MIPICamera: ultimate recipe, remove and install again
intel-ipu6-dkms if kernel has changed
- restore vpn forticlient, occasionally upgraded to non free version:
sudo apt remove forticlient sudo dpkg -i Downloads/forticlient_vpn_7.4.0.1636_amd64.deb
- sleep drains battery, hibernate does not work, see https://bugzilla.kernel.org/show_bug.cgi?id=215367#c2: disable Early DELL logo in BIOS, to enable deep sleep (uspend). Seems to work
- hibernate not working, following https://feriman.com/enable-hibernate-on-ubuntu-2404-easily-step-by-step-instructions ).
- moved swap to a 40GB partition compressing win 11 to 180 GB with gparted (first mount/umount /dev/nvme0n1p3 to check win is off)
- modify grub
sudo vim /etc/default/grub and to implement sudo update-grub
- Install https://extensions.gnome.org/extension/755/hibernate-status-button/ to get hibernate buttons in power applet.
- use either
sudo systemctl hibernate or applet power button hibernate. It hibernates regularly, however, it does not resume. See e.g. log/hibernate-resume.2025-02-14T00.08.log
- enabled AHCI on windows, by Restart, run (Win Key+R) => type msconfig.exe and choose => boot => safe boot. On the reboot, hit F2 or Delete and go into Bios ( before Safe Mode ) and change to AHCI/RAID as needed. Then boot into Safemode and let Win10 load the default MS drivers automatically. This nis expected to reduce battery drainage in suspend mode, but does not shopbut it does not (from 100% to 55% after 16 hours!)
sudo apt install texlive-publishers, texlive-pstrics
- sudo snap install weasis # as dicom viewer (radiografie)
- git started authenticating by ssh after correcting config to
[remote "origin"]
url = git@github.com:RDeRenzi/mujpy.git
- bring back on screen disappeared windows, select them with tab or dock, press fn alt F7, keep alt pressed and move left-right arrows
- 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
- initial steps
- battery consumption on suspend mode: followed https://nwildner.com/posts/2024-06-05-dell-laptop-suspend/ (see
/etc/systemd/sleep.conf.d/freeze.conf and HandleLidSwitch=suspend in /etc/systemd/logind.conf
- sudo apt-get install "fonts-crosextra-carlito"
- sudo apt install ttf-mscorefonts-installer -y
- sudo dpkg -i ~/Downloads/forticlient_vpn_7.4.0.1636_amd64.deb
- sudo apt-get install synaptic apt-xapian-index software-properties-gtk
- sudo apt install gedit-plugins, zoom
- sudo apt install ipython3 (see also MuSR.Mujpy)
- install jupyterlab/musrfit/missing python packages, see https://pip.pypa.io/en/stable/cli/pip_list/
- git clone mujpy (not updated), install pip3, venv, install specific packages in the venv
- git cloned musrfit OK; git cloned root-src, installed following https://root.cern/install/build_from_source/ see details in MuSR.Musrfit
- install build-essentials
- camera Intel MIPI kaput https://www.dell.com/support/kbdoc/en-sg/000225004/precision-5480-mobile-workstation-webcam-does-not-work-on-ubuntu-24-04
- logi works with snapshot
- check external monitor OK , video OK , sound OK,
- cpus 16 physical + hyperthreading (22 siblings) see
lscpu or more /proc/cpuinfo , RAM 32 MB free -m
- customized nautilus in setup + removed Music etc with
.config/user-dirs.dirs AND /etc/xdg/user-dirs.defaults (see also /etc/xdg/user-dirs.conf )
- transferred as from backup
- connected old and new pc34 at home under local network by ip addr (
ssh-gen-key and ssh-copy-id ipaddr ) and rsync -av[n] ipaddr:DIR/ ./
- find MAC ADRESSES of eth and wifi by
ip addr show
- added user
sudo adduser --allow-bad-names nome.cognome (initial nome-cognome, TODO: remove at the end; copy musr files from old 16.04 partition on old xps)
- snap install vlc, signal-desktop, root-framework (removed, missing MathMore, recompiled from git, but musrfit cmake still sees references to this snap)
- installed gedit, vim, ssh, gimp, inkscape, foticlient, texlive, git, firefox (export/import bookmarks and passwords), thunderbird add by imap,
- distro USB (ICSM) has video glitch: https://askubuntu.com/questions/1524179/screen-flickering-dell-xps-13-9340 must
sudo apt install linux-oem-24.04 WORKS! (also laptops dell 24.04 at https://ubuntu.com/certified/laptops?q=&limit=20&vendor=Dell&release=24.04%20LTS&)
- install ubuntu on main partition
- launch install, choose shrink windows [230 GB]
- install on nvme0n1 (nvme0n1p1 /boot/efi; nvme0n1p3 restricted from 999.69 GB to 231.71 GB Windoze, nvme0n1p7 for /)
- load usb key in usbc hub; choose try ubuntu; screen is not properly working
- BIOS is f2 at startup, select UEFI Toshiba ... (a description of the USB key) and bring to the top.
- disabled bitlock by Windows key+X (admin command prompt)
manage-bde -off c:
- started up WINDOWS as work (unipr)
- installato 24.04 iso su chiavetta con
sudo bash
umount /dev/sdd1
dd if=/home/roberto.derenzi/Downloads/ubuntu-24.04.1-desktop-amd64.iso bs=16k status=progress of=/dev/sdd
< Migration of PMwiki to musr-nmr.unipr.it | Index | 20.04 on XPS >
|