/srv/irclogs.ubuntu.com/2021/05/15/#ubuntu.txt

chakravantii have a touchscreen laptop (X230T) and every time i close the laptop the screen sends signals which move the mouse and touch the screen countlessly.  Isn't there a detection of the laptop being shut and a way to turn off the mouse?03:14
RJ45I'm not sure if this is the right place to ask this but I am using Ubuntu so.. I got a new 6TB HDD to upgrade from my 2TB HDD, my 2 TB HDD has 2 partitions of 930.50GB , so I made 2 partitions on the new drive of the same size, 930.50GB.. I rysnc'd the partitions contents over, on 1 partition t took 40GB more space, and on the other I ran out of space03:31
RJ45HOW?!03:31
RJ45the only difference is one HDD uses MBR and the GPT03:33
RJ45grsync is set to copy symlinks as symlinks and hardlinks as hardlinks, so that can't be the problem03:37
RJ45I am currently running  dd if=/dev/zero of=/media/home/hdd/file  and that file appears to be increasing in size despite file browser saying '0 bytes free space'03:40
GoopHey, what is a good article for creating a Ubuntu Desktop live USB persistence?03:40
Goop...thing?03:40
RJ45google has some good article on that03:40
RJ45duckduckgo too03:40
GoopI've tried the ones that came up... mkusb doesn't work.03:41
RJ45try a program called unetbootin03:41
guivercGoop, I'd recommend https://help.ubuntu.com/community/mkusb/persistent ; it's not the main mkusb page but a subpage03:41
RJ45I don't think unetbootin is still in the ubuntu repository (it used-to be)03:41
RJ45but it's still possible to get a .deb of it03:41
RJ45it works very well for me03:42
RJ45why do I get more free space when I fill with a file of  dd /dev/zero  and then delete the file?04:10
RJ45ext4 is broken04:10
lkzcbrhello, does anyone know how to get laptop brightness working on ubuntu 20.10?04:27
lkzcbri tried changing the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" but it made no effect04:29
lkzcbrhello04:35
lordcirth__!patience04:35
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/04:35
GumaHello Everyone. I was wondering is someone can point if in right direction about my problem. Here is my ptoblem and what I did try.04:48
* wyoung waits04:51
GumaI have development box I did setup in my remote office. It is running Ubuntu 20.04 server. I running docker-compose and postgres sql. Please note that postgres is running on host vs inside container. I added 172.17.0.1/28 (docker0) and 172.18.0.1/28 (br_*) to pg_hba.conf. When I reboot system it looks like sometimes postgres starts earlier then docker.service or socket and does not bind to docker0 or br_* interfaces.04:54
GumaIs there a way around it? I did try to modify "termorarly" /lib/systemd/system/postgresql.service and then postgresql@.service by adding "Requires=docker.socket" in [Unit] section.04:57
GumaThis does not seem to work. Is there some better way to do this? I know if apt updates posgtres it can replace service file. So unless there is no better way of doing it04:58
=== jash_maester is now known as jashAcharjee
bittinmorning05:35
pangpanghello, how can i install setuptools for python 2?06:30
Lantizia_does 21.04 use weston by default?06:35
ducasseLantizia_: no, gnome06:41
Lantizia_hmm so whatever happened to 1 thing does 1 thing well :P  (ignore systemd :P)06:42
Lantizia_gnome itself is communicating with the graphics hardware through the kernel?06:42
Lantizia_ducasse, do you mean Mutter?06:44
ducasseLantizia_: i'm not sure if gnome 3 uses mutter, i thought the wm was sort of baked into gnome-shell06:45
ducassethere's nothing stopping you from using just a wm or a compositor if you want wayland, i do both06:45
lotuspsychjeyeah gnome has mutter06:46
Lantizia_lotuspsychje, so Ubuntu 21.04 is using Mutter as it's default Wayland compositor?06:46
lotuspsychjeLantizia_: i assume yes, as i seen bugs passby concerning wayland that used mutter as package06:47
lotuspsychjeLantizia_: did you have a specifi issue on wayland?06:48
Lantizia_no just doing some research... noticed that weston has RDP support and wondered what compositor ubuntu 21.04 was using out of the box06:49
Lantizia_see what kinds of remote access it'd have out of the box06:49
Lantizia_so I guess I'd be looking at Mutter for that?06:49
Lantizia_seems kind of odd that what (historically in the world of X.org) would be your window manager... is now also your display server!?  have I got that right?06:50
lotuspsychjeLantizia_: wich tool are you using for remote? remmina?06:51
ducasseunder wayland the wm's responsibilities fall on the compositor06:51
Lantizia_no I'm not talking clients, I'm talking remote access services/server/daemons that are built into (if any) a default 21.04 install06:51
ToxmiHi, I'm using gnome online account to get access to my google-drive files. Is there a way to mount/use this files outside nautilus (Files)? I mean mounting it just like regular files with regular human readable names from other program06:53
Lantizia_historically I used to use  X11-forwarding/XDMCP   or   the-older-NX3/X2Go   or   the-newer-NX4/5/6/706:53
Lantizia_as VNC is pants06:53
ToxmiFor example I've an RStudio app that want to access a folder on my google-drive is there a way? As much as I can tell the current solution via Gnome online account only gives me files from Files application just like a browser I can not work with files from other applications06:54
lotuspsychjeLantizia_: if you're interested in help shaping the wayland future, i would reccomend #ubuntu-quality where devs & testers meetup for latest release testing06:55
lotuspsychjeLantizia_: i just checked the wayland/mutter bugs and i dont see specific issues related to your question06:57
Lantizia_then something doesn't feel right :P06:58
Lantizia_I only found out weston has RDP due to this... https://wayland.freedesktop.org/faq.html#heading_toc_j_806:59
Lantizia_and Mutter's answer seems to be this... https://wiki.gnome.org/Projects/Mutter/RemoteDesktop06:59
Lantizia_ooooh that is RDP06:59
Lantizia_well not Mutter itself - this is odd.07:00
Lantizia_kind of sounds like 'GNOME Remote Desktop' implements a VNC server (via libvncserver) and an RDP server (via freerdp) but gets its data *over* pipewire *from* mutter :P07:02
lotuspsychjetry the channel i reccomended you Lantizia_ the devs might know more of that07:03
Lantizia_I've jumped to the #Mutter chan on GIMPNet :P07:04
Lantizia_get it from the horses mouth,  so to speak :)07:05
pangpanghow can i install python-tk package?07:15
pangpangthis channel don't help beginner?07:18
lotuspsychje!patience | pangpang07:19
ubottupangpang: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/07:19
pangpang:( ok07:19
jason234hello07:39
jason234how to install passwd.deb file from packages, without apt-get ?07:39
jason234cd / ;  dpkg -i passwd.deb  ??07:39
nesciusHi! i have an issue with ultra hd screens, the gpu drivers are not good enough to handle that, i would like to limit max resolution for couple years so win+p keyboard shortcut does not set the 4k resolution every time it gets used.. but i dont know enough about the newer x11 configuration since this option was removed from xorg.conf08:04
=== Grldfrdom_ is now known as Grldfrdom
=== Grldfrdom is now known as Grldfrdom_
tomreynnescius: please alsways state which ubuntu release your question refers to. and, when it comes to graphics, which driver (and, if relevant, hardware) you have there. if you don't know how to tell, please ask for assistence with finding out.08:30
_noblegasHi08:32
tomreynjason234: you should not normally have to install software this way. the recommended approach is to use apt repositories to install software. the only supported approach is using the official apt repositories (and snaps, though i don't see how i could support those) - though well chosen third party repositories can be a good addition.08:32
_noblegasi have some problem with the "Info" command. it seems that it's missing a lot of nodes08:33
_noblegasfor example, I installed/reinstalled emacs but info does not have emacs node08:33
_noblegasI use ubuntu 20 LTS08:33
_noblegasmy understanding that it's all should just work "out-of-the-box" i.e. adding of info file when you install a package08:34
tomreynjason234: this said, if you have no other option, and are convinced that the origin of this .deb. file is trustable and it is definitely comptabile to your system and specific ubuntu release, i would suggest to use   sudo apt install path/to/package.deb08:34
_noblegasbasically, how can i make it "work"?08:35
_noblegasand it all happens inside WSL2 for windows08:36
nesciustomreyn: none of those are relevant, except maybe for it is ubuntu version after 14.1008:37
tomreyn_noblegas: not every package provides one, see /usr/share/info/08:38
tomreyn_noblegas: you are more likely to find a man page08:38
_noblegastomreyn: I want info, not man08:38
_noblegasand there should be info for emacs08:39
tomreynnescius: but one of the versions the channel topic lists as supported?08:39
_noblegasin `usr/share/info` I see a folder emacs08:39
_noblegasbut in it only `efaq.info.gz`08:40
tomreyn_noblegas: hmm, if this is WSL specific, then i'd need to point you to #ubuntu-on-windows there08:40
_noblegaswhich is just a FAQ, not the real08:40
_noblegasinfo08:40
_noblegastomreyn: I don't know if it's something WSL specific08:40
_noblegasI asked in windows channel and they told me that WSL is just a virtual machine with linux in it08:41
_noblegaswhich means WSL should not have impact on working of the linux inside it08:41
_noblegasbut thanks for your suggestion08:42
_noblegasI will check there as well, thank you08:42
tomreyn_noblegas: so, you're saxing you know there is an emacs info document on other systems, right? do you have access to a system which has one?08:43
tomreyn_noblegas: on a side note, there is not "ubuntu 20 LTS", you are probably referring to "Ubuntu 20.04 LTS" (and there to either the default desktop edition, one of its !flavors, or the server edition)08:44
_noblegashttps://www.irccloud.com/pastebin/7V1rCsK1/08:45
tomreynthough i guess WSL provides a custom distribution08:45
_noblegasbut when I type `C-h r`, in the opened info windows it says: `Info file emacs does not exist`08:45
_noblegasso, because of this I think, info file for emacs should exist08:46
_noblegasbut for some reason on my system it does not / or info cannot find it08:46
tomreyn_noblegas: this seems to refer to an online help system08:47
_noblegasand I am not sure what saxing means08:47
tomreyni don't see why it would be a texinfo document08:47
tomreyn_noblegas: saxing -> saying, sorry08:48
_noblegashttps://www.irccloud.com/pastebin/JQaEEmNx/08:48
tomreyn_noblegas: so what happens when you press ctrl-h, then i, then type "m emacs" and press enter?08:49
_noblegastomreyn: it opens emacs FAQ08:50
_noblegasbut not the "real" info08:50
tomreyni must admit i don't know much about emacs, but maybe that's just the default emacs texinfo document?08:50
_noblegastomreyn: idk, i would think that `C-h r` should have worked as well08:51
_noblegasi doubt it08:51
_noblegasI don't know much about emacs either08:51
tomreynso i'm inclined to say you're assuming things a lot.08:53
_noblegasok, I will try it on mac08:53
_noblegasyes `C-h r` works there08:54
_noblegasand opens a real emacs info08:54
_noblegasnot FAQ08:55
_noblegasanyway08:55
tomreyn_noblegas: if this is ubuntu 18.04, you may ned to install emacs25-common-non-dfsg08:56
_noblegasit's 20.0408:57
tomreynmaybe 20.04 has a similarily named emacs*-common-non-dfsg package08:57
aienaI am on kubuntu but I like the ubuntu character map a lot. It seperates letters punctuation etc. I installed gucharactermap but it is not the same app does anyone know the gnome package?08:57
_noblegastomreyn: ok I will try (I assumed that install emacs should install all the stuff I need automatically)08:57
tomreyn_noblegas: looks like you need to install emacs25-common-non-dfsg08:57
aiena*gucharmap08:57
_noblegastomreyn: something something package refers to antoher package that is obsolete or unavailable ... cannot install08:59
aiena_noblegas: pastebin the log09:00
tomreyn_noblegas: it's in the multiverse repository section09:00
tomreyn!multiverse09:00
ubottuThe packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.09:00
godane!ap https://www.washingtonexaminer.com/news/fbi-admits-gop-baseball-shooting-domestic-terrorism09:01
tomreynif    apt-cache policy | grep multiverse    does not list any lines saying "multiverse", you'll need to enable this section.09:01
tomreyn!ot | godane09:01
ubottugodane: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!09:01
godane!ao https://www.washingtonexaminer.com/news/fbi-admits-gop-baseball-shooting-domestic-terrorism09:01
_noblegashttps://www.irccloud.com/pastebin/fXE7qSzy/09:01
godaneoh sorry09:01
tomreyngodane: please stop09:01
godanesorry about that09:02
_noblegashttps://www.irccloud.com/pastebin/jr30l8dC/09:02
tomreyngodane: no problem, if it was accidential09:02
tomreyn_noblegas: okay, then i'm with aiena, full command run + output are needed, which produce the "something something" message09:03
_noblegassee above09:03
_noblegasthe 2nd one from above09:04
_noblegasI mean not the right one above but the one before it09:04
tomreyn_noblegas: emacs-common-non-dfsg is the correct package name09:05
tomreyni previously gave you the ubuntu 18.04 one twice, sorry09:05
_noblegasno sorry, you are helping thank you09:05
_noblegaswhat is DSFG?09:05
nesciustomreyn: the change from explicitly defined resolution in xorg.conf to dinamically detecting monitor's capabilities was introduced maybe a decade ago. thanks for answering..09:06
tomreynDFSG stands for debian free software guidelines09:06
_noblegasyes! it works, now I have info file for emacs thank you tomreyn09:06
tomreyn_noblegas: it is seperately packaged because of a license clash09:07
_noblegascan you now explain me what I just installed and why didn't it work "out of the box" (with just `install emacs`)09:07
tomreyn_noblegas: apt show emacs-common-non-dfsg   should answer most of those question09:07
_noblegastomreyn: is there a way to make this non-dfsg installed automatically when installing the package?09:08
_noblegasso i don't have to after-install pieces of package after installing the package09:08
_noblegashow did you find out which package exactly I should install ?09:09
_noblegasbecaue I searched through `apt search emacs` to find a package, but couldn't find it09:10
tomreyn_noblegas: unless there is a Suggests: or Recommends: line referring to it in the meta data of the main package, no (I have not checked whether or not that is the case, but you can check on https://packages.ubuntu.com or using "apt show <packagename>").09:11
tomreynbut you can always specify two packages to install, that seems like a problem that can be overcome without too much effort on your side09:11
_noblegastomreyn: but then I need to know which package I should install, but I don't. Unless you helped me by saying the name of the package I should install, I wouldn't be able to do it09:12
tomreyn_noblegas: i used "apt search emacs" on an ubuntu 18.04 system, looking for references to "info"09:13
_noblegass/Unless/If you didn't09:13
_noblegasok, I got it, I didn't know exactly what to seach for, so I just browsed packages09:14
_noblegasso, is this DSFG - thing  is something to expect from other packages as well?09:14
tomreynthis is a bit of a special case. you're right in that, most of the time, when oyu install a package that provides documentation in the form of a texinfo document, it will be installed by the 'main' package09:14
tomreynthis is not the case for emacs because of said license clash09:14
_noblegasas a user it's really unhandy, but anyway, the problem solved, thank you09:15
_noblegasnext time I will search specifically for "Info" in the packages and look for DSFG09:16
tomreynyou may occasionally stumple into other things where there are separate packages for things that are not DFSG-compliant. less rarely, though, and rarely (or probably never) on packages in the 'main' and 'restricted' sections09:16
tomreyn*stumble09:16
_noblegasok thanks09:17
_noblegasby the way, funny thing is that `install emacs` only installs `emacs-gtk` but not the command line version09:17
_noblegasdo you know maybe how could I install non-gtk emacs?09:18
tomreynsome packages provide separate ...-nox packages which only provide the CLI variant09:18
_noblegasah09:18
_noblegasnox - means non X probably09:18
_noblegaswhere X means X windows system09:18
_noblegasproabably09:19
tomreynprobably09:19
_noblegasgreat thank09:19
tomreynyou're welcome09:19
_noblegasall pieces of the puzzle come together09:19
nesciustomreyn: ok, i found my answer at https://wiki.ubuntu.com/X/Config/Resolution - the old method of explicitly listing resolutions in xorg.conf is still doable in newest stable releases09:20
_noblegastomreyn: Why do you think the ubuntu was made such a way that packages get splitted into parts because of different license, which makes it inconvenient for user? I am comparing with mac where you can type `brew install emacs` and get everything working right away?09:25
tomreyn_noblegas: in this particular case, it's because the package was developed by debian developers, and the packaging recipe was merely copied to ubuntu. debian is somewhat strict about taking measures which ensure that users become aware before they choose to install software that does not comply with the DFSG09:28
Walex_noblegas: it is not just about licenses, it is also about headers, sources, libraries, etc, so one can pick and choose. Also there are "metapackages" like 'ubuntu-desktop'09:28
_noblegasWalex: what is the `metapackage` for?09:30
Walex_noblegas: they are packages containing dependencies on other packages and no content of their own09:30
Walex_noblegas: try for example 'dpkg -l emacs' and 'apt depends emacs'09:31
_noblegasWalex: am I reading this correctly that metapackage is the way to overcome the problem where you have multiple packages, so you don't have to install them individually. You just intall the matapackage and you get everything09:31
Walex_noblegas: yes.09:31
Walexin Debian/Ubuntu there are also "tasks" that do pretty much the same.09:32
_noblegashttps://www.irccloud.com/pastebin/1GQfnTzo/09:32
pangpangwhy python2 is on ubuntu? i know that python2 is ended?09:32
Walex_noblegas: also try 'apt depends emacs-nox'09:33
nesciuspangpang: because some people like to have their applications working :)09:34
_noblegasWalex: so it says here `gnu emacs editor (metapackage)` so shouldn't the documentation then was  a part of the metapackage09:34
Walexpangpang: some applications have not been ported to Python 3, plus IIRC PyPy will continue to support Python 2 indefinitely. However eventually it will be gone.09:34
pangpangah09:34
pangpangthanks nescius and Walex09:34
Walex_noblegas: that documentation is that for the metapackage, not that for EMACS. It is "metadata".09:35
tomreynpangpang: ubuntu will continue to support some software even beyond upstream developers' defined EOL for this software, to enable users to continue to use that software in a given (still supported) ubuntu release09:35
pangpangah ok. tomreyn09:36
tomreyn!latest | pangpang: related:09:36
ubottupangpang: related:: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa.09:36
_noblegasby the way, what is `-lucid`?09:36
_noblegaslike in  `emacs-lucid`09:37
tomreyn!lucid | _noblegas09:37
ubottu_noblegas: Ubuntu 10.04 LTS (Lucid Lynx) was the twelfth release of Ubuntu. Desktop support ended May 9 2013. Server support ended on April 30 2015. See https://ubottu.com/y/lucid for more details.09:37
_noblegasah, ok, I thought it's some kind of new window subsystem09:37
tomreynoh, that's a different context than the ubuntu release09:37
tomreynas a reminder,    apt show <packagename>    may provide more information on a package.09:38
_noblegasWalex: so how should I work with metapackages?09:39
_noblegasthanks tomreyn09:41
_noblegaseverything works now (whew), now to learning how to install scheme09:41
_noblegasit seems that installing `emacs-nox` removes `emacs-gtk`, is there a way to keep both?09:44
Walex_noblegas: to work with metapackages you just create them or install already existing ones.09:45
_noblegasWalex: so in case of emacs, that metapackage should have contained emacs documentation as well?09:46
Walex_noblegas: you cannot keep both 'emacs-nox' and 'emacs-gtk' because they use different libraries. They could be built to be compatible with each other, but the package maintainer probably thought that was too complicated and unnecessary, because 'emacs-gtk' can work on a terminal too.09:46
Walex_noblegas: "contain" is different from "depends"09:46
Walex_noblegas: metapackages contain only metadata, but can depend on many other packages. Ordinary packages contain data too, and can also depend on others.09:47
_noblegasWalex: so it means that metapackage only list packages without which the program won't run (and documenation is not one of them)09:48
Walex_noblegas: the dependencies of a metapackage are a design decision by the package maintainer. Plus following the recommendations of the Debian Policy Manual.09:48
Walex_noblegas: that 'emacs' does not depends on the EMACS docs is probably indeed because of the reason you give.09:49
_noblegasbut emacs tutorial mentions emacs docs09:49
_noblegasand provides you commands to open emacs docs09:50
Walex_noblegas: but one could create a package 'emacs-bundle' that depends on 'emacs' and the doc and non-free emacs packages.09:50
_noblegasthat would've been really cool if someone did it09:50
_noblegasthen all that hassle wouldn't be needed anymore09:51
Walex_noblegas: it is very easy to generate metapackages...09:51
_noblegashow?09:51
Walex_noblegas: also note the output of 'apt depends emacs-nox' includes 'Suggests: emacs-common-non-dfsg' which is the '.info' documentation is packages.09:51
raddyHello09:53
lotuspsychjewelcome raddy09:53
_noblegasWalex: `apt depends emacs-gtk` also includes the same suggest09:53
raddyWe have setup php with nginx using fpm09:53
_noblegaswalex: but `apt depends emacs` only shows top level dependencies09:53
raddyOnly module seldom getting enabled09:54
Walex_noblegas: there are several online tutorials on creating '.deb' packages, and metapackages are a particularly simple case, they just need a 'debian/control' and a 'debian/changelog' file.09:54
raddyDo i need to add it in both php-cli and php-fpm ?09:54
raddyI have installed that module through apt09:54
_noblegasWalex: is there a way to automatically install `Suggests` dependencies?09:55
Walex_noblegas: also look at the 'equivs' package09:56
_noblegasthanks09:56
Walex_noblegas: there is an option '--install-suggests' to 'apt-get', or you can use the configuration parameter 'APT::Install-Suggests'. But it is usually a bad idea, there are often *lots* of suggests.09:57
_noblegasWalex: got it. Thanks. You really explained me so much stuff. Thank you.09:58
Walex_noblegas: I think that the best idea to explore packages and dependencies is to use 'aptitude', as it lists them very nicely. I have written a guide to using the powerful 'aptitude' search expressions:09:58
WalexBTW as an aside, I think that 'dpkg' the package manager, is not very good, but the dependency manager, the APT suite, is very good, especially 'aptitude'.09:59
WalexMy guide for 'aptitude': http://www.sabi.co.uk/blog/13-one.html?130414#13041410:00
Walex_noblegas: also have a look at 'man tasksel', but I never use tasks.10:00
_noblegasthanks a lot for the link10:01
tomreynraddy: by default, php modules will be enabled for every php model they could be used with.10:02
raddytomreyn: intl module not showing up in phpinfo, but shows up in php -m10:03
tomreynraddy: did you restart the webserver since?10:04
raddyWill try now10:04
tomreynactually fpm in your case10:04
tomreynraddy: while it's not wrong to ask here, nte there is also #ubuntu-server10:05
tomreyn*note10:05
raddyi already restarted php-fpm and now restarted nginx as well10:05
raddystill no go10:05
tomreynraddy: you should be able to see and modify which modules get loaded for the different php models in /etc/php*10:07
tomreynuse  ls -l  to understand the use of symbolic links10:07
raddytomreyn: I have enable the modules in php-fpm's php.ini10:08
raddyNot enabled in php-cli, will try that as well now10:08
tomreynraddy: whihc ubuntu releaser are you running an how did you install the intl module?10:09
tomreynare you using php from ubuntu's main repositories or a third party distribution?10:09
tomreyn*release (not "releaser")10:10
raddyUbuntu 20.04.2 LTS, other sources i think, as ubuntu 20.04 would ship with php810:11
raddyI installed through apt10:11
raddyapt install php7.4-intl10:11
tomreynUbuntu 20.04 LTS provides PHP 7.410:11
raddythen it may be default php10:12
tomreyninstall package php-intl10:12
raddythat won't work10:12
raddyI'll try10:13
raddyI installed10:14
raddyBut no change10:14
tomreynhmm i don't rmemeber exactly how it's packaged, but reading the documentation available in /usr/share/doc/php* may help you better understand how modules are meant to be managed10:17
tomreynespecially README.Debian.* files, if there are such10:18
raddyit shown that config file is under, cgi, i have enabled it there also10:18
=== denningsrogue682 is now known as denningsrogue68
raddyIt also my web application path in  Loaded Configuration File .10:22
tomreynraddy: this looks like a good explanation on how to manage modulesfor different php SAPIs: https://tecadmin.net/enable-disable-php-modules-ubuntu/10:23
raddyI have enabled there also by removing semicolon in the module name10:23
raddyThe module is perfectly available under cgi/conf.d10:23
raddyIt is symlinked to the actual module10:24
AlexPortablehow do I make a screenshot of an open dialog or drop-down? Whenever I press any keyboard shortcut it doesn't do anything10:25
tomreynand you restarted fpm, and you re-verified that the intl module is not loaded iwthin this fpm pool, using this PHP SAPI, and this very PHP version?10:25
tomreynraddy: ^10:25
raddyYeah, :(10:27
raddyI have not tried php SAPI yet10:28
tomreynAlexPortable: focusing the dialog and pressing alt-shift-print should create a screenshot of it at ~/Pictures/Screenshot*10:30
AlexPortableno it will ignore any keyboard shortcuts, including ctrl+alt+t10:30
tomreynAlexPortable: It works for me on ubuntu 18.04 LTS, gnome shell. what are you running?10:31
tomreyn(i just tried using the gedit "open" dialog window10:32
tomreynit may not work with drop-downs, not sure10:33
raddytomreyn: That particular ini file is not listed in Additional .ini files parsed10:33
tomreynraddy: i'm not sure what you're referring to there :/10:34
raddytomreyn: in phpinfo output10:34
tomreynraddy: is the module loaded, though, and how are you ruling that out?10:35
raddytomreyn: module loaded by php-cli, not by cgi10:35
tomreynhttps://www.php.net/function.get-loaded-extensions#example-53010:38
raddymy nginx is not using fpm, yet10:38
raddyWill work on fixing it now10:39
raddyI hope it would fix the intl issue as well10:39
raddyhow to restart fastcgi BTW?10:39
tomreynwhich fastcgi implementation are you using?10:40
tomreynhow are you ruling out that the module gets loaded by the very SAPI you want it to be loaded by?10:41
raddyintl activated now10:41
raddyafter restarting fastcgi10:42
AlexPortabletomreyn: Does it work with drop-downs in the settings application for example?10:42
tomreyn...10:42
tomreynAlexPortable: i don't know, haven't tried. does it?10:42
raddysudo service php-fcgi-mydomain-com restart10:42
raddydid the trick10:42
AlexPortablefor me not, but maybe there is something wrong with my setup10:42
raddydoes it mean i am not using fpm ?10:43
tomreynAlexPortable: it doesn'T seem to work on this ubuntu 18.04 LTS system i have here10:44
tomreynAlexPortable: not while there is an open drop down10:44
tomreynAlexPortable: you could use some other software for this use case. i find this gnome shell extension to work well: https://extensions.gnome.org/extension/1112/screenshot-tool/10:46
tomreynAlexPortable: it provides a timeout mechanism which works for capturing mouse pointer and open drop downs10:47
tomreynalso a GUI (dock icon, or whatever this GUI element is called nowadays) for screenshot management10:48
AlexPortablewell i'm looking at all hotkeys, not just the screenshot10:49
tomreynso you're considering it a bug that "global keyboard shortcuts will not work while a drop-down menu is open"10:50
AlexPortableI'm not sure10:50
tomreynif so, this may be worth reporting as a bug, or rather, checking whether ti has already been reported, against ubuntu's gnome-shell and the upstream gnome project10:50
vlmis there an application that can take regular packets and tunnel them into socks5 protocol?11:00
LegouskHello all, I need some help as I cannot manage to make ssh login work on my new KDE environment. I setup passwordless login to my server on my GNOME environment, but now recently installed KDE also. When using KDE the server asks for my password still although the correct key is in the authorized_keys on my server and KDE has the corresponding private key. I am probably missing something here.11:01
vlmor maybe i need a socks5 server which support forwarding?11:01
lotuspsychjevlm: perhaps a topic for #ubuntu-discuss or ##networking ?11:03
vlmlotuspsychje, maybe so i just wondered if its available in ubuntu packages repositories though?11:04
TJ-!info proxychains | vlm possibly this?11:58
ubottuvlm possibly this?: proxychains (source: proxychains): proxy chains - redirect connections through proxy servers. In component universe, is optional. Version 3.1-8.1 (focal), package size 4 kB, installed size 26 kB11:58
vlmTJ-, ohh didnt think of it thanks!12:00
BluesKajHowdy folks12:24
wyounghi12:24
J-JITOHi13:10
J-JITODo you know something about this warning message?13:10
J-JITOIP-Config: Eth0 hardware address 98:fa:9b:3d:dd:56 mtu 1500 DHCP RARP13:10
J-JITOIP-Config: no response after 2 secs - giving up13:10
J-JITOit's not critical, just annoying13:10
J-JITOAny ideas how to get rid of it ?13:11
J-JITOanybody ?13:15
J-JITOGuys ?13:30
TJ-J-JITO: that comes from ipconfig scripts in the initialramfs13:30
J-JITOTJ-: I've already modified it, but still persist across boots13:31
wyoungJ-JITO: Sorry, the guys are all out now, you should try asking the girls13:31
J-JITOwyoung: Haha, yeah sorry anybody is better than Guys13:31
J-JITOGuys and Girls13:31
wyoung:P13:31
J-JITOI'm desperate, can't find a solution for my issue13:32
J-JITOI've tried to play with /etc/initramfs-tools/initramfs.conf13:32
J-JITOI changed DEVICE= to DEVICE=eth0, still didn't work13:33
TJ-J-JITO: is that on bare metal or inside a virtual machine?13:33
J-JITOno no, I'm using linux on my main laptop which is a Thinkpas X1 Carbon13:33
J-JITOThinkpad*13:33
TJ-OK, just that helps rule in or out some possibilities. Basic issue MAY be the ethernet link isn't "UP"13:34
J-JITOIt is, because I mainy use it on wifi13:34
TJ-J-JITO: well no, Ethernet isn't WiFi. Ethernet is wired13:35
J-JITOand on X1, ethernet is used with a proprietary dongle13:35
J-JITOyeah I know13:35
J-JITObut even when I ifconfig eth0 down, I still get the warning13:35
TJ-so maybe drivers required for that 'dongle' aren't being loaded by initramfs scripts13:35
J-JITOIP-Config: Eth0 hardware address 98:fa:9b:3d:dd:56 mtu 1500 DHCP RARP13:35
J-JITOIP-Config: no response after 2 secs - giving up13:35
J-JITOok, but I tired to clone my linux partition to a Dell laptop, which has a physical Ethernet port13:36
J-JITOand I still get the warning13:36
TJ-J-JITO: you will, because it is emitted by the kernel because there is something on the kernel command line instructing it to try to connect13:37
TJ-J-JITO: what does "cat /proc/cmdline" show?13:37
J-JITOBOOT_IMAGE=/boot/vmlinuz-5.10.0-amd64 quiet loglevel=0 mitigations=off13:37
J-JITOthis is my initramfs conf file https://termbin.com/5qza13:38
TJ-J-JITO: so "DEVICE=eth0" - are you attempting to boot with NFS?13:40
J-JITONot at all13:40
TJ-J-JITO: in which case that isn't needed13:40
J-JITOBut I already tried to remove eth0 and commented #DEVICE=13:40
J-JITObut I still got the same warning13:40
TJ-J-JITO: did you re-run "sudo update-initramfs -u" after making the change?13:40
J-JITOyep13:40
J-JITOupdate-initramfs -uk all13:41
J-JITObut I still get the warning13:41
J-JITOeven when I change it to lo or wlan013:41
J-JITOlo I get an error with IP-Config: lo mtu 1500 DHCP RARP13:41
TJ-J-JITO: have you investigated the initrd.img-$VERSION archive to see if that has actually been missed off somehow? That's what I usually do13:42
J-JITOwlan0 linux doesn't boot13:42
J-JITOhow to check that ?13:42
TJ-kernel/initramfs shouldn't be trying to get a network connection13:42
J-JITOok but how to tell my kernel don't boot over network ?13:43
=== ippan__ is now known as yuta
TJ-J-JITO: I extract the initramfs filesystem and explore it, 'grep' for strings I'm interested in, and so on. I use 'unmkinitramfs' in /tmp, as in "pushd /tmp; mkdir initrd; cd initrd; sudo unmkinitramfs -v /boot/initrd.img-$(uname -r) . ; grep -rn DEVICE  "13:45
J-JITOok let me try it13:46
J-JITOfor example, grep for strings that contain eth0, right ?13:46
TJ-J-JITO: I'd search for anything trying to use the variable DEVICE13:48
TJ-J-JITO: but yes, mentions of eth0 should be rarer so do that first13:48
TJ-hmmm, time do-release-upgrade was updated13:48
TJ-"You have to download a total of 755 M. This download will take about 1 hour 35 minutes with a 1Mbit DSL connection and about 1 day 5 hours with a 56k modem."13:48
J-JITOOK i did it13:51
J-JITOgrep -sor "DEVICE\|eth0" $(pwd)13:51
J-JITOI found DEVICE commented most of the time13:51
J-JITOand eth0 also13:51
J-JITOjust what I did in initramfs.conf then update-initramfs -uk all13:52
TJ-J-JITO: if I hadn't seen you use "update-initramfs -uk **all**" I'd have guessed the kernel version being booted wasn't one that got an updated initrd.img13:54
TJ-J-JITO: right - that file is copied in13:54
J-JITOwell I can just update-initramfs the only kernel version I use currently13:54
J-JITObut I have two versions in case on of them bricks13:55
TJ-thing is, you've just proved the changes made are in there, for the currently booted kernel version, so this is strange13:55
TJ-there are usually 2 ways to trigger this; kernel command-line (checked, OK) and this config file13:56
J-JITOupdate-initramfs -u13:56
J-JITOI just did that now13:56
J-JITOby the way, I'm using kali, which is based heavily on debian13:57
TJ-J-JITO: ooooo .... did you say you've commented out as in #DEVICE= ? that might break it, it needs to explicitly be set to null13:57
TJ-J-JITO: so it isn't even an Ubuntu issue! Ask Kali people, we have no idea what they may have changed13:57
J-JITOso you want me just to uncomment and keep it like this DEVICE=13:57
J-JITOwell nobody knows for sure13:58
J-JITOand since it's all debian based13:58
TJ-J-JITO: that is what it is in that file by default, setting it to an empty string13:58
J-JITOlet me check again13:58
TJ-J-JITO: but you need to understand EVERY flabour makes changes13:58
J-JITOwhat do you mean ?13:59
TJ-E.G. who set DEVICE=eth0 on that file? it's not a default for Debian or Ubuntu13:59
J-JITOI did just to test, but by default it was empty13:59
J-JITOI needed to change it in order to see if the warning goes or not13:59
J-JITOok, I removed it, DEVICE is empty14:00
J-JITOand update-initramfs14:00
TJ-J-JITO: so maybe something else in Kali sets something that triggers it anyhow, especially as you reported a similar message for the loopback "lo" interface. We can't support non-Ubuntu OSes here14:00
J-JITOno it is not kali related14:00
J-JITObecause when I live boot kali, I don't have this warning14:01
J-JITOit is more likely due to a package installation or a misconfigured file maybe14:01
tomreynJ-JITO: please do not try to get help here with issues that occur on anything other than what's stated as supported in the topic. it is stated there for a reason.14:02
J-JITOok no problem :(14:02
tomreynif you can reproduce it with ubuntu, feel free to come again14:02
TJ-from now on I'm going to ask for output from some cryptic command that reveals the distro and cannot easily be spoofed!14:06
TJ-hash of something unique I think. and I'll keep a note of what the hash is for each release/package combo :)14:07
=== lordcirth__ is now known as lordcirth
up_runningCan ibus and fcitx exist together on the same system?15:07
tomreynup_running: i think you can co-install them and switch between them using im-config15:09
up_runningWould you say that fcitx is the default now?15:10
tomreyni really lack experience with input methods, can't comment15:10
tomreynup_running: ibus continues to be in 'main', whereas 'fcitx' contiunues to be in 'universe', if this has anything to say.15:13
=== rahul is now known as baba
up_runningtomreyn: Very interesting. I'm actually on Gentoo, so I had to Google 'main' and 'universe', but it seems that ibus has official support whereas fcitx is community-driven.15:15
tomreynup_running: and, is this called "Gentoo"?15:17
up_runningtomreyn: My real problem is trying to mimic how Windows allows users to use key combinations to switch languages.15:17
tomreynup_running: your real problem is seeking support for unrelated distributions on #ubuntu15:18
up_runningtomreyn: Yes, I know this isn't #gentoo, but i just wanted to get a general consensus on the state of things as gentoo isn't as utilized as ubuntu.15:18
up_runningthis isn't a #gentoo problem. it is a #ibus or #fcitx issue15:18
leftyfbup_running: please ask in #gentoo15:19
up_runningso, I was hoping a ibus or fcitx ubuntu user could provide some insight. my personal distro doesn't matter afaik.15:19
leftyfbup_running: you can also try ##linux15:20
up_runningtomreyn: your comment was quite helpful, I'm not sure why my mentioning of gentoo seemed to be a problem.15:22
leftyfbup_running: If your question is distro-agnostic, then you might be better served in ##linux15:23
tomreynup_running: i'm glad i could help you. please understand we do not appreciate polls on this channel, or seeking support when you actully don't mean to get support with runngin ubuntu.15:23
tomreynup_running: and as leftyfb said, there are other channels which may be more suitable15:24
tomreynthere's also #ubuntu-discuss15:24
up_runningok, my apologies and thank you.15:41
hggdh!ls15:50
ubottuThe linux terminal or command-line interface is very powerful. In Unity or GNOME, search the dash for "terminal" and press ENTER. Other desktops: Applications -> System Tools -> Terminal (MATE), K-menu -> System -> Konsole (KDE), or Menu -> Accessories -> LXTerminal (LXDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal15:50
hggdhtoday is my day to spam... I apologise15:51
_luciferhi all! I upgraded yesterday to ubuntu to 21.04 from 20.10. since the upgrade, chromium ocassionaly hangs up for a few seconds. i get a chromium not responsding dialog. i click on wait and the browser starts responding again after a few seconds. any ideas how to solve this issue?17:12
Maik_lucifer: let me guess.... Wayland?17:19
Maiktry X11 and see if that improves things17:20
_luciferMaik: sorry, didn't understand you17:20
_luciferoh, thanks! i'll try that17:20
Maik_lucifer: ubuntu 21.04 uses wayland by default but Wayland is far from ready and causes much issues17:20
Maikyou can choose the session at the login screen17:21
_luciferMaik, i ran `loginctl show-session 18 -p Type` and got `Type=x11`. also, on the login screen, i have 3 options `GNOME`, `GNOME Classic` and `Ubuntu`.17:28
MaikGnome adn Gnome classic shouldn't even be there. Ubuntu and Ubuntu on Xorg should be the only ones.17:31
Maikadn/and17:31
_luciferoh! any ideas could have gone wrong?17:33
Maikmaybe you installed those yourself?17:34
Maiki upgraded from 20.04 to 20.10 to 21.04 and only see the Ubuntu and Ubuntu on Xorg options.17:35
_luciferi have followed a similar path. right, i might have installed the gnome stuff some time ago myself.17:38
_lucifermy GPU is nvidia, so wayland's probably disabled for me anyways.17:45
Maikah, nVidia. In that case you indeed already use Xorg. I forgot about that. Sorry.17:48
tomreyn_lucifer: you may be able to get more details on the chromium hang when you run it from a terminal. check whether this also happens in chromium "safe mode" (extensions disabled). also, you can access this location in chromium chrome://about and select some of these special URLs for further analysis.18:10
johnjayquestion about the live cd: is it reasonably safe to boot from a live cd if its version is >= the version on disk?18:14
johnjayi want to replace my ubuntu 18 disk with the latest but my install is 2018:14
_luciferhttps://www.irccloud.com/pastebin/zHvgi4id/18:15
_lucifertomreyn: i get the above log when running from terminal.18:15
_luciferit also happens with extensions disabled.18:16
tomreyn!yy.mm | johnjay18:16
ubottujohnjay: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle18:16
tomreynjohnjay: and yes, it is reasonably safe to boot from a live cd if its version is >= the version on disk18:16
tomreynalso if it's lower or the same18:16
johnjayok. i got an error about unimplemented reference 0x4 when trying to use the ubuntu 18.04 disk today to recover my system18:17
johnjaynormally grub-install is happy to reinstall and hasn't given me that error before.18:17
tomreynyou asked about using the live cd to boot, not to recover the installed system18:17
johnjaysomeone managed to help me boot back into the system though with a clever chroot command18:17
johnjayis there a problem with that?18:18
johnjayi thought maybe there might be18:18
tomreynno problem, it's just a different question, and a different answer. i wouldn't try to chroot recover an instllation using an older ubuntu release, or even an older minor release.18:19
tomreyn_lucifer: hmm, i couldn't tell from this output. check journalctl -f, too18:21
tomreyn_lucifer: maybe also compare to a non snap installation (if this is one)18:21
johnjayi believe the chroot command he said to use which worked was to tell apt to reinstall grub18:22
johnjayah ok it was "apt-get install --reinstall grub{,2}-common grub-efi-amd64{,-bin,-signed}"18:22
johnjaytomreyn: well it's too late to troubleshoot now i suppose. but what would have been the right way to proceed?18:23
tomreynjohnjay: when you chroot into an installation, you're still running the same kernel version you booted into. this kernel version may not be fully compatbile to the installed system, so that's something to keep in mind.18:23
johnjayah ok. yeah i thought about that. it's not like you're swapping to the other kernel18:23
tomreynjohnjay: i'd just use the same or newer ubuntu release to chroot into some exisitng installation.18:24
johnjaywhat happened is i installed windows so i load my ubuntu 18.04 cd to restore grub like i've done before18:24
johnjaybut for some reason the grub-install command failed18:24
johnjaythis was the error: https://askubuntu.com/questions/1335439/grub-install-error-relocation-0x4-is-not-implemented-yet18:24
johnjayoh ok so the idea of chrooting wasn't necessarily bad18:25
johnjayi thought maybe i should have tried something else irst18:25
_lucifertomreyn, journalctl doesn't seem to give anything useful. here's the log anyways,18:25
_luciferhttps://www.irccloud.com/pastebin/A7K7uRHA/18:25
tomreynjohnjay: if ubuntu won't boot because grub was overwritten then you don't have too many other options18:26
_luciferindeed this is a snap installation. i'll try installing without it.18:26
johnjayi see18:28
tomreyn_lucifer: the many CTRL-EVENT-SIGNAL-CHANGE messages may be related. if your wireless connection is unreliable, consider deactivating power saving on the wireless lan interfacve18:29
tomreynjohnjay: if you don't strictly require running windows bare metal, and the system provides sufficient resources (RAM, CPU), consider running windows in a VM under ubuntu instead. that way, you can both run both at the same time, and not have windows destroy grub in the future.18:32
johnjayah ok18:36
=== SadHotDog is now known as HappyHotDog
=== ev is now known as Funke
=== PonyBlocks is now known as PonyGone
=== PonyGone is now known as PonyBlocks
rjwiiiUbuntu 20.04 - latest updates ... I'm getting an update screen that says 604 MB is to be downloaded, but the update list is empty ... any ideas?20:27
summonnerwhy do you think your update list is empty?20:31
johnjayby the way is there a way to go to ubuntu settings in 21 or 20 and enable the compose key?20:32
johnjayor does that still have to be done with gnome-tweaks?20:32
=== jkwnki2 is now known as jkwnki
dave_7781b221:07
TJ-just done a d-r-u 18.04>20.04  and triyng to resolve outstanding package issues. Trying to figure out what the over-arching package(s) are that will keep these packages installed "The following packages will be REMOVED libzip5 php-curl php-gd php-json php-sqlite3 php-xml php-zip php7.4-curl php7.4-gd php7.4-sqlite3 php7.4-xml php7.4-zip"22:17
marcodiegoI'm having problems recording sound on my computer. It seems like the second one suggested in https://askubuntu.com/questions/1230016/headset-microphone-not-working-on-ubuntu-20-04 is correct, but when I go to https://www.kernel.org/doc/html/latest/sound/hd-audio/models.html#alc22x-23x-25x-269-27x-28x-29x-and-vendor-specific-alc3xxx-models I cant find the correct codec model for my sound card23:07
marcodiegowhat should I do?23:07
marcodiegocan't record audio on ubuntu 20.04 . Output from "cat /proc/asound/card*/codec* | grep Codec" gives "Codec: Realtek ALC3221". How can I fix it?23:25
grummundHi, anyone know how to disable 'relatime' and enable 'atime' on the root partition please?23:58

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