/srv/irclogs.ubuntu.com/2024/11/12/#ubuntu.txt

PattiCakehi00:56
PattiCake:)00:57
PattiCake:(00:57
=== kentucky4442434 is now known as kentucky444243
=== TheGhost is now known as anonym0us
=== runelind_ is now known as runelind
=== Juesto is now known as Juest
=== Guest249 is now known as EriC^^_
CodeSpelunkerHello05:14
CodeSpelunkerHaving some trouble booting into Ubuntu haha05:14
CodeSpelunkerIt reaches the splash screen, but very quickly my display loses signal05:15
jStefanare you using multiple monitors ?05:21
=== anonym0us is now known as eLdr1ch
=== eLdr1ch is now known as an0nim0us
=== an0nim0us is now known as an0nym0us
=== an0nym0us is now known as eLdr1ch
=== iwannaberoot5 is now known as iwannaberoot
osseWhat determines whether to group two windows into one icon in the sidebar? Is it simply the executable? I am manipulating the name and class of new windows but they are still grouped07:34
ravagelook up StartupWMClass07:39
osseIt sounds like what I'm after but it also has no effect07:52
mgedminStartupWMClass is only for X11 apps; Wayland has its own app_id protocol08:58
mgedminhttps://developer.gnome.org/documentation/tutorials/application-id.html08:59
=== Dimitris is now known as Guest8230
lamarkHi09:41
osseI am on X1109:50
=== Guest8230 is now known as Dimitris
mgedminon X11 the _GTK_APPLICATION_OBJECT_PATH window property is the primary one, WM_CLASS is used as a fallback10:00
mgedminI think10:01
mgedminoops, _GTK_APPLICATION_ID, not the one I pasted by mistake10:01
=== multi8_ is now known as multi8
nikos_hi10:52
ossemgedmin: how can I see the _GTK_APPLICATION_ID ? xprop shows _GTK_EDGE_CONSTRAINTS but that's the only _GKT_* property that's listed11:22
osse`xprop _GTK_APPLICATION_ID` then click (I think), but it says "not found."11:25
mgedminI see it in xprop; if you do't see it, I guess this is not a GTK app and gnome-shell should be using WM_CLASS to identify the .desktop file11:30
=== todi_away is now known as todi
=== Square2 is now known as Square
BluesKajHi all12:25
mmx_in_spacehi all. is there a single easy script somewhere to enable laptop discrete graphics card (mine is RTX 2050) instead of integrated (intel UHD graphics)?13:52
lotuspsychjemmx_in_space: nvidia-settings to swap between intel vs nvidia13:54
mmx_in_spacelotuspsychje: Still my game apparently is reporting integrated graphics are being used (this game called Quake Live [via Steam/Proton])13:58
lotuspsychjemmx_in_space: can you !paste the output of; sudo lshw -C video , please13:59
mmx_in_spaceok just a minute14:00
mmx_in_space!paste14:02
ubottuFor posting multi-line texts into the channel, please use https://bpa.st | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:02
mmx_in_spacelotuspsychje: https://bpa.st/2LUA14:04
tomreynyou can use:  __NV_PRIME_RENDER_OFFLOAD=1 steam -applaunch <APPID>14:04
lotuspsychjedont see a driver=... on his nvidia card14:05
tomreynAPPID can be found on the games' store page14:05
lotuspsychjemmx_in_space: can you also paste your; sudo dmesg , please14:06
mmx_in_spaceok14:06
tomreynlspci -knn | grep VGA | nc termbin.com 999914:06
tomreyncontext for above: https://developer.valvesoftware.com/wiki/Command_Line_Options#Steam https://download.nvidia.com/XFree86/Linux-x86_64/550.127.05/README/primerenderoffload.html14:07
tomreynalso https://wiki.archlinux.org/title/PRIME#PRIME_GPU_offloading14:08
mmx_in_spacelotuspsychje and tomreyn okay thanks y'all i'll take it from here. 🙂14:12
tomreyngood luck14:17
lotuspsychjemmx_in_space: i would still like to see your dmesg, just to make sure everything is right with your nvidia14:19
mmx_in_spaceok just a sec; is it supposed to be several pages long?14:19
mmx_in_spacejust paste to bpa.st again?14:20
lotuspsychjesure thing mmx_in_space14:21
mmx_in_spacehttps://bpa.st/LJC7WOTZY73HN3ZKIJBVBPMR4Y14:37
mmx_in_spacelotuspsychje:14:37
lotuspsychjeaha14:38
lotuspsychjetry secureboot disabled mmx_in_space , enabled it can influence your hardware14:38
mmx_in_spacelotuspsychje: need to do some errands will get back later today in a few hours. thanks again y'all 😃14:40
lotuspsychjeok good luck mmx_in_space14:40
mmx_in_spacecheers14:40
=== datavault is now known as dataman
=== travisghansen4 is now known as travisghansen
allmyfriendsHello World!16:16
lotuspsychjewelcome allmyfriends16:18
allmyfriendshehe thanks16:18
lotuspsychjehow can we help you today allmyfriends16:18
allmyfriendsnah man i just installed lxqt and this also comes with it16:19
allmyfriendsand ginna gie it a try16:19
allmyfriendsu good man?16:19
=== Juesto is now known as Juest
mmx_in_spacelotuspsychje: i think i want to hold off for now on trying secure boot off18:08
lotuspsychjemmx_in_space: why's that?18:08
mmx_in_spacebut maybe you can help me get my trackpad working while wasd'ing ?18:08
mmx_in_spacejust feel uncomfortable about it without knowing more about it first18:09
mmx_in_spacei can live with the not as high as fps as i'd like for now18:10
lotuspsychjemmx_in_space: what i suspect is secureboot is blocking your nvidia and prevent you to play on steam18:10
mmx_in_spacei can play on steam18:10
mmx_in_spaceit's just the frames per second aren't as good as i'd like18:11
mmx_in_spacestill decent though18:11
lotuspsychjeyeah as it fallsback to intel graphics18:11
mmx_in_spacesteam is working okay, not outstandingly but good enough for now18:12
leftyfbmmx_in_space: secureboot buys you absolutely nothing18:12
mmx_in_spacehmm18:12
mmx_in_spaceperhaps, but will it maybe causes any other problems with anything else maybe?18:13
mmx_in_spacewill it prevent me from using windows if i need to or anything like that?18:13
leftyfbWill secureboot cause problems if you disable it? No18:13
tewardmmx_in_space: not unless you're installing random device drivers by random instructions, etc.18:13
mmx_in_spacei know a little about secure boot but not much18:14
tewardmmx_in_space: do you *have* windows on your computer?18:14
tewardif the answer is "no" then you gain nothing from Secure Boot18:14
tewardthere may be *compliance* reasons if the system is issued by your workplace or such that require Secure Boot to be enabled, but if this is your own personal machine you don't *really* gain much from Secure Boot18:14
=== Sidewyz1 is now known as Sidewyz
mmx_in_spaceabsolutely nothing or very little ?18:15
mmx_in_spacehmm18:15
tewardvery very *very* little.18:15
tewardultimately to the point of "not worth it" in most deployment cases unless you are dualbooting with Windows because Windows 11+ has some security requirements on it18:16
mmx_in_spacei am pretty sure i do not currently have any windows install at the moment, but18:16
mmx_in_spaceas far as i know i wiped the nvme ssd18:16
mmx_in_spacebut am not sure if windows is on like a recovery partition or something like that18:17
tewardmmx_in_space: if you don't have Windows installed then you're fine, if you *need* windows for something you can set it up on a VM and have that VM set to use secure boot within the VM, then use things like Office, etc. but if LInux is the only os you actually *boot* to then you don't *need* secure boot18:17
tewardmmx_in_space: if you wiped the SSd the recovery partitions are gone too18:17
tewardmmx_in_space: for the purposes of *testing* to see if the issue is Secure Boot, just disable SEcure Boot and see what happens18:17
tewardif nothing changes you can turn it back on afterwards.18:17
mmx_in_spacehmm18:18
mmx_in_spaceis there such a thing as something like ''e-fuses'' in laptops these days by any chance18:18
mmx_in_spacejust wondering if anything permanent might happen by toggling secure boot18:19
teward'e-fuses'? do you mean that stuff that's used to determine if your system is jailbroken on like Android devices?18:19
mmx_in_spacei think so18:19
tewardmmx_in_space: as someone who's been doing things in the tech sector with actual computers like Dell, HP, etc. for over a decade, turning off secure boot won't void your computer warranty, etc. if it's an actual computer and not like a chromebook18:19
tewardit doesn't burn out fuses, it doesn't break your hardware, it doesn't cause physical damage18:20
tewardif you're on a chromebook or an actual android tablet then that's different, but if you're on a standard computer such as a desktop, laptop, server, etc. it won't break anything18:20
mmx_in_spacealright i'll give it a try right now18:20
mmx_in_space🙂18:21
mmx_in_spacebe back in a few minutes hopefully18:21
tewardthe ONLY thing it'd do is if your system was issued to you by your company etc. it *MIGHT* make you noncompliant if they require secure boot to be enabled, but again if it's your own PERSONAL system that doesn't apply18:21
mmx_in_spaceit's a personal laptop18:22
davegarathHello evereyone, I'm trying to install ubuntu 24.04 in dual boot alongside Windows but I've got: "Turn off BitLocker to continue". I rebooted in Windows and bitlocker is not enabled. Someone can suggest to me hot to solve ?18:22
mmx_in_spaceasus midrange gaming laptop18:22
tewardmmx_in_space: you'll be fine then18:22
tewarddavegarath: turn off fast boot / quick boot in Windows, fully shut Windows down.18:22
mmx_in_spacewish me luck 🙂18:23
davegarathty teward I'll try18:25
FKAShinobiI'm having an issue in 22.04 where my monitors keep getting woken up even when the screen is locked and I'm away. I have no idea on how to troubleshoot that. Please advise.18:40
leftyfbFKAShinobi: disable all notifications in your settings18:41
leftyfbsorry, disabling lock screen notifications18:41
ioriaFKAShinobi, how did you find that out ?18:42
FKAShinobileftyfb: That seems to have cured it. Thank you!18:43
FKAShinobiioria: find out what specifically?18:44
ioriaFKAShinobi, never mind18:44
=== iwannaberoot7 is now known as iwannaberoot
jsmoothI closed out my WSL Bash Terminals and when I reopened them mysql isn't running anymore. I already tried shutting down wsl and restarting it, but that didn't help. How should I restart mysql?18:59
jsmoothI'm using 24.04.118:59
tomsoloHi there everyone19:00
mmx_in_spacediscrete graphics card enabled and being used successfully now! thanks everyone!19:00
mmx_in_spacesecure boot off seems to be the trick19:00
jsmoothAlso, I downloaded a pre-configured Ubuntu for VirtualBox and set resolution to 1280x1024, but it shows as only a square on my screen even if I full-screen19:01
=== mmx_in_space is now known as michelson-morley
=== michelson-morley is now known as m-m_e_in_LEO
leftyfbjsmooth: sorry, is the question about a WSL VM or Virtualbox VM?19:07
leftyfbjsmooth: for mysql, you should enable the service19:07
enigma9o7You may have to install guest additions in your virtualbox VM for better resolution support.19:08
enigma9o7Although you can usually change resolution in the VMs own settings (without installing guest additions).19:09
jsmoothHOw do I properly enable it?19:09
enigma9o7Installing guest additions allows you to set it from the virtualbox menu, and to resize existing windows....19:10
jsmoothI reized it, but it shows a bunch of white around the "desktop" instead of making hte desktop bigger.19:10
lotuspsychje!yay | m-m_e_in_LEO19:10
ubottum-m_e_in_LEO: Glad you made it! :-)19:10
enigma9o7how did you reize it?19:11
jsmoothI dragged by the corner of the window19:11
m-m_e_in_LEOso secure boot is 99 percent worthless in non-work environments?19:11
enigma9o7Without guest additions that's expect behavior then.19:11
enigma9o7Resizing the window won't change the guest resolution unless you have guest additions installed.19:11
enigma9o7If you want to change the guest resolution, go to settings menu for display in the guest.19:12
enigma9o7m-m_e_in_LEO What is the work environment use case?19:13
tewardm-m_e_in_LEO: that's a larger discussion that is beyond the scope of Ubuntu support19:21
nshirelaptopI need to send f10 to htop to kill it but it seems to get intercepted by the terminal emulator on my ubuntu laptop, what's the best workaround?20:24
ravagectrl-c20:24
belovedsandwormhi, I am trying to install ubuntu 22.04.5 and am getting an ubiquity error that says something like "This does not appear to be an official ubuntu package"20:24
belovedsandwormI downloaded the image from ubuntu.com and checked sigs20:24
ravageand why not 24.04?20:25
belovedsandwormIt suggests I update the index of available packages20:25
belovedsandworm22.04.5 is what I am authorized to install20:25
ravagenever heard of that error20:25
ravageit could be some traffic interception on your corporate network?20:26
nshirelaptopwhere in the installation process do you get that error belovedsandworm ?20:26
nshirelaptopoh ubuquiti the network software?20:26
belovedsandwormnshirelaptop: I started the install, walked away, came back and it was there. Not sure what step it was on20:26
ravageso try again?20:26
nshirelaptopso you clicked through all the stuff asking to set up username, pw, computer name, etc? and it was actually going through installation when you hit that?20:27
belovedsandwormThat's right20:27
nshirelaptopmy only guess is corrupt installation media20:27
nshirelaptopweird error20:28
nshirelaptophttps://bugs.launchpad.net/ubuntu/+source/apport/+bug/189962820:28
-ubottu:#ubuntu- Launchpad bug 1899628 in apport (Ubuntu) "ubuntu-bug fails just after installing apt update has never been done" [Low, Triaged]20:28
nshirelaptopthis error : https://imgur.com/fnDz6vf ?20:29
nshirelaptopI think that error is rather inconsequential, temporarily.20:29
nshirelaptopshouldn't stop installation20:30
belovedsandwormnshirelaptop: yup that's the error20:30
belovedsandwormIt completely halts installation20:30
nshirelaptopmy only guess it a corporate firewall is intercepting the apt traffic and messing with it. try offline installation?20:31
belovedsandwormok, will do. I'll unplug it from the network20:31
nshirelaptopI've had ubuntu on this xps laptop for over 5 years now and I've got to say the UI is much more responsive and "tuned" than in windows.20:34
nshirelaptopthe user experience is comparable to that of a Mac, for me at least.20:34
belovedsandwormmust be nice20:37
bpromptbelovedsandworm: bear in mind that depends on workload processing, so it'll depend on what you use it for mostly20:39
nshirelaptopthis only has a dual core i5 6200u with 8GB of RAM, windows would be freezing up and lagging out to the point of unusability already20:40
nshirelaptopof course Dell advertised as being ready for ubuntu out of the box20:40
bpromptnshirelaptop: well, windows11 would be slow, windows7 would be very fast though :), and windows8.1 will work well too20:43
nshirelaptopI have 10 in another partition and even without much installed it likes to stutter frequently20:44
nshirelaptopmaybe some of that can be attributed to poor coding practices that seem to be very common in end-user software on windows20:45
bpromptnshirelaptop: well, or too many running daemons, all that's optimizable20:45
kuka_liei tryed running window 11 in vm and it was terrible it took 20-60% of cpu just being in desktop (i got i7 2th gen but still)20:46
kuka_lieand windows 11 used like 4-6 gb doing nothing20:48
bpromptkuka_lie: it runs by default too many services, is just a matter of trimming down that20:48
nshirelaptopwindows 11 has what like 100 services under svchost now?20:48
nshirelaptopI remember XP having maybe, 20?20:49
bpromptkuka_lie: 4-6gbs of ram sounds about right for windows11 allocation alone20:49
bpromptnshirelaptop: I'd expect it more, is like more than 100 services in win1020:50
nshirelaptopthat number was a total guess based on how long I had to scroll through them in taskman20:50
nshirelaptophaha20:50
kuka_liebtw windows 11 has by default fast boot so it puts evrything from ram to disc. is it a problem with vulnerabilityes like buffer overflow? and how about ssd destroying after few hundred writes20:53
nshirelaptopI still have 97% drive remaining life on my 3 year old 500gb boot SSD so I don't think fast startup has too much of an impact there20:57
bpromptand prices on SSD are still coming down20:59
belovedsandwormnshirelaptop: install still failed using Minimal Install, no thrid-party drivers, and no internet connection21:05
nshirelaptopsame error?21:05
belovedsandwormyup, same error21:06
belovedsandwormI watched it this time, it just seemed to be going through the install nothing stood out to me as particularly odd or failing21:07
belovedsandwormThen the installer simply crashes with that error21:07
belovedsandwormgrub gets installed21:08
belovedsandwormIts strange, if I select "try ubuntu" instead of "install ubuntu" on the live usb it also doesn't work21:09
belovedsandwormI created the boot medium with dd. I don't see why that should be a problem but I see the tutorial pushes Etcher21:10
nshirelaptopdd is known to not work with windows installers... should be fine with linux though?21:10
Xetaim doing something wrong21:11
Xeta((Cronjob)) cd /home/logger && sh backup.sh>>/home/logger/error.log21:11
Xeta((backup.sh)) sudo -u logger rsync -h --progress /home/logger/checkin/ /etc/backupdata21:11
Xetasomething in that combo is broken21:12
Xetais it an obvious mistake 🤔 and im just not seeing it?21:16
leftyfbXeta: don't use sudo in a script being called via cron. Run it as root if needed. Don't redirect the output as part of the cron command. Write it as part of your script21:22
leftyfbXeta: and in all honesty, you should be running this as a systemd oneshot service with a timer21:22
Xetaleftyfb sadly i have no clue what any of that means21:24
leftyfbXeta: which part(s) exactly?21:24
Xetasystemd oneshot service21:25
Xetaits on a every 5min Cronjob21:25
leftyfbXeta: https://opensource.com/article/20/7/systemd-timers21:26
Xetathank you21:27
leftyfbXeta: run the service as your "logger" user21:27
leftyfband instead of using >>error.log, log to that file as part of the script, not the service/cron command21:28
leftyfbor better yet, just write to stdout and use the journal logs for your new service21:28
sixwheeledbeastassuming your service manager is systemd I suppose21:31
leftyfbif they're running a supported version of ubuntu, it is21:31
sixwheeledbeastsorry thought it was a different channel21:33
XetaUbuntu 24.04 LTS21:37
sixwheeledbeastYep the guide to make a systemd service should explain everything. just don't expect Exec to run shell code directly21:51
Xetasystemd can do sh blah.sh though?22:05
=== deepend_ is now known as deepend
=== dstein64- is now known as dstein64
sixwheeledbeastExecStart=sh -c 'rsync shell code here' or make a script with valid shebang and permissions for ExecStart=/path/to/backup.sh22:25
sixwheeledbeastXeta: example of a simple backup service that maybe useful https://bpa.st/F3OQ/raw22:37
sixwheeledbeasthas compression and removes anything older that 3 months which could be removed.22:37

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