/srv/irclogs.ubuntu.com/2020/10/02/#lubuntu.txt

lubotChino San was added by: Chino San02:33
lubot<Chino San> Hi, i'm having problems printing libreoffice documents, i get only blank pages, or just the cell outlines on libreoffice calc, it's like text is being printed white. … Other software prints just fine, so it's not the printer driver, uninstalling and reinstalling doesn't work either. Any advice please??02:39
lubot<Chino San> I forgot, this is on 20.04.102:41
lubot<Leokolb> (Photo, 501x54) https://i.imgur.com/SGybP8f.jpg04:23
lubot<Leokolb> add those 2 lines to Environment Variables in session settings04:24
lubot<Chino San> @Leokolb [add those 2 lines to Environment Variables in session settings], Thanks man, i'll give it a try and report first thing in the morning04:26
=== lubuntu is now known as Guest99177
_017.12:01
ljb有人吗12:04
lubot<N0um3n0> @ljb [<ljb> 有人吗], 你需要什么? 这个频道是英文,电报是中文12:07
lubot<N0um3n0> what do you need?  this channel is in English, there is one in Telegram in Chinese12:09
kc2bezUnfortunately they left before you replied @N0um3n012:14
lubot<N0um3n0> Ouch... Ok.. thanks..12:15
kc2bezThey only stayed for 20 seconds :(12:15
lubot<Chino San> @Leokolb [add those 2 lines to Environment Variables in session settings], That totally worked, thanks a lot man, i was losing my mind.12:21
lubot<Leokolb> @Chino San [That totally worked, thanks a lot man, i was losing my mind.], Great..12:22
lubot<emergencyrussia> Is there any way to determine the name of a device currently being root? … like sda, mmcblock1 or nvme0n112:37
lubot<emergencyrussia> I need a device to look up in /sys/block/12:37
=== BrianG61UK__ is now known as BrianG61UK
lubot<emergencyrussia> I'm currently trying to use  … ```        ROOTFS_PART=$(eval $(lsblk -oMOUNTPOINT,PKNAME -P | grep 'MOUNTPOINT="/"'); echo $PKNAME) …         ROOTFS_DEV=$(basename "$(readlink -f "/sys/class/block/$ROOTFS_PART/..")")``` … But it fails on some emmc as these refer to /sys/devices/soc0/soc/2100000.aips-bus/2194000.usdhc/mmc_host/12:38
lubotmmc1/mmc1:0001/block , sure not proper for basename12:38
lubot<aptghetto> @emergencyrussia [Is there any way to determine the name of a device currently being root? … like sd …], Something like: `mount | awk '"/" == $3 { print $1 }'`?12:52
lubot<emergencyrussia> @aptghetto [Something like: mount | awk '"/" == $3 { print $1 }'?], Doesn't work on my both machines12:53
lubot<emergencyrussia> One displays the partition block … /dev/mmcblk1p2 … Instead of … /dev/mmcblk112:53
lubot<emergencyrussia> The other one uses lvm disk mapping12:54
lubot<aptghetto> You need the partition or the disk?12:54
lubot<emergencyrussia> it displays /dev/mapper/*12:54
lubot<emergencyrussia> @aptghetto [You need the partition or the disk?], I need the disk12:54
lubot<emergencyrussia> The idea is to determine if the system runs on ssd or hdd in a shell script12:55
lubot<emergencyrussia> I use cat /sys/block/$ROOTFS_DEV/queue/rotational12:55
lubot<emergencyrussia> The problem is that all the solutions I've found either do not work on emmc, or on nvme or on lvm12:56
lubot<emergencyrussia> lsblk suddenly fails12:58
lubot<aptghetto> Interesting problem: `rootpartition=$(mount | awk '"/" == $3 { print $1 }') … for device in $(lsblk -d -o name,rota | awk '0 == $2 { print $1 }'); … do …         if [[ "$rootpartition" =~ "/dev/$device" ]]; then …                 echo "$device is a SSD" …         fi … done`13:27
lubuntuhi13:32
=== lubuntu is now known as Guest74551
lubot<emergencyrussia> @aptghetto [Interesting problem: `rootpartition=$(mount | awk '"/" == $3 { print $1 }') … for …], Wow13:41
lubot<aptghetto> The value in rootpartition might not be the correct one13:42
lubot<emergencyrussia> @aptghetto [The value in rootpartition might not be the correct one], Yup13:45
lubot<emergencyrussia> It fails on nvme13:45
lubot<emergencyrussia> lsblk -o name,rota,mountpoint -P| grep 'MOUNTPOINT="/"'13:53
lubot<emergencyrussia> This probably works13:53
lubot<emergencyrussia> `eval $(lsblk -o name,rota,mountpoint -P| grep 'MOUNTPOINT="/"') ; echo $ROTA`13:55
lubot<emergencyrussia> This one seems to work13:55
=== pavlushka_ is now known as pavlushka
lubuntuhi14:26
=== lubuntu is now known as Guest70587
Guest70587hello14:29
Guest70587HELLO14:42
lubotINSHAOLLOX_1234 was added by: INSHAOLLOX_123415:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!