[00:39] is /etc/motd no longer used? I tried to `cat /etc/motd` and I got "No such file or directory" [00:40] oh looks like it's under /var/run/. guess cat won't follow symlinks [00:40] if it points to a file that doesnt exist [00:40] then you're going to get it doesnt exist [00:41] well it used to actually stored there and a lot of old literature points to that [00:41] yeah, amazing... "old literature" might be outdated [00:48] rbox: it would be far more useful to point out modern literature instead [00:48] nshirelaptop: grep motd /etc/pam.d/* -- some services still run the pam_motd module and that will still reference that file if it exists === Administrator__ is now known as mao9528 === antonispgs1 is now known as antonispgs === chris14_ is now known as chris14 [04:21] it's been a while since I've used wget so I'm wondering if this would be a good contemporary user agent to use: [04:21] --user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0" [04:23] what does good mean [04:24] current is 123.0 ? [04:26] sorry, that's the old one from my notes, yes am looking for a good current user agent [04:26] good, I can't say specify for sure. Just something reliable? [04:27] get your current one? [04:27] just give it a go with --user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/123.0" then? (note 123.0) [04:27] https://www.whatismybrowser.com/detect/what-is-my-user-agent/ [04:30] Ah thanks, it's : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0 === gschanuel9 is now known as gschanuel === vincejv_ is now known as vincejv === lflare is now known as Guest7863 === Leo__ is now known as Leo === fling_ is now known as fling [09:10] Hey, trying to update "Snap Store" via Ubuntu Software Center where an interesting contradiction occurs: "Unable to update "Snap Store": (null): cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software)" :D [09:11] anybody knows a workaround for this? [11:27] Hi, I tried to do apt update on a xenial ubuntu image in docker and got this: https://paste.debian.net/hidden/a51154a9/, ubuntu-archive-keyring.gpg and ubuntu-master-keyring.gpg are in /usr/share/keyrings as they should === stenno is now known as Guest4204 === chao is now known as stenno === victor is now known as Guest9699 [12:24] import socket [12:24] import threading [12:24] def handle_client(client_socket): [12:24] # Modify this function to handle client connections [12:24] pass [12:25] def main(): [12:25] server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) [12:25] server.bind(("0.0.0.0", 8888)) [12:25] server.listen(5) [12:25] print("[*] Listening on 0.0.0.0:8888") [12:30] Did you 'hear' anything? python programmer? [12:31] listening to 0.0.0.0 is.. pragmatic [12:38] Look a like that old code challenge where you where you write a echo protocol server that can handle at least 5 clients. Well a first poke at it.. [12:41] my first python program i ever wrote was a socket server and client [12:41] still was in school then so it was around 2003 or so [12:42] coming from C++, it was really amazing [12:42] in python you could just do things without having to spend 200 SLOC to declare a connection or w/e [12:49] Hello, I have this exact same problem https://bugs.launchpad.net/ubuntu/+source/emacsen-common/+bug/1990804 But I didn't find any solution, is anyone here able to help me ? thanks [12:49] -ubottu:#ubuntu- Launchpad bug 1990804 in emacsen-common (Ubuntu) "package cmake-data 3.22.1-1ubuntu1.22.04.1 failed to install/upgrade: installed cmake-data package post-installation script subprocess returned error exit status 1" [Undecided, Expired] [12:52] m0n0p, update please, jammy-updates give 3.22.1-1ubuntu1.22.04.2 [12:53] not sure there is a fix in it, or in cmake itself.. [12:54] oerheks: everything is up to date [12:54] if you mean: apt update && apt upgrade [12:54] https://packages.ubuntu.com/jammy-updates/cmake-data [12:54] I cannot install cmake [12:54] apt dist-upgrade, yes [12:54] m0n0p, apt-cache policy cmake-data [12:55] cmake-data: [12:55] Installé : 3.22.1-1ubuntu1.22.04.2 [12:55] Candidat : 3.22.1-1ubuntu1.22.04.2 [12:55] Table de version : [12:55] *** 3.22.1-1ubuntu1.22.04.2 500 [12:55] 500 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [12:55] lol [12:56] m0n0p, wait a minute , then paste 'sudo apt install --reinstall cmake-data | nc termbin.com 9999' [13:00] https://termbin.com/eou9 with sudo apt install --reinstall cmake-data 2>&1 | nc termbin.com 9999 sorry for earlier [13:02] m0n0p, dpkg -l | grep -v ^ii | grep -v ^rc | nc termbin.com 9999 === Daniel is now known as toolz [13:04] ioria, https://termbin.com/viub [13:05] m0n0p, sudo mv /var/lib/dpkg/info/cmake-data* /tmp [13:06] ioria, okay and then ? [13:06] m0n0p, sudo apt install --reinstall cmake-data [13:07] E: Internal Error, No file name for cmake-data:amd64 [13:07] ioria, [13:07] maybe without * ?? [13:08] m0n0p, sudo dpkg --configure -a | nc termbin.com 9999 [13:10] ioria, https://termbin.com/kbme [13:10] I reran it, and no output [13:11] m0n0p, dpkg -l | grep cmake | nc termbin.com 9999 [13:12] ioria, https://termbin.com/mipy [13:13] m0n0p, ok; sudo apt update && sudo apt full-upgrade [13:14] ioria, ok done [13:14] m0n0p, no errors ? [13:14] ioria, dpkg: avertissement: le fichier contenant la liste des fichiers du paquet « cmake-data » étant manquant, il est considéré qu'aucun fichier du paquet n'est actuellement installé [13:14] . I can translate it if you want [13:15] no it's ok [13:15] Unless you have cmake installed, you probably do not need this package. [13:15] dpkg: warning: files list file for package 'cmake-data' missing, assuming package has no files currently installed [13:15] oh okay [13:15] m0n0p, it's correctly installed afaict [13:16] ioria, Amazing thank you very much. Also why you did that :sudo mv /var/lib/dpkg/info/cmake-data* /tmp ? [13:17] m0n0p, they are probably corrupted, and now have been replaced [13:17] okay [13:17] m0n0p, ls /var/lib/dpkg/info/cmake-data* [13:18] ioria, "/var/lib/dpkg/info/cmake-data*": No such file or directory (os error 2) [13:23] m0n0p, sudo apt --fix-broken install [13:23] ioria, no errors 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. [13:23] m0n0p, i think it's ok then [13:24] ioria, ok thanks [13:24] m0n0p, no problem [13:24] I'm afraid your OS has picked up French.. [13:25] Oui? [13:28] younder, some call that "encryption" ... could be worse, could be chinese or so 😉 [13:34] younder, and cmake bailed lol [13:35] Hi all [13:46] Hi BluesKaj [13:46] hey everybody -- today before work, I will sudo apt install kubuntu-desktop ! :D and also whatever you do to install wayland [13:47] I have already taken the precaution of creating a new user who will only log into kubuntu and never log into lubuntu [13:51] hi sem [13:52] hey! First thing I am websearching during this install: what does kubuntu use enfc for, and is it ok that it is insecure [13:52] i know its spelled differently but I forget what it was [13:53] i wish i remembered what it was called lol.. clicked through too quick [14:00] now i am making sure to install sudo apt install plasma-workspace-wayland [14:21] hey [15:03] !ask [15:03] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [15:04] Omg Richie Hawtin is here [15:09] hi there, on this acer swift laptop i have ubuntu installed / and home are on separate partitions, and home is encrypted. during upgrade process things got messed up and its not booting anymore. is is possible to reinstall the root with fresh ubuntu and use the same encrypted home drive, since i have the password ? [15:33] I dont see why not, but i cant say for sure. [15:33] why not boot to a live cd, copy the data off the drive then attemt the re-install. === tortilla is now known as tortillasandwich [17:41] is there an ubuntu equivalent to https://snapshot.debian.org/ ? [17:43] old packages https://old-releases.ubuntu.com/ubuntu/ [17:44] old versions of the iso https://old-releases.ubuntu.com/releases/ [17:44] looking for mrwthumbnail ?? [17:45] i think i just found it [17:45] :-) [17:45] package is apparently named "mrwtoppm-utils" [17:46] not to be confused with "mrwtoppm" lol [17:46] good spot! [17:46] thanks for the link though [18:04] How to uh hmm do bluetooth through command line? connect then get an aymaj? [18:05] or wait uh connect then send audio iconed thing === archie_ is now known as archie [18:23] szstr, scan connect trust https://medium.com/@muffwaindan/connect-and-use-wireless-usb-and-bluetooth-mouse-and-or-keyboard-on-linux-b23b1a35057b [18:23] the trust part is hardly to find in any manual [18:24] i use bluez, to connect, and then use the normal gui thingy === rob is now known as Guest503 [18:52] people, i am trying to write a script that auto sets up my ubuntu environment (how can i from the terminal change the distro settings) like turn off bluetooth, add keyboard shortcuts, add a profile picture etc... where are these settings saved? [18:53] atreo: gsettings if you're running gnome [18:54] leftyfb: is it under ./config ? [18:54] atreo: it's a tool, not a configuration file [18:56] leftyfb: you miss understood what i am trying to do, i am trying to perform these settings changes from the terminal (so i can save it into a script) [18:57] atreo: gsettings is a command line tool that will do exactly what you're looking for [18:57] leftyfb: oh [18:57] hmmm ok, let me try to read about it [18:59] leftyfb: i can't seem to understand the manual page, how can i add keyboard shortcuts using gsettings? [19:00] it seems to be talking about key strokes [19:02] keyboard shortcuts are a 2 part process [19:03] gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']" [19:03] that's part 1 [19:04] then defining the details of the custom sortuct [19:04] shortcut* [19:04] - gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name "nautilus" [19:04] - gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command "nautilus" [19:04] - gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding "e" [19:04] leftyfb: ohhh ok i think i see how this works [19:04] ok let me try to understand what you just wrote give me 5 minutes :-) [19:05] atreo: if you add another shortcut, you need to run the 1st command again but append the 2nd custom shortcut (custom1) [19:05] hi === ghost is now known as Guest7551 [19:07] leftyfb: ok how do i findout what keyboard shortcuts i already have? so i can reverse engineer the commands you just wrote [19:08] gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings [19:09] leftyfb: i see [19:11] i see i have three shortcuts (as expected) nice custom0 custom1 custom2 [19:11] hwo do i print their content? [19:12] gsettings get org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name [19:12] command and binding === tsimpson_ is now known as tsimpson [19:13] leftyfb: woow there was no way i could have figured this out myself [19:14] ok let me take notes [19:19] does anyone have experience with this LUKS Encryption guide for Ubuntu ? https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 [19:21] after following this guide step by step I and rebooting I boot into ubuntu without GUI [19:22] leftyfb: when i run the commands the previous one gets deleted, i am confused [19:22] leftyfb: this is my script: https://paste.debian.net/1309804/ [19:24] atreo: I explained that to you. You need to append the new shortcuts [19:24] leftyfb: oh [19:25] leftyfb: what is the append flag? [19:26] oh wait [19:26] gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/'], etc, etc, etc" [19:26] you mean "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/'], , , " [19:26] ohhhhhh ok i get it [19:26] you define that first [19:27] leftyfb: it works wow this is amazing !!!! :-) [19:28] atreo: btw, look into ansible. That's how I setup my ubuntu environment, install all packages, configure everything and restore from backup [19:29] leftyfb: interesting, it is a program that you install or is it within ubuntu itself? [19:29] atreo: sudo apt install ansible [19:29] leftyfb: ok [19:30] leftyfb: but i want to stick with gsettings how do i know how to configure the rest of the settings? like Region & Langauge and adding a user picture etc... where are you getting/reading this complex information from? [19:30] atreo: ansible will use gsettings [19:32] atreo: dconf and dconf-editor are good tools to navigate and edit(not recommended) all the settings [19:32] i see [19:32] ansible is a program written in python. It is a provisioner. It install software based on scripts. Unlike shellscripts it is designed to enure that everything is just installed one so that if you run the script again and fix a mistake the stuff that was ok gets skipped and the stuff you corrected runs again (indepotent) [19:34] There are many others like it puppet, chef, saltstack.. [19:37] leftyfb: i like this basic control of it in gsettings how did you know the commands? for example how can i figure out the schema for (Region & Langauge)? [19:39] atreo: sudo update-locale LANG=$new_language [19:39] leftyfb: oh no, i don't use my local lanuage and format, because it is screwed up i used the UK one [19:40] atreo: you asked how you set your language. That's how [19:40] oh [19:40] for timezone: timedatectl set-timezone $timezone [19:40] with sudo [19:40] i see [19:42] leftyfb: how do i find out what is my current (update-locale) settings? [19:43] since langauge is LAN what is format? FOR? FORM? FORMAT? [19:43] *LANG [19:44] leftyfb: its ok i figured it out === les_ is now known as roger_UK [19:50] leftyfb: ok how about appearance settings scheme? to change it from light to dark, where is that schema? [19:52] gsettings get org.gnome.desktop.interface gtk-theme [19:53] ravage: leftyfb i am getting the hang of it gsettings set org.gnome.desktop.interface gtk-theme "Yaru-dark" right? [19:55] yes. or for a specific accent color Yaru-blue-dark [19:55] ravage: nice [19:55] ravage: ok here is an important question gsettings get org.gnome.desktop.notifications KEY how do i know what are all the available keys are? [20:01] ravage: its ok i fiured it out list-keys [20:02] atreo: https://unix.stackexchange.com/questions/11164/how-do-i-browse-for-available-gsettings-options [20:02] bprompt: thanks :-) [20:02] np [20:03] this is exciting i am slowly scripting my ubuntu enviroment so i can be up and running automatically NIIIICE === diogeness_ is now known as diogeness [20:20] ravage: leftyfb in the nautilus there is a list-view but i cannot find how to setup (Expandible forlders in list view) === Archimedes is now known as Archimedes1986 [20:32] Anyone familiar with the terminals in linux? I'm wondering if i can start one for screen that when it terminates so does the terminal? [20:34] so that if i detach screen remotely i dont have extra sessions [20:36] you can write and install an xdg desktop file which runs gnu screen and executes it in a terminal emulator [20:54] This is probably an easy question. I have a second partition set up. But, it seems i need to access (as in clicking it) it in nautilus/filemanager every time i restart my computer for Steam being able to see/discover it. [20:55] s/being/to be/ [20:55] put it in fstab? [20:55] with proper permissions for steam [20:55] hmm.. not that i can remember. Never used fstab [20:55] https://askubuntu.com/questions/1489018/grant-steam-snap-access-to-second-hard-drive [20:56] thanks [20:57] Steam snap should have the removable drive permission by default. [20:57] see settings > applications > steam [20:57] okok. There was no mention of this mount in fstab, so maybe that's it [20:57] maybe one bit wrong, and wont automount [20:57] Square: you can list your devices with -> lsblk <- once you know which device it's, you can use -> sudo blkid <- to get its UUID to be used in the /etc/fstab file for "automounting" [20:58] Gotcha. I'll try to use this info to make it work next reboot [21:40] yes! === kvn_ is now known as kvn [22:48] Best music .deb to download? [23:00] szstr: music player? [23:02] music content [23:03] szstr: youtube.com or lastfm.com or pick any radio of choice [23:03] hehe [23:05] Hmm what ayt about mana client or that Joba coded mmo download the client, just listen to the musziak [23:09] Runesca3e! [23:11] szstr: what is your ubuntu support question in clear English? [23:15] Where can I get free cash? [23:16] szstr: Try a different chat? [23:16] Well yeah [23:19] they've been trolling here for a couple months now