Latest Ubuntu related questions

Score: 1
Escape code sequence for copying file content
cn flag

I found from here that you can use ANSCI Escape sequence to copy from a remote ssh session like so,

printf "\033]52;c;$(printf "%s" "blabla" | base64)\a"

I have tried issuing command,

$ (file=README.md; printf "\033]52;c;$(base64 $file)\a")

But I am able to print only the first few characters (~57 characters). Is there a way to copy the whole content of a file with the Escape sequence?

Score: 0
Jordz avatar
Ubuntu 20.4 won't boot with Nvidia proprietary drivers, even when trying the common fixes found online
cn flag

I am sorry to post another thread about this same issue. I have come across many similar threads with the same issue, and have tried most of the fixes but unfortunately I still can't get the drivers to work.

first of all, I am a linux noob so please forgive me if I'm not clear.

When I install nvidia proprietary drivers, my system hangs at the Ubuntu logo screen. To get past this, I have been booting ...

Score: 1
sasa avatar
cachefilesd vs NIS automounter
ad flag

I want to cache NFS mounts

My NFS mounts are handled by the automounter which is governed by NIS

I need to add the mount option, fsc, to the mounts to enable the cache

=> Where do I add this option?

auto.master is essentially empty because NIS is supplying all the mapping - I cannot see where I can set any mount options!

Users log in, through some hidden magic of NIS and the automount their home ...

Score: 1
PABlanche avatar
Buetooth mouse sluggish when bluetooth headset on
gr flag

Since I upgraded to Ubuntu 21.10 I have noticed that my bluetooth mouse is sluggish (has reaction delay) when and only when my bluetooth headset is in use.

If the headset is on, but is not receiving any sound, the mouse works just fine.

Also, the bluetooth headset can no longer be set on A2DP, but only HFP and HSP which I describe in another question: Bluetooth audio A2DP mode stopped working after 21. ...

Score: 0
Manuel Oliveira avatar
Lost connection to external monitor after Ubuntu update
cn flag

I have just installed Ubuntu 20.04.3 on my laptop (Omen 15 [2020])

I did an update of the following packages:

pc@myPc:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libnvidia-cfg1-470 libnvidia-compute-470 libnvidia-decode-470
  libnvidia-encode-470 libnvid ...
Score: 1
Bahaeldin0 avatar
how to fix this huge mistake I ran sudo chown -R user /
im flag

How can I fix this issue? the user is not the root one and unfortunately one of the mounted disks that got affected too was the apps disk of my windows but I am not sure if it got affected as I can still run those apps and open stuff there is it possible to fix the linux now? or will I have to reinstall?

I ran

sudo chown -R non-root /
Score: 1
matt4522 avatar
Ubuntu very slow - mono command
tr flag

I have Ubuntu 20.04 and very often it is very slow. Using TOP during these slow times I notice command "mono" is taking 80%-100% of the CPU. What is the mono command, do I need it, and how do I get rid of it?

Matt

Score: 0
arabic Mitnich avatar
nfs ganesha permission problem
cn flag

hi guys i know this is basic question but i'm really confused right now i wanna do the glusterfs over zfs but it didn't work after i share it with nfs-ganesha i got a permission error (ls: reading directory '/var/share/': Unknown error 524) so i tried it with lvm and raid and everything worked just fine so i figured maybe it's zfs thing and i found in the zfs documentation an example of zfs volume with  ...

Score: 1
Google Chrome aborting after start on 21.04 with Budgie desktop - no GUI error messages
cn flag

Chromium runs perfectly, but google-chrome fails with no error message. Window freezes and disappears after 5 seconds. I'm using the latest version of Chrome.

On staring google-chrome from terminal, I get the following:

nick@mars:~$ google-chrome
[1114/113526.814889:WARNING:process_reader_linux.cc(125)] no stack mapping
[1114/113526.823445:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cp ...
Score: 0
Anj T. avatar
Error in Upgrading Ubuntu 20.10 to Hirsute
cf flag

I want to upgrade my Ubuntu 20.10 to ver 21.04. Using the "Software Updater", the upgrade did not proceed and showed an error. What should I do in order to upgrade my current Ubuntu version?

Error during update .....

W:Updating from such a repository can't be done securely, and is therefore disabled by default., 
W:See apt-secure(8) manpage for repository creation and user configuration details., 
W:G ...
Score: 1
Youran avatar
Intel I219 Experiencing HUGE Package Loss
ru flag

There are some discussions and seems this issue has been solved. However, the literature is few. So I wrote this note and hope it will help others.

Symptom

Intel Ethernet Connection I219 Series, including I219-V and I219-LM, does not work on Linux, with about 1 Mb/s on speedtest.net and 30-50% ping loss within LAN. This is a problem in the kernel, so both Ubuntu and Fedora will suffer from the same pro ...

Score: 0
MrCalvin avatar
C# wrapper for Debian apt library libapt-pkg
cn flag

I need to retrieve package information in my C# application running on Linux. I've tried to use Python.NET which wrap python-apt which wrap libapt-pkg.so, and it works but I would prefer to go more direct by pinvoke libapt-pkg.

But I need help on my DLLImport statement.

When using python-apt I first initialize the apt module, then instantiate the Cache() class and then call the Cache.keys() function ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.