webchat88 | hello everyone | 00:45 |
---|---|---|
webchat88 | as a newbie i noticed that my other linux distro partition is mounted on username/media | 00:46 |
webchat88 | so i have access to my other distro user files | 00:46 |
webchat88 | is it possible to hide those files when i boot on the other distro to avoid information leek | 00:47 |
sarnold | webchat88: are those other filesystems listed in your /etc/fstab? | 00:52 |
webchat88 | yes | 00:54 |
sarnold | webchat88: if you add 'noauto' to the options, then they shouldn't be mounted at boot | 00:54 |
webchat88 | ex my other linux partition root is on sda/1 | 00:55 |
webchat88 | now with an other distro im on sda/2 | 00:55 |
webchat88 | ok but someone else can still mount that sda1 and check inside | 00:56 |
webchat88 | right? | 00:56 |
sarnold | well, that gets a bit complicated.. I don't know exactly how the desktop environment decides what to let users mount | 00:56 |
webchat88 | i just read that | 00:57 |
webchat88 | https://unix.stackexchange.com/questions/98149/why-can-i-access-all-my-files-without-a-password-when-booting-with-a-chakra-linu | 00:57 |
sarnold | if you want to protect against a malicious person with a boot disk, then you need to encrypt your filesystems, instead | 00:57 |
webchat88 | it seems that you cannot really secure your partition if anyone have physically access to yout machine | 00:58 |
symb0l | join #postgresql | 01:33 |
=== genii is now known as genii-core | ||
noarb | I've had this issue with using pcscd libraries with java applications, and where they are looking for the `.so`: https://stackoverflow.com/q/12376257 & https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/898689 | 02:31 |
ubottu | Launchpad bug 898689 in openjdk-7 (Ubuntu) "OpenJDK does not find libpcsc, fails silently, causing smartcard applications to fail" [Undecided, Fix Released] | 02:31 |
noarb | I've been using `-Dsun.security.smartcardio.library=/usr/lib64/libpcsclite.so.1`, that works just fine. But like some answers on that SO question I'd just like to set it permanently, especially since it does seem to be a bug. Where is the correct place to symlink the library, or would it be better to use /etc/profile with _JAVA_OPTIONS ? | 02:33 |
noarb | whoops... I actually use "-Dsun.security.smartcardio.library=/usr/lib/x86_64-linux-gnu/libpcsclite.so.1" | 02:34 |
=== callmepk is now known as callmepk[away] | ||
sarnold | noarb: it'd probably be worth a bug report | 02:37 |
sarnold | noarb: this answer seems plausible enough as a workaround https://stackoverflow.com/a/32769334/377270 | 02:37 |
FuZi0N | How can I update to the latest version of curl on Ubuntu 18.04? I tried doing "apt-get update && apt-get upgrade" but this is still giving me an older version of curl. Is there a special mirror I can add to my sources.list?? | 02:47 |
noarb | sarnold: does it matter where I run that? Or should I use an absolute path to make it available to all system users? | 03:14 |
noarb | security related problem with ubuntu-bug? | 03:21 |
noarb | does that command imply that its run in the homedir and then in the PATH? Reading https://manpages.ubuntu.com/manpages/hirsute/man1/ln.1.html a little harder now | 03:48 |
zph1nx | Is there any known issue with booting a efi installed 20.04 system via the ovmf bios? trying to automate an installation via packer, but the bios refuses to boot the installation on the disk | 03:54 |
noarb | I tried `sudo ln -s /usr/lib/x86_64-linux-gnu/libpcsclite.so.1 /usr/lib/libpcsclite.so` on my system, that didn't work | 04:10 |
alkisg | noarb: I don't know, but this might help: strace -fe trace=file your-command-here 2>&1 | grep lipbcsclite | 04:47 |
alkisg | It will show which files (paths) are searched by your-command that contain that word in its filename | 04:47 |
alkisg | E.g. run a `strace -fe trace=file ls` to see what I'm talking about... | 04:49 |
KBar | try info ln | 05:02 |
KBar | a more comprehensive documentation | 05:03 |
beuys | In Ubuntu Firefox, when I scroll via the touchpad, it does not scroll small distances. It waits a bit until I scrolled a certain distance and then scrolls all that. Is there a way to change that? | 06:30 |
ravan | beuys, Have you tried the setting of the trackpad ? the scrolling distance and the coasting settings should be able to fix that.... | 06:49 |
beuys | ravan: It only happens in Firefox. | 06:50 |
beuys | Setting this one to false seems to make things better: mousewheel.system_scroll_override.enabled | 06:50 |
beuys | But it still seems to snap to certain positions. I wonder why it doesnt just behave like dragging the scroll bar. | 06:50 |
Kel | beuys: If you're feeling adventurous, you can try some of these: https://www.reddit.com/r/firefox/comments/kojli8/actually_smooth_scrolling_for_firefox_now/ | 06:52 |
beuys | Kel: I fiddled with those, but they do not seem to address the issue. | 06:53 |
beuys | This works: MOZ_USE_XINPUT2=1 firefox | 06:53 |
beuys | I wonder if it is possible to do it in about:config | 06:54 |
bencc1__ | system load on my machine is close to 100% but CPU is 40% idle (3/8 hyperthreads) | 07:00 |
bencc1__ | how is this possible? | 07:00 |
beuys | bencc1__: Define "system load". | 07:01 |
bencc1__ | cat /proc/loadavg | 07:01 |
=== diskin is now known as Guest7292 | ||
=== diskin_ is now known as diskin | ||
bencc1__ | 7.16 7.34 7.93 8/11036 1198134 | 07:01 |
beuys | bencc1__: Which of those 5 values do you refer to when you say "close to 100%"? | 07:02 |
ravan | beuys, apz.overscroll.min_pan_distance_ratio1.0 this setting looks relevant.... | 07:02 |
ravan | apz.overscroll.stop_distance_threshold | 07:03 |
ravan | and | 07:03 |
ravan | apz.overscroll.stop_velocity_threshold | 07:03 |
beuys | ravan: apz.overscroll.min_pan_distance_ratio seems to have no impact | 07:03 |
ravan | when i increase these in the scroll speed becomes latent and slow... | 07:04 |
ravan | try the apz.overscroll.stop_distance_threshold | 07:04 |
bencc1__ | beuys: I have 8 vCPUs (hyperthreads). 7.93/8 is close to 100% load | 07:04 |
bencc1__ | and I'm trying to understand why I don't see this reflected in idle cpu | 07:05 |
beuys | bencc1__: Those numbers do not mean what you think. They can go arbitrarely high. | 07:05 |
pasiz | system load reflects pipeline queue size | 07:06 |
ravan | beuys, try searching "scroll" in the about:config.... it outlines all scroll related parameters..... | 07:07 |
beuys | ravan: Hmm.. yeah, a lot of work. | 07:09 |
pasiz | bencc1__: https://blogs.oracle.com/solaris/post/cpu-utilization-of-multi-threaded-architectures-explained | 07:09 |
bencc1__ | beuys: so what does system load means? should I always ignore it | 07:09 |
Guest29 | hello guys | 07:10 |
pasiz | system load is queue size. it doesn't count anything else. | 07:10 |
pasiz | and system load can be over 1 process / core in queue, system still usable | 07:10 |
bencc1__ | does system load says anything? should I be aware of that? | 07:11 |
ravan | beuys, let me know if something works.... i will also get a new understanding .... | 07:11 |
beuys | bencc1__: You would have to interpret the value in context. Asking "Can I ignore the color red?" does not mean much. On a traffic light, you should not ignore it. But roses being red is normal. | 07:12 |
beuys | bencc1__: Are you asking in the context of a web server? | 07:12 |
Guest29 | i have upgraded to ubuntu 21.10 beta and after it i see my scroll in touchpad is so fast and i cant see my toucpad in xinput list i just have it in /proc/bus/input/devices as Name="SynPS/2 Synaptics TouchPad" | 07:13 |
beuys | ravan: Ok, but I will not be able to fiddle with it right away. | 07:13 |
pasiz | do you see iowait or just bare load on 8 | 07:13 |
Guest29 | how can i set a value for my speed in scroll in touchpad | 07:13 |
ducasse | !ubuntu+1 | Guest29 | 07:14 |
ubottu | Guest29: Impish Indri is the codename for Ubuntu 21.10. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. | 07:14 |
ravan | beuys, take your time...... | 07:17 |
beuys | At the moment I am trying to figure out why my .bashrc gets executed on system startup. | 07:19 |
beuys | Maybe I should put a test and return if it is not run interactively. | 07:20 |
pasiz | bashrc is executed on login | 07:20 |
pasiz | if bash is default hell | 07:20 |
pasiz | shell even | 07:20 |
beuys | Ok.. I will put a test for interactive and return if it is not. | 07:21 |
pasiz | but user directory .bashrc are not run by system | 07:21 |
beuys | pasiz: "user directory"? | 07:21 |
pasiz | beuys: yes, user home directory | 07:22 |
beuys | pasiz: Do you count /root/ as a user home too? | 07:22 |
pasiz | like ~/.bashrc | 07:22 |
pasiz | yes it is | 07:22 |
beuys | Well, it seems to get executed. | 07:22 |
beuys | I think even before login. | 07:22 |
beuys | I have put a test for interactive. Will reboot now ... | 07:23 |
pasiz | it get sourced when root runs something with bash | 07:23 |
=== callmepk is now known as callmepk[away] | ||
=== callmepk[away] is now known as callmepk | ||
beuys | Hello again! | 07:26 |
pasiz | yes | 07:26 |
beuys | Did we just talk here? | 07:26 |
pasiz | yes | 07:26 |
beuys | Nice. | 07:26 |
beuys | The test seems to work. | 07:26 |
pasiz | so how about the non interactive bashrc | 07:26 |
beuys | pasiz: How do you mean? | 07:26 |
pasiz | is it executed before login or not | 07:27 |
beuys | pasiz: I am not sure what you mean. Let me explain. I have these two lines in my bashrc: | 07:27 |
beuys | bind 'Tab: menu-complete' | 07:27 |
beuys | bind 'set completion-ignore-case on' | 07:27 |
beuys | And when I boot, I get an alert that they cannot be executed. | 07:28 |
pasiz | your bashrc should execute only if shell is interactive | 07:28 |
beuys | So now I added this on top of my .bashrc and it fixed it: | 07:28 |
beuys | case $- in | 07:28 |
beuys | *i*) ;; | 07:28 |
beuys | *) return;; | 07:28 |
beuys | esac | 07:28 |
pasiz | debian and ubuntu defaults to bashrc that begins with interactive test | 07:28 |
beuys | pasiz: Yes, they bring such a ~/.bashrc on a fresh install. But I am using my own home dirs. | 07:29 |
beuys | Where would I put a script that I *want* to be executed upon boot? | 07:30 |
beuys | I wonder if this one liner is better: [ -z "$PS1" ] && return | 07:34 |
bencc1__ | pasiz: iowait is low | 07:35 |
beuys | Does anybody know where to put a script that should be run on boot? | 07:36 |
bencc1__ | beuys: you ca create a systemd service that runs the script | 07:37 |
beuys | bencc1__: No easier way? | 07:38 |
bencc1__ | sorry. don't know | 07:38 |
bencc1__ | cloud servers sometimes have cloud-init | 07:38 |
KBar | When an interactive shell that is not a login shell is started, bash | 07:42 |
KBar | reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if | 07:42 |
KBar | these files exist. This may be inhibited by using the --norc option. | 07:42 |
KBar | per bash(1) manual page | 07:42 |
KBar | beuys you just source it | 07:43 |
KBar | source path/to/file | 07:43 |
beuys | KBar: Source it from where? | 07:43 |
KBar | from the shell itself | 07:43 |
KBar | or backup the bashrc file | 07:43 |
KBar | and write it from scratch | 07:44 |
beuys | KBar: Which shell? I want to run something on boot. After I turn on the computer. Before I am in a shell. | 07:44 |
KBar | for that you will have to configure grub | 07:44 |
beuys | Naahh. Not that early :) | 07:45 |
beuys | Preferably just before x starts. | 07:45 |
KBar | init | 07:46 |
KBar | you need to configure init | 07:46 |
beuys | How? | 07:46 |
KBar | /etc/init.d | 07:49 |
KBar | plenty of examples in that directory | 07:49 |
KBar | depends on what you want to achieve | 07:50 |
KBar | or as bencc1__ already said: create a systemd service | 07:51 |
KBar | unit | 07:52 |
EriC^^ | beuys: put it in crontab with "@reboot /path/to/script" | 07:52 |
beuys | KBar: /etc/init.d looks good! I will play around with this approach. | 07:53 |
KBar | also, try this: https://unix.stackexchange.com/questions/56957/how-to-start-an-application-automatically-on-boot | 07:53 |
KBar | specifically this answer: https://unix.stackexchange.com/a/523605 | 07:53 |
KBar | the crontab approach is great too. whatever floats your boat | 07:54 |
beuys | Wowdy wow, many options. | 07:54 |
beuys | Thanks everyone! I will reboot and try some options! | 07:56 |
coke | crontab is on its way out systemd has a scheduler | 08:01 |
Ginalo | Hi. I keep running into situations where I'd like to install a deb file, but are cautious that it might be a malicious executable. Is there a way to 'containerize' a deb install? Or is it safe already? | 08:28 |
ravage | Untrusted software is never safe | 09:05 |
ravage | You can use lxd to install such a Deb file. | 09:06 |
graingert[m] | <Ginalo> "Hi. I keep running into situatio..." <- You can put it in a virtual machine | 09:07 |
graingert[m] | Depends where you found it and how old it is | 09:07 |
graingert[m] | Make sure the executable is much older than the sandbox you use to run it | 09:08 |
graingert[m] | Can you rebuild it from source? | 09:08 |
Guest41 | Hi | 09:08 |
Guest41 | hi | 09:09 |
Guest41 | i have a conflict between libinput and synaptics | 09:09 |
Guest41 | what should i do to resolve this conflict | 09:09 |
Guest41 | synclient | 09:10 |
Guest41 | Couldn't find synaptics properties. No synaptics driver loaded? | 09:10 |
Guest41 | i see this xinput list | 09:11 |
Guest41 | WARNING: running xinput against an Xwayland server. See the xinput man page for details. | 09:11 |
Guest41 | ⎡ Virtual core pointer id=2[master pointer (3)] | 09:11 |
Guest41 | ⎜ ↳ Virtual core XTEST pointer id=4[slave pointer (2)] | 09:11 |
Guest41 | ⎜ ↳ xwayland-pointer:17 id=6[slave pointer (2)] | 09:11 |
Guest41 | ⎜ ↳ xwayland-relative-pointer:17 id=7[slave pointer (2)] | 09:11 |
Guest41 | https://pastebin.com/ngRKpy7c | 09:14 |
Guest41 | anyone here ? | 09:15 |
qtext55 | hi :/ | 09:15 |
qtext55 | looks like everyone afk/busy/sleeping or ??? | 09:16 |
qtext55 | so... does anyone here like to code in freebasic??? | 09:17 |
=== Oxfuxxx_ is now known as Oxfuxxx | ||
Ronalds_Mazitis_ | ubuntu removed nvidia driver itself | 09:22 |
Ronalds_Mazitis_ | but it still shows that it is using | 09:23 |
Ronalds_Mazitis_ | manually installed one | 09:23 |
Ronalds_Mazitis_ | can't render via h264_nvenc | 09:23 |
Ronalds_Mazitis_ | 21.04 | 09:23 |
qtext55 | Ronalds_Mazitis_, maybe this will help https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu | 09:24 |
qtext55 | i have nvidia card also | 09:25 |
Ginalo | graingert[m]: That makes sense. Thanks | 09:25 |
Ronalds_Mazitis_ | I hope 470 will work | 09:25 |
Ronalds_Mazitis_ | because I think ubuntu 21.04 comes with 390 | 09:26 |
Ronalds_Mazitis_ | but | 09:26 |
Ronalds_Mazitis_ | I installed visual code by damn repository | 09:26 |
Ronalds_Mazitis_ | I am not sure how that could affect nvidia | 09:26 |
Ronalds_Mazitis_ | but microsoft might be sneaky | 09:26 |
Ronalds_Mazitis_ | ok 470 works | 09:28 |
sadbot | Hi i need help , apparently there is a bug in blender ,i guess cuda don't detect after wake from sleep ,i guess it's nvidia doing ,i found a arch forum and found a solution ,that i need implement systemd service that will use new nvidea suspend method. But... | 09:31 |
sadbot | http://us.download.nvidia.com/XFree86/Linux-x86_64/440.59/README/powermanagement.html | 09:31 |
sadbot | But ,nooo, these samples don't exist in my system '/usr/share/doc/NVIDIA_GLX-1.0/samples' ,😔 | 09:32 |
sadbot | Pls ,sombody can provide those systemd service file ? | 09:32 |
sadbot | Anyone here , c'mon | 09:46 |
Ronalds_Mazitis_ | hey how do I make files dropping to application from nautilus to panel | 09:47 |
Ronalds_Mazitis_ | I am using 21.04 with gnome | 09:47 |
Ronalds_Mazitis_ | with panel to dash extension | 09:47 |
Ronalds_Mazitis_ | dash-to-panel@jderose9.github.com | 09:49 |
=== Oxfuxxx is now known as artemis | ||
=== artemis is now known as Oxfuxxx | ||
Ronalds_Mazitis_ | it seems like | 09:55 |
Ronalds_Mazitis_ | I have to drag | 09:55 |
Ronalds_Mazitis_ | file | 09:55 |
Ronalds_Mazitis_ | from left side down corner to right side down corner | 09:55 |
Ronalds_Mazitis_ | to get all windows to drag file into | 09:56 |
Ronalds_Mazitis_ | that is stupid | 09:56 |
Ronalds_Mazitis_ | https://extensions.gnome.org/extension/1160/dash-to-panel/ | 09:56 |
Ronalds_Mazitis_ | well that is better than nothing | 09:57 |
Ronalds_Mazitis_ | alt tab also works | 09:58 |
Ronalds_Mazitis_ | but had to change config | 09:58 |
=== Oxfuxxx is now known as artemis | ||
=== artemis is now known as Oxfuxxx | ||
=== Oxfuxxx is now known as artemis | ||
=== artemis is now known as Oxfuxxx | ||
=== qtext55 is now known as qtext | ||
beuys | So I am trying to understand my new Ubuntu install. When I hit the super key and start typing, applications are suggested. For example when I type "fi" it suggests "firefox", "files" etc. Where is the list of these applications and how can I edit it? | 11:19 |
KBar | desktop files | 11:21 |
KBar | or | 11:21 |
KBar | wait a minute | 11:21 |
beuys | Ok | 11:21 |
oerheks | there is no list, just a folder with desktop files ( starters) | 11:25 |
alive | oh this is interesting. | 11:26 |
beuys | oerheks: In /usr/share/applications? | 11:26 |
KBar | yep | 11:26 |
KBar | its desktop files | 11:26 |
oerheks | 2 places, you can place your .desktop file at /usr/share/applications/ or at ~/.local/share/applications/. | 11:26 |
KBar | for nautilus | 11:26 |
oerheks | 2nd is user based only | 11:26 |
beuys | Ok.. let me explore those ... | 11:26 |
KBar | aka gnome files | 11:26 |
KBar | see this file | 11:26 |
KBar | /usr/share/applications/org.gnome.Nautilus.desktop | 11:27 |
KBar | snaps are stored somewhere else | 11:27 |
KBar | check $XDG_DATA_DIRS | 11:27 |
beuys | My /home/user/.local/share/applications/ is empty. Lets see what happens when I put something there ... | 11:28 |
KBar | most likely your system has them in /var/lib/snapd/desktop/applications | 11:28 |
KBar | you dont need to put anything there | 11:29 |
KBar | you can just edit the existing .desktop files | 11:29 |
beuys | KBar: I want to create a root terminal launcher. | 11:29 |
beuys | So when I hit the meta key and type "r" it suggests "root terminal". | 11:29 |
KBar | ah okay | 11:30 |
KBar | just create another desktop file | 11:30 |
KBar | https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html | 11:31 |
beuys | I thought I'd start by copying the normal terminal desktop file. But where is it? I don't see anything with "term" in the name in /usr/share/applications/. | 11:31 |
KBar | org.gnome.Terminal | 11:31 |
KBar | try that | 11:31 |
beuys | Ah, nice. | 11:31 |
KBar | everything related to gnome has that prefix | 11:31 |
KBar | conforming to freedesktop specification | 11:31 |
* beuys does cp /usr/share/applications/org.gnome.Terminal.desktop /home/user/.local/share/applications/ | 11:32 | |
beuys | Lets see what happens when all I change it the name from "Terminal" to "RootTerminal". | 11:32 |
oerheks | nothing, i guess | 11:33 |
oerheks | there is no root-terminal | 11:33 |
KBar | you need to specifi the Exec | 11:33 |
KBar | do you see the Exec= field? | 11:33 |
beuys | oerheks: i think the name is only cosmetic | 11:33 |
beuys | KBar: Yeah | 11:33 |
KBar | change that field to whatever you want bash/sh to start with | 11:34 |
KBar | and rename the desktop entry | 11:34 |
KBar | thats it | 11:34 |
beuys | The first step at least workd. When I type "roo" it suggests "RootTerminal" now. | 11:35 |
beuys | KBar: There are 3 "Exec=gnome-terminal" lines in that file. | 11:35 |
beuys | Maybe I can delete 2 of the 3 sections? There are "[Desktop Entry]", "[Desktop Action new-window]" and "[Desktop Action preferences]". | 11:36 |
beuys | Maybe prefixing "gnome-terminal" with "gksu gnome-terminal" will work? | 11:36 |
KBar | i mean they're self-explanatory | 11:37 |
beuys | Oh, there is no gksu. Hmm.. | 11:37 |
KBar | new-window is for new windows | 11:37 |
oerheks | beuys, no, it does not make terminal loged in as root | 11:37 |
KBar | preference opens the preferences dialog | 11:37 |
oerheks | anyway, you need to type a password | 11:37 |
KBar | exactly | 11:37 |
beuys | oerheks: Yes, I will have to type a password when I open it. | 11:37 |
beuys | But the question is: What do I put in the Exec line? | 11:38 |
KBar | check man gnome-terminal | 11:38 |
KBar | what options it supports | 11:38 |
beuys | KBar: I don't think its an option of the application as which user it is started. | 11:38 |
KBar | ? | 11:39 |
alive | The Desktop Actions is for when you right-click the icon on the status bar | 11:39 |
KBar | you can start gnome-terminal with lots of options | 11:39 |
alive | so there appear extra menu items like "Options" and such | 11:39 |
KBar | see if it supplies something that will execute a command or program on launch | 11:40 |
beuys | In a terminal one would write "sudo gnome-terminal". But I don't think that is the right choice for the desktop file. | 11:40 |
alive | I would suggest setting your launch command to 'gnome-terminal -- sudo -s' | 11:40 |
alive | with the dashes and everything | 11:40 |
KBar | gnome-terminal -e=sudo | 11:40 |
KBar | man gnome-terminal has everything | 11:41 |
beuys | alive: I think that would run a root terminal inside a normal terminal? | 11:41 |
KBar | dont be lazy | 11:41 |
oerheks | weird thinking | 11:41 |
alive | beuys: It would start a terminal as the current user and launch the user directly into a sudo shell | 11:41 |
beuys | KBar: That would run a root terminal inside a normal terminal. | 11:41 |
KBar | no | 11:41 |
alive | honestly i would not want to run gnome-terminal itself as root | 11:41 |
alive | Unless there is a specific reason you want to | 11:41 |
alive | If you want to run gnome-terminal itself as root, you would of course need to install gksudo | 11:44 |
beuys | alive: Are you sure there is no way without gksudo? | 11:45 |
KBar | you can also create another desktop file, set its name to rootterminal, chown it to root and set-uid | 11:45 |
KBar | idk if that works tho | 11:45 |
KBar | worth a shot | 11:45 |
alive | You could definitely edit your sudoers file to allow yourself passwordless sudo | 11:45 |
beuys | KBar: I doubt that. | 11:45 |
KBar | of course specifying the Exec= | 11:45 |
alive | then you could just set Exec=sudo gnome-terminal | 11:45 |
beuys | alive: Hmm... yeah, maybe. | 11:46 |
beuys | So far I think installing gksudo would be the best option. | 11:47 |
alive | But why do you want to run "gnome-terminal as root" and not "root in gnome-terminal"? Is it some ease of use thing? Because I'm almost at the point where I must insist you are trying to solve a problem by creating a different one. | 11:47 |
KBar | you said it | 11:49 |
beuys | It seems there is no gksudo in the sources. | 11:49 |
alive | You are correct, it seems it was removed with ubuntu 17.10 and no viable alternative exists | 11:50 |
alive | there is pkexec | 11:50 |
alive | But then I run into the potential problem that I was trying to help you avoid which is: "Unable to init server: Could not connect: Connection refused | 11:51 |
beuys | One approach might be to run "sudo gnome-terminal && exit" in a normal terminal. | 11:53 |
beuys | But thats pretty ugly compared to gksudo. | 11:53 |
alive | I must say, I really like the root termian .desktop file i made, i'm gonna share it here. | 11:53 |
KBar | please do | 11:54 |
beuys | Yeah | 11:54 |
alive | https://pastebin.com/c3G7Q9LQ | 11:55 |
KBar | open pandoras box :D | 11:55 |
alive | i put it in ~/.local/share/applications | 11:55 |
beuys | alive: Testing it ... | 11:55 |
alive | Opens a gnome-terminal and outright asks for sudo password. Once that is provided, it launches the root shell | 11:56 |
KBar | in the future try using paste.ubuntu.com | 11:56 |
KBar | provided in the topic | 11:56 |
alive | do usermod root -s /path/to/your/shell if you don't like the root shell | 11:56 |
alive | KBar: sorry | 11:56 |
alive | i make that mistake all the time in #nginx too lol | 11:56 |
beuys | alive: That does not start a root terminal. It starts a root shell in a use shell in a user terminal. | 11:57 |
KBar | alive does gnome-terminal -e=COMMAND produce the same thing? | 11:57 |
KBar | to start the terminal you must have eid=root | 11:58 |
KBar | terminal as root* | 11:58 |
KBar | you cant open root terminal when your euid=1000 | 11:58 |
beuys | alive: So for example when you start a new terminal via ctrl+n from your terminal, it starts another normal user terminal where you are a user, not root. | 11:59 |
alive | Ah now I think I understand the problem | 11:59 |
alive | -e=command does not work for me KBar | 12:00 |
alive | https://pastebin.ubuntu.com/p/VWdCkw8kQt/ | 12:00 |
KBar | put sudo or whatever command you want | 12:00 |
KBar | instead of command | 12:00 |
alive | I just get a deprecation notice :) | 12:00 |
alive | GNOME Terminal 3.38.1 | 12:01 |
beuys | So far, the only way I found to start a root terminal is to open a user terminal and run sudo gnome-terminal; exit | 12:01 |
alive | beuys: I think your problem is so foreign to me because of the following factors. 1) I find no issue in spawning 100 terminals and sudo'ing in all of them. 2) I can only work in so many terminals at a time. Specifically 1. 3) I very rarely spend time as root on my own pc. Most of my time is spent writing automation. | 12:02 |
beuys | I will use this line for now: Exec=gnome-terminal -e "sudo gnome-terminal &"; exit | 12:08 |
beuys | Somewhat ugly but c'est la vie. | 12:08 |
alive | That is clever | 12:09 |
beuys | Looks like it also works without the final "; exit". | 12:09 |
beuys | So this works: Exec=gnome-terminal -e "sudo gnome-terminal &" | 12:09 |
beuys | Thanks for all the help alive and KBar! | 12:15 |
ubuntuuser123456 | is using backports in ubuntu discouraged? | 12:27 |
ogra | ubuntuuser123456, nah ... but backports has been rather idly for a long time (i think in 20.04 you can count the packages in the backports repo on one hand) | 12:28 |
ubuntuuser123456 | 2 hands ;) | 12:29 |
ubuntuuser123456 | sad :/ welp, seems like I have to adjust to building my own then | 12:30 |
ogra | ubuntuuser123456, https://lists.ubuntu.com/archives/ubuntu-devel/2021-August/041587.html | 12:30 |
ogra | the team just has been re-vived it seems | 12:30 |
lotuspsychje | ubuntuuser123456: what are you trying to do exactly? | 12:32 |
FakePhish26342 | what? | 12:32 |
VerlorrenLol2634 | Hello there. | 12:32 |
NoSuchBugOrFeatu | anyone running zsh? | 12:32 |
JustAnotherCamel | Hi - Does anyone know the difference between https://gist.github.com/jstreeb/8ccffad8d9c95ae2e34c4abfc0dfd6ab and https://gist.github.com/jstreeb/8ccffad8d9c95ae2e34c4abfc0dfd6ab | 12:32 |
ubuntuuser123456 | lotuspsychje nothing specific. I was just looking at specifically youtube-dl, as that one breaks pretty often | 12:32 |
ubuntuuser123456 | thanks ogra :) | 12:32 |
ogra | ubuntuuser123456, use the snap 😉 | 12:33 |
KBar | NoSuchBugorFeatu this is an Ubuntu-focused channel. | 12:33 |
ogra | (it is well maintained and regulary updated) | 12:33 |
lotuspsychje | breaks= file a bug? | 12:33 |
NoSuchBugOrFeatu | KBar: i see, thank you. | 12:33 |
FakePhish26342 | is this channel for ubuntu questions or questions in general? | 12:33 |
JustAnotherCamel | Hi to everyone who wants to take my help | 12:33 |
VerlorrenLol2634 | so, what do I have to do? | 12:33 |
JustAnotherCamel | it is not broken | 12:33 |
VerlorrenLol2634 | *this channel? | 12:33 |
VerlorrenLol2634 | *NoSuchBugOrFeatu | 12:33 |
KBar | FakePhish26342 Ubuntu support. | 12:34 |
ubuntuuser123456 | ogra oh didn't know there was a snap for that. still rather new to snaps and flatpaks ;) | 12:34 |
ogra | 🙂 | 12:34 |
ubuntuuser123456 | additionally I am rather a fan of debs (as long as I know what it's doing :) ) | 12:35 |
VerlorrenLol2634 | I'm pretty sure the problem is in the .deb | 12:35 |
ubuntuuser123456 | VerlorrenLol2634 which problem oO | 12:36 |
ogra | ubuntuuser123456, the deb is at 2020.03.24-1 ... the snap at 2021.06.06+gita803582 ... so you have the choice at least 🙂 | 12:37 |
JustAnotherCamel | I get the following error when booting: "cant find a medium containing a live file system". I have the usb mounted, and it says "mounted the iso and extracted it" I've read on the internet to try to "try a previous kernel" so I did. it says it works fine, but then when I boot it goes into grub rescue again, and tells me to "try a previous kernel" or to run the memtest. My computer doesn't seem to be able to | 12:37 |
leftyfb | VerlorrenLol2634: please remove all but one of your IRC clients from this channel. This is a support channel, not a place to mess around | 12:37 |
NoSuchBugOrFeatu | hi | 12:37 |
FakePhish26342 | My computer seems to not be able to boot up, what should I do? | 12:37 |
VerlorrenLol2634 | I'm fine there | 12:37 |
FakePhish26342 | Hello | 12:37 |
NoSuchBugOrFeatu | how I find which version I have? | 12:37 |
KBar | uhm | 12:38 |
KBar | whats going on? | 12:38 |
KBar | rise of the machines? | 12:38 |
leftyfb | !op | can we please remove JustAnotherCamel VerlorrenLol2634 FakePhish26342 and NoSuchBugOrFeatu ? They are the same person spamming the channel with fake "questions" and comments | 12:39 |
ubottu | can we please remove JustAnotherCamel VerlorrenLol2634 FakePhish26342 and NoSuchBugOrFeatu ? They are the same person spamming the channel with fake "questions" and comments: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, | 12:39 |
VerlorrenLol2634 | My computer seems to not be able to boot up, what should I do? | 12:39 |
ubottu | gnomefreak, lhavelund, phunyguy, chu | 12:39 |
FakePhish26342 | I have been using windows for a long time now and I have recently decided to use ubuntu | 12:39 |
JustAnotherCamel | how to I fix it | 12:39 |
FakePhish26342 | I don't know | 12:39 |
NoSuchBugOrFeatu | I can't use the live usb, and the computer won't boot from it | 12:39 |
VerlorrenLol2634 | Why | 12:39 |
JustAnotherCamel | can you explain more to me | 12:39 |
ubuntuuser123456 | ogra yeah I see that, will think about it.but as I am also looking for podman, buildah, skopeo stuff. i assume not everything can be covered by snap (for now) | 12:39 |
leftyfb | TheRedQueen: TY | 12:39 |
ubuntuuser123456 | ogra yeah I see that, will think about it.but as I am also looking for podman, buildah, skopeo stuff. i assume not everything can be covered by snap (for now) | 12:40 |
ogra | ubuntuuser123456, well, if it is not, it is really easy (miles easier than deb) to make a snap yourself for any app you need ... | 12:40 |
ubuntuuser123456 | ahh oops sry doublepost :/ | 12:40 |
KBar | thanks leftyfb and TheRedQueen | 12:40 |
ubuntuuser123456 | I will look into it ogra. thanks :) | 12:41 |
alive | What just happened | 12:44 |
alive | Anyway i just did a deep dive into configuring policykit to allow pkexec of gnome-terminal and did everything google told me to do but couldn't work it out | 12:44 |
alive | KBar: if you fancy a try i think that is "the way" to get what beuys wanted | 12:45 |
alive | although i would still disagree with him that it /should/ be done | 12:45 |
KBar | nah, thanks. i dont like sudoing everything | 12:45 |
alive | same | 12:46 |
alive | At this point it was just a curiosity | 12:46 |
KBar | ill stay away from that practice | 12:46 |
krytarik | leftyfb: Btw, hggdh is one of the channel ops and was already handling it, and TheRedQueen is a bot that thankfully finished the job for us. | 12:47 |
leftyfb | kyentei: ok, but there was no indication that a human was addressing it, hence the alert | 12:48 |
krytarik | leftyfb: Oh no, I mistook yourself for hggdh due to the length of the nicks and them using the same color here and because I saw him fiddling with the council account just at the same time - and the bot did it on itself in fact. | 12:59 |
ubuntuuser123456 | ogra do you know if there will be a summary or log or something like that for the meeting which happens tomorrow about the backport situation? | 13:07 |
BluesKaj | Hi folks | 13:08 |
ogra | ubuntuuser123456, nope, i dont ... i only saw the thread passing by in my email | 13:08 |
ogra | wasnt there a link in one of the mails ? | 13:09 |
ubuntuuser123456 | ahh you mean the wiki link? will check | 13:10 |
ubuntuuser123456 | yup found it | 13:10 |
KBar | BluesKaj hello and welcome. how can we help you? | 13:10 |
BluesKaj | KBar, I'm a regular here, no help needed atm, but thanks for asking | 13:13 |
KBar | BluesKaj oops, sorry then. i thought you had questions. :) | 13:15 |
KBar | my bad | 13:16 |
BluesKaj | KBar, your bad what? | 13:17 |
krytarik | Well, I'm not entirely sure blanketly greeting large channels every time one enters it is really needed either - especially when people often just greet and wait for a response to ask the actual question. | 13:18 |
KBar | krytarik okay, my bad. ill try to avoid doing this in the future. thanks for the heads up | 13:22 |
krytarik | KBar: What no, you were right to ask here.. XD | 13:22 |
u0_a343 | my kubuntu system now appears to be clunky, slow animations as well as a extensive boot time, how can i troubleshoot this?; cpu temps are ok, hdd disk is fine, RAM doesn't seem to be an issue | 13:36 |
KBar | try #kubuntu | 13:38 |
KBar | thanks | 13:39 |
u0_a343 | ok | 13:39 |
lotuspsychje | u0_a343: boot times you can check with systemd-analyze blame | 13:39 |
u0_a343 | i noticed snapd related services takes a lot of time, because I have a lot of snap programs, sadly i couldn't find a way to reduce it | 13:40 |
ogra | u0_a343, if you are sure it is snapd please open a thread in the snapd category at forum.snapcraft.io (note though in 99% of the cases it turns out that this is only fllout of a different problem (i.e. broken graphics driver, other services hanging that snapd uses)) | 13:42 |
u0_a343 | i checked snapcraft, people already faced similar issues but none of the solutions worked for my machine | 13:47 |
ogra | this is why you should open a new thread and attach all logs you can find 😉 | 13:48 |
u0_a343 | ok, i'll give it a try if everything fails | 13:54 |
=== genii-core is now known as genii | ||
=== thegodsquirrel is now known as THEGODSQUIRREL | ||
=== THEGODSQUIRREL is now known as thegodsquirrel | ||
jpmh | I have a headless server that is merely doing backups for me. I'm very happy with it. I would like to be able to make some limited input to it, do not want the bother of ssh etc. Is there an easy wahy that I can read the input from a keyboard that I plug in to it, /dev/something, etc? | 15:52 |
nuala | jpmh: hmm.... I have trouble understanding what you mean by headless. Like even https://help.ubuntu.com/community/Installation/NetworkConsole goes right into ssh. Again: assuming you plugin the keyboard. where do you send the input to <fails here to make sense with the headless-restriction> | 16:03 |
jpmh | nuala: what I mean is that to set the thig up I did initially use ssh, but now it boots and just runs the scripts that I use for backup with no keyboard, display, etc. I can ssh in if I need to, but generally I don't | 16:04 |
jpmh | nuala: the rest of what you said, I don't understand what you are asking | 16:05 |
nuala | so I am unsure if something like a tty-login prompt is even running in the first place (have you connected a monitor to it?). I assume the first step would be to get this running, so something is listening to your keyboard typing | 16:10 |
rfm | Well, the way to see if there is a prompt is to ssh in and "ps aux } grep getty" (getty or agetty is what displays the login prompt on a terminal) | 16:18 |
dust | https://hexchat.github.io/news/2.16.0.html time for an update | 16:25 |
jpmh | nuala: sorry for the delay - I did not get alerted - yes - if I connect a monitor then it is sitting at login | 16:30 |
beuys | Strange, my dock somewhat stopped working. I removed everything from it. I think by right-clicking the icons one after the other and chosing "remove from favorites" or something. Now when I start any program, it does not show up in the dock anymore. | 16:32 |
beuys | looks like this bug: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1880570 | 16:35 |
ubottu | Launchpad bug 1880570 in gnome-shell-extension-ubuntu-dock (Ubuntu Impish) "Dock - running applications are not/delayed updated when starting with an empty dock" [Undecided, Fix Released] | 16:35 |
beuys | "JS ERROR: TypeError: firstIcon is undefined" - Classic example of "developer did not check what happens when x becomes 0". | 16:37 |
=== tomaw is now known as Guest9078 | ||
=== tomaw_ is now known as tomaw | ||
test | what htis | 18:11 |
nuala | jpmh: but when you plug in the keyboard it is not working? ssh into it with the keyboard plugged in and check lsusb -v ? | 18:14 |
lotuspsychje | !support | test | 18:15 |
ubottu | test: The official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org and http://askubuntu.com | 18:15 |
Guest37_ | https://youtu.be/fAwbrh2Dv_4 me | 18:20 |
=== Guest37_ is now known as TomFarr | ||
lotuspsychje | TomFarr: please only ubuntu support issues here | 18:21 |
TomFarr | lotuspsychje O-K | 18:22 |
spinningCat | how to calcel auto log off? | 18:24 |
jpmh | nuala: sorry about the delay. They kbd is avaiable for login yes. But I want to read it ffrom an app that I have started | 18:35 |
nuala | jpmh: nw bout delay/you seem im not here 24/7 neither :) so hm an app, like phone app yes? and if you type on the keyboard what shall happen? | 18:51 |
nuala | s/seem/see | 18:51 |
jpmh | nuala: not sure what you are asking | 19:06 |
nuala | what do you want to achieve? | 19:10 |
=== dongcarl7 is now known as dongcarl | ||
yolo_ | have been a gnome/gnome-terminal user for years, today I installed konsole and its fonts is like 10x better looking, recommended | 19:24 |
yolo_ | thought lxterminal is better, turns out konsole is _much_ better | 19:25 |
rfm | jpmh, well, I just tried running "sudo cat /dev/tty2" in a window, then swapped to virtual console 2 with ctrl-alt-f2, typed in some stuff, swapped back to the window and there was the stuff I typed. | 20:10 |
rfm | jpmh, so you could read from /dev/ttyn just being sure to swap to that console. You'd have to add the user running your program to the tty group. | 20:11 |
andres_ | hi, is there any way to move from linux mint to ubuntu without losing data and programs? like when u upgrade from windows 10 to 11 | 20:19 |
=== justache is now known as justHaunt | ||
Kaedenn | What programs should I prefer if I want to make animated emotes for Twitch? | 21:13 |
Kaedenn | I could just use ffmpeg transforms to do what I want, but I'd like something easier for the user | 21:14 |
sarnold | https://en.wikipedia.org/wiki/Krita perhaps? | 21:15 |
Sixteenbit | how do i get my microsoft serialmouse 2.1a to work? | 21:33 |
Sixteenbit | im using inputattach --microsoft /dev/ttyUSB0 on this modern machine with no issues but i cant seem to get my xorg.conf to work | 21:34 |
Sixteenbit | i removed waylin and install xorg | 21:34 |
leftyfb | Sixteenbit: got a link to the product page for this mouse? | 21:34 |
leftyfb | I'm pretty sure there isn't a USB Microsoft mouse in existence that doesn't just work when plugged into any linux-based OS | 21:35 |
Sixteenbit | leftyfb, this is a serial mouse | 21:35 |
Sixteenbit | not a usb mouse | 21:35 |
leftyfb | then why are you messing with ttyUSB0? | 21:36 |
Sixteenbit | and i got it working, i am just confused to why xorg isnt parsing my mouse settings, | 21:36 |
Sixteenbit | cause thats the port i got the mouse on leftyfb | 21:36 |
leftyfb | ttyUSB is for USB devices. ttyS0 would be for serial devices | 21:36 |
Sixteenbit | iv been using an amd k6 2 500mhz with 1gig of ram but decided to get a new dektop but it lacked a serial port | 21:37 |
Sixteenbit | so i got a usb to serial converter | 21:37 |
Sixteenbit | leftyfb, yes its a serial to usb converter | 21:37 |
leftyfb | Sixteenbit: what version of ubuntu? | 21:38 |
Sixteenbit | 20.04 | 21:38 |
leftyfb | Sixteenbit: the default flavor of ubuntu has xorg installed already, you shouldn't have had to install anything to change from wayland to xorg | 21:39 |
Sixteenbit | oh i did apt-get --purge on bunches of stuff and reinstalled things out of anger when i couldnt get my serial mouse to work | 21:39 |
Sixteenbit | sorry i was mistaken | 21:39 |
Sixteenbit | apt-get remove --purge | 21:39 |
leftyfb | Sixteenbit: ok, then you probably want a reinstall of the OS if you removed "bunches of stuff and reinstalled things". There's no telling what state it's in now | 21:40 |
Sixteenbit | lol leftyfb | 21:41 |
Sixteenbit | i found information i need | 21:45 |
Sixteenbit | https://help.ubuntu.com/community/SerialMouseHowto | 21:45 |
Sixteenbit | oh no i been found out! | 21:50 |
=== dabbill_ is now known as dabbill | ||
TortillaSandwich | yubikey authentication in linux leaves a lot to be desired | 22:26 |
TortillaSandwich | it works, but provides nothing by way of prompts that it works | 22:26 |
TortillaSandwich | windows, in spite of its flaws, at least throws you an alert the key is needed | 22:26 |
cbreak | TortillaSandwich: I use a yubikey on linux for ssh authentication | 22:42 |
cbreak | that works quite nicely, there's a gui prompt for the pin | 22:42 |
cbreak | (from gpg) | 22:42 |
TortillaSandwich | cbreak: yeah it certainly works well, but the issue is say for like... desktop sign in unlock | 22:58 |
TortillaSandwich | there's no notiifcation to use the key | 22:58 |
cbreak | I don't use it for that. | 22:59 |
TortillaSandwich | I use them for any level of auth anywhere I can | 22:59 |
cbreak | for U2F on web pages, there's usually something on the web page, and the button blinks | 22:59 |
cbreak | for SSH / GPG, I get a pin dialog | 22:59 |
TortillaSandwich | yeah webpages are good but thats cos the browser calls for it | 22:59 |
cbreak | when I log in on my mac with it, it asks me for the pin too instead of the password. (It's annoying, I should disable it) | 23:00 |
TortillaSandwich | on ubuntu's login, it's basically input password > press enter > hope you move faster than the time out clock | 23:00 |
TortillaSandwich | no dialogue, no prompt | 23:00 |
cbreak | how does the ubuntu login work? Via the smartcard interface? | 23:01 |
TortillaSandwich | not even that | 23:01 |
cbreak | that's what OS X login uses | 23:01 |
TortillaSandwich | it's just the standard login, when you hit enter you need to insert the yubikey and press the button | 23:01 |
cbreak | weird. | 23:01 |
TortillaSandwich | yeah, and it does work cos if you don't interact with the yubikey it kicks back and says invalid password | 23:02 |
TortillaSandwich | in windows you are met with a Yubikey lock page, and prompted to insert it | 23:02 |
TortillaSandwich | its a minor detail, but sometimes I'm not fast enough... Im old lol | 23:03 |
spinull | i set a keyboard shortcut to mount a network share for me, but when i use the shortcut it doesn't mount with the same permissions as when i just run the command | 23:57 |
spinull | i don't have write permission when i use the keyboard shortcut | 23:58 |
spinull | same command, only diff is i used gksudo instead of sudo for the keyboard shortcut | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!