Microsoft Teams and Join Link problem

I’ve recently upgraded Microsft Teams to version 1.4.00.4855 (I run it on openSUSE Linux but I think this problem can be related to the rpm build and maybe even the deb) basically the external Join Invite by URL stopped working. Digging around in the browser the content-type: "msteams" it’s opened by the lanucher "/usr/bin/teams" luckily it’s a simple shell script, apparently they added some switch messing up the URL variable. ...

13 March 2021 @ 18:43 · Updated: 30 June 2026 @ 03:28 · leo

XFCE - Screen lock using LightGDM

/usr/bin/xflock4 PATH=/bin:/usr/bin export PATH # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running #for lock_cmd in \ # "xscreensaver-command -lock" \ # "gnome-screensaver-command --lock" #do # $lock_cmd >/dev/null 2>&1 && exit #done for lock_cmd in \ "dm-tool lock" do $lock_cmd >/dev/null 2>&1 && exit done # else run another access locking utility, if installed for lock_cmd in \

18 January 2014 @ 00:59 · Updated: 30 June 2026 @ 03:28 · leo

XFCE - Desktop Icons

style "xfdesktop-icon-view" { XfdesktopIconView::label-alpha = 0 XfdesktopIconView::selected-label-alpha = 170 XfdesktopIconView::ellipsize-icon-labels = 0 XfdesktopIconView::shadow-x-offset = 0 XfdesktopIconView::shadow-y-offset = 0 XfdesktopIconView::shadow-color = "#000000" XfdesktopIconView::selected-shadow-x-offset = 0 XfdesktopIconView::selected-shadow-y-offset = 0 XfdesktopIconView::selected-shadow-color = "#ffffff" XfdesktopIconVIew::cell-spacing = 6 XfdesktopIconView::cell-padding = 6 XfdesktopIconView::cell-text-width-proportion = 2.5 base[NORMAL] = "#cccccc" base[SELECTED] = "#cccccc" base[ACTIVE] = "#cccccc" fg[NORMAL] = "#ffffff" fg[SELECTED] = "#000000" fg[ACTIVE] = "#000000" } widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" [leo@thinkleo4 ~]$

18 January 2014 @ 00:57 · Updated: 30 June 2026 @ 03:28 · leo

XFCE - Dropbox

[root@thinkleo4 ~]# yum install Thunar-devel thunarx-python wget http://softwarebakery.com/maato/files/thunar-dropbox/thunar-dropbox-0.2.0.tar.bz2 [leo@thinkleo4 thunar-dropbox-0.2.0]$ ./waf configure --prefix=/usr Checking for program gcc or cc : /usr/bin/gcc Checking for program cpp : /usr/bin/cpp Checking for program ar : /usr/bin/ar Checking for program ranlib : /usr/bin/ranlib Checking for gcc : ok Checking for thunarx-2 : yes Checking for gio-2.0 : yes 'configure' finished successfully (0.230s) [leo@thinkleo4 thunar-dropbox-0.2.0]$ ./waf build Waf: Entering directory `/home/leo/Downloads/thunar-dropbox-0.2.0/build' [1/4] cc: src/dropbox-communication.c -> build/default/src/dropbox-communication_1.o [2/4] cc: src/tdp-provider.c -> build/default/src/tdp-provider_1.o [3/4] cc: src/thunar-dropbox-plugin.c -> build/default/src/thunar-dropbox-plugin_1.o [4/4] cc_link: build/default/src/dropbox-communication_1.o build/default/src/tdp-provider_1.o build/default/src/thunar-dropbox-plugin_1.o -> build/default/libthunar-dropbox.so Waf: Leaving directory `/home/leo/Downloads/thunar-dropbox-0.2.0/build' 'build' finished successfully (1.990s) [leo@thinkleo4 thunar-dropbox-0.2.0]$ sudo ./waf install Waf: Entering directory `/home/leo/Downloads/thunar-dropbox-0.2.0/build' * installing data/icons/hicolor/16x16/apps/thunar-dropbox.png as /usr/share/icons/hicolor/16x16/apps/thunar-dropbox.png * installing build/default/libthunar-dropbox.so as /usr/lib/thunarx-2/thunar-dropbox.so Waf: Leaving directory `/home/leo/Downloads/thunar-dropbox-0.2.0/build' 'install' finished successfully (0.006s) [leo@thinkleo4 thunar-dropbox-0.2.0]$ sudo mv /usr/lib/thunarx-2/thunar-dropbox.so /usr/lib64/thunarx-2/ [leo@thinkleo4 thunar-dropbox-0.2.0]$

