Latest Ubuntu related questions

Score: 0
give a program owner file access as well as user file access
us flag

I have an executable (created from python code) which I need it to access a file created by me as well as a file created by the person who runs the executable. I am not allowed to change the permissions of the files.

Here is an example:
user1 is the owner of the executable and user1_file
user2 is the owner of user2_file user2 is expected to run the executable

>>> ls -al
drwxr-xr-x 12 use ...
Score: 0
Hari Prasath avatar
How to fix Partition 2 does not start on physical sector boundary and Partition table entries are not in disk order in Ubuntu?
cn flag

THIS IS WHAT IVE GOT TO USE FDISK COMMAND ANY SOLUTION ? I'VE CREATED A TWO PARTITIONS IN PENDRIVE IT CREATED A MESS FOE ME PLEASE GET ME OUT OF THIS.

Disk /dev/loop0: 55.45 MiB, 58130432 bytes, 113536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 55.52 MiB, 58204160 bytes, 113 ...
Score: 0
psmadness avatar
Ubuntu black screen on startup/boot
us flag

I have installed ubuntu version 21.10 on my virtual box and I have been having some issues getting it to work. After installing it successfully, whenever I boot it up from virtual box, I can never get it to work. 2 cases often happen. The first case is I am stuck on the screen with the ubuntu logo at the bottom and can not do anything no matter how long I wait.

Screenshot

The second case is that I am just stuck o ...

Score: 0
InsertRandomString avatar
Trying to install apache for NextCloud, getting an error message
ru flag
invoke-rc.d: initscript apache2, action "restart" failed.
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2022-02-16 07:12:03 UTC; 8ms ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 638499 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAIL ...
Score: 0
digito_evo avatar
How to install the Flash player
cn flag

I have been desperately looking for a way to install flash player on Firefox or Chromium but the tutorials on all the websites that I saw were useless. They all redirect to the Adobe website which says Flash player has reached the end of its life. Unfortunately on the website of my university they use this antiquated tech that has gone extinct and now I really need to find a way to install it.
Also, ...

Score: 0
Hunspell language pack for Marathi not available?
tr flag

When I try to install hunspell language packs, it works for Hindi and Gujarathi but not for marathi. In other words this works...

apt install hunspell-hi

But this does not:

apt install hunspell-mr
Score: 0
Why is GCC missing from Ubuntu 20.04?
co flag

I know that gcc is listed in the manifest files for 20.04, however, it seems that nearly all installations are missing it by default.

For some extra context, I work on a small OSS web project and since 20.04 started being the preferred version for our users we have been running into issues with it being missing from installs. This affects users installing from vps vendors as well as those install ...

Score: 0
rageatm avatar
Secondary monitor suddenly only works on login screen
br flag

Running Kubuntu 20.04 LTS and overnight my secondary monitor stopped working. It works in Windows and on first boot it will work on my login screen (I can actually only type my password on my secondary screen but that's another issue). After logging in it goes dark and doesn't show up anywhere in settings. Tried resetting display settings with xrandr -s 0 and have obviously tried unplugging/plugging bac ...

Score: 0
BlandCorporation avatar
Webcam framerate different in Cheese/Jitsi to framerate in Guvcvuew?
cn flag

The AnkerWork B600 is a webcam that was released recently.

When I view the webcam using the Guvcview application, the framerate is reasonable (at about 23 fps) with the resolution at 2560 x 1440 and the camera output at RGB3-RGB3. However when I view the webcam using Cheese the framerate drops to about 1 fps, which isn't meaningfully usable. Why is this difference happening and how can I fix it?

 ...
Score: 0
hupen paija avatar
Toshiba Tecra doesn't boot up, Shows Insert system disk in drive
es flag

I am trying to use SSD on Toshiba Tecra Z40-B Laptop and install Ubuntu 20.04 from Bootable USB. The installation goes smoothly and completely without any error. But while booting up it shows "Insert system disk in drive".Can anyone please help me What could be happening here? [SSD is visible on BIOS] Thanks in advance.

Score: 0
AGamePlayer avatar
How do I use imagick to find all images that are not sized 600x300 in my current folder and all its subdirectories?
cn flag

I want to find all images that are NOT equal to a size (600x300) in my current folder and all subdirectories. What should I do?

I tried this but it's not working:

find . -iname "*.png" -type f -exec identify -format '%w %h %i' '{}' \; | awk '$1<>600 && $2<>300'

I also tried this, but the terminal got stuck for more than half an hour:

find . -iname "*.png" -type f -exec identif ...

Score: 0
User 1 avatar
WSL idle error ,(python)
ru flag

When running the command idle I get this error:

Traceback (most recent call last):
  File "/usr/bin/idle", line 5, in <module>
    main()
  File "/usr/lib/python3.8/idlelib/pyshell.py", line 1483, in main
    root = Tk(className="Idle")
  File "/usr/lib/python3.8/tkinter/__init__.py", line 2270, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useT ...

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.