Latest Ubuntu related questions

Score: 0
nicnacnic avatar
Trying to clean disk space, but can't remove packages
ru flag

On my Ubuntu server, the root has taken up all the available disk space and I can't expand the partition. I'm trying to remove some old packages to free up some space but I can't because I don't have enough disk space to store the package lists. Anyone know how I can clear some space so I can uninstall packages? Thanks!

root@ubuntu:/home/ubuntu# apt-get remove samba
Reading package lists... Error!
 ...
Score: 0
File managers and windows shares
in flag

I would like to be able to use an interactive file manager to move files around on Windows shared folders. I can successfully issue "sudo mount -t cifs ..." and then use an interactive file manager both for an old version 1.0 Windows machine and a current Windows 10 machine. However none of the file managers tried so far will successfully perform the mount or, in some cases, even show the presence of th ...

Score: 0
Grumpy ol' Bear avatar
How can I protect my CIFS attached shares from accidential deletion like 'rm -rf /'?
cn flag

I have a Synology NAS and I have 2 folders from it attached in /mnt/nas-XXX via /etc/fstab like so:

//192.168.178.100/BackUps /mnt/nas-backups cifs uid=0,credentials=/home/user/.smb,iocharset=utf8,vers=3.0,noperm    0 0

How can I protect them from accidential deletion like rm -rf / or others.

Score: 1
TMarks avatar
Switching Audio devices breaks optical audio output
kr flag

I am trying to quickly switch between audio output of my headphones and my speakers. Both are connected to my motherboard, which has a Line Out and a Optical Audio Out line. I would ideally like to do this via two commands so that I can add them as macros/ hotkeys.

  • Speakers -> Optical Audio
  • Headphones -> Line Out

I can accomplish the switch from speakers to headphones using the Settings &g ...

Score: 0
Petro Gromovo avatar
Can I consider my OS Safe after I installed firewall?
ms flag

After ubuntu 20 installation I installed firewall with main options:

hoster@hoster-laptop:/project$ sudo ufw allow ssh
Rules updated
Rules updated (v6)
hoster@hoster-laptop:/project$ sudo ufw enable
Firewall is active and enabled on system startup
hoster@hoster-laptop:/project$ sudo ufw default deny incoming
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)
hoster ...
Score: 0
Free Hard Disk Space not usable
cn flag

My Hard Disk seems to be at capacity, if I take a look at it in Files.

Screenshot Files

If I open it in Disks, I get another impression...

Screenshot Disks

It seems that 5% of the disk space cannot be used, and I have the same issue with another partition, too.

Any help is highly appreciated.

Score: 1
cdahms avatar
Ubuntu 20.04 OpenGL error: /usr/bin/ld: cannot find -lG
cn flag

I'm trying to follow this tutorial from 2018:

http://www.codebind.com/linux-tutorials/install-opengl-ubuntu-linux/

I'm under the impression that things must have changed with Ubuntu and configuring OpenGL since these instructions no longer work. In case the article disappears at some point I'll re-iterate all the steps here:

Ubuntu 20.04 install

Verify NVIDIA GPU is properly recognized by Ubuntu, in ...

Score: 1
pawel_winzig avatar
Compiling a program from source
cn flag

I have a basic question concerning packages and the possibility to build a program in Ubuntu. To make it concrete: I'm using Ubuntu 18.04.6 LTS. Say I want to build Okular from the source to have the latest features [ okular from source ]. There are some related questions on this topic, see Q1, Q2, but what I would like to know is: When starting downloading the needed dependencies (e.g. I need cmake_3.1 ...

Score: 0
adrhc avatar
Why pulseaudio is reported as not running?
cn flag

I have Ubuntu 21.10 and I get the below results related to pulseaudio.
What should I do to "connect" to pulseaudio such that pacmd list-sinks to correctly report something?

$sudo netstat -tlupn | egrep -i "mopidy|pulse"
tcp        0      0 0.0.0.0:4713            0.0.0.0:*               LISTEN      1730/pulseaudio
tcp6       0      0 :::4713                 :::*                    LISTEN      1730/pulsea ...
Score: 0
TitaniumJones avatar
NVidia backlight control (Again) Ubuntu 21.04
in flag

Wasn't sure where to post this, so it's in both the forums and also AskUbuntu. Sorry for the cross posting.

Hi, I've been using Ubuntu for about a year now and have just bought a new laptop. I installed Ubuntu once again along side Windoze 11 on separate partitions.

Like previously, the combination of i7 and NVidia GPU results in no backlight control.

Confident I could fix the problem like previously I ...

Score: 0
Automatic Black screen with cursor on Ubuntu Budgie 20.04.3 LTS
be flag

I was browsing on Chrome and suddenly a black screen appears with a cursor. The only option left was to power off using switch. This happened to me very first time.Do anyone know the reason and how to fix this ? (Ubuntu Budgie 20.04.3 LTS).

Score: 0
Resize blocks of linux filesystem
de flag

I use UbuntuServer on an Dedicated Server in Version 21.04 and just resized my HDD in the HyperViser. But now I can't change the blocksize of the sda2 (my Linux Filesystem). I tried few diffrent things but nearly everything get's the same error.

For example:

sudo resize2fs -p /dev/sda2
resize2fs 1.45.7 (28-Jan-2021)
The filesystem is already 16776448 (4k) blocks long.  Nothing to do!

Furthermore here are ...

Score: 1
Nagev avatar
How do I install PostgreSQL version 14 on Ubuntu 21.04?
pt flag

Ubuntu 20.04 only gave me the obsolete PostgreSQL 12. After upgrading to "21.04 (Hirsute Hippo)" I got version 13. How do I install the latest version (14)?

Score: 0
tincherm31 avatar
Favorites disappeared from dock
gb flag

I'm running Ubuntu 21.10. Everything was fine until I went to add the trash icon to the dock in dconf editor and it removed all of my favorites from the dock. Also the trash icon never appeared on the dock. I tried turning the favorites off and on, the trash of and on, and a few other options in dconf and never could get my favorites, trash, and running programs to return to the dock. Is there anyway to ...

Score: 0
Bob B avatar
Ubuntu 20.04 wake from suspend password removal
cn flag

I couldn't find anything on 20.04 and how to make it not ask for a password when it wakes from suspend. Can someone help? Thanks.

I do not find this in settings.

In Settings, under Screen Lock, there is a setting "Lock screen on suspend". If you turn that setting off, you shouldn't be asked for a password on waking up.

Thanks all, the link solved the "problem" and so did the suggestions.

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.