18 January 2014 @ 00:57 · Updated: 30 June 2026 @ 03:28 · leo

Switch to XFCE

As I wrote in some previous posts I’ve replaced my old thinkpad with a new one, the deal was to find a Linux operating system with a full support of my hardware. I just tried to migrate my trusty Redhat 6, and after some rebuild I get a “well” working system. I love the legacy system you can always know where to find the things you need and generally they works more better than new one, but for desktop use sometimes is necessary something a little modern (kernel, lib, etc.). ...

18 January 2014 @ 00:56 · leo

Linux - KVM Guest LVM Disk Resize

[root@pbx01.mil1.wide-net.org ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 1779856 1553320 138068 92% / /dev/vda1 101086 40798 55069 43% /boot tmpfs 513060 0 513060 0% /dev/shm [root@pbx01.mil1.wide-net.org ~]# vgscan Reading all physical volumes. This may take a while... Found volume group "VolGroup00" using metadata type lvm2 [root@pbx01.mil1.wide-net.org ~]# fdisk /dev/vda vda vda1 vda2 [root@pbx01.mil1.wide-net.org ~]# fdisk /dev/vda Command (m for help): p Disk /dev/vda: 4219 MB, 4219469824 bytes 255 heads, 63 sectors/track, 512 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/vda1 * 1 13 104391 83 Linux /dev/vda2 14 382 2963992+ 8e Linux LVM Command (m for help): d Partition number (1-4): 2 Command (m for help): p Disk /dev/vda: 4219 MB, 4219469824 bytes 255 heads, 63 sectors/track, 512 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/vda1 * 1 13 104391 83 Linux Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (14-512, default 14): Using default value 14 Last cylinder or +size or +sizeM or +sizeK (14-512, default 512): Using default value 512 Command (m for help): p Disk /dev/vda: 4219 MB, 4219469824 bytes 255 heads, 63 sectors/track, 512 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/vda1 * 1 13 104391 83 Linux /dev/vda2 14 512 4008217+ 83 Linux Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 8e Changed system type of partition 2 to 8e (Linux LVM) Command (m for help): p Disk /dev/vda: 4219 MB, 4219469824 bytes 255 heads, 63 sectors/track, 512 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/vda1 * 1 13 104391 83 Linux /dev/vda2 14 512 4008217+ 8e Linux LVM Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. [root@pbx01.mil1.wide-net.org ~]# reboot Broadcast message from root (pts/0) (Sat Sep 15 23:36:59 2012): The system is going down for reboot NOW! [root@pbx01.mil1.wide-net.org ~]# Connection to pbx01.mil1.wide-net.org closed by remote host. Connection to pbx01.mil1.wide-net.org closed. [leo@thinkleo3 ~]$ [root@pbx01.mil1.wide-net.org ~]# pvdisplay --- Physical volume --- PV Name /dev/vda2 VG Name VolGroup00 PV Size 2.83 GB / not usable 14.52 MB Allocatable yes PE Size (KByte) 32768 Total PE 90 Free PE 26 Allocated PE 64 PV UUID 3KFfOG-kfJZ-hNtT-0vo5-Lpzk-4iMR-rMmLzH [root@pbx01.mil1.wide-net.org ~]# pvresize /dev/vda2 Physical volume "/dev/vda2" changed 1 physical volume(s) resized / 0 physical volume(s) not resized [root@pbx01.mil1.wide-net.org ~]# pvdisplay --- Physical volume --- PV Name /dev/vda2 VG Name VolGroup00 PV Size 3.82 GB / not usable 10.09 MB Allocatable yes PE Size (KByte) 32768 Total PE 122 Free PE 58 Allocated PE 64 PV UUID 3KFfOG-kfJZ-hNtT-0vo5-Lpzk-4iMR-rMmLzH [root@pbx01.mil1.wide-net.org ~]# lvdisplay --- Logical volume --- LV Name /dev/VolGroup00/LogVol00 VG Name VolGroup00 LV UUID f134eo-A1TY-mj72-g16E-oBnl-fnNM-4hULDC LV Write Access read/write LV Status available # open 1 LV Size 1.75 GB Current LE 56 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:0 --- Logical volume --- LV Name /dev/VolGroup00/LogVol01 VG Name VolGroup00 LV UUID 1gNpNl-ypNO-bj4a-Gsyb-eGnS-UcFh-Rbocfj LV Write Access read/write LV Status available # open 1 LV Size 256.00 MB Current LE 8 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:1 [root@pbx01.mil1.wide-net.org ~]# lvresize /dev/VolGroup00/LogVol00 -l +1 Extending logical volume LogVol00 to 3.59 GB Insufficient free space: 1 extents needed, but only 0 available [root@pbx01.mil1.wide-net.org ~]# resize2fs /dev/VolGroup00/LogVol00 resize2fs 1.39 (29-May-2006) Filesystem at /dev/VolGroup00/LogVol00 is mounted on /; on-line resizing required Performing an on-line resize of /dev/VolGroup00/LogVol00 to 933888 (4k) blocks. The filesystem on /dev/VolGroup00/LogVol00 is now 933888 blocks long. [root@pbx01.mil1.wide-net.org ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 3.5G 1.5G 1.8G 46% / /dev/vda1 99M 40M 54M 43% /boot tmpfs 502M 0 502M 0% /dev/shm [root@pbx01.mil1.wide-net.org ~]# reboot Broadcast message from root (pts/0) (Sat Sep 15 23:43:32 2012): The system is going down for reboot NOW! [root@pbx01.mil1.wide-net.org ~]#`

26 November 2012 @ 03:18 · Updated: 30 June 2026 @ 03:28 · leo

Lotus Domino server linux process 100% CPU usage

There was a kernel change from version 2.6.x that causes statistics to suck 100% of CPU, even though the system is lightly loaded, that cause a server crash when loading platform statistics You can disable this feature by adding this to your notes.ini and restarting the Domino server. PLATFORM\_STATISTICS\_DISABLED=1

30 April 2012 @ 23:37 · Updated: 30 June 2026 @ 03:28 · leo

OpenSSL - client connect

Memo for testing ssl/startls connection: StarTLS: [leo@thinkleo2 ~]$ openssl s_client -connect mail.wide-net.org:25 -starttls smtp CONNECTED(00000003) [...] Verify return code: 0 (ok) --- 220 srv01.mil1.wide-net.org ESMTP - Life is short talk fast! SSL: [leo@thinkleo2 ~]$ openssl s_client -connect mail.wide-net.org:465 CONNECTED(00000003) [...] Verify return code: 0 (ok) --- 220 srv01.mil1.wide-net.org ESMTP - Life is short talk fast!

2 March 2012 @ 15:22 · Updated: 30 June 2026 @ 03:28 · leo

Linux RHEL - Change hostname

3 step for change hostname to RHEL Linux: edit: /etc/hosts 127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost edit: /etc/sysconfig/network HOSTNAME=srv03.mil11.wide-net.org past into kernel new hostname echo "srv03.mil1.wide-net.org" > /proc/sys/kernel/hostname Or sysctl kernel.hostname=srv03.mil1.wide-net.org Consider a restart net services /etc/init.d/network restart but is not strictly required.

26 February 2012 @ 07:26 · Updated: 30 June 2026 @ 03:28 · leo

Stupid Ubuntu - Grub recovery on RAID

I definitely hate Ubuntu, is not linux. root@ubuntu:~# cd /mnt root@ubuntu:/mnt# mkdir md1 root@ubuntu:/mnt# mount /dev/md1 /mnt/md1/ root@ubuntu:~# mount -o bind /sys /mnt/md1/sys root@ubuntu:~# mount -o bind /dev /mnt/md1/dev root@ubuntu:~# mount -o bind /proc /mnt/md1/proc root@ubuntu:~# chroot /mnt/md1 /bin/bash root@ubuntu:~# ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 9 2012-02-05 11:00 455c4bdc-37d5-46ef-bb8b-d5b50c9e4e9a -> ../../md1 root@ubuntu:/# vim /boot/grub/grub.cfg root@ubuntu:/# update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.32-33-generic-pae Found initrd image: /boot/initrd.img-2.6.32-33-generic-pae Found linux image: /boot/vmlinuz-2.6.32-28-generic-pae Found initrd image: /boot/initrd.img-2.6.32-28-generic-pae Found memtest86+ image: /boot/memtest86+.bin done root@ubuntu:/# grub-install /dev/sda Installation finished. No error reported. root@ubuntu:/# grub-install --recheck /dev/sda Installation finished. No error reported. root@ubuntu:/# cfdisk /dev/sda

5 February 2012 @ 17:18 · Updated: 30 June 2026 @ 03:28 · leo