/srv/irclogs.ubuntu.com/2022/04/13/#ubuntu.txt

oerheksMaximalist, have fun!00:01
junebugCan anyone recommend a free C++ IDE that works with ubuntu?00:20
oerhekseclipse, ruby, not free; vscode  ..00:23
oerheks!ide00:23
ubottuProgramming editors/suites: Terminal-based: vi/vim, emacs - KDE: Kate, KDevelop, Quanta+, Umbrello - GNOME: gvim, gedit, anjuta, pida, monodevelop, geany - Others: eclipse, netbeans, qtcreator00:23
oerheksold factoid, i think some are no longer supported00:23
oerhekshttps://snapcraft.io/search?q=ide00:23
junebugThanks00:38
jhutchinsThe stable version of Ubuntu 22.04 is scheduled to be released on April 21, 2022.00:39
jhutchinsI thought Quanta got killed in KDE 4.x00:40
jhutchinsPeople are starting to discuss the new release: https://www.howtogeek.com/796765/whats-new-in-ubuntu-2204-jammy-jellyfish/00:53
oerheksjhutchins, a whole list here00:55
oerhekshttps://ubuntuforums.org/showthread.php?t=2473442&p=1408888200:55
oerheksthanks to Bashing-om00:55
=== RaGE_Syria2 is now known as RaGE_Syria
=== grys is now known as gry
star_what ?06:40
jamesp_hey guys i have an external hdd with one folder when i view properties, says 204,752 items, totalling 600.5 GB  but then disk usage says 785.78gb used and 147.1gb free07:35
jamesp_so what is using that 185gb .. im stumped07:36
jamesp_ive also checked, no other partitions on the drive07:37
jamesp_sorry dumb moment it was in .Trash0107:39
=== lotuspsychje_ is now known as lotuspsychje
blasterHi, I recently migrated to a new system, and on my old machine I had a remote network drive that always auto mounted but I couldn't figure out how.  It didn't seem to be an SMB share, and there was no info about it in the fstab.  What else might it be?07:55
=== ledeni_ is now known as ledeni
alex079hi does anyone have experience with polybar i have mx linux i installed from sudo apt-get install polybar but i could not find the config file/directory also i created a config.ini which i can run but only by specifing the full path when i try just to run it i get an error set config path first which i cannot setup08:10
alex079sorry if i put things correctly and this seems kinda messed up08:10
lotuspsychjealex079: we can only support ubuntu and its !flavours in the support channel08:24
alex079oh sorry i thought that was a general question that could be answered but that's ok08:24
lotuspsychjealex079: maybe in #linux of the mx linux channel if there's one08:25
lotuspsychje*or08:25
alex079ok gonna try it! thx08:25
lotuspsychjegood luck!08:25
rick123So I rsync -r source remote-dest, is there a way to only move files that were changed in source only and not the ones that were changed in remote ?08:54
rick123If you know hwat i mean08:54
=== irc_standardnick is now known as lukefather
WeeBeyMorning frens. Question about the file system locations for apps. I can use apt to install Telegram but the version lags behind. So I downloaded it from their website but it's just the executable. Where should I place this so that I can launch it with the Activities search?11:16
WeeBeyI can put it in /usr/bin which is global but only for CLI unless I make a .desktop icon manually... Which seems too laborious for what I'm trying to do. lol11:17
lotuspsychjeWeeBey: usualy the desktop icons are in /usr/share/applications11:17
lotuspsychjeWeeBey: alternate you can install the telegram desktop snap11:18
WeeBeylotuspsychje, There are so many places for apps! I was thinking maybe /opt/? But in this location that you suggested, it's still only for CLI unless I make a .desktop file for my user, correct?11:19
WeeBeyAnd yes, I could install the app but they're many months behind in updates.11:19
WeeBey*snap app11:20
oerhekshttps://snapcraft.io/telegram-desktop ??11:20
WeeBeywait.. are they?11:20
WeeBeyAh yes. 3.4; they're at 3.6.1 now.11:21
WeeBeyIs there a location in ~/.local, perhaps?  I launch most of my apps through the activities search bar11:21
lotuspsychjeWeeBey: snaps can choose channels to install stable, edge,..11:22
lotuspsychjelatest/edge:      3.6.2-169-gd4cb56a7311:22
WeeBeyOh interesting. I'll look at this.11:23
lotuspsychjesnap info telegram-desktop WeeBey11:23
WeeBeyoh wow11:23
WeeBey"It's a whole new world!"11:24
lotuspsychjeWeeBey: https://snapcraft.io/docs/channels11:26
WeeBeylotuspsychje, thanks for the links! That's what I was searching for just now. :-)11:26
lotuspsychjebreak often vs stable might be a good query11:27
WeeBeylotuspsychje, for a thing like this, it should be fine. But it's a good point. I wouldn't do it for other things. :-)11:28
WeeBeylotuspsychje, this is cool. Thanks for your help. :-)11:30
lotuspsychjewelcome WeeBey11:30
=== krisd_ is now known as krisd
=== jclsn9040 is now known as jclsn
BluesKajHi all12:47
TalarisHey all. I am trying to use Ubuntu's Bash app and having some trouble. I tried searching the Help app but it didn't have anything about Bash.12:51
TalarisI thought I could use a 'goto' operator but 'goto' doesn't exist in the bash language. Does anyone know a way to achieve the same behaviour?12:52
TalarisThis is my code: https://pastebin.com/F8YcWGPW12:52
ravageTalaris, try #bash12:54
Talarisravage: Thanks12:55
WeeBeyHello frens. I think I have exhausted the search results. I'm trying to find a solution to the famous problem of losing touchpad after suspend. I have tried reloading the input modules after suspend and also switching input drivers. Does anyone know any tricks?13:05
TalarisWhich model13:06
WeeBeyTalaris, laptop? Razer Blade 15 mid-202113:06
WeeBeyAlso tried going from 5.13.x kernel to 5.16.1913:07
TalarisOk, I can't help. I just asked because that's what someone who helps you would have asked.13:07
* WeeBey blinks13:08
WeeBeylol13:08
WeeBey:-)13:08
ravageWeeBey, https://rolandguelle.github.io/razer-blade-stealth-linux/ubuntu-18-04.html#15-touchpad-suspend ?13:12
ravagemaybe that works for you too13:12
ravagesomeone also wrote a script: https://askubuntu.com/questions/968790/how-to-run-sudo-sh-file-after-wakeup-touchpad-disabled-after-upgrading-to-ubu13:15
TalarisHow can I get the value of an interface MAC address for use with a 'if' Bash function? Do I use 'cat' or something on it in /dev/(interface)?13:22
nadio? Talaris test ifconfig eth013:24
nadioifconfig eth0 hw13:24
Talarisnadio. Cool, but that returns all values, I need just the MAC address value.13:25
leftyfbTalaris: ip a show dev eth0|awk '/ether/ {print $2}'13:30
ravageor just: MAC=$(cat /sys/class/net/enp2s0/address);echo $MAC13:30
nadioTalaris: as I said try ifconfig eth0 hw13:30
leftyfbnadio: that does not work. Also, ifconfig is deprecated and not installed on modern releases of ubuntu13:31
TalarisThanks people, I will try them both out now.13:31
rob0BTW ifconfig and linux-nettools have been deprecated over 20 years now.13:31
nadiowhat are the kids using this days if not ifconfig?13:31
leftyfbip13:32
rob0kids are still using ifconfig ;)13:32
nadiogood, otherwise they deserv good yelling and complaning :)13:32
nadioTalaris: should be way to get out the MAC in nice line from ifconfig, otherwise would just use grep personally13:33
Talarisravage legend mate13:35
Talarisand thanks leftyfb also13:35
rob0"ip -o link show eth0"13:35
rob0(assuming eth0 is the interface you want)13:36
Talarisrob0 nope, that gave me more than the MAC address. Thanks anyway13:36
leftyfbip a show dev eth0|awk '/ether/ {print $2}'13:36
leftyfbcat /sys/class/net/enp2s0/address13:37
leftyfbreplace "eth0" and "enp2s0" as needed13:37
Talarisleftyfb 2nd one is easiest :)13:37
rob0Solutions which rely on ifconfig might work now, but won't in the future.13:38
TalarisI'm going to go away for a bit and work on my code.13:38
Talarisrob0 thanks for letting me know. My setup is for my use only.13:38
Talarisifconfig is like IPv4. We have IPv6 but people keep on just using IPv4. lol13:39
leftyfbnot exactly13:39
olairc.worldhacker.org is open for public now , request anything from channel #0day , see ya there ... .13:39
leftyfbifconfig still works perfectly fine as does ip. ipv6 does not work in all cases13:39
Talarisleftyfb interesting13:40
TalarisYou have to admire Unics's simplicity over Windows with the whole 'sys/class/net/enp2s0/address' layout.13:43
leftyfbTalaris: Ubuntu uses a linux kernel.13:44
rob0ifconfig does not work in all cases, no.13:45
Talarisleftyfb yes, which is a copy of Unics's kernel.13:45
rob0And ifconfig has the weird bug of displaying its aliases as if they were interfaces.13:46
leftyfbTalaris: not only is "Unic's" not a thing, but Linux was based on the UNIX kernel and userland applications 30 years ago. There's been no direct relationship since.13:46
rob0"Newer" interface types are not fully understood by ifconfig.13:47
leftyfbrob0: like?13:47
Talarisleftyfb UNIX was originally called Unics. Linux's design was a total copy of its kernel. GNU's userland applications are the other part.13:48
rob0you'll often see strange things, such as for MAC addresses.  I think tun and tap interfaces do.13:48
Talarisleftyfb: GNU coreutils package I believe.13:49
olleHmmm, nothing happens in dmesg when I put in hdmi cable to my new msi laptop13:55
olleAny ideas...?13:55
olleI have ubuntu server edition lts with xfce4 installed13:55
leftyfbolle: why? Why didn't you just install xubuntu?13:55
Talarisravage I get the message that cat can't be found. What did I do wrong? https://pastebin.com/raw/7Dx5mQhk13:56
olleleftyfb: dunno, just usually how I do it13:56
olleI'm not using the xfce4 window manager or desktop13:56
leftyfbolle: then why install xfce4?13:57
olleleftyfb: I use some of the tools, but you're missing the problem xD13:58
ollewhich is hdmi port and dmesg13:58
leftyfbolle: yeah, I can't help with that problem at the moment. But with no GUI, I'm really interested in what "tools" you use on a server from xfce413:59
olleI use gui, but I use openbsd cwm instead14:00
ollerebooting14:00
oerhekssounds like you need to hit FN + screen key .. oh14:06
leftyfbTalaris: https://pastebin.ubuntu.com/p/dp9BWNKr7G/14:06
TalarisLooks awesome leftyfb. I have to go and cook now but I will try it when I get back.14:07
olleGonna try with Manjaro and see14:19
leftyfbolle: I'm pretty sure plugging in a monitoring doesn't show anything in dmsg. I could be wrong14:25
betongguys go to irc.worldhacker.org , he really release all source code channel #0day , prepare your own repo14:31
oerheksoh, all source code..14:31
Talarisleftyfb awesome, thanks it worked.14:47
TalarisHow would I do this though?14:47
Talarishttps://pastebin.com/raw/mXpr9C3Q14:47
leftyfbTalaris: you should be asking in #bash14:48
TalarisSorry I got a bit PHPy in their14:48
TalarisI'd rather ask here.14:48
TalarisPeople answer here.14:48
leftyfbTalaris: your questions are how to do #bash14:49
Talarisleftyfb Bash is Ubuntu.14:49
rob0#bash can help you better.14:50
leftyfband redhat and fedora and debian and centos and manjaro and .....14:50
TalarisIf anyone knows how to do it, please let me know.14:50
rob0Your issue has something to do with the distinction between the "[" and "[[" operators.  Try "help [" and "help [[".14:51
rob0and go to #bash for more help14:51
Talarisrob0 I don't understand what you mean. Could you give me an example?14:51
TalarisNah, staying here. Like it here better.14:52
rob0no, I don't do much with that stuff.14:52
Talarisrob0 all good. Thanks14:52
rob0#bash people do.14:52
Talarisrob0 no one responds in there.14:52
leftyfbTalaris: someone responded in there less than a minute ago14:52
TalarisOk I will have another look14:53
rob0They do tend to expect you to read the /topic and prepare your questions.14:53
TalarisWhat topic?14:54
TalarisWell they are arguing about Unics clones.14:55
TalarisThis is one subject you don't want to go near.14:55
leftyfbTalaris: stop with the "Unics"14:55
TalarisIts a black hole.14:55
Talarisleftyfb why?14:55
leftyfbTalaris: feel free to discuss historic events in #ubuntu-offtopic14:55
TalarisThanks but I am already familiar with the topic.14:56
TalarisOh you are right, Unix.14:57
TalarisNo ones responding. All good, I'll start trolling, then they'll respond. ;)14:59
leftyfbTalaris: no need for the commentary here. Please stick to Ubuntu-specific support questions14:59
leftyfbTalaris: and I suggest asking for help and being patient, not trolling15:00
rob0Almost every IRC channel has a "/topic", which most clients display at the top of a channel window.15:00
rob0You should always read the /topic when you join any channel.  Type "/topic" in your client if the line in your window is truncated.15:01
leftyfbah right, Kolusion. Now it makes sense15:02
Talarisrob0 normal people don't do that. I didn't even see it.15:02
rob0Smart users do.15:03
leftyfbrob0: just ignore them. They've been trolling libera.chat for a week now15:03
rob0check15:03
jongstaapt --list installed | grep linux shows old kernels that are no longer installed - how do i remove this from the apt --list?15:04
oerheksjongsta, normally old kernels are removed with the next update run15:04
jongstaso apt update should remove them?15:05
ravageapt autoremove15:05
oerheksyes, you will notice 0kb at the end of the kernel in the update list15:05
Talarisleftyfb I am starting to feel a little bit of friction emanating from the direction of vicinity. I hope I haven't done anything to upset you.15:05
jongstai tried apt --purge autoremove but that didn't work15:05
leftyfbjongsta: sudo apt remove linux-image-<insert kernel version here>-generic15:06
oerheksdpkg --list | grep linux15:06
TalarisThese people definatly will not be able to assist me so if anyone here knows how to help me with this Ubuntu's Bash then please let me know.15:09
jongstaleftyfb: how can i force kernel removal if that's the kernel i'm currently on without being prompted?15:09
jongstaor will the system not function if i do that?15:10
ravagedont delete your running kernel15:10
ravagereboot. see if the newer version works15:10
oerheksjongsta, no, you will keep current and 1 previous kernel.15:10
leftyfbjongsta: why would you want to delete the running kernel?15:10
ravagethen remove old ones15:10
jongstaleftyfb: the default image i launch in aws is running a kernel we don't want. i'm testing a script to install the kernel we do want. goal is to have this script do everything i need in one go15:11
jongstathere's a bunch of packages etc getting installed but i'm attempting to remove all unused kernels. obviously won't be able to boot into the new kernel until reboot which is fine as the last task15:11
domino14sigh, i really need help. i built a new computer and put ubuntu 21.10 on it. i wanted to try out the 22.04 beta and my computer is now unrecoverable15:12
oerheksjongsta, wrong approach; first boot 'in the kernel you want', then run autoremove15:12
domino14ever since i first tried ubuntu over 10 years ago, almost every time i upgrade to the next version it screws up my computer and won't load15:12
TrippyJargh15:12
leftyfb!next | domino1415:12
ubottudomino14: Jammy Jellyfish is the codename for Ubuntu 22.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.15:12
jongstaoerheks: that's not ideal for automation15:12
oerheksdomino14, seek help in #ubuntu-next ( until release)15:12
domino14now even the live USB won't load15:13
TrippyJI typed crontab in my CLI and now I am stuck... is this VIM?15:13
* TrippyJ forgot the -e15:13
domino14all right, but can i at least get help with booting form the 21.10 live usb? i have a feeling it's because of my graphics card15:13
leftyfbdomino14: not being able to boot to a usb flash drive has nothing to do with the OS installed on the local hard drive15:13
oerheksdomino14, new computer, check for bios updates first..15:13
domino14well, i just booted into it 2 days ago15:13
domino14like, i think i know how to fix it. i have to open up my computer, take out my graphics card, then reinstall from the usb, and then put the graphics card back in, and install the nvidia drivers15:14
domino14i shouldn't have to do that. is there another way? i tried safe graphics mode and it's just a black screen15:14
domino14and even then, i want to recover my system, i don't want to have to reinstall everything15:14
tomreyndomino14: you can possibly get help with recovering your 22.04 beta installation in #ubuntu-next. you can possibly get help with preparing and booting your 21.10 usb stick here.15:17
TrippyJWhen I type stuff like crontab and it auto-opens in VIM, can I make it always default to nano?15:18
TrippyJVIM takes me, on average, 6-8 hours just to exit, per session. I'm sure there are zombie VIM instances I opened back in 2004 still running somewhere.15:19
TalarisThe #bash route is a disaster, which I foresaw.15:19
tomreynTrippyJ: set the EDITOR environment variable to point to the nano binary15:20
oerheksas you are exposed as Kolusion, you will find no help from us too15:20
TrippyJAh! That is the phrase I was looking for "environment variable"15:20
TalarisTerrible advice people.15:20
rob0oerheks: haha, thanks.15:21
Talarisoerheks are your feelings hurt because I told you that no one cared about your music webpage?15:21
leftyfbTrippyJ: sudo update-alternatives --config editor15:21
Talarisoerheks you couldn't help anyone even if you tried.15:22
domino14TrippyJ: escape-q!15:22
domino14or escape-wq if you want to write the changes15:22
domino14err, escape-colon-wq and colon-q!15:22
Talarisoerheks you are one of those awkward Linux users everyone in the workplace tries to ignore because you argue about everything.15:22
leftyfb!op | can we please remove Talaris / Kolusion .... again?15:23
ubottucan we please remove Talaris / Kolusion .... again?: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK DJones el Flannel genii hggdh ikonia krytarik mneptok mwsb nhandler Pici popey sarnold tomreyn Unit193 wgrant15:23
TalarisWhen you read articles about Linux superiority toxicity, they are talking about you.15:23
Talarisand other socially retarded people such as ubottu15:23
TrippyJoerheks: Where is the music page nobody cares about?15:23
* TrippyJ also produce music and videos for many years, to a massive audience of nobody cares :(15:24
TalarisTrippyJ probably next to his webpage about his stamp collection. HA HA15:24
TrippyJLike, the next IP over, or a similar domain?15:24
TalarisI donno mate.15:24
TrippyJAlso15:24
TrippyJDo  I need to touch log files I am creating in /tmp/ first?15:25
TalarisTrippyJ do you understand Bash scripting?15:25
TrippyJor are they just getting auto-scrapped?15:25
TrippyJNo, which is why I am here15:25
hggdhTalaris: can you please stop15:25
Talarishgg who the fuck are you?15:25
TalarisAnother womanless loser?15:25
TrippyJ*sigh*15:25
TalarisWhite knight to the rescue.15:25
TrippyJTalaris is where I was... 20+ years ago15:26
tomreynTalaris: ban evasion is not acceptable, nor is your continued abuse.15:26
rob0tomreyn++15:26
TrippyJI used to be super lame like that, too. Not as abrasive, but as a teenager I quickly learned about klines / akill.:(  haha15:26
leftyfbTrippyJ: lets get back to support questions15:26
TrippyJIndeed15:27
domino14"Loading initial ramdisk ...." "error: out of memory" when I try to boot older kernels15:27
domino14what means? i have a 1TB hard disk and 64 GB of RAM15:27
leftyfb!next | domino1415:27
ubottudomino14: Jammy Jellyfish is the codename for Ubuntu 22.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.15:27
TrippyJSo, do I need to touch my /tmp/whatever.log files before my crontab runs, or are the results I am piping out getting deleted automatic?15:27
domino14this is literally the computer i would have dreams about15:27
domino14im trying to just boot from GRUB15:27
TrippyJI have like command 2>&1 /tmp/whatever.log  but when I look there, I don't see them - is it because I have not touch them first? Or do I need to store them elsewhere as they are getting deleted by the system?15:28
oerheksdo a memtest86 run, or on a UEFI system, use the memtest86 iso from their site15:28
rob0Generally a cron script should be able to create files in /tmp, if someone else has not already created that file.15:28
domino14no one is at ubuntu-next15:40
leftyfbdomino14: there are 91 people in there15:40
TrippyJThe main reason I started using Ubuntu a thousand years ago was because the IRC was jam packed 25/715:44
tomreynTrippyJ: this is a support channel *only*, we also have #ubuntu-offtopic if you like15:51
tomreynand you want    command >/tmp/whatever.log 2>&115:52
tomreyn...or the bash only shorthand:  command &>/tmp/whatever.log15:55
PayamHi, I have a ubuntu on my vm. Whenever I try to open xchat I get some kind of timeout. I think the ports are closed. how do I know if the port is closed and how do I use another port? I can use irc on the webbrowser but not with applications17:00
PTNapivoskiPayam, HexChat17:02
Payamyes hexchat17:03
PTNapivoskiXChat or HexChat?17:04
PTNapivoskiI suggested HexChat instead of XChat17:06
Payamyes17:07
PayamI use hexchat17:07
leftyfbPayam: is it a VM on your local machine?17:07
PayamVM17:07
leftyfbPayam: ys, we understand it's a VM. Is it a VM on your local machine?17:08
Payamyes17:08
Payamwhere should it be otherwise?17:08
PayamVM on cloud?17:08
leftyfbPayam: using which virtualization software?17:08
PayamOracle VM17:08
leftyfbPayam: do you mean VirtualBox?17:09
Payamyes17:09
leftyfbPayam: can your guest OS access websites?17:09
Payamyes17:10
Payamsometimes I go to libera.chat and chat from there17:10
leftyfbPayam: https://libera.chat/guides/hexchat17:11
leftyfbPayam: or https://libera.chat/guides/connect17:11
PayamI used all the ports17:19
tomreynPayam: run this on a terminal window (a terminal emulator):    nc -vv -w5 -z irc.libera.chat 669717:26
tomreynthen tell us what the output is. if it's more than one line, use a pastebin service17:27
Payamtomreyn nc: connect to irc.libera.chat port 6697 (tcp) timed out: Operation now in progress17:37
leftyfbPayam: can you connect using your host OS?17:38
Payamno17:38
Payamonly webbrowser17:38
Payamit is a company computer17:38
leftyfbPayam: what OS your host running?17:39
leftyfbah17:39
Payamwin 1017:39
leftyfbPayam: ok, so your business is blocking IRC. Makes sense17:39
leftyfbPayam: if you'd like to change that, contact the IT department at your company17:39
leftyfbPayam: this isn't an ubuntu issue17:39
Payamah17:40
Payambut I am an admin on my computer17:40
PayamI should  be able to change it right?17:40
leftyfbno17:40
Payamwhat do you mena17:40
leftyfbPayam: your company is blocking access to IRC. Which makes total sense.17:41
leftyfbPayam: it's probably not done on a per machine basis17:41
leftyfbPayam: contact your IT department for further details17:41
Payamso if I connect to my home network, it should be possible you mean?17:41
PayamI am asking a general question. is it based on network or configuration on host/guest os?17:41
leftyfbPayam: it's more than likely your company blocking access to IRC ports on their firewall or proxy17:42
Payamah okey. I just find it annoying but if I can do it via my home network it is okey.17:42
tomreynsure, you could tunnel through an ssh server or vpn at your home.17:43
tomreyn(this may or may not be acceptable with your network admins.)17:44
leftyfbyeah, not a big fan of assisting people with getting around firewalls. Especially in a company or school17:44
PayamNot me either. I didn't know it was a firewall things. but the science should be out there any way.17:49
trafficjamshould 4GB be an issue?17:55
trafficjam*of swap17:55
trafficjamhtop shows i'm 12/15 GB of ram usage, and 3.9GB / 4GB of swap usage17:56
trafficjamand my system is running extremely hot17:56
trafficjamcpu usage is relatively low17:56
trafficjamwould increasing swap size help with this?17:56
leftyfbno17:56
leftyfbtrafficjam: what OS are running?17:57
trafficjamubuntu-derived17:57
leftyfbtrafficjam: ok, please seek support from that distribution. We cannot support it here17:57
trafficjamis there a kubuntu channel?17:58
leftyfbtrafficjam: yes. Though is it kubuntu or a distro based on ubuntu that is running KDE?17:58
trafficjamnow i'm at 4/4GB swap17:59
=== dionysus70 is now known as dionysus69
leftyfbtrafficjam: for instance if you are running KDE Neon, then join #kde-neon17:59
trafficjamit sounds like increasing swap wont fix the issue anyway, seems like the only thing that will is buying more ram18:00
ravageor you find out what uses your ram18:01
trafficjami know whats using my ram, i was just hoping that increasing swap would fix it18:01
ravageswap will never solve any ram issues for long18:01
trafficjamyeah then i guess i just need to buy a new laptop, i thought 16 GB would be enough for a dev machine but i guess these days its not18:02
leftyfbtrafficjam: depends on what "dev" work you are doing18:03
ravagenot if you are a java developer for sure :)18:03
trafficjamnot even that, it's frontend development on a single vscode instance, and about 30 chrome tabs18:03
leftyfbtrafficjam: what OS are you running?18:04
trafficjamkubuntu18:04
trafficjamnot that it matters, its a ram issue i guess18:04
trafficjammight have to buy a 32GB macbook or something18:04
ravagegood luck :)18:05
leftyfbit's been years since I've used KDE, but last time I tried, it was more pretty than efficient18:05
leftyfbalso video drivers18:05
trafficjamyeah it's not the os, it's these ridiculous modern frontend workflows18:05
Abdullah188I once had a bug with my Oracle Linux (RHEL derivative), where it would fill the entire RAM + Swap. I wonder if you're facing something similar.18:06
trafficjamwouldn't surprise me actually18:06
trafficjamit does like it always fills up18:06
trafficjamprobably some memory leak in one of the tools im using18:06
ogratrafficjam, reboot, after login use htop, turn off "userland threads" in the settings and sort be "RES" ... then let that run aside on your desktop ... then yu can see what leaks and file a bug against it a simple desktop machine with 16GB should definitely not swap a lot if you dont do massive things like video encoding or some such18:13
=== dionysus70 is now known as dionysus69
webchat77Hello, Im trying to learn the linux boot process on Ubuntu.I know that it uses systemd.Im on Ubuntu 20.04 LTS.From what I've read online the /etc/systemd/system/default.target is a sym link to the actual target file.The default.target file is not under /etc/systemd/system.Its under a different directory and it doesn't appear to be a sym link to the18:14
webchat77actual target file.Where can I find update info on Ubuntu and systemd.Thahnks18:14
=== jacob-thompson is now known as tabbycat
oerhekswebchat77, see the releasenotes, so yes, you are using systemd18:15
trafficjamogra: yeah good idea, thanks18:18
leftyfbwebchat77: ls -l /lib/systemd/system/default.target18:20
webchat77What do you get when you run ls -l /lib/systemd/system.default.target.Im not on my ubuntu machine at the moment.But if i remember correctly It doesnt point to anything.Its not a sym link.But I would have to go back to my ubuntu machine and double check. Thanks18:23
=== tabbycat is now known as tealtabbycat
webchat77ls -l /lib/systemd/system/default.target *18:23
leftyfbwebchat77: it is a symlink on a default install of ubuntu18:23
oerheksi am sure you use systemd.18:24
webchat77got it.Thanks.I guess they changed the location of default.target.Thanks again.18:25
leftyfbthey?18:25
=== five643333496342 is now known as five64333349634
=== Starmina_ is now known as Starmina
greenubuntuhi20:09
greenubuntui just installed ubuntu and i need another alternative to youtube because of privacy20:10
nickgawHi, Just wondering is the mettle as a service where you can spin up Ubuntu servers accessible over ssh once the server is running?20:11
matsamangreenubuntu: privacy?20:13
matsamannickgaw: what's the context here?20:14
leftyfbgreenubuntu: alternatives to websites is not an ubuntu support question20:15
leftyfbnickgaw: you might want to /join #maas20:15
nickgawThe reason I am asking about if I can use these servers over ssh is I am totally blind and use screen readers and not sure if the server Ubuntu iso image has the console speakup screen reader in it around during the installation process like Debian does and as I am wanting to build the android source code so was trying to find accessible options for using Ubuntu I know the desktop includes orca but not sure if gcc and other tools are included by default?20:16
greenubuntu 20:17
matsamannickgaw: is there something you want from Ubuntu that Debian doesn't provide?20:17
leftyfbnickgaw: MAAS is meant to automate deploying ubuntu server to remote physical servers20:18
nickgawYes the correct packages to build the android source code as Debian does not allow me to build it as it always blows up when I try to build it on Debian but I am wondering if this is not directly related to the distribution.20:18
nickgawSo would possibly using a normal virtual private server billed by the hour be the best option for doing building testing?20:20
ravagenickgaw, you can check out lxd. you can spin up an Ubuntu container pretty fast and test your build20:21
nickgawIs lxd a package I would install on top of Debian?20:21
ravageyes. it is a container management20:22
nickgawHow easy is it to transfer files between the container and the normal host system?20:22
leftyfbnickgaw: on top of Ubuntu, though it'a probably also available in Debian. But we can only help with Ubuntu here20:22
ravageyou can do it via command line20:22
matsamanlxd is built on top of lxc20:23
ravagenickgaw, basically it is https://snapcraft.io/docs/installing-snap-on-debian20:23
ravageand then20:23
ravagesnap install lxd20:23
nickgawunderstandable about only supporting Ubuntu here but there are methods for once things are built in the container to transfer them off of the container to other places?20:23
matsamannickgaw: yes20:24
leftyfbnickgaw: yes. You can use either a network filesystem or if you use the "dir" filesystem option, you'll see those files right in your host filesystem20:24
nickgawgood as this is what I want to do after the build is finished and are containers different then virtual machines like my existing screen reader would work in the container I would not have to install one like I would on a virtual machine?20:25
ravagelxd also has a command to pull/push files and folders20:25
matsamannickgaw: kind of different20:25
matsamannickgaw: there is some overlap20:25
matsamannickgaw: but usually the idea with containers is that you have some separation, but not strictly virtualization of _hardware_ (and entire virtual computer, for example)20:25
matsamannickgaw: but virtualization of hardware _can_ also be included20:26
leftyfbnickgaw: at it's most basic, your lxd container would just be accessible from your host terminal via the lxc command or over ssh20:26
matsamanmost likely there is some FUSE-based solution that would be the very simplest20:26
ravagenickgaw, as long as your screen viewer can read your terminal it can also read the container's terminal. you can SSH into it or just start a shell directly into the container20:26
nickgawOnce I start a lxd container I could either use the tools that lxd uses to get access to it is that a bash shell once I am in the container?20:26
ravagenickgaw, yes20:27
nickgawLets say something is messed up and I need to use a ssh client to access it which would be accessible with a screen reader I could then use normal ssh keys to jump into the container to do tasks?20:28
ravageyes20:28
ravageif you start a ssh server in that container of course20:29
nickgawCan you create lxd containers once your setup is ready if you want to copy that to another container is that doable20:29
leftyfbnickgaw: there's also #lxc where these questions would be more appropriate20:30
ravageyou would need to copy it to the host and then to the other container20:30
ravageor, if both containers are on the same network you can rsync/ssh files over too20:30
nickgawWhat is the main difference in lxc amd lxd?20:30
leftyfblxd manages lxc containers20:31
leftyfbnickgaw: /join #lxc20:31
NitrigaurRunning Ubuntu 21.10, I get an error when trying to eject an SD-card : "error ejecting /dev/mmcblk0: Command-line `eject '/dev/-mmcblk0" exited with non-zero exit status 1: eject: unable to eject."23:08
NitrigaurWhen I run findmnt -D I see that the umount has happened cleanly , but this error should not occur.23:11
geniiDoes it also complain if you try it with -a off23:11
geniiBecause it will do this complaint if it thinks the device has some autoeject mechanism when it doesn't23:12
Nitrigaurgenii, I see why it happens, but it will reflect badly on Ubuntu's reputation as a serious desktop environment if this is not fixed.23:14
Nitrigaurgenii, you mean umount instead of eject via Nautilus?23:16
Nitrigaurgenii, it even has "Smart card reader" as identifier in the lshw overview, so Ubuntu should react more intelligently to this.23:23

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