nshirelaptop | is /etc/motd no longer used? I tried to `cat /etc/motd` and I got "No such file or directory" | 00:39 |
---|---|---|
nshirelaptop | oh looks like it's under /var/run/. guess cat won't follow symlinks | 00:40 |
rbox | if it points to a file that doesnt exist | 00:40 |
rbox | then you're going to get it doesnt exist | 00:40 |
nshirelaptop | well it used to actually stored there and a lot of old literature points to that | 00:41 |
rbox | yeah, amazing... "old literature" might be outdated | 00:41 |
sarnold | rbox: it would be far more useful to point out modern literature instead | 00:48 |
sarnold | nshirelaptop: grep motd /etc/pam.d/* -- some services still run the pam_motd module and that will still reference that file if it exists | 00:48 |
=== Administrator__ is now known as mao9528 | ||
=== antonispgs1 is now known as antonispgs | ||
=== chris14_ is now known as chris14 | ||
Nautilus | 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 |
Nautilus | --user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0" | 04:21 |
rbox | what does good mean | 04:23 |
oerheks | current is 123.0 ? | 04:24 |
Nautilus | sorry, that's the old one from my notes, yes am looking for a good current user agent | 04:26 |
Nautilus | good, I can't say specify for sure. Just something reliable? | 04:26 |
oerheks | get your current one? | 04:27 |
Nautilus | 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 |
oerheks | https://www.whatismybrowser.com/detect/what-is-my-user-agent/ | 04:27 |
Nautilus | Ah thanks, it's : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0 | 04:30 |
=== 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 | ||
Martin90 | 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:10 |
Martin90 | anybody knows a workaround for this? | 09:11 |
RhineDevil | 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 | 11:27 |
=== stenno is now known as Guest4204 | ||
=== chao is now known as stenno | ||
=== victor is now known as Guest9699 | ||
wildv1per | import socket | 12:24 |
wildv1per | import threading | 12:24 |
wildv1per | def handle_client(client_socket): | 12:24 |
wildv1per | # Modify this function to handle client connections | 12:24 |
wildv1per | pass | 12:24 |
wildv1per | def main(): | 12:25 |
wildv1per | server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | 12:25 |
wildv1per | server.bind(("0.0.0.0", 8888)) | 12:25 |
wildv1per | server.listen(5) | 12:25 |
wildv1per | print("[*] Listening on 0.0.0.0:8888") | 12:25 |
younder | Did you 'hear' anything? python programmer? | 12:30 |
stenno | listening to 0.0.0.0 is.. pragmatic | 12:31 |
younder | 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:38 |
stenno | my first python program i ever wrote was a socket server and client | 12:41 |
stenno | still was in school then so it was around 2003 or so | 12:41 |
stenno | coming from C++, it was really amazing | 12:42 |
stenno | in python you could just do things without having to spend 200 SLOC to declare a connection or w/e | 12:42 |
m0n0p | 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:49 | |
oerheks | m0n0p, update please, jammy-updates give 3.22.1-1ubuntu1.22.04.2 | 12:52 |
oerheks | not sure there is a fix in it, or in cmake itself.. | 12:53 |
m0n0p | oerheks: everything is up to date | 12:54 |
m0n0p | if you mean: apt update && apt upgrade | 12:54 |
oerheks | https://packages.ubuntu.com/jammy-updates/cmake-data | 12:54 |
m0n0p | I cannot install cmake | 12:54 |
oerheks | apt dist-upgrade, yes | 12:54 |
ioria | m0n0p, apt-cache policy cmake-data | 12:54 |
m0n0p | cmake-data: | 12:55 |
m0n0p | Installé : 3.22.1-1ubuntu1.22.04.2 | 12:55 |
m0n0p | Candidat : 3.22.1-1ubuntu1.22.04.2 | 12:55 |
m0n0p | Table de version : | 12:55 |
m0n0p | *** 3.22.1-1ubuntu1.22.04.2 500 | 12:55 |
m0n0p | 500 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages | 12:55 |
stenno | lol | 12:55 |
ioria | m0n0p, wait a minute , then paste 'sudo apt install --reinstall cmake-data | nc termbin.com 9999' | 12:56 |
m0n0p | https://termbin.com/eou9 with sudo apt install --reinstall cmake-data 2>&1 | nc termbin.com 9999 sorry for earlier | 13:00 |
ioria | m0n0p, dpkg -l | grep -v ^ii | grep -v ^rc | nc termbin.com 9999 | 13:02 |
=== Daniel is now known as toolz | ||
m0n0p | ioria, https://termbin.com/viub | 13:04 |
ioria | m0n0p, sudo mv /var/lib/dpkg/info/cmake-data* /tmp | 13:05 |
m0n0p | ioria, okay and then ? | 13:06 |
ioria | m0n0p, sudo apt install --reinstall cmake-data | 13:06 |
m0n0p | E: Internal Error, No file name for cmake-data:amd64 | 13:07 |
m0n0p | ioria, | 13:07 |
oerheks | maybe without * ?? | 13:07 |
ioria | m0n0p, sudo dpkg --configure -a | nc termbin.com 9999 | 13:08 |
m0n0p | ioria, https://termbin.com/kbme | 13:10 |
m0n0p | I reran it, and no output | 13:10 |
ioria | m0n0p, dpkg -l | grep cmake | nc termbin.com 9999 | 13:11 |
m0n0p | ioria, https://termbin.com/mipy | 13:12 |
ioria | m0n0p, ok; sudo apt update && sudo apt full-upgrade | 13:13 |
m0n0p | ioria, ok done | 13:14 |
ioria | m0n0p, no errors ? | 13:14 |
m0n0p | 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 |
m0n0p | . I can translate it if you want | 13:14 |
ioria | no it's ok | 13:15 |
oerheks | Unless you have cmake installed, you probably do not need this package. | 13:15 |
m0n0p | dpkg: warning: files list file for package 'cmake-data' missing, assuming package has no files currently installed | 13:15 |
m0n0p | oh okay | 13:15 |
ioria | m0n0p, it's correctly installed afaict | 13:15 |
m0n0p | ioria, Amazing thank you very much. Also why you did that :sudo mv /var/lib/dpkg/info/cmake-data* /tmp ? | 13:16 |
ioria | m0n0p, they are probably corrupted, and now have been replaced | 13:17 |
m0n0p | okay | 13:17 |
ioria | m0n0p, ls /var/lib/dpkg/info/cmake-data* | 13:17 |
m0n0p | ioria, "/var/lib/dpkg/info/cmake-data*": No such file or directory (os error 2) | 13:18 |
ioria | m0n0p, sudo apt --fix-broken install | 13:23 |
m0n0p | ioria, no errors 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. | 13:23 |
ioria | m0n0p, i think it's ok then | 13:23 |
m0n0p | ioria, ok thanks | 13:24 |
ioria | m0n0p, no problem | 13:24 |
younder | I'm afraid your OS has picked up French.. | 13:24 |
oerheks | Oui? | 13:25 |
ogra_ | younder, some call that "encryption" ... could be worse, could be chinese or so 😉 | 13:28 |
m0n0p | younder, and cmake bailed lol | 13:34 |
BluesKaj | Hi all | 13:35 |
sem | Hi BluesKaj | 13:46 |
sem | hey everybody -- today before work, I will sudo apt install kubuntu-desktop ! :D and also whatever you do to install wayland | 13:46 |
sem | I have already taken the precaution of creating a new user who will only log into kubuntu and never log into lubuntu | 13:47 |
BluesKaj | hi sem | 13:51 |
sem | 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 |
sem | i know its spelled differently but I forget what it was | 13:52 |
sem | i wish i remembered what it was called lol.. clicked through too quick | 13:53 |
sem | now i am making sure to install sudo apt install plasma-workspace-wayland | 14:00 |
Luisa14 | hey | 14:21 |
plastikman | !ask | 15:03 |
ubottu | 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:03 |
leftleg_ | Omg Richie Hawtin is here | 15:04 |
silv3r_m00n | 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:09 |
plastikman | I dont see why not, but i cant say for sure. | 15:33 |
plastikman | why not boot to a live cd, copy the data off the drive then attemt the re-install. | 15:33 |
=== tortilla is now known as tortillasandwich | ||
krushia | is there an ubuntu equivalent to https://snapshot.debian.org/ ? | 17:41 |
oerheks | old packages https://old-releases.ubuntu.com/ubuntu/ | 17:43 |
oerheks | old versions of the iso https://old-releases.ubuntu.com/releases/ | 17:44 |
oerheks | looking for mrwthumbnail ?? | 17:44 |
krushia | i think i just found it | 17:45 |
oerheks | :-) | 17:45 |
krushia | package is apparently named "mrwtoppm-utils" | 17:45 |
krushia | not to be confused with "mrwtoppm" lol | 17:46 |
oerheks | good spot! | 17:46 |
krushia | thanks for the link though | 17:46 |
szstr | How to uh hmm do bluetooth through command line? connect then get an aymaj? | 18:04 |
szstr | or wait uh connect then send audio iconed thing | 18:05 |
=== archie_ is now known as archie | ||
oerheks | szstr, scan connect trust https://medium.com/@muffwaindan/connect-and-use-wireless-usb-and-bluetooth-mouse-and-or-keyboard-on-linux-b23b1a35057b | 18:23 |
oerheks | the trust part is hardly to find in any manual | 18:23 |
oerheks | i use bluez, to connect, and then use the normal gui thingy | 18:24 |
=== rob is now known as Guest503 | ||
atreo | 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:52 |
leftyfb | atreo: gsettings if you're running gnome | 18:53 |
atreo | leftyfb: is it under ./config ? | 18:54 |
leftyfb | atreo: it's a tool, not a configuration file | 18:54 |
atreo | 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:56 |
leftyfb | atreo: gsettings is a command line tool that will do exactly what you're looking for | 18:57 |
atreo | leftyfb: oh | 18:57 |
atreo | hmmm ok, let me try to read about it | 18:57 |
atreo | leftyfb: i can't seem to understand the manual page, how can i add keyboard shortcuts using gsettings? | 18:59 |
atreo | it seems to be talking about key strokes | 19:00 |
leftyfb | keyboard shortcuts are a 2 part process | 19:02 |
leftyfb | gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']" | 19:03 |
leftyfb | that's part 1 | 19:03 |
leftyfb | then defining the details of the custom sortuct | 19:04 |
leftyfb | shortcut* | 19:04 |
leftyfb | - 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 |
leftyfb | - 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 |
leftyfb | - gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding "<Super>e" | 19:04 |
atreo | leftyfb: ohhh ok i think i see how this works | 19:04 |
atreo | ok let me try to understand what you just wrote give me 5 minutes :-) | 19:04 |
leftyfb | atreo: if you add another shortcut, you need to run the 1st command again but append the 2nd custom shortcut (custom1) | 19:05 |
ghost | hi | 19:05 |
=== ghost is now known as Guest7551 | ||
atreo | leftyfb: ok how do i findout what keyboard shortcuts i already have? so i can reverse engineer the commands you just wrote | 19:07 |
leftyfb | gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings | 19:08 |
atreo | leftyfb: i see | 19:09 |
atreo | i see i have three shortcuts (as expected) nice custom0 custom1 custom2 | 19:11 |
atreo | hwo do i print their content? | 19:11 |
leftyfb | gsettings get org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name | 19:12 |
leftyfb | command and binding | 19:12 |
=== tsimpson_ is now known as tsimpson | ||
atreo | leftyfb: woow there was no way i could have figured this out myself | 19:13 |
atreo | ok let me take notes | 19:14 |
Guest38 | does anyone have experience with this LUKS Encryption guide for Ubuntu ? <LINK> https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 </LINK> | 19:19 |
Guest38 | after following this guide step by step I and rebooting I boot into ubuntu without GUI | 19:21 |
atreo | leftyfb: when i run the commands the previous one gets deleted, i am confused | 19:22 |
atreo | leftyfb: this is my script: https://paste.debian.net/1309804/ | 19:22 |
leftyfb | atreo: I explained that to you. You need to append the new shortcuts | 19:24 |
atreo | leftyfb: oh | 19:24 |
atreo | leftyfb: what is the append flag? | 19:25 |
atreo | oh wait | 19:26 |
leftyfb | 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 |
atreo | you mean "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/'], , , " | 19:26 |
atreo | ohhhhhh ok i get it | 19:26 |
leftyfb | you define that first | 19:26 |
atreo | leftyfb: it works wow this is amazing !!!! :-) | 19:27 |
leftyfb | atreo: btw, look into ansible. That's how I setup my ubuntu environment, install all packages, configure everything and restore from backup | 19:28 |
atreo | leftyfb: interesting, it is a program that you install or is it within ubuntu itself? | 19:29 |
leftyfb | atreo: sudo apt install ansible | 19:29 |
atreo | leftyfb: ok | 19:29 |
atreo | 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 |
leftyfb | atreo: ansible will use gsettings | 19:30 |
leftyfb | atreo: dconf and dconf-editor are good tools to navigate and edit(not recommended) all the settings | 19:32 |
atreo | i see | 19:32 |
younder | 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:32 |
younder | There are many others like it puppet, chef, saltstack.. | 19:34 |
atreo | 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:37 |
leftyfb | atreo: sudo update-locale LANG=$new_language | 19:39 |
atreo | leftyfb: oh no, i don't use my local lanuage and format, because it is screwed up i used the UK one | 19:39 |
leftyfb | atreo: you asked how you set your language. That's how | 19:40 |
atreo | oh | 19:40 |
leftyfb | for timezone: timedatectl set-timezone $timezone | 19:40 |
leftyfb | with sudo | 19:40 |
atreo | i see | 19:40 |
atreo | leftyfb: how do i find out what is my current (update-locale) settings? | 19:42 |
atreo | since langauge is LAN what is format? FOR? FORM? FORMAT? | 19:43 |
atreo | *LANG | 19:43 |
atreo | leftyfb: its ok i figured it out | 19:44 |
=== les_ is now known as roger_UK | ||
atreo | leftyfb: ok how about appearance settings scheme? to change it from light to dark, where is that schema? | 19:50 |
ravage | gsettings get org.gnome.desktop.interface gtk-theme | 19:52 |
atreo | ravage: leftyfb i am getting the hang of it gsettings set org.gnome.desktop.interface gtk-theme "Yaru-dark" right? | 19:53 |
ravage | yes. or for a specific accent color Yaru-blue-dark | 19:55 |
atreo | ravage: nice | 19:55 |
atreo | 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? | 19:55 |
atreo | ravage: its ok i fiured it out list-keys | 20:01 |
bprompt | atreo: https://unix.stackexchange.com/questions/11164/how-do-i-browse-for-available-gsettings-options | 20:02 |
atreo | bprompt: thanks :-) | 20:02 |
bprompt | np | 20:02 |
atreo | this is exciting i am slowly scripting my ubuntu enviroment so i can be up and running automatically NIIIICE | 20:03 |
=== diogeness_ is now known as diogeness | ||
atreo | ravage: leftyfb in the nautilus there is a list-view but i cannot find how to setup (Expandible forlders in list view) | 20:20 |
=== Archimedes is now known as Archimedes1986 | ||
chives | 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:32 |
chives | so that if i detach screen remotely i dont have extra sessions | 20:34 |
tomreyn | you can write and install an xdg desktop file which runs gnu screen and executes it in a terminal emulator | 20:36 |
Square | 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:54 |
Square | s/being/to be/ | 20:55 |
oerheks | put it in fstab? | 20:55 |
oerheks | with proper permissions for steam | 20:55 |
Square | hmm.. not that i can remember. Never used fstab | 20:55 |
oerheks | https://askubuntu.com/questions/1489018/grant-steam-snap-access-to-second-hard-drive | 20:55 |
Square | thanks | 20:56 |
oerheks | Steam snap should have the removable drive permission by default. | 20:57 |
oerheks | see settings > applications > steam | 20:57 |
Square | okok. There was no mention of this mount in fstab, so maybe that's it | 20:57 |
oerheks | maybe one bit wrong, and wont automount | 20:57 |
bprompt | 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:57 |
Square | Gotcha. I'll try to use this info to make it work next reboot | 20:58 |
oerheks | yes! | 21:40 |
=== kvn_ is now known as kvn | ||
szstr | Best music .deb to download? | 22:48 |
bprompt | szstr: music player? | 23:00 |
szstr | music content | 23:02 |
bprompt | szstr: youtube.com or lastfm.com or pick any radio of choice | 23:03 |
bprompt | hehe | 23:03 |
szstr | Hmm what ayt about mana client or that Joba coded mmo download the client, just listen to the musziak | 23:05 |
szstr | Runesca3e! | 23:09 |
leftyfb | szstr: what is your ubuntu support question in clear English? | 23:11 |
szstr | Where can I get free cash? | 23:15 |
jeremy31 | szstr: Try a different chat? | 23:16 |
szstr | Well yeah | 23:16 |
leftyfb | they've been trolling here for a couple months now | 23:19 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!