Tips
VirtualBox - shared folders under Linux guest :
Verify VirtualBox version not too much old, else update it...
( First install build-essential & kernel-headers packages. ) NO MORE NECESSARY?
Then install guest additions from VirtualBox menu (install CD image). On recent Debian12,I had to copy file to local harddisk, then run installer file from there.
Your user in the Ubuntu guest OS must be in the vboxsf group :
From a terminal, type: "sudo adduser xxxxxxxx vboxsf" (or "/usr/sbin/adduser xxxxxxxx vboxsf" after "su")
where xxxxxx is your user account name. Log out and log back into Ubuntu.You have to disconnect/reconnect your desktop session.
Auto-mounted shared folders are mounted into the "/media" directory, along with the prefix "sf_".
Windows share access (SMB or SAMBA) from very old Linux (like Mandrake 10.0 for example) on Windows10 :
- Desactivated per-default on Windows 10, you must activate it back.
- Dans "Fonctionnalités Windows", dans la liste "Support de partage de fichiers SMB 1.0/CIFS", cocher "Serveur SMB 1.0/CIFS" ! puis redémarrer Windows...
Access to serial ports for a user under Linux :
type: "sudo adduser xxxxxxxx dialout"
(xxxxxxxx = account user name)
Software to create bootable usb drives to install any Linux distributions / Windows :
https://unetbootin.github.io/
https://rufus.ie/fr/
C++Builder (Embarcadero) - mysterious apperance of "unknown heap name / LME288 errors" during link for all projects (seen with XE7 and Tokyo 10.2, on Windows 7 / 32 bits) :
* Only for XE7, set Large Address Aware flag on ilink.exe, with the lamarker tool : https://cc.embarcadero.com/Item/30459
- "lamarker -M -Filink32.exe"
* Enable the 3GB memory space at bootup on the computer :
- Run command prompt as Administrator.
- Type (without quotes) "bcdedit /set IncreaseUserVa 3072"
- Reboot computer.
Infos taken from here :
http://stackoverflow.com/questions/28929516/c-builder-xe7-lme288-error/34819111#34819111
Firefox since version 52 and applets Java no more running :
Yes, the applets can run again with the following :
In "about:config" page, create a new boolean value "plugin.load_flash_only" with the "false" value.
(or use Firefox ESR directly...)
Disable "CompatTelRunner" process (taking a lot of CPU time) on Windows 7 :
Launch "taskschd.msc"
Disable in Library -> Microsoft -> Windows -> Application Experience : "Microsoft Compatibility AppRaiser"...
GTK3 (Gnome, Mate, ...) : retrieve normal function for scrollbars when clicking on the scroll area below/above the position indicator to scroll down/up page-wise, just like the PgDwn/PgUp keys does :
Create a file "~/.config/gtk-3.0/settings.ini"
Put in it:
[Settings]
gtk-primary-button-warps-slider = false
How to Make Xfce’s Login Screen Remember My Username
Edit with mousepad text editor (in root) file "/etc/lightdm/lightdm.conf".
In the line "#greeter-hide-users=false", remove the # at start (no more a comment).
Save and restart session.
Error message at launch, after ftp transfer of exe: "Inconsistency detected by ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!"
=> set ftp binary mode transfer !!!!!
Synpaptic failed (lock...)
=> "sudo dpkg --configure -a"
Difference hour time between Windows and Linux in multi-boot on same PC :
Windows works with a RTC in local time, and Linux in UTC time...
To modify on Linux side, use command : "timedatectl set-local-rtc 1 --adjust-system-clock", ant then verify if taken into accound with "timedatectl" (RTC in local TZ).
AVR 8 bits programming with tuxgraphics.org USB programmer (http://shop.tuxgraphics.org/electronic/detail_avrusb500smd2.html) on Windows 10:
- Using avrdude 6.3 (https://www.nongnu.org/avrdude/)
- Using Zadig (https://zadig.akeo.ie/) to install libusb (just required to start exe) for "FT232R USB UART" in the list. After install, in 'device manager' remove the libusb driver assocation (+ check 'delete' !!!) to retrieve the classic COMx Windows serial port.
- Programming command example :
"avrdude -p m88pb -c stk500v2 -P COM7 -e -U flash:w:software_file.hex"