Latest Ubuntu related questions

Score: 0
Mike Becker avatar
Trying to paste a typed command to a terminal
us flag

I am very new to robotics and ROS and am looking for some help trying to create some keyboard shortcuts that allow me to paste them into a terminal.

Currently i am using the xdotool to do this. I am able to create a new shortcut and have the xdotool print to the terminal if i do something simple like ( ex. 'Hello world' or 'test' ) The text i need to have printed to the terminal has several diffe ...

Score: -1
Daniel Klasen avatar
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
jp flag
sudo apt-get -f install
sudo apt-get update
sudo apt-get autoremove
sudo apt-get dist-upgrade
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list / ...
Score: 1
Unable to boot after moving hard drive to another computer
cn flag

I have an m.2 NVMe hard drive that was installed in one computer working perfectly with Ubuntu installed. I moved the drive to another computer and I am unable to boot with it. When I boot the computer, it brings me to the EFI shell.

In the BIOS, the drive is not listed under boot devices, however, in Advanced > NVMe configuration it lists my drive. I also tried booting from a live CD and I can see t ...

Score: 0
host name in local network Kodi media server installed on Ubuntu 21.04 desktop amd64
fr flag

howto allow mobile devices connected to local network to open the Kodi media server with ip 192.168.0.2:8080 by typing media.tv or any name instead of entering the IP address

Score: 0
Eli avatar
Tried to change resolution in Ubuntu 20.04, seems like it worked but it did not
id flag
Eli

I tried to custom change the resolution for my new screen to 2560x1080. Used xrandr commands. As a result I see it in the list of available resolutions in the display management menu, but clicking on it doesn't bring any effect. It is same old 1920x1080. No clue what to do now, since changing things with xrandr seems to be the only option around also doesn't throw an error. Any advice would be appreciat ...

Score: 1
Read cron output with Thunderbird 91?
cn flag

On Ubuntu 21.10, Thunderbird 91 does not support movemail (Unix Mailspool) accounts:

Removed support for movemail

Support for movemail has been removed. Please set up an IMAP or POP3 account to access your email instead.

> New > Existing Mail Account

https://support.mozilla.org/en-US/kb/new-thunderbird-91#w_removed-support-for-movemail

Previously, I was using exim4 and Thunderbird to view th ...

Score: 0
user1473396 avatar
Schedule a folder backup on Ubuntu and delete older backups
jp flag

I am trying to create a backup on my Ubuntu machine and schedule it. The backup should zip a dir and its subdirs then delete zip files older than 30 days. I wrote this shell:

zip -r  "/home/azureuser/foundrybackup/Data_$(date +'%m%d%y').zip" /home/azureuser/.local/share/FoundryVTT/Data/
find /home/azureuser/foundrybackup -name "*.zip" -type f -mtime +30 -delete 

but for some reason when I run the shel ...

Score: 0
UnluckyToe avatar
No recommended repair option after running Boot Repair
us flag

Tried to do a Boot Repair but I wasn't getting the "Recommended Repair" option. The only option I have is to consult online forums. Here, is my pastebin link - https://pastebin.ubuntu.com/p/bgtJPTq8wk/

I don't understand most of it honestly. It would be great if I could get some help on this. In the pastebin link, this was the suggested repair was which doesn't look good to me as far as I understan ...

Score: 0
20.04.3 ISCSI failure during boot to log in
pk flag

Starting maybe a month ago I started having iscsi errors and failures to mount. This roughly coincided with the update of 20.04.3. Trying to cut to the chase I issued the following commands:

root@cor8910:~# iscsiadm -m discovery -t sendtargets -p readynas2 172.16.7.2:3260,1 iqn.2011-09.nas-8B-3E-60:thunderbird 172.16.7.2:3260,1 iqn.2011-09.nas-8B-3E-60:vmguests

root@cor8910:~# iscsiadm -m discovery  ...

Score: 1
MindC3ll avatar
How I can run application from anywhere in the terminal without being in the full path
vu flag

I have an application that I can run while I am in the file location as the below:

-$ cd home/myApps/app
-$ ./run.sh

I want to call the run.sh from anywhere in my terminal without being in the full path, I tried to used alais and add the below code to bashrc file.

alias mylovleyapp=/home/myApps/app/run.sh

the problem is whenever I want to run the app using mylovleyapp, the program return error beca ...

Score: 0
Alex 111 avatar
Wifi reconnecting very often
nl flag

I'm new user of ubuntu and unix/linux os.

I have been using Ubuntu for about 1.5 years. All was fine until a week ago. Every few minutes my wifi connection restarts.

I have not install any hardware/drivers/software during this time except for the usual updates from Ubuntu software centre.

My OS: Ubuntu 20.04.3 LTS, GNOME 3.36.8.

Here is a copy of the log:

wlp7s0: deauthenticating from 04:d9:f5:eb:07: ...
Score: 1
Sina avatar
Adobe Connect requires Flash Player 11.2 or above
us flag

I'm trying to access Adobe connect, but it gives me following error:

Adobe Connect requires Flash Player 11.2 or above.

However I tested it on Firefox and Chrome, also I have installed Flash player using this command:

$ sudo apt install flashplugin-installer

But it showed me the same error in Firefox, so I test it on Chrome and again nothing positive happened.

What's wrong with this? How can I ...

Score: 3
Umbertones avatar
Weird file in /tmp
vn flag

I ran on a weird file in the /tmp of my Ubuntu 20.04 box:

-rw------- 1 root     root       26 Okt 10 16:44 yAUhIcBsOý

and it contains

/var/ffffff/users/superman

Neither the user superman nor the dir in /var exists.

There is a second file with same rights, different name and same content in /tmp 3 days earlier.

And I couldn't find s.th. similar in a search.

Any idea?

Score: 1
michal roesler avatar
How to remap CapsLock to Esc key in Ubuntu installed on VPS (console only, no Desktop Environment)?
in flag

The goal is to remap CapsLock to Esc key in my Ubuntu 20.04 remote server (console only, no Desktop Environment).

This Ubuntu system is installed on Virtual Private Server. I'm logging to this server using Putty, from my home laptop with Windows 10.

And everybody are talking about mapping this CapsLock key to Esc, but I was unable to find actual line, that needs 2 be written.

I've run this:

michal@local ...
Score: 1
Zorono avatar
I ran the following commands by mistake in my Ubuntu 21.04 machine and then everything became broken
in flag

Good evening, please I ran the following commands by mistake in my Ubuntu 21.04 machine and then everything became broken...

sudo chown john: /*
sudo chown john: /**
sudo chown john: /**/**

and sudo is no longer working

sudo: /etc/sudo.conf is owned by uid 1000, should be 0
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

EDIT: after referring to /usr/bin/sudo must be owned by u ...

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.