Latest Ubuntu related questions

Score: 2
usb_bunny avatar
Is there a way to swap the [Left Alt] key and [Tab] key on the keyboard?
id flag

Is there a way to swap the Left Alt key and Tab key on the keyboard?

Long story short I have a family member that lost their left-hand pinky and we want to remap the keys for them,

Their current keyboard layout is English (US),

Asus laptop Running Ubuntu 20.04 focal with the Cinnamon Desktop Environment 4.4.8

Score: 0
Ivan avatar
ethminer - No OpenCL platforms found for AMD Radeon HD 3870 x2
pk flag

I am trying to mine ethereum with an ancient laptop just for fun, but I can't get it running. I get this error:

ethminer 0.19.0-alpha.0
Build: linux/release/gnu

No OpenCL platforms found
Error: No usable mining devices found

Here's the setup:

GPU: AMD Radeon HD 3870 x2
OS: ubuntu server 20.04
Miner: ethminer 0.19.0-alpha-0

Running this command...

sudo lshw -c video | grep driver

gives this:

confi ...
Score: 1
user126440 avatar
xmodmap not running in .profile
br flag

I recently followed this guide to get some keys mapped to my Alt Gr https://medium.com/@retprogramisto/how-to-make-custom-keyboard-map-with-xmodmap-1341a1552d4f

It worked fine, but when it came to getting the command xmodmap ~/.Xmodmap to run on startup, I didn't have .xinitrc in my home directory, so I put it in my .profile.

After a reboot, it didn't run the command (I guess) and my accented characte ...

Score: 0
Simple Fellow avatar
Open FTP only on certain IP address
in flag

on a remote machine there are two network interfaces.

  • eth0: 10.10.0.15 (VLAN)
  • eth1: 33.33.22.22 (Public IP)

I want the VSFTPD to only receive and entertain requests from the public IP and localhost and not from the VLAN or any machines on VLAN. I added the following rules t the UFW:

ufw allow proto tcp from 33.33.22.22 to any port 20:21

this is for passive FTP

ufw allow proto tcp from 33.33.22.22  ...
Score: 0
Shachar  avatar
Displaying login screen on x-screen 1
mk flag

I am working on a system (Ubuntu 20.04) configured with multiple x-screens. Currently the login screen and desktop are displayed on x-screen 0 Is it possible to change the x-screen on which the login screen is displayed to something other then x-screen 0?

Score: 0
How to fix ethtool not showing enough output
ar flag

I was trying to setup Wake-on-LAN. The tutorial I used stated to use ethtool to change wol settings. However when I ran the following command:

# ethtool wlp5s0

Output:

Link Detected: yes

I am used to more verbose output:

Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/F ...
Score: 0
ReturnError552 avatar
Trying to setup cronjob auto-browser or run scripts in Python or PHP
in flag

The situation was I wanted to set up cronjob for webserver on Ubuntu,

the php / python script file would be several sql function, then run automatically update multiple tables.

but after few research, I found:

Score: 1
Eric Rozon avatar
Sudden wifi connection loss
gp flag

I’m running Ubuntu 18.04 on a 64 bit system. I have had no issues with wifi connectivity in the past. Today, my computer suddenly lost sight of all wifi networks in my house (other devices remained connected without interruption).

I have tried ping localhost and nothing seems wrong. After some digging, I tried the command

dmesg

I can’t interpret any of the output, but in red is the message “PKCS# ...

Score: 1
Edû avatar
Laptop will not resume from suspend unless connected to external monitor Ubuntu 20.04
in flag

I am running only Ubuntu 20.04 LTS on a Asus VivoBook i5, 8Gb of Ram, kernel version 5.11.0.46.51 and with a Dell external monitor connected via HDMI. It has been running flawlessly for about a year until lately, when I try to use the laptop without the monitor.

When I take it out to work, and I suspend it there is no problem, until I try to resume at which point the screen is activated but neith ...

Score: 2
Manjaro-Convert avatar
(updated a lot) Computer stays running after power off
in flag

I am running Ubuntu 20.04 LTS on a new SSD in a Dell Inspiron 15 5565 laptop. There is no dual-boot configuration.

When I power off from the menu, the computer and screen appear to turn off. However, the fan still runs and the power button light stays on. The only way to actually shut it down is to hold down the power button. There are no power-related BIOS settings options aside from the "PowerNo ...

Score: 0
Stacy Maughan avatar
Cockpit UI is unresponsive and cockpit-bridge consumes high CPU
in flag

I can't get Cockpit version 260 to work on Unbuntu Server 21.10. The web ui is unresponsive: most actions do nothing; switching to another tab shows a blank window or a spinning wheel. On the console, I can see that cockpit-bridge is consuming high CPU:

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  17993 stacy     20   0  628308 285128   7708 R  84.1   3.5   0:33.87 ...
Score: 0
Russell Fulton avatar
apt install -- changing root directory
cn flag

I have a package that I need to install in /usr/local rather than /usr. Is there an equivalent of dpkg -root /usr/local for apt install.

I am attempting to get rsyslog and syslog-ng to coexist...

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.