enigma9o7 | I already have it working by having the shortcut open that script in a terminal (i.e. gnome-terminal -- blank-screen.sh) and works fine. but i dont want to open terminal. | 00:00 |
---|---|---|
enigma9o7 | also have --full-screen in there too in fact cuz if i moved the mouse before pressing key could get stuck blank | 00:00 |
enigma9o7 | but thats bad hack until I learn how I should be doing it | 00:01 |
JanC | you'd have to open another full-screen window probably | 00:01 |
enigma9o7 | I'm lost. Open another full-screen window of what, and are you talking about a way to wait for keypress/mouse? | 00:02 |
ogra_ | busctl --user set-property org.gnome.Mutter.DisplayConfig /org/gnome/Mutter/DisplayConfig org.gnome.Mutter.DisplayConfig PowerSaveMode i 1 | 00:02 |
enigma9o7 | I want a way to wait for keypress/mouse in gnome, not in a terminal. Then this solution would be complete. | 00:02 |
ogra_ | enigma9o7, ^^^ | 00:02 |
ogra_ | thats the new equivalent of xset dpms ... | 00:03 |
ogra_ | busctl --user set-property org.gnome.Mutter.DisplayConfig /org/gnome/Mutter/DisplayConfig org.gnome.Mutter.DisplayConfig PowerSaveMode i 0 | 00:03 |
ogra_ | to turn them back on programmatically (but i'D expect a keypress to do the same) | 00:04 |
JanC | enigma9o7: keyboard/mouse go to the window that has focus | 00:04 |
JanC | or Gnome Shell for "global" shortcuts, I guess | 00:05 |
enigma9o7 | ok that seems to work, i set it to 1, and actualy ended up rebooting cuz i couldn't get out of it blind, and unlike the way I was doing before with brightness control, it didnt work to turn the brighness back up with function keys | 00:07 |
JanC | but when you just run a bash script without a window, I don't think there would be an (easy) way to get keyboard/mouse input? | 00:07 |
enigma9o7 | but in any case, if that works, i still need the way to wait for kepress to do between those two things | 00:07 |
enigma9o7 | ogra_: no, keypress did not do the same | 00:07 |
ogra_ | well, then bind the secdond one to a key combo to have a "wakeup key" | 00:08 |
enigma9o7 | Sure, but dont want a wakeup key, want to wake on keypress and/or mouse. | 00:09 |
enigma9o7 | keypress OR keypress & mouse | 00:09 |
ogra_ | this is in any case better than having something permanently sitting there eating your battrery waiting for a keypress in a loop | 00:09 |
JanC | AFAIK screen savers just open a full-screen window to get HID events | 00:09 |
enigma9o7 | the other disadvantage i have with read is that modifier keys dont unblank it, cant use shift/ctrl which is annoying. but i hadn't thought of something eating battery waiting? | 00:10 |
enigma9o7 | is it using any more battery than if it werent waiting? i mean isnt a computer always waiting? and surely if it does require battery, its less than the screen being on | 00:11 |
JanC | depends on how it's implemented below the surface | 00:11 |
enigma9o7 | say read, as right now thats the only way I know how to do it | 00:11 |
ogra_ | well, the "read -n 1" will keep the shell alive it lives in | 00:11 |
enigma9o7 | i mean if its using battery waiting for a specific hotkey, its the same thing, i dont see any real difference, other than perhaps if gnomes way is more efficient, which is what I'd rather use than read in a terminal anyway | 00:13 |
ogra_ | i'm sure there are other ways too ... via echoing stuff into sysfs ... having a shell script to dim and raise brightness and wait with reads for input is likely the worst you can do | 00:13 |
enigma9o7 | The worst I can do? | 00:13 |
enigma9o7 | It's the best I can do! | 00:13 |
enigma9o7 | The only thing I've been offered is a way to blank with gnome, that seems harder to unblank than the way I was using. | 00:14 |
enigma9o7 | But I'd be happy to switch to that, and it wouldn't require installing that brightnessctl whatever i installed, but that doesn't solve the issue of how to wait for keypress in gnome.... | 00:14 |
ogra_ | dont forget that you are not actually allowing your screen to sleep either ... you only turn the light down | 00:16 |
enigma9o7 | Or how to get out of that blank mode besides issuing another command, as its something different than what brightnessctl does, since when I set that zero I can still turn it back up with my laptops function keys. when I used that gnome way, I couldn't find any way to turn it back on (besides the command) | 00:16 |
enigma9o7 | Well the whole laptop will sleep in 5 and hibernate in 15. (I have in my notes to figure out how to reduce hibernate to less than 15 too, but that's the lowest the GUI goes.... but I digress) | 00:17 |
JanC | the backlight is usually the most power-consuming part though | 00:17 |
enigma9o7 | Yeah I dunno what screen sleeping would even mean. sleeping for computers means keeping memory powered, etc. screen doesnt need anything powered when computer sleeps. | 00:18 |
enigma9o7 | screen doesnt need anything powered when computer awake | 00:18 |
enigma9o7 | should be just a screen | 00:18 |
JanC | most screens have a couple processors/computer inside now :) | 00:19 |
enigma9o7 | yeah actually makes sense. so that gnome method is shutting down more. great :) I'll 100% sure that method. And stick with 'read -n1' unless anyone has any other idea (besides seperate key to wake) | 00:20 |
JanC | to decode the signal & control the panel based on that, to decrypt (in case of HDMI & such), to show OSD, to process the image in some cases | 00:20 |
JanC | everything always keeps getting more complicated to make it look like they are more simple :P | 00:21 |
gordonjcp | it's surprising how complicated things have to be just to be simple | 00:22 |
gordonjcp | you think it's easy and then bam, just when you think you're done | 00:23 |
gordonjcp | tricky edge case | 00:23 |
gordonjcp | ffffffffff | 00:23 |
gordonjcp | and it's all got to come back out | 00:23 |
gordonjcp | start again | 00:23 |
=== humanx51 is now known as humanx | ||
morgan-u | thanks for your comments, pragmaticenigma | 00:35 |
morgan-u | I have a question. I used to be able to get a file window in which image files showed a thumbnail by the name of the file. How can I get that again? | 00:36 |
morgan-u | NM, I have them. (wot how did that happen, update probably) | 00:37 |
morgan-u | I didnt have them earlier in the last week.'' | 00:38 |
ogra_ | morgan-u, there is a thiumbnailer process that needs to index the files first ... that can take a while if there are many pictures | 00:46 |
ogra_ | morgan-u, they live in ~/.cache/thumbnails FWIW | 00:49 |
=== Feniks is now known as likewise | ||
=== likewise is now known as LikeWise | ||
gachikuku | I'm logged onto my remote server via ssh. How do I change my username? I have to kill a bunch of processes and I'm quite confuzed | 01:14 |
morgan-u | thanks ogra. My first time using GIMP. Cant do many things but, I got it. (I gave up on putting a layer behind to be a frame.) Xmas thing... | 01:18 |
pragmaticenigma | gachikuku: you cannot "change" your username, you can create a new account, log out of the old account, log into the new account, then delete the old account | 01:30 |
oerheks | it can be done, but is tricky https://www.cyberciti.biz/faq/howto-change-rename-user-name-id/ | 01:37 |
oerheks | multiple steps, it is easier to add an user | 01:38 |
circuitbone | use photopea if you know photoshop more. Use krita if you want something local | 01:40 |
oerheks | darktable if you want to process .raw pictures | 01:41 |
gachikuku | thanks pragmaticenigma | 01:50 |
=== antonispgs5 is now known as antonispgs | ||
hans_henrik_ | does https://help.ubuntu.com/community/ReportingBugs work for anyone else? I get HTTP 503 Service Unavailable No server is available to handle this request." | 02:57 |
Bashing-om | hans_henrik_: Confirmed - "503 Service Unavailable" could be part of Canonical's restructures. | 03:00 |
hans_henrik_ | restructures? | 03:00 |
Bashing-om | hans_henrik_: End of Year clean up --- i see the old Ubuntufurms mostly affected. | 03:07 |
Bashing-om | hans_henrik_: I can so nothing reported for the down time - if pressing - and one has a SSO account - one can open a request tracter ticket: rt.ubuntu.com . | 03:14 |
Jim` | How do I mount or see my other hard drives on a machine over SSH? | 03:25 |
Jim` | it's only showing me the SSD | 03:26 |
Jim` | that the OS installed to | 03:26 |
rbox | mount /dev/blah /mnt/point | 03:26 |
Jim` | rbox: how do I figure out what the drives are in /dev/ ? | 03:27 |
rbox | look in dmesg | 03:27 |
Jim` | rbox: that just splattered a ton of messages | 03:29 |
Jim` | rbox: I see one so far "[ 1.721962] scsi 5:0:0:0: Direct-Access " | 03:30 |
dragonmaster | lsblk | 03:33 |
dragonmaster | or ls -l /dev/disk/by-id | 03:34 |
Jim` | dragonmaster: I suppose they'd be sdac, sdb | 03:34 |
Jim` | that are missing | 03:35 |
Jim` | sda, sdb, sdc | 03:35 |
dragonmaster | 'sdac' implies a lot of disks. Not unheard of if you've got a bunch of SAN LUNs presented, but... It's quite possible I'm not understanding you | 03:36 |
dragonmaster | ah | 03:36 |
dragonmaster | If they're not showing up in lsblk, then the kernel doesn't see them and they may as well not exist | 03:36 |
Jim` | so how do I mount them to get to my files? | 03:36 |
dragonmaster | can you paste the output of 'lsblk -d' somewhere? | 03:37 |
Jim` | is ntfs-3..whatever installed? | 03:37 |
Jim` | dragonmaster: https://pastebin.com/bMSwSLds | 03:38 |
dragonmaster | ntfs-3g I would expect the block devices to show up even if the filesystems were a mystery | 03:38 |
dragonmaster | So lsblk shows only sda? | 03:38 |
Jim` | dragonmaster: I suppose? | 03:39 |
Jim` | it shows they are there atleast | 03:39 |
Jim` | sda, sdb, sdc | 03:39 |
dragonmaster | Ah, ok. Does it show the presence of partitions? for that, you need to get rid of the '-d' optoin | 03:39 |
Jim` | dragonmaster: https://pastebin.com/z65Vmw94 | 03:40 |
Jim` | so yeah it does | 03:40 |
Jim` | it shows just how they showed in Explorer | 03:41 |
Jim` | but now how do I mount'em, share what I want over samba, blah blah | 03:41 |
Jim` | I see them in fdisk -l as well | 03:45 |
Jim` | but now how do I access them :/ | 03:45 |
dragonmaster | Assuming NTFS, then install ntfs-3g then make mount points. e.g. sudo mkdir /mnt/SDC1, then 'sudo mount /dev/sdc1 /mnt/SDC1' | 03:46 |
Jim` | dragonmaster: so do the same for all 3 drives missing? | 03:47 |
dragonmaster | yes | 03:47 |
Jim` | dragonmaster: that pretty much did it | 03:50 |
Jim` | dragonmaster: do they have to be remounted each restart?? | 03:56 |
oerheks | put them in fstab? | 03:56 |
dragonmaster | /etc/fstab is where you tell the system how to mount them at boot | 03:56 |
dragonmaster | 'grep ntfs /proc/mounts' will give you an idea of how to form the entries | 03:57 |
oerheks | at /mnt, not /media | 03:57 |
=== eLdr1ch is now known as WhiteNigga | ||
oerheks | WhiteNigga, please change your offensive name, thanks. | 04:03 |
=== WhiteNigga is now known as AllEyezOnMe | ||
=== AllEyezOnMe is now known as MostWanted | ||
bebop | lol | 04:10 |
oerheks | sudo snap install rota | 04:32 |
oerheks | This computer has been up to date | 05:11 |
oerheks | omg | 05:11 |
oerheks | no | 05:45 |
=== _justin_kelly0 is now known as _justin_kelly | ||
jaco | Hello | 06:42 |
jaco | Can you please recommend an ubuntu software to create an iso file from a usb pendrive? | 06:43 |
oerheks | huh? | 06:44 |
oerheks | no, that is weird | 06:44 |
oerheks | the other way around s more common | 06:44 |
oerheks | download the iso from cdimage, done | 06:44 |
oerheks | https://cdimage.ubuntu.com/ | 06:45 |
jaco | thank u | 06:46 |
jaco | sorry i need a known software which can copy any bootable usb drive to an iso file? | 06:50 |
oerheks | what did you find with 'copy any bootable usb drive to an iso file'?" | 06:51 |
oerheks | i have no clue | 06:51 |
jaco | the usb is not mine | 06:54 |
Bashing-om | jaco: One can not copy *to* and ISO - read only medium per spec: https://en.wikipedia.org/wiki/ISO_9660 . | 06:56 |
oerheks | why not download the original iso? | 06:56 |
oerheks | ubuntu | 06:56 |
oerheks | if it is something else, ask them? | 06:56 |
jaco | what of any other image format? | 06:57 |
oerheks | copy usb to usb | 06:57 |
oerheks | or ask them? | 06:57 |
oerheks | your answers are not helpfull | 06:58 |
ramblebamble | well you could create a file of size X jaco, mount it and then write the data you want into that mount.... will not be bootable per se... still requiring some additional stuff, but it would be iso to begin with | 07:11 |
ramblebamble | mount it as iso that is | 07:11 |
arraybolt3 | ramblebamble: that gives you an image file, not an ISO file. ISOs are pretty much impossible to write to in the traditional sense, though there are some tools for it like growisofs | 07:14 |
arraybolt3 | *some tools for writing to an ISO in weird ways | 07:14 |
enigma9o7 | converting a disk image to iso9660 format? | 07:17 |
ramblebamble | arraybolt3 from mount-man-pages .....any user can mount the iso9660 filesystem found on an inserted CDROM using the command:.... and here is makefs for iso https://manpages.ubuntu.com/manpages/trusty/man8/makefs.8.html | 07:18 |
enigma9o7 | if the usb is already iso, you could just dd it to a file.... | 07:19 |
ramblebamble | as for the weird ways: https://superuser.com/questions/319005/what-makes-a-bootable-device-bootable <- which would be the tricky bit to convert the isofs into something bootable that can be written to a cd | 07:19 |
enigma9o7 | but if its something else like fat32 or exfat i imagine its more complciated :) | 07:19 |
enigma9o7 | did they say anything about bootable? | 07:19 |
ramblebamble | I think they did yes. | 07:20 |
enigma9o7 | oh doh, i just read scrollback, yeah. | 07:20 |
enigma9o7 | sounds even more complciated then! | 07:20 |
enigma9o7 | i'd personally go back a step and figure out what problem i was trying to solve, and if converting my flash drive content to iso format has anything to do with it | 07:21 |
enigma9o7 | My own question, I'm using oracular and need newer version of yt-dlp to get around an issue youtube caused with the version in repo. So I checked to see if there's backports, but I guess it seems that's only for LTS? So noble users have available package, but oracular stuck with older one? (I know i can get it from outside ubuntu or backport it myself etc, just commenting - and confirming this is normal behavior when using | 07:37 |
enigma9o7 | non-LTS versiono f ubuntu? | 07:37 |
enigma9o7 | further investigation reveals it does exist, but only thing there is cockpit... https://packages.ubuntu.com/oracular-backports/allpackages | 07:41 |
enigma9o7 | so i guess its just up to whoever's doing the backport where they put it and if they bother to do it for more than LTS I guess. | 07:42 |
=== MostWanted is now known as DarkShadow | ||
ramblebamble | enigma9o7... sorry was AFK... not familiar with yt-dlp,but what is the use-case there? Instead of bringing the OS-version to a version that that application supports could you entertain the idea of either installing it in a bin-folder inside your path explicitly or using a container? | 08:14 |
enigma9o7 | I know I can get it from outside ubuntu or packport it myself, just commenting, and confiming it was normal behavior when using non-LTS version of ubuntu. | 08:21 |
=== nonsane_ is now known as nonsane | ||
enigma9o7 | But the use case is, with yt-dlp, you can't "yt-dlp -U" on debian/ubuntu and it tells you to use backports... which works fine on debian stable and ubuntu lts, but its not in oracular repo that I'm using now. | 08:22 |
enigma9o7 | it yt-dlp case, noble-backports has a version from last month, while oracular from september - that no longer works with youtube. | 08:23 |
ramblebamble | Not familiar with the `-U` switch.... I am assuming 'update'.. in such a sccenario I wouldn't get it from any repository, I would always go straight to the source, just because the delays are fewer. | 08:23 |
enigma9o7 | but anyways yeah it is what it is, no worries, just surprised and can see that as slightly annoying since one of the reasons to use the interim versions is to be able to get newer versions of software from official repos than LTS | 08:24 |
ramblebamble | e.g. I am doing the same for newpipe under Android because ytube is known to always throw a monkey wrench trying to lock their proprietary content-buckets down further. | 08:24 |
enigma9o7 | Yes, in fact on android the only reason I've ever added a repo to f-droid was for newpipe, for the same reason, need faster updates than official repo. | 08:25 |
ramblebamble | yeah..... maybe open a ticket with the package-curators. | 08:25 |
ramblebamble | You can also directly install it from github. | 08:25 |
enigma9o7 | Its Unit193 who does the backports of yt-dlp,and he's active on irc, its not like I couldnt just ask him directly why not backport to oracular, but when I first noticed this, it was all new to me and wasn tsure if i was doing something wrong, then wondered if it was policy for everything, not just one package, i'v enow learned nope it does exist and its up to the backporters what they do | 08:26 |
JackFrost | Because policy says LTS-only. | 08:27 |
arifendronugroho | ٱلسَّلَامُ عَلَيْكُمْ | 08:39 |
enigma9o7 | salam | 08:41 |
=== toolz is now known as Daniel | ||
ogra_ | enigma9o7, use the yt-dlp snap ;) it is well maintained and will refresh itself automatically in time with each new upstream release | 10:49 |
=== zareem58 is now known as zareem5 | ||
=== JanC is now known as Guest2879 | ||
=== JanC is now known as Guest6313 | ||
=== JanC is now known as Guest488 | ||
BluesKaj | Hi all | 14:59 |
jaco | pls recommend any clone app you can install in native ubuntu to use for usb cloning | 15:25 |
oerheks | dd is standard tool, cli only | 15:26 |
BluesKaj | dd | 15:26 |
jaco | hmmm | 15:26 |
oerheks | and a simple search would give tons more https://www.cyberciti.biz/faq/linux-unix-copy-clone-hard-disk/ | 15:27 |
jaco | thanks | 15:27 |
=== jose is now known as ho-ho-jose | ||
devslash | My server is running ubuntu and is enrolled in ubuntu pro. When I run apt upgrade it says that there are 10 apps that can be upgraded with esm-apps which has something to do with ubuntu pro. How do I update those apps | 16:14 |
tomreyn | devslash: if your system is properly enrolled in 'full support' 'Pro' (not just 'infra support'), you should receive these automatically. | 16:25 |
tomreyn | https://ubuntu.com/pricing/pro | 16:25 |
devslash | I found out that I had to run pro enroll esm-apps to enable esm-app updates | 16:25 |
tomreyn | there is https://ubuntu.com/pro/tutorial and https://discourse.ubuntu.com/t/ubuntu-pro-faq/34042 and https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/ | 16:26 |
devslash | once I enrolled in esm-apps, the 10 esm-app updates installed as expected | 16:27 |
tomreyn | ok! | 16:27 |
devslash | thanks | 16:28 |
tomreyn | looks like you solved it on your own :) | 16:28 |
devslash | yea I guess | 16:28 |
ax562 | Morning folks. I was able to setup 24.10 proper. Looks like the issue was Grub2(<2.12) was not able to properly read the file system to boot kernel. I had to go into system firmware and choose to boot into 24.10 grub2 v2.12 for things to load and boot. First time I had seen this issue ever. Just thought I'd share. | 16:38 |
devslash | do any of you use Tailscale with Ubuntu ? | 16:39 |
ax562 | BTW wayland + nvidia + gnome 47 is AMAZING. Thanks for the amazing work Ubuntu! | 16:39 |
kut | what tools can I use to get files out of an image.dd ? mounting isn't working | 16:42 |
tomreyn | kut: what did you create this image from? | 16:44 |
kut | something similar to photorec, i was going through a few linux live cds to try to recover the hdd and made a backup at one point | 16:45 |
tomreyn | if it's a full (partitioned) disk, you'll need to read + interpret the partition table forst of all. losetup or kpartx can help there | 16:45 |
kut | i think it was testdisk | 16:45 |
tomreyn | what did you run testdisk against? a full disk, a partition, something else? | 16:46 |
kut | kpartx says resume on ioctl on loop2p1 failed invalid argument | 16:46 |
kut | full disk | 16:46 |
kut | i think it's part of a raid 1 | 16:47 |
tomreyn | then you'll need to setup a raid1 with a missing array member | 16:48 |
kut | how do I do that? I'm using ultimate boot cd/usb now | 16:50 |
tomreyn | you can do this from a running ubuntu system, if it's a software raid (mdadm) | 16:52 |
kut | mdadm isn't working | 16:52 |
tomreyn | does it say "today is not the day" and quits? | 16:52 |
kut | says device exists but is not an md array | 16:53 |
tomreyn | hmm, it would be a device of an array, which you'd need to define yet | 16:53 |
tomreyn | but maybe it is indeed not an md array, only you would know | 16:54 |
leftyfb | we're making assumptions here | 16:54 |
leftyfb | kut: run: file image.dd | 16:54 |
leftyfb | kut: I would try losetup first over assuming it's an image of a software RAID array | 16:54 |
kut | x86 boot sector | 16:55 |
leftyfb | losetup -f image.dd | 16:55 |
kut | no results? | 16:56 |
leftyfb | how big is this file? | 16:56 |
kut | 62gb | 16:56 |
kut | bad boot sector so i rebuilt it and can see the files now :) | 16:57 |
kut | my heroes | 16:57 |
leftyfb | kut: just FYI, the boot sector isn't needed for mounting. You probably had a dirty/bad filesystem that you have since repaired | 16:58 |
kut | yeah, it was shutting down when anything networking was changed so i reinstalled the OS and lost some important files | 16:59 |
kut | good ol cnc grinder machines | 16:59 |
kut | i would send you guys some cookies | 17:03 |
tomreyn | that's kind of you. i tend to reject all but necessary cookies, though. | 17:04 |
oerheks | !cookie | 17:07 |
ubottu | Wow! You're such a great helper, you deserve a cookie! | 17:07 |
oerheks | tomreyn = ☐👍 ☐👍👍 ☒👍👍👍 | 17:07 |
tomreyn | :) maybe it was really lefty who helped the most, though | 17:09 |
TR1950X | I made changes to this file /usr/lib/modprobe.d/systemd.conf. How do I ensure the changes will take effect next reboot? | 18:30 |
JanC | you should never change that file; it will be overwritten when it gets updated | 18:31 |
JanC | if there is something you want to change you should override it with a file in /etc | 18:32 |
kev1224 | juan | 18:33 |
astrom | hello | 18:37 |
astrom | :D | 18:37 |
JanC | o/ | 18:38 |
astrom | This is so peek | 18:38 |
astrom | peak* | 18:39 |
oerheks | yes | 19:58 |
=== seanh__ is now known as seanh | ||
=== timj1 is now known as timj | ||
SkibidiBiden1915 | This may be the last Christmas with President Biden, but it's your first Christmas with BidenCash! Start repairing your budget at https://BidenCash.bid/?ref=libera | 21:00 |
cbreak | sounds braindead | 21:00 |
=== root is now known as Guest774 | ||
=== nulldomain7 is now known as nulldomain |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!