Latest Ubuntu related questions

Score: 0
Lit Fury avatar
launch a program using specific graphics card
it flag

I'm trying to run a program that specially only uses the resources of one of these graphics card. I have a dual monitor setup and when i switch to intel graphics as default, the other monitor would go blank so i switched my prime profiles to "nvidia On-Demand" and it seems to be working fine although i have no idea what it does (I'm new to linux).

nvidia prime profiles

graphics connected to my system:

graphics connected to my system:

something like thi ...

Score: 1
Cronie avatar
How can I find out why my crontab is not working?
in flag

I am a novice ... I will just get that right up front. I have a simple Ubuntu 20.04 LTS server used only as a minecraft server.

The crontab is giving me some problems

*/10 * * * * screen -S minecraft -p 0 -X stuff "save-all^M"
@reboot /home/minecraft/startserver.sh
@daily find /home/minecraft/backup/* -mtime +6 -type f -delete
@daily zip -9 -r --exclude=*backup* --exclude=*web* --exclude=*crash-report ...
Score: 0
Ric Stephens avatar
ImageMagick trouble
ph flag

Every time I try to download a pdf file, ImageMagick is launched and fails to render the file. How do I get rid of or disable ImageMagick?

Score: 0
Yao Mitachi avatar
"Steam library folder must be on a filesystem mounted with execute permissions" (ext4)
in flag

The relevant partition is ext4 and has my other operating system Arch Linux on it. I've tried so many different fstab configurations, but I just can't get Steam to accept it. Here's the relevant line in /etc/fstab:

/dev/disk/by-uuid/df502a85-859d-4fe6-9331-c3c65e7ae406 /mnt/arch auto auto,users,exec 0 0

I've also tried changing the user permissions of /mnt/arch so that my user can read and write, bu ...

Score: 0
Michael Campbell avatar
Ubuntu 20.04 doesn't see external USB drive, but powers it
pl flag

I have some external USB drives that 1 ubuntu install can see, mount, write to, etc. and 1 ubuntu install cannot.

The one that cannot does not show the drive with lsusb, nor in any /dev/sd* entry. Of course it doesn't auto-mount.

Neither disks nor gparted can see it either. The only indication that it's even there is when I plug it into any USB port on the machine, the LED lights up. Note that  ...

Score: 0
linuxuser7 avatar
Unable to boot after modifying fstab file 20.04LTS
as flag

I recently upgraded from 18.04 LTS to 20.04LTS and was attempting to modify it per a YouTube video. I changed the /etc/fstab file by adding noatime. before the word "errors" (per video instruction to reduce SDD writes)

Now my system won't boot. I've tried to access root via 18.04 disk but I am not proficient enough to be successful after hours of searching and trying various things.

I did download an ...

Score: -1
Shiv Nandan avatar
How to fix Lsyncd Active (exited) Error?
dm flag

Installed lsyncd on Ubuntu 20.04

create lsyncd.conf.lua

settings = {
    logfile = "/var/log/lsyncd/lsyncd.log",
    statusFile = "/var/log/lsyncd/lsyncd.status"
}

sync {
    default.rsyncssh,
    source = "/var/www/",
    host = "1.1.1.1",
    targetdir = "/var/vidsg"
}

systemctl status lsyncd get me this

● lsyncd.service - LSB: lsyncd daemon init script
     Loaded: loaded (/etc/init.d/lsyncd;  ...
Score: 0
Istvan Habram avatar
Not able to boot into Ubuntu 20.04 alongside Windows 10
gb flag

I installed Ubuntu 20.04 alongside Windows 10. My system boots directly into Windows and does not show a GRUB menu, so I am unable to access Ubuntu, however it is installed. Basically I've tried every single possible solution what I found on the interet with no success. My last attempt to fix the issue was to run a boot-repair from a live USB. The result is here: https://paste.ubuntu.com/p/4PjsFCM96B/

Score: 17
Dan Gillmor avatar
Slack closes down on suspend
cn flag

Running Ubuntu 21.04 on ThinkPad X1 Carbon 9th generation. When I suspend the computer, Slack closes down. Happens every time. Notified Slack, but wondering if anyone else here has encountered this.

UPDATE: See below. Going back to 20.04.3 fixed the issue, and Slack is working on it.

Score: 0
Joseph avatar
gcc 11.2 package in Ubuntu Hirsute?
br flag

Is it planned to add package for gcc 11.2 for Ubuntu Hirsute please? I see it exists for Ubuntu Impish as listed in https://packages.ubuntu.com/impish/devel/gcc-11 but not for Ubuntu Hirsute which is gcc 11.1. Is is possible to install Impish package on a machine running Hirsute (I use WSL2). Thanks in advance, Best regards Joseph

Score: 0
How can I use the same wildcard in different parts of a command?
ng flag

Say I have the following command which creates a symbolic link from one file to another giving the link the same name without the extension.

sudo ln -s ~/foobar/abc.sh ~/fubar/abc

How can I do the same thing, but for ~/foobar/*.sh?

Score: 3
OldMan avatar
How do you disable the Laptop Lid Switch in Ubuntu 20.04?
cn flag

Is there a way to just stop the OS from using the Laptop Lid Switch all together, regardless of what you want to happen?

If not, I want to close the lid and open it with out having to log back in.

Score: -1
Help with formatting HDDs and removing partitions that were used in Windows before
vn flag

I have a desktop computer with only Ubuntu 20.04 installed. I have a few HDDs inside for storage that were used in a windows system before and are showing small windows partitions that I'm not able to remove with the Disks app, there is an error every time I try. Does someone knows how to wipe completely these drives and have them like factory new? I really don't want to see these little partitions anym ...

Score: 0
216ann avatar
How can I wipe clean personal metadata from multiple Windows 7 files before copying to Ubuntu?
in flag

I know how to remove personal metadata from individual Windows 7 files (R click > Properties > Details > Remove Properties and Personal Data > Create a copy with all possible properties removed). However, I am planning to copy ALL the data files from my ex's Win 7 computer and then putting it on my Ubuntu desktop. I don't want my files associated with him or his computer. So this may take ye ...

Score: 1
Dequog avatar
How to convert .jar file to .exe file?
es flag

I'm creating a Java program, and I need to test it on Windows. I know how to convert a .jar file to a .exe file on Windows, but the only Windows computer I know of is not mine. My friend will let me test the .exe file on it, but I can't download anything. Meaning no Launchj4. All that I need is an Ubuntu alternative.

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.