=== wow is now known as tho [00:58] Hey [00:58] Does anyone know how to run .cmd files with wine? [00:58] I thought, it would work using wineconsole. [00:59] But when I enter the name of the .cmd file, nothing is displayed - except for a new prompt line. [00:59] IlGiocatore_ubun: what is a .cmd file? [01:00] Something like a .bat file, I guess. [01:00] Windows Batch files, if I'm right. [01:01] Something like Windows shell scripts. [01:01] No, .cmd files are not suimple bat scripts, better ask in #winehq [01:01] I did asked there, but nobody has answered yet so I thought maybe someone in here knows it too. :) [01:01] definitely ask there as I am not even sure if those _should_ run [01:02] Maybe I should look up the difference between .bat and .cmd. === kostkon_ is now known as kostkon [01:45] any good 5g hotspot with port forwarding? [01:59] How do I know if file transfer really completed? The "Moved 893,483 files to 'LG external drive' pop up still persists. I'm not sure if I can remove the drive now [02:00] Run a checksum on the file and confirm it is the same as the original. [02:00] backthen: with the command "sync" you force to write stuff to the disk, when all data is written, the command completes. after that I just make sure another time that really everything is written by reissuing the command [02:01] backthen: you could try 'lsof' in a terminal, to see if the files are open or not; you could collect an md5sum run over the entire source directory and verify that on the destination directory [02:03] ok I'll have to learn those commands. How come Ubuntu doesn't give some visual feedback? Around the file explorer's address bar, there is still a circle (filled) to indicate some writing operation is/was going on. [02:07] backthen: That would (likely) be a bug in Nautilus / Gnome Files, I think (or maybe some of the UI libraries it uses). You could check their bug tracker to see whether soemone already filed it and if so, what the status of fixing this is. [02:08] sync? [02:08] Maybe I can try unmount this external drive? Presumably if everything completed, the unmount would succeed [02:09] if you eject in nautilus, it will send a sync command, before it actually ejects [02:11] ok. Yes in nautilus. Nautilus's eject button is labeled 'unmount' if you mouse over. But I guess underneath, if I press it, it'll issue a sync before really unmount [02:12] I installed nvidia drivers and even tho it runs better it still runs with some lags like there will always be slight freezes sometimes [02:15] marcopolo1_: did you make sure that the nvidia driver is in use, not the foss driver? [02:21] murmel: yeah i did, in additional drivers it says nvidia 515 [02:21] The game runs fine but like it isnt really playable [02:22] On windows it runned better === chris15 is now known as chris14 [02:27] marcopolo1_: sorry, don't know too much about how to verify that nvidia runs well. never had a nvidia gpu [02:46] " the game" [03:52] rx2t56j [04:32] hi folks [04:32] my desktop is gnome shell. [04:33] Not sure what happened, but my desktop icons, normally (always, forever) would be on the left side. But they've disappeared. They show up when I click on Activities. I've looked at Settings, but can't figure out what to do to get them back. thanks for helping. [04:38] johnfg: https://linuxhint.com/hide-dock-in-ubuntu/ [04:46] toddc: Thanks. For some reason, the Settings/Appearance didn't work/change things back. However, using the cli worked. I appreciate the help. [04:51] hi ubunters, my desktop takes a long time to show the login and let me back in after screens are locked. It litterally takes at least 30 seconds . Is there anything I can check to improve this? [05:18] dmesg [05:23] I have a partition I want to resize, before I make backups of partitions with DD to another drive, obviously as files like so :  dd if=/dev/sda1 /external_disk/sda1.img; and then I boot the machine with some livecd image, resize the partitions AND THEN restore the fs with my previous backup files: dd if=/external_disk/sda1.img of=/dev/sda1, and in [05:23] the same vein with other partitions. Now, I know that ext4 uses inodes to keep its structure, and they are logical but underneath it uses device blocks, and if the blocks change, (and with partitions being resized they will change), will this eff up my fs? [05:26] what I want is actually a certain partition smaller, and the next one to assume its space [05:34] If you have backups boot https://gparted.org/livecd.php [05:34] Make your changes and be happy === wolfdale837 is now known as wolfdale83 === cedric is now known as Guest1870 === diskin is now known as Guest4873 === diskin_ is now known as diskin [07:16] is there a way I can get my grid of images to be more than one inch high (in files) I used to be able to doom in to actually see what's in the screenshots. This is unworkable. [07:20] ask your distrib channel #ubuntu #mint whatever, or try anothe filemanager, like thunar or gnome/xfce pcman-fs === yCrazyEdd is now known as CrazyEddy === jfelici is now known as evaluator === SteelRose_ is now known as SteelRose [08:41] hi, what do i need to do to clean up the snaps on my system to the absolute minimum before the system starts breaking? it's taking up gigabytes of space which i don't have [08:41] using 22.04 LTS [08:42] (which started somwehere around 14.04 LTS and updated/upgraded since) [08:43] after i removed all the non-current snaps, it still uses 6.3G at /snap/ and 3G at /var/lib/snapd/ . needless to say that i did not request to install any of them. [08:45] for reference, this is what snap list --all shows: https://0x0.st/odNK.txt [08:46] (why do i need 5 gnome versions?!) [08:46] (and i don't even use gnome...) [08:49] You can completely remove snap without the system breaking, if you wish: https://ltsp.org/guides/snap/ [08:53] alkisg: thanks. how do i know which functionality goes away by removing each snap? the only one i can be sure of is "firefox" (which i actually want to keep, though i'd prefer non-snap instead if possible) [08:54] avih: yeh the link installs the non-snap firefox version, from the mozillateam ppa. I don't know about the other snaps, I uninstall it myself as it doesn't work at all in my use cases [08:54] alkisg: but how do i know what would break by removing them? [08:54] firefox is just one. i have more than a dozen snaps installed... [08:55] You'd read the package description, but as I said I'm not using snap so I can't help with "where to find it". Wait for others to answer that part if you wish. I do know nothing broke for me in all flavors when I uninstalled snap. [08:56] so basically, you're saying "if you want to remove all snaps, this is how. but i don't know what things will stop working for you" ? [08:57] Yup, and additionally "in a default installation, when removing snap, nothing breaks for me". [08:57] right [08:58] well, i need to know what stops working before i do that... [09:01] And that's the "wait for others" or "read the package description" part that I mentioned. I didn't claim that I had a fully documented answer for all your questions, I just wanted to mention a relevant idea. [09:03] yup, appreciated. [09:04] so how do i find what depends on which snap? (including inter-snaps?) [09:05] e.g. of the seemingly 5 versions of gnome here, what stops working if i remove the first (gnome-3-26-1604) ? [09:05] (should i be worried that i seem to have 16.04 snaps?) [09:06] (never looked at it closely before, till apt told me it can't update because it ran out of disk space...) [09:06] again, for reference, snap list --all prints this https://0x0.st/odNK.txt [09:30] alkisg: if i understand correctly, that script does these: 1. remove mate stuff if needed (which i don't have). 2. replace firefox snap with firefox from mozilla PPA. 3. remove snapd. 4. symlink the new firefox to the snap location. right? do you know if i can remove all snaps except firefix and expect it to work? (i _think_ i only care about firefox, but not sure...) [09:32] avih: I think firefox snap depends on the core, themes, portal, hunspell etc snaps to function properly [09:32] thx [09:33] are there dependencies of stuff outside snaps on snaps? e.g. do some apt packages depend on some snap packages? [09:34] avih: if you give us a list of all snaps you have installed, we could even help you better ;) [09:34] no [09:35] murmel: i've installed none that i know of, and yet snap list --all prints this https://0x0.st/odNK.txt [09:35] (that's after i removed all the non current ones. this system started and upgraded since 14.04 LTS and currently at 20.04 LTS) [09:36] sorry, currently 22.04 LTS [09:37] avih: k, so the things you could be interested in are snap-store, firefox and gnome-system-monitor which means, you need to install the ppa firefox, and apt packages called gnome-software and gnome-system-monitor ;) [09:37] murmel: i don't use gnome (i still use the old unity, and if needed, i also have xfce installed) [09:38] also, define "you could be interested in"? [09:38] okay, so afaik you still want those, but not sure, as gnome-system-monitor should be also used in unity [09:38] (i mostly use this system headless though) [09:38] avih: that are the actual software you installed, the rest are dependencies [09:39] not sure i understand [09:39] i don't recall, but i think firefox was installed with the system without me installing it explicitly via apt? (but that was years ago) [09:40] avih: firefox was moved from a deb package to snap with the move to 22.04 [09:40] so what does this mean? " the actual software you installed" [09:41] avih: the software which is "front facing", which means that is software which you interact with, which you maybe use [09:41] idk how to explain it otherwise [09:41] i didn't install gnome that i recall, and same for firefox (i don't care about gnome, but i do about firefox) [09:42] you mean "the things i want to keep" ? [09:42] avih: well what specifically "gnome" are you reffering to? (the gnome snaps) or gnome-system-monitor? [09:42] avih: the thing you "may" want to keep [09:42] idk if you want to keep firefox for example. (I mean I know you want, but still) [09:42] it's something you maybe don't want [09:42] as you use chromium or whatever [09:43] well, my first issue is that i have this list of snaps installed, not by me, and i want to remove as much as possible, but i don't know exactly what each name refers to (Except probably firefox), and i don't know what depends on what [09:44] so as I already said, the software which is installed are these 3 (firefox, gnome-system-monitor, snap-store) the rest are just dependencies so these softwares can run [09:45] snap store is a front-end for deb repositories and snap packages, gnome-system-monitor is a system monitoring tool (duh) and firefox is firefox [09:46] of the things on this list https://0x0.st/odNK.txt i know prefer to keep using firefox (possibly from elsewhere, like mozilla ppa), i don't use gnome desktop, i don't think i use gnome system monitor, i don't know whet depends for instance on "gtk-common-themes" (only other snaps? or also non-snap gtk stuff?) [09:46] what is gnome-system-monitor? [09:46] avih: as I said above, unity uses gnome-system-monitor [09:46] and what is snap-store? [09:46] as it's monitoring tool [09:46] oh [09:46] like task manager of sorts? [09:46] yes [09:46] i.e. a user gui tool? [09:47] yes [09:47] right, i don't need it [09:47] and gtk-common-themes are themes, so the software can give you a correct window with information on it, so a dependency [09:47] of what? only of other snaps? or also of non-snap packages, like xfce? [09:48] everything in snaps is only for snaps [09:48] hmm [09:48] that's why you can purge snapd, and nothing is broken [09:48] so if i have xfce, it does not depend on anything in snaps, yes? [09:48] even unity [09:49] so basically i'd lose firefox (and gnome desktop, and gnome-system-monitor), and that's about it, yes? [09:49] you don't lose gnome desktop, as that's not installed [09:49] oh? [09:49] what's called gnome, is the toolkit [09:50] so that the windows of software can be shown to you on the screen [09:50] hmm.. why do i have 5 of them? [09:50] i though that's gtk? [09:50] gnome-3-26-1604 3.26.0.20210629 104 latest/stable/… canonical** - [09:50] gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 161 latest/stable canonical** - [09:50] gnome-3-34-1804 0+git.3556cb3 77 latest/stable canonical** - [09:50] gnome-3-38-2004 0+git.6f39565 119 latest/stable canonical** - [09:50] gnome-42-2204 0+git.c271a86 44 latest/stable canonical** - [09:50] dont spam ;) [09:50] give it a min, then you are unmuted [09:51] but yes, that's gtk, in the snap world, they are called gnome [09:51] testing... [09:52] you are back [09:52] thx [09:52] so why do i have 5 of those? does firefox need them all? [09:53] and i have 4 cores... [09:53] avih: no, but the gnome-3-26-1604 is for example an old residue from your 16.04 days [09:53] why is it not removed automatically the same way it was added automatically? [09:54] and how do i know what breaks if i remove it now? [09:54] avih: no idea, I assume nobody implemented a way to remove old stuff (which are not disabled) [09:54] snapd will complain that it's needed [09:54] for example you can't remove core as of right now [09:55] you nean if some other snap depends on it, then i wouldn't be able to remove it? [09:55] but you should be able to remove core18 afaik [09:55] yes [09:55] avih: same with apt and deb packages [09:55] how do i list which snaps depends on which others? [09:55] you can't [09:55] huh [09:56] avih: can you give me the output of "snap list --all | nc termbin.com 9999" [09:56] so the only way to test whether snap X depends on snap Y is to remove Y and if it complains then something depends on Y? [09:56] https://0x0.st/odNK.txt [09:56] yeah, or you know a little bit about packaging (and your software which is installed with snap) [09:56] (5th time, that's the output of snap list --all) [09:57] avih: so you have no disabled snaps? [09:57] not anymore [09:57] that's why I was thinking that you didn't put the --all in it [09:57] oh [09:57] yeah, i removed them. [09:58] to quote one of my initial comments: after i removed all the non-current snaps, it still uses 6.3G at /snap/ and 3G at /var/lib/snapd/ . needless to say that i did not request to install any of them. [09:58] (i guess i meant "non disabled") [09:59] avih: I mean the easiest is really debate if you need gnome-system-monitor and snap-store, backup the firefox data directory and purge snapd if you have that of an disk space issue [09:59] i don't need the gnome task-manager-ish, and i don't know what snap-store is [09:59] avih: type snap-store as a command and see ;) [10:00] if you like it or not [10:00] oh, it's a gui thing i see. i'm connected remotely, it refuses to open [10:00] "No manual entry for snap-store" [10:01] so what is it? some gui store thing to choose what snaps to install? if yes, i don't care about it [10:01] yeah, but I assume you ever heard of gnome-software (it's a software which lets you "shop" around to install software) [10:01] it's not only snaps, but also deb packages [10:02] i think i've heard of gnome-software, but i do all my installs either via apt or i build things myself. i don't use any gui installer [10:02] or store [10:02] maybe i used aptitude once or twice years ago, but i don't care about gui stores [10:03] which means the only software _is_ firefox, just make sure you backup ~/snap/firefox/common/.mozilla as that's your firefox profile [10:03] oh, it was moved there from ~/.firefox/ (or whatever it was before)? [10:03] (on the other hand if you remove snapd, it doesn't remove stuff from ~) [10:04] yes [10:04] it was ~/.mozilla [10:04] can i try to keep only firefox and its deps first? how do i do that? [10:04] right, previously ~/.mozilla [10:05] try to remove everything which isn't firefox? :) [10:05] you can but not 100% sure which are needed for firefox (but as I said, snapd will complain if it's needed) [10:05] (seriously? no way to tell which snaps firefox depends on?) [10:05] I do know core and core20 should be nonremovable [10:06] I assume it's core20, firefox, gnome-43-2204, gtk-common-themes [10:06] ah and bare [10:06] but remember core is not removable (even with nothing depending on it :S) [10:08] hmm.. so i removed gnome-system-monitor, it told me it "disconnects" it from some things (why does it overwrite the line as it works so i can't have the list?!), and i ended up with ~zero space freed [10:08] avih: probably because gnome-system-monitor is a snap which is very very small [10:08] just think about it, the gtk dependencies are in a different snap, which means the snap is maybe 5 megs? [10:09] nuala: wait, wouldn't it remove the deps too if nothing depends on it? [10:09] no [10:09] murmel: ^ sorrt [10:09] y [10:09] si*t [10:09] additionally, did you --purge? [10:09] h [10:09] no [10:10] that's why it keeps the snap file [10:10] just sudo snap remove gnome-sys.... [10:10] it does? [10:10] remove --purge gnome- [10:10] $ sudo snap remove --purge gnome-system-monitor [10:10] snap "gnome-system-monitor" is not installed [10:11] obvious, you removed it ;) [10:11] the snaps are stored in /var/lib/snapd/snaps [10:11] so? did it remove the file or not? [10:11] no as I said, to also remove the file, you need to use the --purge switch [10:12] ok, but now after i removed it without --purge, what can i do to also remove the file? [10:12] what do you think if i gave you the directory where the snaps are stored [10:12] i.e. how do i unf(ck it? [10:12] !language [10:12] Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList [10:12] i don't understand the question [10:12] it doesn't help when you "censor" it [10:13] right. unimportant i didn't understand your question [10:13] avih: make sure the file is not in that directory? otherwise delete it [10:13] which dir? /snap/ ? [10:14] read what I type? [10:14] man [10:14] ok, sec [10:15] right the snaps are stored in /var/lib/snapd/snaps [10:15] yes [10:16] i don't see it there https://0x0.st/odN0.txt [10:16] oh, interesting. I thought the snap was being kept, seems like it doesn't [10:18] ok, so back to "how to i remove verything except firefox and its deps". should i just try to remove all of them except firefox until nothing get removed anymore? [10:18] yes [10:19] but also, if that's where the snaps are, and it's ~3G for me, what's at /snaps/ ? (which is ~6.5G for me) [10:19] test [10:19] ig21: loud and clear [10:20] murmel: so what's at /snaps/ ? [10:20] /snap/ [10:22] oh, wait, so the /var/lib thing is the "source" package, and /snap/ is where it's extracted or some such? [10:22] yes [10:28] murmel: so, i ran this few times till it removed no more: (for s in $(snap list --all | tail -n +2 | awk '{print $1}'); do [ "$s" = firefox ] || sudo snap remove --purge "$s"; done) [10:29] snap list --all now prints: https://0x0.st/odNn.txt [10:29] and firefox seems broken [10:29] what is broken? [10:29] first error of several: firefox [10:29] update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/cups/doc-root /usr/share/cups/doc-root none bind,ro 0 0): cannot create directory "/usr/share/cups/doc-root": permission denied [10:30] iirc you said firefox depends on some gnome packages, right? but all of them now seem removed [10:30] snap seemingly didn't prevent me from removing all the gnome-* ones [10:31] yeah, I am baffled honestly [10:31] i'm lest only with core, core20, and firefox [10:31] left* [10:32] interestingly enough, it complains about cups oO [10:33] avih: as I said I'm not using snap, but here's another idea, maybe if you remove firefox snap now, and reinstall firefox snap, it will pull the dependencies it's missing [10:33] there are more, https://0x0.st/odNR.txt [10:34] yeah, so you can reinstall firefox to get the dependencies back or go full non-snap system [10:34] alkisg: yeah, i'm sure it's possible from the ppa, but i was attempting to remove all snaps except firefox and its deps [10:34] avih: "reinstall firefox snap". Not deb. [10:35] I.e. maybe the purging/removing dependencies code isn't very mature, but I doubt that the snap install firefox code wouldn't pull the missing snap dependencies [10:35] alkisg: it could fix it, but so far i've not yet started to think how to fix it. just trying to understand how it got broken [10:36] yes, i imagine it might [10:36] hope you can find the issue, I'm out [10:36] Eh, apt has almost 3 decades on its back, I'm sure you can find a lot of cases where snap isn't as mature :) [10:36] however, the worrying thins is that removing all those packages freed about only about 1.5G [10:36] of disk space [10:36] Are you counting the loopback mounts on /snap, or the source size in /lib? [10:37] df -hs [10:37] df -sh /lib or /snap? [10:37] sorry, df -h [10:37] just df -h [10:38] What's the output? [10:38] https://0x0.st/odN7.txt [10:38] Files in use will be freed after they're not in use anymore [10:39] Not sure if snap behaves properly in that regard [10:39] so /dev/sda1 has ~1.7G free and after all packages were removed and purged except 3, it has 3,2G free [10:39] Try rebooting, if you measure just the df and not the du -sh /lib... [10:39] it had 1.7G free, now it has 3.2G free [10:39] yeah, will try [10:40] Also, what's the output of this? sudo du -sh /var/* /usr/* /lib/* | sort -h | nc termbin.com 9999 [10:41] fwiw, it behaved as if "snap won't let it remove it if things depends on it" is 100% incorrect [10:42] sec, still rebooting [10:42] i think unity broke too [10:42] i don't get a desktop anymore [10:43] Did you reinstall the missing dependencies? [10:43] define "missing" [10:43] The ones that you uninstalled and made firefox complain [10:43] i tried to remove all snaps except firefox till nothing more got removed [10:43] no, i rebooted after you said the free space might show up after reboot [10:44] OK, login to vt2 then and reinstall the missing snaps [10:44] i'll ssh into it [10:44] df -h still shows 3.2G free on /dev/sda1 [10:45] For the disk usage issue, the command I mentioned above will help ^ [10:45] i'm trying to find it :) [10:45] sudo du -sh /var/* /usr/* /lib/* | sort -h | nc termbin.com 9999 [10:46] (still running) [10:46] yeah, unity desktop definitely ot broken [10:46] got* [10:46] Ah, termbin might stop processing when it takes a long time [10:47] alkisg: https://0x0.st/odqi.txt [10:47] You'd better do it in two steps: sudo du -sh /var/* /usr/* /lib/* | sort -h > /tmp/disk.log; cat /tmp/disk.log | nc termbin.com 9999 [10:47] i didn't pipe to termbin [10:47] 8.7M /var/snap [10:47] So snap is fine, and the bigger parts are 4.6G /var/log and 5.4G /usr/lib [10:47] yes, but the snaps are at /var/lib/snapd, no? [10:48] Not sure, try du -sh /var/lib/* | sort -h then [10:48] 1.4G /var/lib/snapd [10:48] not terrible [10:49] good morning, I need help [10:49] and /snap/ is 1. [10:49] 1.2G [10:49] That's a loop-mount, it doesn't count [10:50] so overall 3G instead of ~10G used by snaps, but df -h still shows 3.2G free, and it should have been ~7.7G free (6G freed by snaps) [10:50] hmm [10:51] What did you measure to see that snap was using 10G? [10:51] Judging from the snaps you had installed, I wouldn't have expected 10G [10:51] as i said, /var/lib/snapd/ was 3G, and /snap was 6.5G (but you now say it doesn't count) [10:52] Right, so from 3G you freed 1.5G [10:52] this is ****** up [10:53] so firefox got broken, unity got broken, non-snap things (unity) do depend on snaps, and and snap doesn't refuse to remove snaps which other things depends on [10:53] basically, the cake is a lie [10:54] Eh, I decided to remove snap ages ago, no need to preach at me :D [10:54] even if i install the firefox snap, surely it won't restore things which unity depends on [10:54] excepy by pure luck [10:54] I don't think unity depends on snap, but a broken snap can affect things [10:55] So you can either reinstall the dependencies and fix it, or remove it so that it doesn't affect the rest of the programs [10:55] well, unity worked, and after i removed some snaps it doesn't work. [10:55] Yeh, firefox too [10:55] Dependencies do that, removing them breaks things not only in the snap world [10:56] Don't think that snap is completely isolated and that its breakage won't affect apt [10:56] well, i got pretty straight up replies "non snap things don't depend on snap" [10:56] which was wrong, at least in some ways. ffs. [10:57] I never said that :) [10:57] i didn't say you did :) [10:57] But in any caseit should be easy to reinstall your missing snaps and restore what you had [10:57] some other people [10:57] (which did try to help, my fault for not cross checking their suggestions) [10:58] If you didn't keep your initial list, it's still there: https://0x0.st/odNK.txt [10:58] i do have the link [10:58] but i doubt reinstalling all of them would fix the broken things [10:59] the "snap remove $whatever" prints that it "disconnects" the removed snap from things, and i doubt it will "reconnect" them upon install [10:59] AFAIK it does [11:00] the other issue is that it used terminal escape sequences to rewrite the same line, so even the terminal scrollback doesn't have the list it disconnected from [11:00] snaps declare connection points and mounts and whatever they call them in their description [11:01] anyway, forgetting firefox for now, my current problem is to get a desktop. it was set to auto-login without a greeter, and now it fails to start unity, and i'm not sure how to make it show the greeter [11:01] i do have xfce4 installed [11:02] (i don't know if it would work, but it exists. greeter would be a good start) [11:02] Without knowing the snap internals, my experience with it is that removing SOME snaps make the DE fail. So either reinstall the deps, or remove snap. [11:03] how do i change the greeter config from cli to start xfce4 instead of unity? [11:03] i believe it's the default one (gdm?) [11:04] There's a lightdm.conf entry for this, I think it's user-session=xfce, or you can temporarily move aside /usr/share/xsessions/*.desktop and leave only the one you want [11:04] great, and now i get a message from the not-started unity that "desktop will suspend soon due to inactivity" [11:04] systemctl stop lightdm will kill it :D [11:09] alkisg: so i moved all of them elsewhere except xfce4.desktop, killed lightdm, started it, it showed the login dialog, username is correct, i entered the password, and it "fails to start session" [11:10] this is like bad bad [11:10] i can still use it remotely, which is my main use case anyway, but the desktops seems just broken, which sucks [11:12] i'm a fool to believe advice so quickly,, and murmel should not have talked so confidently with their advice if they're not 100% sure it's actually true. [11:16] for posterity: "snap remove foo" WILL remove foo even if other snap depend on it, and removing some snaps can break non-snap packages, like xfce4 refusing to start [11:19] alkisg: how come the space at /snap doesn't count? is it ramdrive? or some virtual things which maps into /var/lib/snapd like "zip folders" used to do on windows? [11:20] is it possible to restart a VPN connection (not stop and start it)? [11:23] i hope to enable BBR in ubuntu 20.04, i see the parameter configure is " net.ipv4.tcp_congestion_control=bbr", but my traffic is IPv6, how to enable IPV6 bbr ? [11:26] avih, /snap is just mount points, there is no actual data in it [11:27] ogra: of what? [11:27] avih, snaps are compressed, gpg signed read-only filesystem images that only get loop mounted (imagine a CDrom iso) but never unpacked ... the acual space they occupy is in /var/lib/snapd/snaps [11:28] right, so it's a virtual mount which is passthrough to extracted data from /var/lib/snapd ? [11:28] what you see in /snap is just a representation of what the upacked content would be, but it is nevr actually unpacked [11:28] right, thanks [11:28] there is no extracted data [11:28] i understand [11:28] it's fetched on demand [11:28] (well, there is, but only at runtime in ram ... for the bits actually needed by a binary) [11:29] right [11:29] i understand, yes [11:29] snaps are generally way smaller than th equivalent of binary data in debs [11:30] (and are 100% tinker proof thanks to being readonly and signed) [11:30] ok, anyway, after i removed everything i could except "firefox", lightdm fails to start a session. i do have xfce4 installed for instance, and if i run it via remote x then it starts, but in lightdm it shows "failed to start session" [11:30] everything = snaps [11:31] well, there is nothing except the snapd package that hoks into your session ... and given you still have the firefox snap, the snap daemon will/should LSO BE STILL THERE [11:31] OOPS [11:31] lightdm does show the greeter, and i can enter password and choose a DE, but it shows a blank screen instead of starting the DE [11:32] sorry, rogue capslock [11:32] thats very unlikely to be related to any snap removals [11:32] well, it did work before k remove the snaps... [11:32] i* [11:33] what exactly did you remove ... [11:33] 1st i removed all disabled snaps, which resulted in snap list --all printing this: https://0x0.st/odN0.txt [11:33] "snap list" should still show snapd, core20 and firefox [11:34] looks like you removed the snapd snap [11:34] then i followed an ill advice that to keep only firefox, i can try to remove everything except firefox and snap will refuse to remove deps of firefox. i ended up with this https://0x0.st/odNn.txt [11:35] well, this is true if you properly use "snap remove" ... [11:36] not sure what "properly" means, but i did this: (for s in $(snap list --all | tail -n +2 | awk '{print $1}'); do [ "$s" = firefox ] || sudo snap remove --purge "$s"; done) [11:36] i ran this few times till nothing more got removed, and i was left with core, core20, and firefox [11:36] well, try removing and then installing the firefox snap ... it should pull the missing bits back in [11:37] won't i lose the firefox profile if i remove it? [11:37] also, probably a "snap install snapd" first [11:38] you can use snaps backup feature and make a snapshot ... (though first re-install the snapd snap ... then take a look at "snap help save") [11:39] later you can restore the snapshot with "snap restore" (see: snap help restore) [11:39] that will back up your profile (and all other data of the package) and restore it properly [11:41] in general it helps to take a deeper look at "snap help" to familiarize with the features snaps give you [11:41] ogra: thanks. so installing snapd (how is it allowed to be removed?!) seem to improve things. desktop seem to start now. sec. still checking things [11:41] good [11:47] ogra: do you happen to know in lightdm, if the list is too long and the screen (Resolution) too small, how to view what's below the bottom of the screen at the list of DEs ? [11:47] no idea, sorry, has been ages since i used lightdm last (6y or so) [11:47] the list seem to start always at the middle of the screen, with pretty big font, and it doesn't seem to scroll [11:48] k, thx. i think it did solve the "no desktop" issue. xfce logs in after start. now i'm trying to choose unity, but the list is too long and i can't choose it at the lightdm greeter [11:48] (installing snapd solved the desktop issue) [11:49] wow, the list of desktop sessions is too long ? [11:49] have you considered removing a few sessions ? [11:50] i installed few of my own (xfce, fvwn), but many got there on their own (gnome, gnome-wayland, unity because i used it, and more) [11:51] at least half the list are some variants of gnome [11:51] (this system started as 14.04 LTS, and upgraded over the years, now it's 22.04 LTS) [11:52] the gnome variants show up at the lightdm list even without a respective *.desktop file at /usr/share/xsessions/ [11:56] On ubuntu 22.04 with gnome wayland xdotool obviously doesn't work, but neither does wtype (because mutter doesn't support the virtual keyboard protocol) nor ydotool [11:56] are there any other alternatives for typing something? [12:05] i use xte for simulating keypresses but its probably not useful under wayland [12:12] ogra: is it possible to check what are the dependencies of snap X, and what breaks (system wide) if i remove snap Y? (independent questions) [12:13] the earlier replies i got were "impossible" and "nothing", respectively. [12:14] (well, nothing breaks, except obviously the removed snap itself) [12:14] avih, snap connections show you what an installed snap uses ... [12:14] obviously "snap help connections" for more info [12:15] so i presumes this will answer the first question? or both? [12:16] if you look at the "slot" column you can see the sname of a snap that provides a certain slot (if it is not provided by the system itself) [12:16] fwiw, i did run snap connections before i started removing things. i got this https://0x0.st/odqV.txt [12:16] *name [12:17] well, that lists *all* existing connections of everything [12:17] you mean even of snaps which i don't have installed? [12:17] you want to look only at single snaps [12:17] snap connections firefox [12:17] well, i can't do that now, because most of them are now removed :) [12:17] (like snap help connections eplains) [12:17] +x [12:18] but anyway, does this also answer what breaks system wide (also non snap) if i remove snap Y? [12:18] nothing breaks system wide [12:18] snaps are completely independent from the OS [12:19] (they run on top of their own minimal rootfs (the core* snaps)) [12:19] sure, except lightdm, which is not a snap, was not able to start any desktop until i installed snapd [12:19] so something definitely did break [12:19] because you removed the snap system itself by removing snapd [12:20] thats like rm'ing parts of our apt installation [12:20] *your [12:20] so the answer is "except for the "snapd" snap, all other snaps can be removed safely without breaking non-snap systems" ? [12:20] right, and usually removing the snapd *deb* will also cleanly remove all snaps [12:21] if you remove snapd but keep i.e. snapd-desktop-integration around, things can fall apart [12:21] because you removed only parts of the system [12:21] why doesn't "snap remove snapd" complains or requires special force flag if it's known to be able to break non-snap things? [12:21] dunno, file a bug [12:22] in general removing snapd does not break because it falls back to th snapd deb [12:22] (i.. you still had the "snap" command functional, even though you removed the snapd snap) [12:22] *i.e. [12:22] k, thanks. so now the other thing i counted on but seemed incorrect: shouldn't "snap remove foo" refuse to remove foo if there's some snap X which depend on it? [12:23] not really, because snaps do not have dependeincies ... there could be other snas providing the same interface connection (imagine snapped themes) [12:24] murmel: FYI ^ snap doesn't refuse to remove snaps which others depend on. [12:24] well, it depends ... things like the gnome extension snap will likely complain [12:24] it depends on the type of connection between two snaps [12:25] right, so a more correct answer is "it might or might not refuse, you can't count on it to keep deps of another snap X" [12:25] something that is deemd necessary will complain [12:25] there are no deps 🙂 try to overcome this thinking 😉 [12:26] there are interface slots provided by other snaps ... if these connections are essential, the removal of the snap *will* complain [12:26] well, snap firefox can't run without snap X, then firefox logically depends on X, even if "dependency" is not a snap terminology [12:26] (this is seemingly not true for the snapd snap itself because there is an expected fallback) [12:27] right, this is true for the gnome snap [12:27] firefox can run without all the others [12:27] (will look shabby, missing fornts/features or whatnot, but should still be functional) [12:28] that you could remove snapd without having snapd-desktop-integration removed alongside (which was likely the reason for your login hanging) is obviously a bug you should file [12:29] i'm not overly concerned with snapd. i understand it's required but snap doesn't refuse to remove it. whatever. but is there some way to do "i want only firefox and the things needed to make it run well, and remove all other snaps" ? [12:29] but in general removing essential content snaps like the gnome-* ones will also remove the snaps using them [12:30] same goes for all the core* snaps [12:30] what? [12:30] so if firefox depends on gnome-X, then removing gnome-X will also remove firfox?! [12:31] yes [12:31] and if firefox uses i.e. core20 removing core20 will remove it too (as well as any other core20 based snap) [12:31] clearly that's incorrect. i started with this https://0x0.st/odNK.txt and tried to remove all except firefox and ended up with this https://0x0.st/odNn.txt [12:31] gnome removed, firefox stayed [12:31] file a bug ? [12:32] it should defnitely remove the others [12:32] unless you removed snapd first ... which gets you into a kind of degraded mode [12:32] i'm not filing bugs. the most i would do is leave ubuntu. i'm getting there, but not quite yet. [12:32] becuse all these features are handled by snapd [12:33] well, if you dont file bugs such issues will never be fixed [12:33] i removed them at the order they're listed here https://0x0.st/odNK.txt (Several times till nothing got removed) [12:33] right, file a bug .... [12:34] and snapd-* is at the end of this list, so at least at the first pass, snapd-* was removed last [12:34] ubuntu-bug snapd [12:34] no offense, but i won't. [12:34] well, then stop complaining [12:34] i wasn't complaining [12:35] i tried to undrstand how it's supposed to behave. i didn't assume bugs [12:35] lol [12:35] it is software ... you should always assume bugs [12:36] let's put it this way, i didn't assume such blatant dependency bugs from ubuntu crown jewel packages snap [12:36] the same way i don't expect such blatant dependency bugs from apt [12:36] well, i doubt anyone in the snapd team even expects people to run such weird scripts on top of the snap ecosystem [12:37] i can believe that, sure [12:37] either way, if you want them to be aware, you need to file a bug [12:37] but again, i foolishly believed an advice which said it will refuse to remove depsimportant snaps [12:38] and it usually does (for me at least) [12:38] migh be because of the bulk removal you are doing with that hack [12:38] no idea [12:38] yeah. anyway, i really do appreciate your help. thanks again. [12:38] yw [12:39] yeah, i definitely ran too quickly with that. **** happens... my fault. [13:11] ogra: from my "snap connections" output https://0x0.st/odqV.txt , is there a way i could deduce that unity (the old desktop) would stop working if i remove some snaps? (other than snapd) [13:12] (i'm still not 100% sure it's broken, but so far i couldn't get it running after the removals, and also not after i restored snapd) [13:12] avih, no ... i dont think snapd-desktop-integration is even exposed there, it is an internal tool that yu seemingly left behind somehow when removing the snapd snap befor [13:13] not sure i understand the reply, but is it "no, connections is not enough to deduce that" ? [13:13] ... and that would be the only thing i could imagine having any influence on desktop session [13:14] no it is ... you removed half of snapd somehow formerly ... that was the reason for your xfce session not starting ... there is nothing else that could affect your desktop startup [13:15] hello [13:15] so presumably unity should still be able to start? [13:15] yes [13:15] am new [13:15] unlikely to be in any way snap related [13:15] (i can start xfce, but not unity) [13:15] check the logs 🙂 [13:15] of what? [13:15] of your session startup [13:15] unity was my main desktop (though it was mostly used headless) [13:15] no idea where unity stores them though [13:16] so basically you think unity should still work, but i should check the unity logs to see what prevents it? [13:16] (it used to use ~/.xsession-errors but that was years ago, i have not used it in 6y or longer, no idea where it stores logs in the systemd based world now) [13:16] anyone i gotta a q [13:17] avih, yes [13:17] my thought was that it might depend on some old gtk which is not only available via a snap [13:17] which is now* only... [13:18] (i had like 5 gnome-* versions...) [13:19] ogra: if i wanted to remove all the snap things completely, should i expect lightdm and xfce to still work? [13:19] avih, yes, if doing it properly [13:20] what is "properly"? [13:20] that is: sudo apt purge snapd [13:20] so "snapd" is both a dpkg package, and a snap package? [13:21] (different ones, same name)? [13:22] same content even ... but the deb has additional bits like a postinst script that cares for clean removal [13:22] s/postinst/postrm/ [13:22] note that the "purge" is essential for it to remove the snaps ... else it wont [13:22] that did not succeed https://0x0.st/odbi.txt [13:23] again. file a bug, no idea what state your system is in now after all that tinkering [13:24] it was very stable till today.... [13:24] for 8 years... [13:24] can you identify something at this output which suggests what might have gone wrong? [13:24] well, it looks like your disk became redonly or some such ... [13:24] (obviously it thinks some firefox files are readonly... but how do i proceed?) [13:24] /var/snap/firefox/common/ is just a dir on your filesystem [13:25] should i remove it manually? (i don't care about the firefox profile anymore) [13:25] nothing fancy or readonly ... it is where FF sores RW data [13:25] *stores+ [13:26] particulary in that hunspell dir there should only be symlinks and files that are RW [13:26] (they are here on all my machines) [13:28] I try to install a jamy package but apt don't found it, it's in universe but if I do : add-apt-repository universe it say already enabled [13:34] nvm motd message say 22.04 everywhere but it's not 22.04............ i'm not use to ads in terminal... [13:35] Hi all [13:37] ogra: i had to umount something, and then apt purge snapd completed successfully. thanks. [13:40] xfce still works after boot. better than nothing... [13:41] avih: I already reported a bug for that issue: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1998710 [13:41] -ubottu:#ubuntu- Launchpad bug 1998710 in snapd (Ubuntu) "Purging snapd fails due to the hunspell mount" [Undecided, Confirmed] [13:41] ....and scripted the workaround in https://ltsp.org/guides/snap/ [13:43] right. i "solved" it by umount the hunspell thing manually, and then purge snapd completed successfully [13:43] (and i gave up on my firefox profile. i'll start a new one if i reinstall it) [13:43] avih: this left some traces in your system, like the hunspell snap connection service [13:43] k, can i remove it now? [13:44] I suggest that you reinstall snap and remove it using the commands I mention [13:44] install snap, install firefox snap, then remove firefox snap, then purge snap [13:44] your suggestion includes removing firefox first, should i install snapd and firefox first? [13:44] The snap remove firefox properly removes firefox, while apt purge snapd doesn't [13:44] No, you can keep your firefox.deb [13:44] You don't have to remove it when installing firefox.snap [13:44] i don't think i have it (not sure) [13:45] > install snap, install firefox snap, then remove firefox snap, then purge snap [13:45] right. will do. thanks. [13:45] Yes, you do need to install snap and firefox snap first, in order to remove them [13:46] so "sudo apt install snap && sudo snap install snapd firefox && sudo snap remove --purge firefox && sudo apt purge snap" ? [13:46] sudo apt install snapd; sudo snap install firefox; sudo snap remove firefox; sudo apt purge snapd [13:47] right. thx [13:50] (hmm... it downloads many MBs...) [13:50] (finally installing the firefox snap) [13:59] alkisg: thx. for reference: after installing snapd (apt) and firefox (snap): 3.6G free. after snap remove firefox: 3.9G free and the following snaps remained: (bare core20 gnome-3-38-2004 gtk-common-themes snapd), after apt purge snapd, 4.8G free. [14:02] and after reboot, xfce starts well, but so far i was not able to run (the old) unity, which was working before i started removing snaps. [14:05] so basically, it seems that snap and firefox take about 1.2G, which is not huge TBH. [14:06] and i still don't know what depends on the other snaps i removed. i suspect maybe the old unity (on older gtk), but not sure. [14:12] where in the directory tree should I store a source code file that is referenced by several other projects? now I have a separate copy in each project which is a pain to update when I change something [14:14] may /usr/src ? [14:14] *maybe [14:18] ogra: alkisg: unity now runs too :) so i removed all snaps and snapd, and basically seems to have lost only firefox. that's good. thanks again for your tips and time. [14:37] hi, asking here since I could not find any more appropriate channel and I am on ubuntu 20 LTS: I need to install dotnet aspnet 3.1.31 https://dotnet.microsoft.com/en-us/download/dotnet/3.1 [14:38] the Linux "Package Manager Instructions" says it's packaged on Ubuntu 20 https://learn.microsoft.com/en-gb/dotnet/core/install/linux-ubuntu but from what I can see that's only the .net runtime, not aspnet [14:39] oh wait, adding their repo via the provided .deb I do see aspnetcore-runtime-3.1/kinetic [15:30] Hi! [15:31] How long will it take to fix the remote code execution in vlc on ubuntu? [15:32] this one https://ubuntu.com/security/CVE-2022-41325 [15:32] -ubottu:#ubuntu- An integer overflow in the VNC module in VideoLAN VLC Media Player through 3.0.17.4 allows attackers, by tricking a user into opening a crafted playlist or connecting to a rogue VNC server, to crash VLC or execute code under some conditions. [15:33] debian already fixed it https://security-tracker.debian.org/tracker/CVE-2022-41325 [15:33] -ubottu:#ubuntu- An integer overflow in the VNC module in VideoLAN VLC Media Player through 3.0.17.4 allows attackers, by tricking a user into opening a crafted playlist or connecting to a rogue VNC server, to crash VLC or execute code under some conditions. [15:33] *checks watch* [15:34] kkkssf: https://ubuntu.com/security/CVE-2022-41325 [15:34] -ubottu:#ubuntu- An integer overflow in the VNC module in VideoLAN VLC Media Player through 3.0.17.4 allows attackers, by tricking a user into opening a crafted playlist or connecting to a rogue VNC server, to crash VLC or execute code under some conditions. [15:35] it's in progress [15:36] and is only an issue if you blidly feed vlc a malformed playlist [15:36] *blindly [15:37] i presume "random" is not particularly an issue, but "maliciously crafted" is [15:43] * alkisg didn't know VLC has a VNC module! [15:45] avih: you can get firefox from the mozillateam ppa, which is maintained by canonical (thanks for that!); and your snap-firefox profile should be somewhere under ~/snap, if you want to locate bookmarks etc [15:46] akossh: thanks, yes, i did install it. there was a ~/.mozilla (which shouldn't have changed much since i upgraded to 22.04) but the new firefox didn't pick it up. i _think_ i removed /snap [15:46] avih: "alkisg", not "akossh"; it's ~/snap, under home, not /snap, under rootfs [15:47] I.e. /home/avih/snap [15:47] yeah, i removed /snap. so i guess that profile is lost, and ~/.mozilla does not seem to get used [15:47] right, sorry (autocomplete) [15:48] ...that doesn't sound right, the ppa firefox should be using ~/.mozilla [15:48] hmm.. ~/snap/firefox/current is a symlink to "2154", but i don't think i can locate this dir [15:49] alkisg: i think so too, but maybe the move to snap with 22.04 also cleaned ~/.mozilla ? [15:49] Eeeh, that sounds horrible to contemplate [15:49] it was about 70M before i installed firefox-esr from that ppa [15:49] Ah, dunno about firefox-esr, it might be using something else, I installed firefox [15:49] which sounds a bit small TBH, but then again, maybe not [15:50] yeah, possibly esr has a different config dir. let me check inside ~/.mozilla [15:50] there is indeed ~/.mozilla-firefox-esr [15:51] ~/.mozilla/firefox-esr [15:59] alkisg: renaming firefox/ to firefox-esr inside ~/.mozilla did not work as expected, but removing firefox-esr and installing firefox from that ppa (and restoring the config dir) does pick it up as expected :) thanks [16:00] 👍️ [16:00] it's a shame that firefox works so badly these days over remote x. i remember when they removed xrandr support and i was against it (i was forking for mozilla back then) [16:01] any incite on being able to download movies from i.e. netflix/hulu/hbogo/etc to be able to watch on a plane w/o internet? was going to check to see if there are any netflix/hulu/etc clients for ubuntu/linux, but figured id check here first [16:01] their excuse at the time was "chrome doesn't work great over remote x, so that's our benchmark...) [16:02] jenky: feel free to /join #ubuntu-offtopic for software opinions [16:02] while before the removal firefox was orders of magnitude better than chrome over remote x [16:03] (obviously there's technical merit for the removal, but still...) [16:03] jenky: There are a couple of youtube downloaders that might work with other sources. It's considered piracy, so much of any support is "underground". [16:04] jenky: Before you try, you should test your device and see if it will actually drive full-res graphics for two hours or more. [16:04] jenky: Many laptops won't. [16:05] jenky: (Also, "incite'=to arouse, "insight" means to see into. [16:05] k ill look that up as well; thx for the responses [16:05] lol it didnt autocorrect so figured it was spelled right [16:21] hey, a couple of nights ago my trackpad just stopped working, don't think i had installed, updated, or upgraded anything for quite a while. any ideas of what to look at? I ended up doing a hail mary upgrade so I'm up to date now at least :) [16:21] Meant to say, it works on a live cd. [16:47] huw_: Ah. Sudden failure without software changes points to hardware, thanks for clarifying that it still works. [16:47] huw_: Try creating a new user and seeing if it works for them. [16:50] jhutchins, new user works :D what could I have done? I do wonder if one of my kids has pressed some buttons.. lol [16:54] huw_: I suspect a guest cat in my office has not only opened folders but may have deleted files. I had the "Unable to create trashcan" message on my screen. [16:55] huw_: There's something in your profile, the preferences for your desktop most likely. I only have about five minutes of experience with gnome, so hopefully somebody else knows what to tweak. [17:01] jhutchins: Oh yikes. You have backups right? [17:05] of his trashcan ? [17:05] 🙂 [17:09] ogra: Yeah but what if more than just a trashcan got deleted? [17:09] he can blame the cat ... [17:09] 🙂 [17:10] (i'm totally not serious here in my last few lines, hope you get that 🙂 ) [17:10] * alkisg would like to restore 2 cats he accidentally deleted... :/ [17:11] ogra: :P === Xard5 is now known as Xard [18:12] hey folks, it seems like http://azure.archive.ubuntu.com/ubuntu/ points to a recursive link [18:12] to itself [18:13] arraybolt3: I don't usually pay attention to when/how/why that message crops up, I know what _I'm_ doing. I _think_ it aborts the delete if it can't create the trashcan (CIFS share). In any case, it wasn't an important file, just a cute video if anything. [18:14] I do now have the screen lock engaged. [18:14] Oh, yeah, that folder's in the backup stack too, so no loss. [18:16] esv: sort of. Are you having an issue with your repo? [18:17] esv: https://askubuntu.com/a/953254 [18:19] Where does nautilus store samba passwords? [18:20] cluelessperson: more than likely in your "passwords and keys" (seahorse) application [18:21] can't find them in there. [18:21] cluelessperson: gnome-keyrung [18:21] gnome-keyring* [18:22] yes, there are issues with the repo. wondering if anyone at canonical can fix that. [18:22] esv: try #ubuntu-mirrors [19:01] hi [19:02] Does anybody know how to configure Ubuntu so it keeps my Lenovo's keyboard backlight always on? I tried to search a solution but it looks like nothing works on Lenovo laptops, so i'm asking just in case anyone managed to solved it [19:26] Crepe: That _might_ be a hardware limitation. [19:26] It'd be nice if it could at least keep it on during power-up. [19:26] Crepe: Does it go out even if you're typing? [19:40] jhutchins: hi sorry, I was cooking; no, it just turns off both when 1) I restart my computer (well, not really when i restart, but when I shut down and start again), and 2) when I'm iddle for few minutes so the screen also reduces its brightness [19:40] but keyboard's backlight doesn't reactivate as screen does [19:41] can anyone assist with unattended upgrades? On debian I add "o=Artifact"; but this does not work on ubuntu. How do you add other packages to unattended upgrades? [19:50] Crepe: You might look for Lenovo keyboard drivers on the web, or see what support Lenovo might be offering these days. Even if they won't support Liux, the more people who ask the more likely they are to eventually support it. [19:50] Crepe: It definitely sounds like a driver issue, although keyboards usually don't take a specific driver. (Special function keys do.) [19:56] jhutchins: true, I've been reading about it and it looks like a drivers problem [19:57] I'll ask them to include the drivers so they feel the pressure from more and more people :) [19:57] btw, thank you jhutchins [20:08] linux sux [20:08] windows best benchmarks [20:08] linuxsux_windows: trolling is offtopic here. Please /join #ubuntu-offtopic [20:09] im not trolling im serious [20:09] linuxsux_windows: as am I [20:09] who is more serious bring me evidence [20:09] benchmarks talk [20:09] !ops | linuxsux_windows is disrupting the channel [20:09] linuxsux_windows is disrupting the channel: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [20:10] disrupting? youre overly emotional. sorry to hurt your fragile ego [20:14] Apologies if that was overkill, I saw he wasn't listening and figured he wasn't going to listen, but it dawns on me he probably would have just left if ignored. [20:16] opening with "linux sux" was funny at least. definitely just wanting to troll though [20:16] lets stay on topic please [20:38] linux might suck but in my company we only use Linux and we sell open source software so nothing to envy to property software [20:38] anyway it's a clear trolling so nevermind [20:40] dinner time === EriC^^ is now known as Guest2687 [20:56] Linux kernel 6.2 contains fixes for some problems handling floppy disks === Guest2687 is now known as EriC^^ [21:19] :D [21:29] Alright, I'm having some weird issue with permission. I can open my text editor alone - I use gedit - without putting a file in path. But if I use it to open some programs it just hangs. The only way to fix it and it's not a surefire way is to run the following command: ps -aleF | grep sudo | awk '{print $4}' | xargs kill -9 [21:30] ... If anyone knows of a permanent fix, please share. In other news, I'm being recruited by Canonical for an Ubuntu job! [21:31] bingoJACKPOT: define "But if I use it to open some programs" [21:31] And it looks like it will open some files without sudo. That makes no sense. The root user should have full access and non-root should not have more privelege in any way or form over root. [21:32] My local user has the highest rights in the sudoers file but he should not be overtaking Mr. Root. [21:32] OK, when I open a script I wrote for /usr/local/bin, it will open without sudo but with sudo it hangs. [21:32] bingoJACKPOT: what type of script? Shell script? Python? [21:32] I store my scripts in /usr/local/bin, which is where they should go by Linux convention. [21:32] They are Bash scripts, mostly [21:33] I have a separate photo for my Python code [21:33] *folder [21:33] ok, how exactly are you opening them? [21:33] I run usually sudo gedit /usr/local/bin/ [21:33] I just tested one of the files and it did open without sudo and it was written likely without sudo as sudo should never be the default way to write a script. Sudo should be limited in use. [21:34] But in my sudoers... And this shouldn't be an issue, the standard user can run anything without a password - or most things anyway. I can run sudo for most programs and they will run. But that sudoers file was edited months ago and the issue arose only recently. [21:35] no, /usr/local/sbin [21:35] bingoJACKPOT: slow down. The queick answer is, you're not going about this correctly [21:35] What ... sbin has the binaries themselves ... that makes no sense [21:35] bingoJACKPOT: the longer answer I'm trying to find [21:35] The binaries for owners are there ... the files are not stored there... sbin is for the ownership bits [21:35] Does sudo gedit work on wayland? [21:36] yes [21:36] OK, someone not be terse ans answer. Please, mr. leftyfb [21:36] that also isn't the issue [21:36] files in /usr/local/bin are used for users without sudo rights.. [21:36] bingoJACKPOT: I'm looking [21:36] You're being aggressive and terse and those two adjectives should not go together [21:36] Yes, that's right /usr/local/bin is not for super users. I agree with that [21:36] so why use sudo to edit them? [21:36] Linux traditionally is a multi-user platform and root should not have his or her scripts in /usr/local/bin [21:37] I did not [21:37] bingoJACKPOT: try sudo -H gedit [21:37] I either mispoke, you misread or both [21:37] bingoJACKPOT: sudo -E gedit /usr/local/bin/script.sh [21:37] with sudo -H it still hangs [21:38] I know something is up with my permissions either way as some of my issues aren't happening on Debian [21:38] bingoJACKPOT: the quick answer is, you're not supposed to be calling GUI applications with sudo. There are proper mechanisms for this. [21:38] For instance, about once every month or so after an update, I have to edit the config file for Software Center so that the GUI will open without sudo [21:38] I should not have to use sudo to open Software Center [21:39] OK, /usr/local/bin doesn't store GUI programs, dude or lady [21:39] It's for shell scripts [21:39] bingoJACKPOT: gedit is the gui program [21:39] I think most programs which are gui go in /usr/bin [21:39] The configs go in /etc [21:39] Gedit, yes, that's the text editor [21:39] bingoJACKPOT: sudo -E gedit /usr/local/bin/script.sh [21:39] I use it to write my scripts. [21:39] Hold on. Let me see if it opens that way [21:40] I don't write normal scripts or edit them with sudo, BTW [21:40] I only use sudo when I have to [21:40] bingoJACKPOT: yeah, you're not supposed to use "sudo " you will mess up your $HOME file ownership potentially [21:40] OK, we're getting somewhere, the "E" switch worked. Thanks! [21:41] great [21:41] Yes, it says in numerous places not to open Nautilus with root [21:41] bingoJACKPOT: just because it worked doesn't mean it's the right thing to do [21:41] That is well known - and I don't [21:41] the same thing applies to gedit [21:41] But you have to edit the network configs for VMware by opening it with root [21:41] nautilus has a special plugin for that [21:41] So, in the case of VMware, there's no other way [21:41] You can't create network adapters or networks in VMware Workstation Pro without opening it as sudo [21:42] Nice that non-noob questions can get answered here. I rarely come here for technical problems so I apprecitae this [21:42] bingoJACKPOT: I can tell you an answer you're not goin to like [21:42] have fun! [21:42] There will be a lot of people like me though if I get that Canonical job [21:43] I have a thick skin for this channel so you can tel me whatever. Trolling is popular on Libera [21:43] bingoJACKPOT: "non-noobs" don't use gedit to edit config files [21:43] Trolling is VERY VERY pouplar on Stack Exchange [21:43] Oh, you use Vim or Vi [21:43] Yeah, I could do that [21:43] You must be pushing eighty-six years old to be using it though. You were with AT&T in the Unix era? Can you pass over a note to Dennis Ritchie for me please? [21:44] Also, Kevin Mitnick has a question for you... He's on the phone no [21:44] *now [21:44] bingoJACKPOT: coming from someone who used to work for Canonical, you'd be good to not have that attitude while working there [21:45] leftyfb ...  You're right [21:45] It's a dick thing to say, what I said. I prefer nano - that's the respectable answer [21:45] bingoJACKPOT: vim and emacs are very popular for sysadmins and devops. As are proper IDE's for development. Regardless of age [21:45] But it's hard to edit huge scripts with nano [21:45] nano is also fine for some [21:45] For really hardcore stuff, I like Visual Studio Code [21:45] bingoJACKPOT: good luck [21:46] bingoJACKPOT: If you have no further support questions, feel free to chat in #ubuntu-offtopic [21:46] Yeah, thanks. If you are not being sarcastic [21:46] I can't believe they're even talking to me. I'm a power user but I'm not like my uncle who could do pretty much anything with Linux [21:47] If you're an older man or lady, you may be my uncle's age. He's a baby boomer and he got me into Linux in the mid 2000s [21:47] Ubuntu was less popular and well known then [21:48] If you have any tips beyond telling me to be humble or trashing gedit, which could help me score a job, please share them leftyfb ... I was playfully joking with you, mate. I mean no harm nor disrespect. [21:49] bingoJACKPOT: It's offtopic here. Feel free to ask others in #ubuntu-discuss [21:50] OK === Wubulub is now known as MJCD [22:13] Hi guys, I want to re-encrypt my OS from aes to twofish or serpent, using Lubuntu 22.04, LUKS. [22:16] backup data and reinstall ? that would be fastest and safest. === root is now known as Guest7996 [22:16] !rootirc [22:16] It's not technically our business, but we'd like to tell you that IRC'ing as root is a Very Bad Idea (tm). After all, doing anything as root when root is not needed is bad, and especially bad with software that connects to the Internet. [22:17] hi [22:26] hello everyone. Could someone help me. I am trying to revive old Acer Aspire ES 14 with a Lubuntu install. Everything went fine with the live USB install, but after the install computer does not recognise its eMMC where it should boot and where I have lubuntu installed [22:28] disable uefi? and reinstall.. https://askubuntu.com/questions/943947/no-bootable-device-found-after-ubuntu-install-aspire-es-14 [22:28] old issue [22:28] no uefi option in boot menu [22:28] even after disabling secure boot and adding passwords [22:29] oke, no clue then .. [22:30] damn [22:30] there has to be some way [22:30] other more recent post; https://askubuntu.com/questions/1198117/no-bootable-device-on-single-boot-ubuntu-for-acer-aspire-es14 [22:31] on https://askubuntu.com/questions/1277405/problems-installing-ubuntu-on-acer-laptop i see screenshots with 'fastboot'. make sure that is disabled during install [22:33] I have no option to choose from UEFI or LEGACY in bios and thats the problem with these things. ES1-432-C0BW is complete model. This piece of junk comes with 32gb eMMC with the only storage [22:34] fastboot is different from secureboot [22:34] !uefi [22:34] UEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI [22:34] hi [22:35] i am looking for ways to imrpove perfornamce on linux. any tips? [22:35] ok i boot that piece of junk and lets see if there was any fastboot option but if remember right there was no such option [22:36] what [22:36] ? [22:36] !op | please remove ubuntu4evah. Same troll as earlier [22:36] please remove ubuntu4evah. Same troll as earlier: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [22:37] i am not a troll. its really rude of you to talk about me this way [22:37] ubuntu4evah: please leave [22:37] just because you dont have any suggestions [22:37] rude [22:38] !op | please remove leftyfb same troll as before [22:38] please remove leftyfb same troll as before: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [22:39] oh linuxsux_windows is back.. [22:39] Ok. There was no fastboot option. When I'm in bios there is the eMMC where i have lubuntu installed, but when i restart the machine and hit f12 for boot manager it show only network boot options [22:39] if i stick my live usb on the machine it boots from there [22:40] windows sux [22:40] jesmaani, check bios version? maybe an update solve things [22:40] oerheks. u a witch [22:52] I cannot get this laptop to stop suspending at the login screen [22:52] I have tried everything here [22:52] https://askubuntu.com/questions/942366/how-to-disable-sleep-suspend-at-login-screen [22:54] is there some systemd stuff here that is messign with me [22:56] i know systemd has some hate when i close the lid in archlinux [22:56] back in the day [22:57] so freaking frustrating at this point [23:04] https://askubuntu.com/questions/1337649/how-to-disable-suspend-in-20-minutes-from-the-lightdm-login-screen [23:12] why does itoa() not have man page [23:12] manual* [23:13] test.c:(.text+0x48): undefined reference to `itoa' [23:13] not used anymore? [23:14] https://www.mkssoftware.com/docs/man3/itoa.3.asp