arraybolt3 | Every so often I try to find a package and get told that it is "purely virtual". I'm pretty sure that a package is capable of providing a virtual package, so if package "zxc" was virtual and package "abc" provided it, one could install package "abc" and it would satisfy packages that depend on "zxc". My question is, how would you search for packages that provide a certain virtual package? Is this | 00:16 |
---|---|---|
arraybolt3 | something that the apt resolver is supposed to do automatically? | 00:16 |
arraybolt3 | Like if you try to install a package that depends on a virtual package, is apt able to figure out what package to install to provide the dependency? | 00:18 |
deego | arraybolt3: iirc, i have seen a message from apt in the past: the requested pkg x is provided by y,z,a... Please pick one. | 00:32 |
devslash | what do you guys do to make sure that your server is hardened from breaches | 00:43 |
=== jje1424 is now known as jje142 | ||
=== jje1427 is now known as jje142 | ||
rob0 | Most important thing is to be confident in the services you have exposed to the Internet, and keep those up-to-date with any security patches which are released. | 00:49 |
devslash | reverse proxy and non standard ssh port. all security updates have been updated | 00:53 |
jhutchins | devslash: Learn everything you can about every task your server is performing. Know what's supposed to happen, so anything that's _not_ supposed to happen stands out. | 00:54 |
Diagon | I'm for the first time trying the nvidia GPU on my Thinkpad T530 and have some graphics questions. I'm hoping someone can clue me in... | 01:13 |
Diagon | 1) I'm using nvidia on a new install. I don't see the nouveau drivers blacklisted anywhere (eg. /etc/modprobe.d), so how does Ubuntu (22.04) know that it should use nvidia rather than nouveau? | 01:13 |
toddc | Diagon: if you are on a GUI desktop look at settings addl drivers | 01:18 |
Diagon | toddc/ yes I see that in the gui. But both drivers are installed, so where on the system would I look to see what ubuntu is doing to effectively blacklist nouveau? | 01:19 |
toddc | Diagon: reboot sould clear the nouveau ---I have seen laptops with two video cards and not found a answer to that issue | 01:21 |
Diagon | toddc / I have rebooted multiple times and just did it again. The nouveau driver is still installed. | 01:23 |
toddc | Diagon: possible issue with nivida driver may try a diffent nvidi driver if it persits check back ffor some one with more skills in that area but I have had many issues with nvidia | 01:27 |
Diagon | toddc / thanks. I'm sure I have the right driver. I think I need someone who knows the ubuntu internals. | 01:30 |
rob0 | This might actually be a #linux question. I think the kernel, when presented with a device for which more than one driver could be used, has an internal means of giving one of them priority. | 01:35 |
Diagon | rob0, the reason I'm asking is that apparently when I want to use the nouveau driver, blacklisting nvidia is not enough. I actually have to completely uninstall nvidia. On the other hand, nvidia seems to be running fine with nouveau around. So, what is telling ubuntu to ignore nouveau and use nvidia? And why wouldn't that work the other way around? | 01:38 |
rob0 | It has been many years, but I tried the proprietary nvidia driver once, long ago. | 01:40 |
rob0 | I know that the kernel driver was only one part of it. The script also replaced part of my X11. | 01:41 |
Diagon | Ah. That might be a clue ... Does nouveau not do that? | 01:41 |
rob0 | nouveau works with off-the-shelf X11 | 01:41 |
rob0 | look at the files in the .deb | 01:42 |
Diagon | Ok, so if I would try to blacklist nvidia (/etc/modprobe.d), that's not enough because I've still got the modded X. On the other hand, if I blacklist nouveau, that should work fine. | 01:43 |
rob0 | (for nvidia and/or pulled-in packages, not nouveau) | 01:43 |
Diagon | Ok, so whatever the kernel is going, it's going to have the equivalent problem: X is modded so it can't completely control which driver is being used. | 01:45 |
rob0 | Blacklisting nvidia when the patched X11 is installed might not work. It could use insmod(8) (not subject to blacklisting) to insert the nvidia driver. | 01:45 |
Bashing-om | Diagon: A thought - not on Waland are you ? As Wayland and Nvidia are known not to play nicely together. | 01:45 |
Diagon | rob0 / I think that might basically answer it ... | 01:45 |
Diagon | Bashing-om / Well there's another question. How is it that using the nvidia driver, I'm automatically set to using X? I don't choose that at login. | 01:46 |
rob0 | you might need an "alternatives" solution | 01:46 |
Diagon | I did have to use the nvidia-drm.modeset=1 switch. | 01:46 |
Diagon | rob0 / You're taling about /etc/alternatives ? (Haven't looked into that ...) | 01:47 |
Bashing-om | Diagon: What release ? Nvidia did direct us not to enable a Nvidia driver on the Wayland compositor. | 01:48 |
Diagon | Ubuntu 22.04. nvidia-driver-390 | 01:48 |
Diagon | I.C.... | 01:48 |
rob0 | right. update-alternatives(8) can switch out files so that you can have conflicting software installed. | 01:49 |
Diagon | :thumbs-up: That gives me something to search on. I see a lot of stuff on the web saying to blacklist nvidia if you want to use nouveau, but then there are all kinds of warnings that it doesn't actually work ... | 01:50 |
Diagon | Thanks. | 01:50 |
Diagon | I've got a couple of questions about optimus, too .. | 01:50 |
Diagon | 2) I have optimus and see nvidia's prime-select. Also, plasma-prime-select (just a front end to prime-select?) Does "prime-select on-demand" set the GPU's to switch on heavy load? | 01:50 |
Bashing-om | Diagon: 'ps -efly | grep Xorg' --- if you don't see the Xorg process you're using the Wayland compositor. | 01:51 |
Diagon | Bashing-om / fine. Or $XDG_SESSION_TYPE. It's X. | 01:51 |
Bashing-om | Diagon: Good - should have then a solution :) | 01:52 |
Diagon | Bashing-om, if you mean the solution to switching to nouveau without uninstalling nvidia is to look into update-alternatives, then maybe yes. | 01:53 |
rob0 | It might not be simple to set up, but you can look at examples in /etc/alternatives and see how it works. | 01:55 |
Diagon | rob0 / :thumbs-up: | 01:55 |
rob0 | You might also want to consider a bug, because Ubuntu should probably do this for you. | 01:56 |
Diagon | I could do that, though ... with X on the way out? ... I suppose that could be a while, though. | 01:57 |
Diagon | By the way, does nouveau work with wayland? | 01:58 |
rob0 | no idea, I don't have an nvidia grphics machine ATM | 01:59 |
Diagon | I see. presence of nvidia apparently atomatically sets the system to X. I'm wondering how that works with nouveau... | 02:00 |
Bashing-om | Diagon: Going back to your original question: blacklisting is now done in the /lib/modprobe.d directory. | 02:06 |
Diagon | Bashing-om / Hm. Thanks. I see both of them being used. In /lib there's a fb blacklist. What's the difference between these two directories? Do you know? | 02:08 |
Bashing-om | Diagon: Right off the top of my head I do not recall the reasoning for the change in blacklisting location. | 02:10 |
Diagon | So prime-select or bumblebee ... anyone have any experience? | 02:12 |
Bashing-om | Diagon: Say again please that the goal here is to install a Nvidia proprietary driver. | 02:12 |
Bashing-om | Diagon: Is noted that BumbleBee is depreciated in favor of nvidia-prime. | 02:13 |
Diagon | I already have the nvidia driver. The goal is to understand the capabilities and limitations of the two drivers. (that's the short answer.) | 02:14 |
Diagon | Bashing-om/ Ok, but nvidia-prime is part of the nvidia driver package, yes? | 02:15 |
Diagon | So with nouveau you wouldn't have that? | 02:16 |
Bashing-om | Diagon: Deep stuff there - I too run Nvidia; has gotten to deep for me to follow. | 02:16 |
Bashing-om | Diagon: true - nouveau uses "switcheroo" . | 02:17 |
Diagon | Bashing-om / nvidia-driver recommends nvidia-prime, but the nouveau driver does not. | 02:18 |
Diagon | Hm. What is "switcheroo" (looking...) | 02:18 |
Diagon | I see laptop-mode-tools "vgaswitcheroo". Is that what you're talking about? Bashing-om | 02:21 |
Bashing-om | Diagon: Yeah - >> /sys/kernel/debug/vgaswitcheroo/switch . | 02:23 |
Diagon | Bashing-om: don't have that. It's part of laptop-mode-tools (though maybe I should have that package). There's a switheroo-control package that looks more likely to me. | 02:25 |
Bashing-om | Diagon: Old docs ? and I can accept that the directory only exist if on the nouveau driver. | 02:26 |
Bashing-om | Diagon: Try https://help.ubuntu.com/community/HybridGraphics <- swiching through the kernel through ACPI calls.->&using switcheroo. | 02:27 |
Diagon | Bashing-om: ok, but have a look at "aptitude show switcheroo-control" That's installed with gnome. | 02:30 |
Diagon | Bashing-om: I'm now wondering if, even though I've got nvidia installed, which GPU am I running for say the terminal (ie. light video load). How would I check that? | 02:31 |
Diagon | Bashing-om: switcheroo-control: "This package by default will force the iGPU to be used ..." | 02:36 |
toddc | Diagon: I did notice that when I installed nvidia it switched to X11 and found a site that said that nvida will not work with wayland. I did not dig deaper as nvidia is closed source and nouveau is open commmunity both totally different | 02:40 |
Diagon | toddc / yes. I gather it works very badly with wayland. But nouveau, what's it's status with wayland? | 02:41 |
toddc | Diagon: it depends on your needs I used for a long time with wayland and worked ok for me until someone asked me to test nvidia driver so I switched with no noticable difference | 02:43 |
toddc | other x11 | 02:43 |
Diagon | toddc / alright, so presumably if I uninstall nvidia, then when I reboot, nouveau should be used, and at the login screen I should get a choice to use X or Wayland, correct? | 02:44 |
Diagon | (I had trouble before installing the nvidia driver. I'd boot to a black screen, though I could get a console. So I'm concerned that I might end up in the same place if I remove nvidia.) | 02:45 |
toddc | I assume trying to game vs terminal use and web browser needs are different I have not tried to switch back but I can a bit later tonight | 02:45 |
Bashing-om | Diagon: My notes (16.04 era !) >> Check if both the cards are powered on: To check this, we need be able to view the file /sys/kernel/debug/vgaswitcheroo/switch. Type the following in terminal. ' cat /sys/kernel/debug/vgaswitcheroo/switch ' | 02:46 |
Diagon | Bashing-om: ok, thanks. That means installing laptop-tools and then setting things up (I see that here: https://blog.desdelinux.net/en/vgaswitcheroo-en-distribuciones-basadas-en-debian/) | 02:47 |
Diagon | I may do that at a later time ... | 02:47 |
Bashing-om | Diagon: To completely remove the Nvidia driver ' sudo apt remove --purge nvidia-* ' reboot, and you should come up on the nouveau driver. From the password screen is a gear icon in the lower left - click to choose the session type. | 02:53 |
Diagon | :thumbs-up: | 02:55 |
paul | ok hello | 03:19 |
paul | I guess this is some form of google search | 03:19 |
paul | I press the jobs command and get no response | 03:20 |
paul | strange no response | 03:20 |
paul | fg always gives me no such job | 03:21 |
bankai_ | why is that a problem? | 03:46 |
McE | Hi , is it important to maintain the fileownerships in an offline repository / | 04:48 |
McE | or can i just hand ownership for the entire repository to root ? | 04:48 |
crax23 | maybe you'd try #git or github? | 04:58 |
crax23 | if it is for a filesystem backup, yes it's important. | 04:59 |
crax23 | you can store it into a tarball .tar.gz while keeping all the file permissions etc with a flag option i think. | 05:00 |
McE | crax23, , no its not for a filesystem backup ..., | 05:06 |
McE | its for a backup of fthe ubuntu repository ... | 05:06 |
crax23 | Ha ok the apt packages etc. | 05:08 |
arraybolt3 | This may be a long shot, but is there a program out there that you can paste text from a license header into and it tries to detect what license it's looking at? | 05:11 |
arraybolt3 | Like if I copy the BSD-2-Clause license out of a source code file, but don't know that it's BSD-2-Clause, is there a program I can paste that into and it tells me "This is BSD-2-Clause.", or something like that? | 05:12 |
* arraybolt3 only just now realized I could try to Google this, man I must be tired | 05:12 | |
arraybolt3 | Hmm, not finding much. Maybe I need to write something like this. | 05:16 |
arraybolt3 | Ah, found it. licensecheck. | 05:17 |
Unit193 | See also: `debmake -k` | 05:18 |
arraybolt3 | Hah, works perfect. Nice. | 05:19 |
arraybolt3 | Unit193: | 05:19 |
arraybolt3 | Unit193: Debmake? Never used that. | 05:19 |
arraybolt3 | Hmm, looks possibly useful. I don't really want to trust copyright line identification to an automated tool, but the license detection is good. | 05:21 |
Unit193 | https://wiki.debian.org/CopyrightReviewTools | 05:21 |
Unit193 | `debmake -k` checks files and d/copyright, telling you when they don't match. | 05:21 |
Diagon | The switcheroo-control package is installed with gnome for machines with dual GPUs (eg. iGPU & nvidia). It allows per-process selection of GPU. How can I identify which GPU a process is running on? | 05:54 |
blahboybaz | Is there a way to name workspaces in 20.04? | 06:21 |
BlackDalek | Hi. How do I set my computer's ethernet IP address without using DHCP via a router? I'm on Ubuntu 20.04 | 07:02 |
rfm | BlackDalek, if you're on desktop Ubuntu, look in settings>network, | 07:24 |
BlackDalek | rfm, ok. I see tabs under wired for details, identify, ipv4, ipv6 and security. Which tab is for setting the IP of the computer? | 07:27 |
alocer | ipv4 bv | 07:31 |
BlackDalek | Hi. How do I set my computer's ethernet IP address using ubuntu desktop network settings, and without using DHCP via a router? I'm on Ubuntu 20.04 | 07:46 |
BlackDalek | How do I use network settings on ubuntu desktop to give my computer a static IP address on ethernet interface? | 07:47 |
alocer | BlackDalek: have you tried google? it requires lots of explanation, its better to check youtube or google. there are so many articles related to this. | 07:48 |
BlackDalek | Has anyone had experience with trying to install a linksys WVC54GC webcam on ubuntu without access to a windows PC? I can't figure our how to access it's configuration page through a browser | 07:57 |
=== SteelRose_ is now known as SteelRose | ||
ravage | https://www.arkko.com/linux/linksyscamera.html | 07:58 |
BlackDalek | ravage, I am trying to follow that page, but I am stuck at the part where I need to change the IP address of my computer :/ | 08:02 |
ravage | https://i.imgur.com/hixCtAw.png | 08:03 |
BlackDalek | Also, I am finding it odd that even when I plug the camera into a free ethernet port on my router, nothing appears in the list of connected devices. Nothing seems to happen when I plug it into the ethernet port of the computer either. | 08:04 |
ravage | maybe the device is just broken | 08:04 |
ravage | but thats not really a topic for this channel | 08:04 |
BlackDalek | ravage, I entered the info shown in your screenshot exactly as shown, but I still couldn't bring up anything in the browser for the camera (supposedly at 192.168.1.115) | 08:06 |
elias_a | ravage: You also might consider how up to date the information on the page you referred is. It is written in 2007. | 08:07 |
ravage | or 192.168.1.103 | 08:07 |
BlackDalek | nothing on .103 either | 08:08 |
ravage | "sudo nmap 192.168.1.0/24" may help you find any devices | 08:08 |
ravage | it is also possible that the cam is configured on another subnet. in that case find out how you can factory reset it | 08:11 |
ravage | usually there is a button somewhere for it | 08:11 |
cmcm | !help | 08:11 |
ubottu | Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience | 08:11 |
ravage | https://www.hardreset.info/devices/linksys/linksys-wvc54gc/faq/hard-reset/hard-reset-router/ | 08:11 |
ravage | but that looks wrong. maybe google yourself :) | 08:12 |
BlackDalek | ravage, nmap command not found... is the command different? | 08:22 |
ravage | you have to install the package with the same name | 08:22 |
BlackDalek | ravage, ok... after a while it showed a list of device infos... but looks like they're all wireless devices. Nothing for wired. | 08:27 |
ravage | if you follwed that guide there should be no other devices | 08:28 |
ravage | you are supposed to connect the device directly to your computer | 08:28 |
ravage | but then configuring your network enabled webcam is really offtopic here. if you have any Ubuntu related questions feel free to ask them | 08:30 |
ravage | for everything else try #ubuntu-offtopic or #networking | 08:30 |
BlackDalek | ok | 08:32 |
Enissay | I have a couple external Seagate drives, is there anyway to find out the exact drives name/type inside without opening them ? since they put different drives inside: exos entreprise, Barracuda, Desktopo HDD, ... | 13:37 |
ravage | Enissay: udevadm info --query=all --name=/dev/sda |grep 'ID_MODEL=' | 13:39 |
feep[android] | Hi | 13:50 |
feep[android] | I'm updating to 22.10, I booted and then switched to rescue mode with systemctl rescue, then started a release upgrade | 13:51 |
VIA | high aall | 13:52 |
VIA | wtf | 13:52 |
feep[android] | Then I wanted to check something so I switched to tty2, but I couldn't log in ("unprivileged users are not permitted") | 13:52 |
feep[android] | But I can't switch back to the rescue shell. | 13:53 |
feep[android] | What do? | 13:53 |
feep[android] | Reboot and hope update is done? | 13:54 |
feep[android] | just gonna to that | 13:57 |
feep[android] | do* | 13:57 |
feep[android] | Oh look it's kernel panicking yay | 13:58 |
feep[android] | Okay, configure resumed | 14:00 |
BluesKaj | Hi all | 14:03 |
nbusrone | Hi , does ubuntu store cache file directory tree ? for example , having another partition mounting or not mount , but where does the cache file list store located ? | 14:06 |
nbusrone | Where does cache file tree located ? | 14:08 |
Enissay | ravage: sadly it only spits Expansion_Desk... I checked the full output of udevadm and no mention of anything else... They really don't want it to be known | 14:10 |
Enissay | :< | 14:10 |
nbusrone | I can't find in cache | 14:13 |
=== jdrab is now known as undefNULL | ||
=== undefNULL is now known as undefnull | ||
dman777 | http://1lineart.kulaone.com/#/ I was trying to paste this ascii art but my 20.04 release is missing ascii characters so some of it is just questions marks. How could I fix that? | 14:21 |
rajakvk | Please suggest me a best terminal emulator equivalent to iterm2 (mac) | 15:06 |
lotuspsychje | rajakvk: for software reccomends/polls you can try #ubuntu-discuss | 15:07 |
nbusrone | Anyone can suggest an application successfully open 500MB log files ? | 15:14 |
nbusrone | in txt format | 15:15 |
rob0 | less(1) | 15:16 |
oerheks | standard gedit can handle files larger than 1Gb | 15:16 |
oerheks | 4th place gnome-terminal https://alternativeto.net/software/iterm2/?platform=linux | 15:20 |
nbusrone | oerheks thanks | 15:22 |
nbusrone | oerheks : may I know where does journalctl location save ? | 15:22 |
nbusrone | oerheks : I wanted to export to txt. | 15:22 |
nbusrone | can't find at /var/log/journal or /run/log/journal | 15:27 |
ogra | nbusrone, they should be in a subdir under /var/log/journal ... as binary files | 15:32 |
nbusrone | ogra ; There is nothing there | 15:34 |
ogra | did you fiddle with the journald config in any way ? by default it should write persistent logs there if the dir exists on startup | 15:34 |
ogra | if there are not any files it will be logging to a ringbuffer in ram (using 10% of the ram) | 15:37 |
nbusrone | ogra: I double check it's not there | 15:39 |
ogra | well, then you are logging to a ringbuffer ... | 15:39 |
jhutchins | ogra: What are the settings that will turn logging to disk on or off for journald? | 15:39 |
nbusrone | ogra: I edit the journalctl a while ago to increase the size | 15:40 |
ogra | jhutchins, by ubuntu defaults the existence of the /var/log/journal dir normally ... there are also cofnig options but you should not fiddle with them unless you know exactly what you are doing | 15:40 |
=== jje1421 is now known as jje142 | ||
nbusrone | ogra: let me access natilus as sudo , maybe it's hidden as it's not at admin | 15:42 |
ogra | ARGH .... DONT EVER ! run a filemanager as root !!!! | 15:43 |
ogra | this will end in tears | 15:43 |
ogra | (user files becoming re-owned by root etc etc ) | 15:43 |
oerheks | there is an admin package for nautilus | 15:43 |
ogra | (configs/caches) | 15:43 |
oerheks | to open a folder as root thingy | 15:43 |
ogra | ah, kay, that might take the above into account | 15:43 |
ogra | i'D still not do it | 15:44 |
oerheks | no need to, for those logs | 15:44 |
ogra | yeah | 15:44 |
nbusrone | ogra: sorry new to ubuntu , " sudo nautilus" is wrong ? | 15:45 |
ogra | thanks to wayland the aera of beng able to run gui apps as root is luckily over | 15:45 |
ogra | yes, that isnt a ubuntu thing bt a general linux rule you shoudl follow | 15:45 |
ogra | *but | 15:45 |
oerheks | sudo journalctl > all_logs.txt | 15:45 |
oerheks | sudo journalctl -u NetworkManager --output=short > NetworkManager.log | 15:46 |
oerheks | tons of way to make a file | 15:46 |
ogra | and due to the issues running gui apps as root things like wayland were invented, where the display shell simply does not allow starting apps as root | 15:46 |
nbusrone | oerheks : i want to log my hard disk error sdb , how do I do that ? | 15:46 |
nbusrone | oerheks : sudo journalctl -u sdb ? | 15:48 |
oerheks | not sure, maybe with full path?? | 15:54 |
nbusrone | oerheks : i will try again tomorrow , thanks for the help oerheks and ogra :) | 16:00 |
granrojo | hello | 16:19 |
granrojo | i cant understand the diference between long in and non login shells | 16:20 |
jhutchins | granrojo: Login shells are usually interactive. | 16:26 |
jhutchins | (I hope somebody has a better answer.) | 16:26 |
superkuh | Hi. I had a monitor die in my multi-monitor span. I replaced it with another monitor, but my desktop defaulted to a super low resolution and now the number of icons I have in my "Applications Places System" bar is longer than the bar itself and when I attempt to click "system" I instead launch an icon that's "underneath" it, overlapping. Does anyone know the command line name of the Ubuntu GUI application for changing resolution and setting up multi-mon | 17:00 |
superkuh | itor stuff? | 17:00 |
superkuh | Or where on disk the system menu is defined? | 17:01 |
arraybolt3 | xrandr? | 17:01 |
superkuh | That's the command line way. | 17:01 |
superkuh | I mean the name of the executable to bring up the gui. | 17:02 |
arraybolt3 | Oh I get it. | 17:02 |
superkuh | xrandr never worked on many of my systems. I never learned how to use it. Guess nows the time... | 17:02 |
arraybolt3 | I don't know the name of the executable you're looking for, but it might be worth trying "ls /bin/gnome-system*" and see if that shows you the name. | 17:03 |
cartdrige | Can't you see the screen and the resolution etc in the desktop settings? | 17:03 |
superkuh | Oh. I guess just removing icons does it. | 17:03 |
arraybolt3 | cartdrige: He can't get into the desktop settings. | 17:03 |
superkuh | annoying but I can put them back later. | 17:03 |
superkuh | Sorry for the silly question. | 17:03 |
cartdrige | try 'arandr' i think its the GUI version | 17:03 |
arraybolt3 | It wasn't silly! And we're glad to be able to try and help! | 17:04 |
cartdrige | superkuh, What screen name/brand/model it is? | 17:04 |
superkuh | The monitor that died was an old Dell 1704fpvt. I replaced it with a very crappy 15" Sony for now. | 17:05 |
superkuh | The Dell has been getting more and more reluctant to turn on for years. But I thought it was the button. I took it apart and manually shorted the button switch and still nada. So, dead. | 17:06 |
=== {master-max}1 is now known as mearvk | ||
jhutchins | superkuh: Is the resolution you're getting the best the Sony can do? | 17:07 |
superkuh | Yep. It's old 5:4 1280x1024 like the Dell it's replacing. Except with giant crappy bevels and bad color. | 17:08 |
* superkuh ambles off to look at eBay/etc for replacements. | 17:09 | |
=== {master-max}1 is now known as mearvk | ||
=== {master-max} is now known as mearvk | ||
=== {master-max} is now known as mearvk | ||
mearvk | Anyone know the directory for INBOX on Courier Email? | 17:32 |
mearvk | I'm using Mailbox | 17:32 |
jhutchins | mearvk: should be something like ~/mail or ~/Mail. May also be hidden (.mail). | 17:33 |
jhutchins | mearvk: Unread inbound mail may be in /var/[spool/]mail/<user> | 17:34 |
mearvk | we have Maildir | 17:34 |
mearvk | sorry I mean on the Client side | 17:34 |
mearvk | INBOX is ~/Maildir ?? | 17:34 |
jhutchins | mearvk: Yes. | 17:34 |
mearvk | Ok | 17:34 |
jhutchins | mearvk: Could be Maildir. Best way to get the answer for YOUR system is to look. | 17:35 |
jhutchins | (I had a legacy system that had four different folders in ~. Only one was active.) | 17:36 |
jhutchins | Starting some mail clients will create a folder in ~. | 17:37 |
=== {master-max}1 is now known as mearvk | ||
=== {master-max}1 is now known as {master-max} | ||
=== {master-max} is now known as mearvk | ||
=== {master-max} is now known as mearvk | ||
=== {master-max} is now known as mearvk | ||
=== {master-max} is now known as mearvk | ||
=== {master-max} is now known as mearvk | ||
=== {master-max} is now known as mearvk | ||
Bardon | Hello, how can I record how much RAM my program is using? | 18:21 |
Bardon | I'm running a python script | 18:21 |
fowl | Hey there, I was trying to set up Multipass on my friends windows machine, I eventually got a VM started but it has no IP address. Can someone point me in the right direction? We are using VirtualBox since I guess his version of Windows doesn't support Hyper-V | 18:23 |
superkuh | Bargon, maybe procpath? | 18:28 |
superkuh | https://pypi.org/project/Procpath/ | 18:28 |
superkuh | https://unix.stackexchange.com/questions/554/how-to-monitor-cpu-memory-usage-of-a-single-process | 18:29 |
jhutchins | Bardon: Top, atop, ps with various options... | 18:34 |
Bardon | superkuh: I'll check procpath, thanks! | 18:35 |
jhutchins | Bardon: Remember memory usage and memory allocation are different things. | 18:35 |
Bardon | Ehm I just want to know how much memory my script uses | 18:35 |
Bardon | Don't know which one it is | 18:36 |
Bardon | I'll just top | grep python for now | 18:36 |
ogra | use htop and look at the RES value ... that is usually pretty close to actual ram usage | 18:39 |
Bardon | ogra: That's how I'm doing it but I'd like to let it run without having to look at it | 18:47 |
=== Bencraft1 is now known as Bencraft | ||
mybalzitch | its gnomes always-on-top supposed to always make that app the first thing I go to when I alt-tab? | 19:37 |
=== Guest8784 is now known as krabador | ||
=== kostkon__ is now known as kostkon | ||
=== elastic_dog is now known as Guest5023 | ||
webchat57 | I could use some help for a boot issue, can I ask here? | 20:40 |
granrojo | hello! Maybe someone can help me. I have xfce4 desktop. How do I boot to a login manager and then initilize my dektop environment. I dont want lightdm to load | 20:49 |
granrojo | I have checked a lot on Google and I'm very confused about what to do. Some sites say to configre bachrc file, others xsesions, other xprofile...im lost | 20:50 |
mybalzitch | well lightdm can/will call your desktop environment | 20:51 |
mybalzitch | sddm is an alternative | 20:51 |
granrojo | mybalzitch: yes thats what I realize, deactivated lightdm with systctl but then I dont get X to start | 20:54 |
mybalzitch | well, you'd need to log in via the tty and do like startxfce4 | 20:55 |
cmcm | !help | 20:59 |
ubottu | Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience | 20:59 |
granrojo | mybalzitch: yes but I want to do that autmaticly, but I dont know waht file to modify for that and what to put on it | 20:59 |
datatech | You asked for a login manager, but deactived lightdm--which is a login manager | 21:04 |
alkisg1 | granrojo: are you asking "how to enable autologin in lightdm"? | 21:06 |
granrojo | alkisg1: nop I wont to have a login and then having my sektop envirnoment to start | 21:08 |
alkisg1 | granrojo: this is the default, first you get lightdm, where you login, and then your desktop environment starts | 21:09 |
alkisg1 | Are you asking "how to re-enable lightdm"? | 21:09 |
alkisg1 | Wait do you mean that you want a text (console) login instead of a GUI one? | 21:09 |
granrojo | alkisg1: I don't want to have a display manager | 21:09 |
alkisg1 | granrojo: display manager is the program that you use to login | 21:10 |
alkisg1 | granrojo: so if you want to login, you need a display manager, unless you're talking about text logins | 21:10 |
datatech | If you don't use lightdm, you will need to set up .xinitric to start the correct x11 session. And you will need to type startx from the TTY console. Otherwise, you must use a login manager to handle it. | 21:10 |
=== pong_ is now known as pong | ||
granrojo | alkisg1: ah ok, then I guess I want a text login if there is no way to get rid of a graphical login manager | 21:11 |
rob0 | The old way (pre-systemd) was to change the runlevel. I guess in systemd you would disable the display manager service? | 21:11 |
granrojo | alkisg1: in my case lightdm executes my desktop envirnoment, I want to keep my xfce but not pass trought lightdm | 21:11 |
rob0 | I'm sure it is doable | 21:11 |
alkisg1 | granrojo: of course you can get rid of all graphical login managers. Where do you want to graphically login then, in a browser? :D | 21:12 |
arraybolt3 | granrojo: Are you trying to enable autologin so that you don't have to sign in at all? | 21:13 |
rob0 | Without the display manager, you get a text login. "startx" to start X11. | 21:13 |
alkisg1 | I asked them above ^, they said no... | 21:13 |
granrojo | arraybolt3: no, I still want to login | 21:13 |
datatech | granrojo: What happens after you login at the console and type startx. Nothing? | 21:14 |
rob0 | This is how I've run my Slackware desktops since forever. | 21:14 |
granrojo | alkisg1: I want my dektops environment to load | 21:14 |
alkisg1 | granrojo: disabling the login manager will break some stuff that the display manager prepares. Before you run startx and then you start solving the startx problems, do you want to explain WHY you don't want a display (login) manager? | 21:15 |
granrojo | datatech: when I do that, my plank laucher gets doesnt load. but I guess thats waht I want but not having to type startx to start my dektop encrinment and window manager | 21:15 |
datatech | Ok, you must type startx without a login manager like lightdm. Period. | 21:16 |
rob0 | ^^ and set up ~/.xinitrc | 21:16 |
granrojo | alkisg1: because it takes too much time from by boot and I also because I want to login if posible from a tty to my desktop | 21:16 |
crax23 | you add: exec xfce; | 21:16 |
crax23 | in .xinitrc | 21:17 |
rob0 | which used to be easier than it is now | 21:17 |
granrojo | datatech: yes but I want to automatize that | 21:17 |
datatech | I have mine set through Xsession | 21:17 |
alkisg1 | granrojo: lightdm takes about 1 second, the rest of the boot time will be there anyway | 21:17 |
datatech | export XDG_SESSION_TYPE=x11 | 21:17 |
datatech | export GDK_BACKEND=x11 | 21:17 |
datatech | . /etc/X11/Xsession | 21:17 |
datatech | That is the contents of .xinitrc. | 21:17 |
alkisg1 | granrojo: see how many ^ environment variables you'll need to set, and still some apps will be broken, because they expect some more environment variables that you don't know about | 21:18 |
granrojo | datatech: I change those 2 lines from Xsession and X will be started? | 21:18 |
datatech | Hang on. Does xfce start after $ startx? Yes or no. | 21:19 |
granrojo | alkisg1: ok, let me reframe this (by the way thanks a lot for your time and help) I want to get rid of lightdm | 21:19 |
alkisg1 | granrojo: display managers are needed when you want GUI sessions, otherwise you risk broken programs, when you use startx etc | 21:19 |
granrojo | alkisg1: I don't want a display manager but I do want a desktop environemt in this case xfce | 21:19 |
alkisg1 | You can use display managers that don't even have GUI, but you do need them | 21:19 |
rob0 | granrojo, again, your DM is a service which is started by systemd | 21:19 |
granrojo | rob0: yes that I know but what file? | 21:20 |
rob0 | alkisg1: it really IS possible to have X without a DM | 21:20 |
alkisg1 | rob0: I've been avoiding to maintain the ltsp display manager for years, because of all the breakage :) | 21:21 |
datatech | I don't have a DM configured. | 21:21 |
alkisg1 | It is possible, and then you get so much broken behaviour, that you regret about it | 21:21 |
datatech | Nothing is broken. | 21:21 |
rob0 | no, it works fine for me in Slackware[s] | 21:21 |
granrojo | alkisg1: nothing is broken, I have seen it done also with only window managers like openbox | 21:21 |
alkisg1 | I don't want to spend time to review all the related bugs, patches and code I've written about which parts are broken | 21:21 |
rob0 | but Slackware has scripts to help set up ~/.xinitrc | 21:22 |
alkisg1 | But I've spent so many weeks on such broken stuff, that I do need to warn granrojo about them | 21:22 |
rob0 | yes, alkisg1 is probably right that this is not so easy in Ubuntu | 21:22 |
rob0 | but it can be done | 21:23 |
datatech | For me I simply uninstalled lightdm and I had no problems. | 21:23 |
granrojo | alkisg1: Ok, thanks for the advice. I still want to know how to get to my dektop environment wihtout a display manager but a login | 21:23 |
rob0 | try uninstalling lightdm | 21:23 |
granrojo | datatech: I did systctl disable lightdm, with that I get a tty from where I can log in but it doesnt start X autoamtically | 21:24 |
datatech | Anyway, you have to startx after logging into the console. You can't automate that without writing a... you guessed it, a login manager from the console. Maybe one exists? | 21:24 |
rob0 | ok, there's not much to a .xinitrc file | 21:24 |
granrojo | rob0: so its the .xinitrc file that I need to modify to launch x autamitaclly? | 21:25 |
datatech | It won't launch X automatically. | 21:25 |
alkisg1 | You can put startx in a small login script (.profile and an if command). You can install nodm and tell it to autologin you from a small login script; that'll be a lot better than startx. But the nodm maintainer abandoned it in favor of lightdm. | 21:26 |
granrojo | datatech: Why? | 21:26 |
datatech | Because .xinitric is a command file. The way debian systems work now is the xsession is handled by systemd. | 21:27 |
alkisg1 | So I would suggest that you enable autologin in lightdm, and just start the lightdm service after you login in text mode, that way you won't have broken programs | 21:27 |
datatech | s/is a command/isn't a command | 21:27 |
datatech | You're looking for a solution that doesn't exist. | 21:27 |
granrojo | well some people like rob0 says it exist | 21:28 |
datatech | And I can tell you're not experienced enough with linux to understand why. It's fine. Our advice is to use lightdm to login, or type startx from the console. Pick one. | 21:28 |
granrojo | datatech: What do you mean but I'm not experienced enought with linux? | 21:29 |
datatech | But take note of alkisg1 warning about not using lightdm. You may have issues that you won't be able to solve. | 21:29 |
granrojo | Yes, I thansk alkisg1 for the advice. but I still want to break my PC :) | 21:31 |
xipper | What is the difference between passwd and gpasswd? | 21:31 |
alkisg1 | xipper: g is for groups | 21:31 |
nteodosio | You could technically use .profile (which gets executed at login) to execute startx whenever you log in. | 21:31 |
xipper | alkisg1: one can add passwords to groups? | 21:32 |
granrojo | nteodosio: there we go, that sounds more like I want | 21:32 |
nteodosio | Bear in mind that display managers usually do a lot of stuff to set up the desktop environment. It will be a real pain to replicate that behavior via .xinitrc. | 21:32 |
alkisg1 | xipper: man gpasswd, you can add users to groups etc, and yes you can also set passwords for groups | 21:32 |
xipper | alkisg1: thank you | 21:33 |
granrojo | nteodosio: yes alkisg1 told mr about so. So how do I create a .profile and what do I put on it | 21:33 |
nteodosio | granrojo, ah, sorry, I only caught part of the discussion. | 21:34 |
datatech | something like: [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx | 21:34 |
nteodosio | granrojo, probably you can just append startx to it after you made sure to configure .xinitrc correctly. | 21:34 |
granrojo | nteodosio: and the .xinitrc file that I have now is not "correct"? | 21:36 |
nteodosio | datatech already took care to eliminate cases where you use a login shell but don't want to start X (e.g. if X is already started) | 21:36 |
datatech | granrojo: try appending that to .profile and login | 21:36 |
rob0 | granrojo: this is my XFCE .xinitrc from Slackware: https://pastebin.mozilla.org/Rad487qD | 21:36 |
nteodosio | nteodosio, most likely not, at least not totally. You will find bits missing from the DE if you use it long enough. | 21:36 |
granrojo | datatech: I need to append that to xinitrc? | 21:37 |
rob0 | granrojo: of course I have no clue if it will work for Ubuntu | 21:37 |
datatech | NO, to .profile | 21:37 |
datatech | or .bash_profile if it exists | 21:37 |
granrojo | datatech: it not I create bash_profile on ~ or a .profile on ~ ? | 21:38 |
granrojo | *if not | 21:39 |
alkisg1 | granrojo: there's also a list of console-based display managers there: https://wiki.archlinux.org/title/display_manager#Console | 21:39 |
datatech | I would add it to .profile. If you want to make sure .bash_profile is set up correctly, I recommend just sourcing .bashrc and .profile in it. i.e. . ~/.profile in .bash_profile (along with . ~/.bashrc). Read how to source dotfiles for more info. | 21:39 |
granrojo | hey thats great rob0 thanks | 21:40 |
rob0 | maybe :) | 21:40 |
granrojo | and with a console display I can disable lightdm? on login with that? alkisg1 | 21:41 |
rob0 | Slackware is non-systemd, and has that dbus-launch thing, which might be specific | 21:41 |
alkisg1 | granrojo: yes, e.g. see the screenshot there: https://loh-tar.github.io/tbsm/ | 21:42 |
datatech | It's been so long since I actually ran Slack. I wonder if Pat will ever implement systemd | 21:42 |
rob0 | datatech: he's resisting as long as possible, but it has gotten to be difficult | 21:43 |
granrojo | datatech: ok thanks but i dont know what is to source, ill have to look for that | 21:43 |
rob0 | "help source" in a bash shell | 21:44 |
granrojo | rob0: ill try that, but its usuall hard for me to understand help options from bash | 21:45 |
granrojo | rob0: ill need to spend some time looking for it to grasp what it is | 21:46 |
granrojo | [#ubuntu] alkisg1 datatech rob0 nteodosio and all for your time and help | 21:46 |
rob0 | maybe you need to spend some time playing in bash | 21:46 |
rob0 | As long as you're not root, you can't do any permanent damage. :) | 21:47 |
granrojo | rob0: yes definetly, thats what I try to do, but I dont have many uses for it...unless I want to run normal stuff from it or copyng thinfs form here to there. Im just a linux enthusiast | 21:47 |
rob0 | I guess it was easier for me, as I came to Linux from DOS. | 21:48 |
Fingel | Does anyone know if it's possible to get the docker compose plugin with Ubuntu's docker.io package? I'm not talking about the old docker-compose program. | 21:48 |
granrojo | rob0: well me too | 21:48 |
granrojo | rob0: but even in dos I didnt do much more than the basic stuff. looking fro files, copying things runing some exes | 21:48 |
granrojo | rob0: and playing with memmaker to try to run some games | 21:49 |
dollard | Helllo | 21:49 |
granrojo | hi dollard | 21:49 |
alkisg1 | granrojo: you may also install xdm if you prefer something extremely light, it's 143 kb | 21:49 |
alkisg1 | graphical, it will also be faster than your console login as it will have already launched xorg for you... | 21:50 |
dollard | How are you | 21:50 |
granrojo | ok, ill look for xdm too, thanks a lot for all your help! alkisg1 | 21:52 |
alkisg1 | 👍️ | 21:53 |
=== scoobydoo_ is now known as scoobydoo | ||
davidd | got a question: what does 'unknown' mean when I am listing a package (e.g. 'gh/unknown,now 2.20.2 amd64 [installed]') | 22:34 |
davidd | ah it's the suite for the package release | 22:36 |
flylord | Hi, I am having ls list folders with a green background. is there a way to change that for terminal? | 22:40 |
flylord | using wsl2 / ubuntu | 22:41 |
=== dd3my is now known as Guest4820 | ||
=== anotheryou_ is now known as anotheryou | ||
=== markthomas1 is now known as markthomas | ||
=== kms_ is now known as kms | ||
=== mrelcee_ is now known as mrelcee | ||
=== Turgenevskaya is now known as TortillaSandwich | ||
=== AKTheKnight8 is now known as AKTheKnight | ||
=== jose_ is now known as jose | ||
=== jwpapi_ is now known as jwpapi | ||
=== SirScott6 is now known as SirScott | ||
=== dreinull309 is now known as dreinull30 | ||
=== nirojan_ is now known as nirojan | ||
=== RaGE_Syria1 is now known as RaGE_Syria | ||
=== kenyon_ is now known as kenyon | ||
=== heart6 is now known as heart | ||
=== tuxifreund_ is now known as tuxifreund | ||
=== antranigv_ is now known as antranigv | ||
jhutchins | flylord: Where did you get the ubuntu image? | 23:28 |
jhutchins | flylord: I don't think native ubuntu does that. | 23:28 |
jhutchins | I do get network shared folders in blue text on green background. | 23:30 |
jhutchins | What about ls -l? | 23:34 |
=== Vercas62 is now known as Vercas6 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!