id
stringlengths
1
7
postTypeId
stringclasses
1 value
acceptedAnswerId
stringlengths
1
7
creationDate
stringdate
2009-01-08 07:47:55
2024-03-31 23:33:05
score
stringclasses
504 values
viewCount
stringlengths
1
7
body
stringlengths
24
34.3k
ownerUserId
stringlengths
1
7
lastEditorUserId
stringlengths
1
7
lastEditDate
stringdate
2010-07-28 20:43:11
2024-04-07 06:16:28
lastActivityDate
stringdate
2010-07-29 14:11:46
2024-04-07 06:16:28
title
stringlengths
13
150
tags
listlengths
1
5
answerCount
stringclasses
45 values
commentCount
stringclasses
47 values
contentLicense
stringclasses
3 values
comments
listlengths
0
56
acceptedAnswer
dict
answers
listlengths
0
82
communityOwnedDate
stringclasses
232 values
favoriteCount
stringclasses
2 values
closedDate
stringlengths
23
23
lastEditorDisplayName
stringclasses
890 values
ownerDisplayName
stringlengths
2
28
1507602
1
null
2024-03-15T15:21:41.440
0
41
<p>So I recently saw this video talking about a vulnerability in Linux to a virus called LogoFAIL. <a href="https://youtu.be/2QFJLszvDwg?si=VN5nyFKOwqWTyIwa" rel="nofollow noreferrer">https://youtu.be/2QFJLszvDwg?si=VN5nyFKOwqWTyIwa</a> Does anyone know if there are any plans to patch this vulnerability in Linux or if a patch has already been released? My system is 6 years old and Dell no longer makes BIOS updates for it, so Ubuntu would be my primary defense against this thing. THanks</p>
906725
null
null
2024-03-15T15:21:41.440
LogoFAIL virus vulnerabilities
[ "patch", "vulnerability" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T15:58:10.690", "id": "2645163", "postId": "1507602", "score": "4", "text": "Since this happens early in the boot process, Ubuntu (or any other Linux distro) can't possibly mitigate this. The only option is a BIOS/UEFI update.", "userDisplayName": null, "user...
null
[]
null
null
null
null
null
1507604
1
1507781
2024-03-15T15:37:50.763
0
47
<p>I wanted to use the fingerprint sensor with said setup but I can't seem to get it to work. When I run <code>fprintd-enroll</code> I get the following message:<br /> <code>Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available</code></p> <p>My exact laptop model is <a href="https://psref.lenovo.com/Detail/ThinkPad_L13_Yoga?M=20R5000AGE" rel="nofollow noreferrer">this</a></p> <p><code>lsusb</code> output:</p> <pre><code>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 056a:51f6 Wacom Co., Ltd Pen and multitouch sensor Bus 001 Device 004: ID 06cb:00be Synaptics, Inc. Bus 001 Device 003: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader Bus 001 Device 002: ID 04f2:b681 Chicony Electronics Co., Ltd ThinkPad T490 Webcam Bus 001 Device 006: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub </code></pre> <p><code>lspci</code> output:</p> <pre><code>00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c) 00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02) 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c) 00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model 00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem 00:13.0 Serial controller: Intel Corporation Comet Lake Integrated Sensor Solution 00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller 00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM 00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi 00:15.0 Serial bus controller: Intel Corporation Serial IO I2C Host Controller 00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface 00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) 00:1d.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #13 (rev f0) 00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller 00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS 00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller 00:1f.5 Serial bus controller: Intel Corporation Comet Lake SPI (flash) Controller 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V 03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01) </code></pre> <p>Any ideas on how to get this to work? Seems like the device is</p> <pre><code>Bus 001 Device 004: ID 06cb:00be Synaptics, Inc. </code></pre>
1758071
1758071
2024-03-15T18:04:17.647
2024-03-17T16:33:27.000
Fingerprint sensor on Thinkpad L13 Yoga with Kubuntu 22.04
[ "kubuntu", "kde", "fingerprint-reader" ]
1
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T19:07:59.093", "id": "2645233", "postId": "1507604", "score": "0", "text": "I don't see your fingerprint sensor ID (06cb:00be) in the [list of supported devices](https://fprint.freedesktop.org/supported-devices.html) by fprint.", "userDisplayName": "user1775548"...
{ "accepted": true, "body": "<p>As of 17. March 2024 there is no support for this type of fingerprint reader (<code>06cb:00be</code>) as it is already listed in the <a href=\"https://gitlab.freedesktop.org/libfprint/wiki/-/wikis/Unsupported%20Devices\" rel=\"nofollow noreferrer\">unsupported devices</a> of the <code>libfprint</code> GitLab page.</p>\n<p>So unfortunately that means waiting until the developers get it to work.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-17T16:33:27.000", "id": "1507781", "lastActivityDate": "2024-03-17T16:33:27.000", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1758071", "parentId": "1507604", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>As of 17. March 2024 there is no support for this type of fingerprint reader (<code>06cb:00be</code>) as it is already listed in the <a href=\"https://gitlab.freedesktop.org/libfprint/wiki/-/wikis/Unsupported%20Devices\" rel=\"nofollow noreferrer\">unsupported devices</a> of ...
null
null
null
null
null
1507605
1
null
2024-03-15T15:49:41.393
0
17
<p>I am using an Ubuntu 22.04 virtual machine in Parallels 19.2. I have Parallels set for using all monitors in full screen, however virtual Ubuntu will only display on 1 monitor. Is Ubuntu able to take advantage of multiple monitors in Parallels? If so, what settings do I need to be able to use multiple monitors.</p>
1040360
null
null
2024-03-15T15:49:41.393
Multiple Monitors in Parallels
[ "22.04", "parallels" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507608
1
1507636
2024-03-15T16:26:34.957
0
145
<p>I have a workstation that we run numerical simulations on using in-house code, submitting jobs from the command line and using vim to edit/view files. My problem is that whenever we are running at least one job (not even up to full capacity of CPUs available), we see intermittent lag in the command line while there is no lag in the gnome desktop. The command line will seize up. Most notably when using vim to save files it will almost always take 10-30 seconds to save even the simplest one line files. Has anyone faced a similar problem or have any ideas? We are using kernel 6.2.0-26-generic and ubuntu 22.04.4 LTS</p> <p>Thanks</p>
1775526
null
null
2024-03-15T20:33:36.977
Intermittent lag in command terminal?
[ "command-line", "ubuntu-gnome", "vim" ]
1
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T16:46:35.983", "id": "2645171", "postId": "1507608", "score": "0", "text": "What's the Disk IO look like? (ie: `iotop`)", "userDisplayName": null, "userId": "13247" }, { "creationDate": "2024-03-15T17:51:43.890", "id": "2645178", "postId": "...
{ "accepted": true, "body": "<p>welcome to the forum.</p>\n<h2>System Resources</h2>\n<p>This seems like a hunt to find which system resource is insufficient but we can't tell because there is not enough information. You could provide details like:</p>\n<pre><code>df -h\nuptime\niostat -d -k -x 1 1 | awk '/^sda/ {print $NF&quot;%&quot;}'\nsudo dmesg | tail\n</code></pre>\n<p>However, I think it would be better to look through the system logs yourself and provide one or a few happening when the issue occurs.</p>\n<h2>Separate the Tasks</h2>\n<p>One easy win I can see is to just separate your scripts from vim file editing.</p>\n<ul>\n<li>Log into a separate computer (could be a very simple Ubuntu instance on a Raspberry Pi Zero or a VM)</li>\n<li>SSH into the Ubuntu system in question</li>\n<li>Edit files with vim</li>\n</ul>\n<p>This will only require the Ubuntu system in question to save changes to the file versus an interactive session.</p>\n<h2>Best Solution</h2>\n<p>This is really what Docker is great for. You limit system resources being accessed while gaining insight into what the task is requiring for resources. &quot;Numerical simulations&quot; and &quot;in-house code&quot; sound like a great use case for the versioning functionality as well.</p>\n<h2>USB Bus</h2>\n<p>Using Time Machine backups from a USB flash drive causes my keyboard/mouse to lag. When it happens, I can use my bluetooth, directly connected track pad just fine. Breaking up tasks would help identify a problem with the USB bus.</p>\n<h2>Session Logging</h2>\n<p>This is probably overkill but you could record the terminal session and review the log to see what's happening. Here's how:</p>\n<ol>\n<li><p>From Terminal</p>\n<p><code>script session.log</code></p>\n</li>\n</ol>\n<p>Replace session.log with the filename you want to save the log as. This will start recording your terminal session to the specified file.</p>\n<ol start=\"2\">\n<li>Reproduce the actions that are causing the lag in the terminal.</li>\n<li>When finished type <code>exit</code> to stop recording the session.</li>\n<li>View the log file.</li>\n<li>Look for any commands/actions that might be causing the lag, or errors/output that might indicate the cause.</li>\n</ol>\n<p>Note: this includes any commands you enter, their output, and any error messages. The file can get large quick.</p>\n", "commentCount": "7", "comments": [ { "creationDate": "2024-03-18T15:41:20.223", "id": "2645578", "postId": "1507636", "score": "0", "text": "Hi musicman1979, thanks for the timely reply. Here is the session log file section where the lag is occurring. I have highlighted the location where the lag is occurring in the middle of editing a file using vim. It occured after editing the file and typing \":wq\". This is where the highlighted portion starts. It hangs for about 20 seconds until finally coming back to the main folder out of the file. https://drive.google.com/file/d/1w3U1ZjEI-S4bVZpawhzJpDtblZIa_5s7/view?usp=sharing", "userDisplayName": null, "userId": "1775526" }, { "creationDate": "2024-03-18T16:18:38.093", "id": "2645584", "postId": "1507636", "score": "0", "text": "Also, here is the output from those original commands you listed: https://drive.google.com/file/d/1Vk32aohkJl-X0B_4hicgu72hwqIy-e5b/view?usp=sharing", "userDisplayName": null, "userId": "1775526" }, { "creationDate": "2024-03-18T18:16:03.077", "id": "2645605", "postId": "1507636", "score": "0", "text": "That is the highest cpu utilization I can remember ever seeing. If it wasn't causing you problems I would be impressed. What uptime shows is the percentage of processing your computer is doing over 1, 5, and 15min (`man uptime`). 0.50 would be 50% and 1.50 is 150%. If we consider the load average in the context of a single CPU system, a load average of 107.92 indicates that there are on average 107.92 processes waiting in the run queue over the specified time intervals. I'm interested how it even works, but I think this is the reason for the slowness.", "userDisplayName": null, "userId": "192800" }, { "creationDate": "2024-03-18T18:16:51.807", "id": "2645607", "postId": "1507636", "score": "0", "text": "If you wouldn't mind marking this as the answer and making a new post for planning the solution I would appreciate it.", "userDisplayName": null, "userId": "192800" }, { "creationDate": "2024-03-18T20:09:46.047", "id": "2645620", "postId": "1507636", "score": "0", "text": "Our workstation uses AMD EPYC9754S and it does not have SMT (128 cores/128 threads). Our code is also highly parallelized to the point where many CPUs will be at 100% capacity a lot of the time. Could this be the reason why we are seeing such high load average?", "userDisplayName": null, "userId": "1775526" }, { "creationDate": "2024-03-18T20:38:54.310", "id": "2645623", "postId": "1507636", "score": "0", "text": "wow 256 processors. okay that means <50% utilization. images are a lot harder to work with than text. dmesg had some apparmor errors 5 seconds apart. I think you'll have to dig deep into logs to understand what's going on. If you can provide some specific log entries showing the problem then I can help further. Also, jumping from a different computer and running vim would help to understand the problem. Does it happen if you're directly connected with monitor keyboard mouse? If this is a routine task, then the file should really be in a git process. :wq! will force and may be faster", "userDisplayName": null, "userId": "192800" }, { "creationDate": "2024-03-18T20:42:37.317", "id": "2645624", "postId": "1507636", "score": "0", "text": "Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/152110/discussion-between-musicman1979-and-stl).", "userDisplayName": null, "userId": "192800" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-15T20:33:36.977", "id": "1507636", "lastActivityDate": "2024-03-15T20:33:36.977", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "192800", "parentId": "1507608", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>welcome to the forum.</p>\n<h2>System Resources</h2>\n<p>This seems like a hunt to find which system resource is insufficient but we can't tell because there is not enough information. You could provide details like:</p>\n<pre><code>df -h\nuptime\niostat -d -k -x 1 1 | awk '...
null
null
null
null
null
1507610
1
null
2024-03-15T16:47:25.160
0
56
<p>I have a Dell precision 5480 running Ubuntu 22.04, and the microphone is not working. In pavucontrol something appears as &quot;sof-soundwire SoundWire microphones&quot; but it does not detect any sound, and I don't get whether it really correspond to a physical microphone? In alsamixer everything seems to be unmuted.</p> <pre><code>inxi -A Audio: Device-1: Intel driver: intel-ipu6 Device-2: Intel driver: sof-audio-pci-intel-tgl Sound Server-1: ALSA v: k6.5.0-25-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes </code></pre> <p>arecord -l:</p> <pre><code>**** List of CAPTURE Hardware Devices **** card 0: sofsoundwire [sof-soundwire], device 1: Jack In (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofsoundwire [sof-soundwire], device 4: Microphone (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 </code></pre> <p>(shortened) alsa info script:</p> <pre><code>!!################################ !!ALSA Information Script v 0.5.3 !!################################ !!Script ran on: Mon Mar 4 15:02:43 UTC 2024 !!Linux Distribution !!------------------ Ubuntu 22.04.4 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION=&quot;Ubuntu 22.04.4 LTS&quot; PRETTY_NAME=&quot;Ubuntu 22.04.4 LTS&quot; NAME=&quot;Ubuntu&quot; ID=ubuntu ID_LIKE=debian HOME_URL=&quot;https://www.ubuntu.com/&quot; SUPPORT_URL=&quot;https://help.ubuntu.com/&quot; BUG_REPORT_URL=&quot;https://bugs.launchpad.net/ubuntu/&quot; PRIVACY_POLICY_URL=&quot;https://www.ubuntu.com/legal/terms-and-policies/privacy-policy&quot; UBUNTU_CODENAME=jammy !!DMI Information !!--------------- Manufacturer: Dell Inc. Product Name: Precision 5480 Product Version: Firmware Version: 1.7.0 System SKU: 0C40 Board Vendor: Dell Inc. Board Name: 03JVP1 !!Kernel Information !!------------------ Kernel release: #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2 Operating System: GNU/Linux Architecture: x86_64 Processor: x86_64 SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k6.5.0-21-generic Library version: 1.2.6.1 Utilities version: 1.2.6 !!Loaded ALSA modules !!------------------- snd_soc_sof_sdw (card 0) !!Sound Servers on this system !!---------------------------- PipeWire: Installed - Yes (/usr/bin/pipewire) Running - Yes Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes !!Soundcards recognised by ALSA !!----------------------------- 0 [sofsoundwire ]: sof-soundwire - sof-soundwire Intel Soundwire SOF !!PCI Soundcards installed in the system !!-------------------------------------- 00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:51ca] (rev 01) Subsystem: Dell Device [1028:0c40] !!Modprobe options (Sound related) !!-------------------------------- snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_usb_audio: index=-2 snd_usb_caiaq: index=-2 snd_usb_ua101: index=-2 snd_usb_us122l: index=-2 snd_usb_usx2y: index=-2 snd_cmipci: mpu_port=0x330 fm_port=0x388 snd_pcsp: index=-2 snd_usb_audio: index=-2 !!Loaded sound module options !!--------------------------- !!Module: snd_soc_sof_sdw quirk : -1 !!Sysfs card info !!--------------- !!Card: /sys/class/sound/card0 Driver: /sys/bus/platform/drivers/sof_sdw Tree: /sys/class/sound/card0 |-- controlC0 | |-- dev | |-- device -&gt; ../../card0 | |-- led-mic -&gt; ../../../../../../virtual/sound/ctl-led/mic/card0 | |-- led-speaker -&gt; ../../../../../../virtual/sound/ctl-led/speaker/card0 | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- device -&gt; ../../../sof_sdw |-- hwC0D2 | |-- afg | |-- chip_name | |-- clear | |-- dev | |-- device -&gt; ../../card0 | |-- driver_pin_configs | |-- hints | |-- init_pin_configs | |-- init_verbs | |-- mfg | |-- modelname | |-- power | |-- power_off_acct | |-- power_on_acct | |-- reconfig | |-- revision_id | |-- subsystem -&gt; ../../../../../../../class/sound | |-- subsystem_id | |-- uevent | |-- user_pin_configs | |-- vendor_id | `-- vendor_name |-- id |-- input20 | |-- capabilities | |-- device -&gt; ../../card0 | |-- event15 | |-- id | |-- inhibited | |-- modalias | |-- name | |-- phys | |-- power | |-- properties | |-- subsystem -&gt; ../../../../../../../class/input | |-- uevent | `-- uniq |-- input21 | |-- capabilities | |-- device -&gt; ../../card0 | |-- event16 | |-- id | |-- inhibited | |-- modalias | |-- name | |-- phys | |-- power | |-- properties | |-- subsystem -&gt; ../../../../../../../class/input | |-- uevent | `-- uniq |-- input22 | |-- capabilities | |-- device -&gt; ../../card0 | |-- event17 | |-- id | |-- inhibited | |-- modalias | |-- name | |-- phys | |-- power | |-- properties | |-- subsystem -&gt; ../../../../../../../class/input | |-- uevent | `-- uniq |-- input23 | |-- capabilities | |-- device -&gt; ../../card0 | |-- event18 | |-- id | |-- inhibited | |-- modalias | |-- name | |-- phys | |-- power | |-- properties | |-- subsystem -&gt; ../../../../../../../class/input | |-- uevent | `-- uniq |-- number |-- pcmC0D0p | |-- dev | |-- device -&gt; ../../card0 | |-- pcm_class | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- pcmC0D1c | |-- dev | |-- device -&gt; ../../card0 | |-- pcm_class | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- pcmC0D2p | |-- dev | |-- device -&gt; ../../card0 | |-- pcm_class | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- pcmC0D4c | |-- dev | |-- device -&gt; ../../card0 | |-- pcm_class | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- pcmC0D5p | |-- dev | |-- device -&gt; ../../card0 | |-- pcm_class | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- pcmC0D6p | |-- dev | |-- device -&gt; ../../card0 | |-- pcm_class | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- pcmC0D7p | |-- dev | |-- device -&gt; ../../card0 | |-- pcm_class | |-- power | |-- subsystem -&gt; ../../../../../../../class/sound | `-- uevent |-- power | |-- async | |-- autosuspend_delay_ms | |-- control | |-- runtime_active_kids | |-- runtime_active_time | |-- runtime_enabled | |-- runtime_status | |-- runtime_suspended_time | `-- runtime_usage |-- subsystem -&gt; ../../../../../../class/sound `-- uevent !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: sofsoundwire [sof-soundwire], device 0: Jack Out (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) [] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: sofsoundwire [sof-soundwire], device 5: HDMI 1 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofsoundwire [sof-soundwire], device 6: HDMI 2 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofsoundwire [sof-soundwire], device 7: HDMI 3 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: sofsoundwire [sof-soundwire], device 1: Jack In (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofsoundwire [sof-soundwire], device 4: Microphone (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card sofsoundwire Card sysdefault:0 'sofsoundwire'/'Intel Soundwire SOF' Mixer name : 'Intel Raptorlake-P HDMI' Components : 'HDA:8086281f,80860101,00100000 cfg-spk:4 cfg-amp:2 hs:rt711-sdca spk:rt1316 mic:rt715-sdca' Controls : 77 Simple ctrls : 48 Simple mixer control 'Headphone',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Speaker',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',1 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',2 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Headset Mic',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'PGA1.0 1 Master',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 32 Mono: Front Left: Playback 32 [100%] [0.00dB] Front Right: Playback 32 [100%] [0.00dB] Simple mixer control 'PGA2.0 2 Master',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 80 Front Left: Capture 50 [62%] [0.00dB] [on] Front Right: Capture 50 [62%] [0.00dB] [on] Simple mixer control 'PGA3.1 3 Master',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 32 Mono: Front Left: Playback 32 [100%] [0.00dB] Front Right: Playback 32 [100%] [0.00dB] Simple mixer control 'PGA30.0 30',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 32 Mono: Front Left: Playback 32 [100%] [0.00dB] Front Right: Playback 32 [100%] [0.00dB] Simple mixer control 'PGA5.0 5 Master',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 80 Front Left: Capture 50 [62%] [0.00dB] [on] Front Right: Capture 50 [62%] [0.00dB] [on] Simple mixer control 'PGA6.0 6 Master',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 32 Mono: Front Left: Playback 32 [100%] [0.00dB] Front Right: Playback 32 [100%] [0.00dB] Simple mixer control 'PGA7.0 7 Master',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 32 Mono: Front Left: Playback 32 [100%] [0.00dB] Front Right: Playback 32 [100%] [0.00dB] Simple mixer control 'PGA8.0 8 Master',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 32 Mono: Front Left: Playback 32 [100%] [0.00dB] Front Right: Playback 32 [100%] [0.00dB] Simple mixer control 'rt1316-1 DAC',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'rt1316-1 Isense Mixer',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'rt1316-1 Left I Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 3 [43%] Simple mixer control 'rt1316-1 Left V Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 0 [0%] Simple mixer control 'rt1316-1 RX Channel Select',0 Capabilities: enum Items: 'L,R' 'L,L' 'L,R' 'L,L+R' 'R,L' 'R,R' 'R,L+R' 'L+R,L' 'L+R,R' 'L+R,L+R' Item0: 'L,L' Simple mixer control 'rt1316-1 Right I Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 3 [43%] Simple mixer control 'rt1316-1 Right V Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 1 [14%] Simple mixer control 'rt1316-1 Vsense Mixer',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'rt1316-1 XU24 Bypass',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'rt1316-2 DAC',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'rt1316-2 Isense Mixer',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'rt1316-2 Left I Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 3 [43%] Simple mixer control 'rt1316-2 Left V Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 0 [0%] Simple mixer control 'rt1316-2 RX Channel Select',0 Capabilities: enum Items: 'L,R' 'L,L' 'L,R' 'L,L+R' 'R,L' 'R,R' 'R,L+R' 'L+R,L' 'L+R,R' 'L+R,L+R' Item0: 'R,R' Simple mixer control 'rt1316-2 Right I Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 3 [43%] Simple mixer control 'rt1316-2 Right V Tag Select',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 1 [14%] Simple mixer control 'rt1316-2 Vsense Mixer',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'rt1316-2 XU24 Bypass',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'rt711 ADC 22 Mux',0 Capabilities: enum Items: 'MIC2' 'LINE1' 'LINE2' 'DMIC' Item0: 'MIC2' Simple mixer control 'rt711 ADC 23 Mux',0 Capabilities: enum Items: 'MIC2' 'LINE1' 'LINE2' 'DMIC' Item0: 'DMIC' Simple mixer control 'rt711 FU05',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 87 Mono: Front Left: Playback 87 [100%] [0.00dB] Front Right: Playback 87 [100%] [0.00dB] Simple mixer control 'rt711 FU0F',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 63 Front Left: Capture 58 [92%] [26.25dB] [on] Front Right: Capture 58 [92%] [26.25dB] [on] Simple mixer control 'rt711 FU15 Gain',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'rt711 FU1E',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 63 Front Left: Capture 23 [37%] [0.00dB] [off] Front Right: Capture 23 [37%] [0.00dB] [off] Simple mixer control 'rt711 FU44 Gain',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'rt714 ADC 22 Mux',0 Capabilities: enum Items: 'MIC1' 'MIC2' 'LINE1' 'LINE2' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4' Item0: 'DMIC3' Simple mixer control 'rt714 ADC 23 Mux',0 Capabilities: enum Items: 'MIC1' 'MIC2' 'LINE1' 'LINE2' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4' Item0: 'DMIC4' Simple mixer control 'rt714 ADC 24 Mux',0 Capabilities: enum Items: 'MIC2' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4' Item0: 'MIC2' Simple mixer control 'rt714 ADC 25 Mux',0 Capabilities: enum Items: 'MIC1' 'DMIC1' 'DMIC2' 'DMIC3' 'DMIC4' Item0: 'MIC1' Simple mixer control 'rt714 FU02',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right - Rear Left - Rear Right Limits: Capture 0 - 127 Front Left: Capture 119 [94%] [270.00dB] [on] Front Right: Capture 119 [94%] [270.00dB] [on] Rear Left: Capture 119 [94%] [270.00dB] [on] Rear Right: Capture 119 [94%] [270.00dB] [on] Simple mixer control 'rt714 FU06',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right - Rear Left - Rear Right Limits: Capture 0 - 127 Front Left: Capture 47 [37%] [0.00dB] [off] Front Right: Capture 47 [37%] [0.00dB] [off] Rear Left: Capture 47 [37%] [0.00dB] [off] Rear Right: Capture 47 [37%] [0.00dB] [off] Simple mixer control 'rt714 FU0A',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 127 Front Left: Capture 47 [37%] [0.00dB] [off] Front Right: Capture 47 [37%] [0.00dB] [off] Simple mixer control 'rt714 FU0C Boost',0 Capabilities: volume Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right Capture channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right Limits: 0 - 3 Front Left: 0 [0%] Front Right: 0 [0%] Rear Left: 0 [0%] Rear Right: 0 [0%] Front Center: 0 [0%] Woofer: 0 [0%] Side Left: 0 [0%] Side Right: 0 [0%] Simple mixer control 'rt714 FU0E Boost',0 Capabilities: volume Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right Capture channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right Limits: 0 - 3 Front Left: 0 [0%] Front Right: 0 [0%] Rear Left: 0 [0%] Rear Right: 0 [0%] Front Center: 0 [0%] Woofer: 0 [0%] Side Left: 0 [0%] Side Right: 0 [0%] !!All Loaded Modules !!------------------ 8250_dw ac97_bus acpi_pad acpi_tad acpi_thermal_rel aesni_intel af_alg algif_hash algif_skcipher autofs4 binfmt_misc bluetooth bnep btbcm btintel btmtk btrtl btusb ccm cdc_ether cec cfg80211 clk_tps68470 cmac cmdlinepart coretemp crc32_pclmul crct10dif_pclmul cryptd crypto_simd dcdbas dell_laptop dell_rbtn dell_smbios dell_wmi dell_wmi_ddv dell_wmi_descriptor dell_wmi_sysman dm_crypt drm drm_buddy drm_display_helper drm_kms_helper dw_dmac dw_dmac_core ecc ecdh_generic efi_pstore firmware_attributes_class ghash_clmulni_intel hid hid_generic hid_multitouch hid_sensor_accel_3d hid_sensor_als hid_sensor_custom hid_sensor_custom_intel_hinge hid_sensor_gyro_3d hid_sensor_hub hid_sensor_iio_common hid_sensor_trigger i2c_algo_bit i2c_hid i2c_hid_acpi i2c_i801 i2c_smbus i915 idma64 industrialio industrialio_triggered_buffer input_leds int3400_thermal int3403_thermal int340x_thermal_zone intel_cstate intel_hid intel_ish_ipc intel_ishtp intel_ishtp_hid intel_lpss intel_lpss_pci intel_powerclamp intel_rapl_common intel_rapl_msr intel_skl_int3472_discrete intel_skl_int3472_tps68470 intel_uncore_frequency intel_uncore_frequency_common intel_vsec ip_tables iwlmvm iwlwifi joydev kfifo_buf ledtrig_audio libarc4 lp mac80211 mac_hid mc mei mei_hdcp mei_me mei_pxp mii msr mtd nls_iso8859_1 nvidia nvidia_drm nvidia_modeset nvidia_uvm nvme nvme_common nvme_core ov01a10 parport parport_pc pinctrl_tigerlake pmt_class pmt_telemetry polyval_clmulni polyval_generic ppdev processor_thermal_device processor_thermal_device_pci processor_thermal_mbox processor_thermal_rapl processor_thermal_rfim psmouse r8152 r8153_ecm rapl rc_core regmap_sdw regmap_sdw_mbq rfcomm rtsx_pci rtsx_pci_sdmmc sch_fq_codel serio_raw snd snd_compress snd_ctl_led snd_hda_codec snd_hda_codec_hdmi snd_hda_core snd_hda_ext_core snd_hda_intel snd_hwdep snd_intel_dspcfg snd_intel_sdw_acpi snd_pcm snd_pcm_dmaengine snd_rawmidi snd_seq snd_seq_device snd_seq_midi snd_seq_midi_event snd_soc_acpi snd_soc_acpi_intel_match snd_soc_core snd_soc_dmic snd_soc_hdac_hda snd_soc_intel_hda_dsp_common snd_soc_intel_sof_maxim_common snd_soc_rt1316_sdw snd_soc_rt711_sdca snd_soc_rt715_sdca snd_soc_sof_sdw snd_sof snd_sof_intel_hda snd_sof_intel_hda_common snd_sof_intel_hda_mlink snd_sof_pci snd_sof_pci_intel_tgl snd_sof_probes snd_sof_utils snd_sof_xtensa_dsp snd_timer soundcore soundwire_bus soundwire_cadence soundwire_generic_allocation soundwire_intel sparse_keymap spi_intel spi_intel_pci spi_nor spi_pxa2xx_platform sunrpc thunderbolt tls tps68470_regulator ttm typec typec_ucsi ucsi_acpi usbhid usbnet v4l2_async v4l2_fwnode video videodev wmi wmi_bmof x86_pkg_temp_thermal x_tables xhci_pci xhci_pci_renesas !!ALSA/HDA dmesg !!-------------- [ 37.657661] thermal thermal_zone13: failed to read out thermal zone (-61) [ 37.667909] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 37.668210] snd_hda_intel 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver [ 37.668716] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination [ 37.778938] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 37.779142] sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver [ 37.779169] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -&gt; 0002) [ 37.779434] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 [ 37.779538] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 37.791430] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode [ 37.828389] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4 [ 37.829783] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20 -- [ 37.832306] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7 [ 37.834580] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 [ 37.834582] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 [ 37.834586] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 [ 37.847483] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000 -- [ 37.917346] iwlwifi 0000:00:14.3: base HW address: f0:20:ff:2d:3d:4a [ 37.932308] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 [ 37.932313] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 [ 37.936236] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0 -- [ 37.938744] Bluetooth: BNEP socket layer initialized [ 37.959040] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0 [ 37.959210] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred [ 38.140595] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination [ 38.182524] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3 [ 38.206433] input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input20 [ 38.206468] input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input21 [ 38.206491] input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input22 [ 38.206514] input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input23 [ 38.296464] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20 !!Packages installed !!-------------------- ii alsa-topology-conf 1.2.5.1-2 all ALSA topology configuration files ii alsa-ucm-conf 1.2.6.3-1ubuntu1.10 all ALSA Use Case Manager configuration files ii alsa-utils 1.2.6-1ubuntu1 amd64 Utilities for configuring and using ALSA </code></pre>
1775527
null
null
2024-03-15T16:47:25.160
Microphone not working on dell precision 5480, 22.04
[ "sound", "dell", "microphone" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507616
1
1507628
2024-03-15T17:24:52.423
2
98
<p>I did the following to get Skype to recognise my headset microphone (which was not working), as shown as a solution on a question on this website:</p> <pre><code>rm -rf ~/.config/pulse/ Log out Log back in go to desktop settings/'sound' insert headphones Go to 'input' section Do microphone audio test on each available device </code></pre> <p>But upon logging back in, all my data and everything I customized (including extra programs) is gone. I did not log into a guest account, it's my account and yet everything is gone. It's like I'm a new user. Is there a way to restore this please?</p> <h4>Update:</h4> <p>This is the exact command I typed:</p> <pre><code>rm -rf ~/ .config/pulse/ </code></pre> <p>with a space after the <code>~/</code> but no space between <code>~</code> and <code>/</code> Is that a problem?</p>
1387501
968501
2024-03-15T18:05:15.503
2024-03-16T02:55:56.807
I followed a solution procedure on AskUbuntu, logged out and now all my data is gone (no guest account)
[ "command-line", "restore", "rm" ]
1
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T17:30:56.327", "id": "2645174", "postId": "1507616", "score": "2", "text": "do `history` on command line and add the commands into the question. `rm -rf ~/.config/pulse/` is good but if there is a space after the `~` that could spell trouble. And this likely needs a...
{ "accepted": true, "body": "<h2>Problem</h2>\n<p>User home directory and everything in it were deleted</p>\n<p><strong>Explanation:</strong></p>\n<p>The command <code>rm -rf ~</code> performs the following actions:</p>\n<ul>\n<li><p><code>rm</code>: This is the command used to remove files or directories in Unix-like operating systems.</p>\n</li>\n<li><p><code>-r</code> stands for &quot;recursive,&quot; which means it will delete directories and their contents recursively.</p>\n</li>\n<li><p><code>-f</code> stands for &quot;force,&quot; which means it will delete files without prompting for confirmation.</p>\n</li>\n<li><p><code>~</code>: This is a shorthand notation for the user's home directory. In\nUnix-like systems, ~ represents the home directory of the current\nuser.</p>\n</li>\n</ul>\n<h2>What Now?</h2>\n<ol>\n<li>Stop using the system (explained below)</li>\n<li>Create a Live Boot USB flash drive - <a href=\"https://ubuntu.com/tutorials/create-a-usb-stick-on-ubuntu\" rel=\"nofollow noreferrer\">ref</a></li>\n<li>Boot to the flash drive</li>\n<li>Recover data</li>\n<li>Verify data is back</li>\n<li>Create a separate post for the headset issue connecting with Skype</li>\n</ol>\n<h2>Recover Data</h2>\n<p>Here's a previous post for recovery:</p>\n<p><a href=\"https://askubuntu.com/questions/3883/how-to-recover-deleted-files\">How to recover deleted files?</a></p>\n<h2>Where is the Recycle Bin?</h2>\n<p>TLDR Linux doesn't have one</p>\n<blockquote>\n<p>Ubuntu (or any Unix-like system) does not have a specific location where deleted files and directories are stored after deletion. They remain in the same location on the disk until their space is reused for new data. Once the space is reused, the deleted data becomes more difficult or impossible to recover.</p>\n</blockquote>\n<p>If you've accidentally deleted files or directories and want to attempt recovery, it's crucial to stop using the system immediately to prevent further data loss and use recovery tools like photorec from a live environment or another system to minimize the risk of overwriting the deleted data.</p>\n", "commentCount": "7", "comments": [ { "creationDate": "2024-03-15T20:42:57.783", "id": "2645202", "postId": "1507628", "score": "0", "text": "updated to address concerns", "userDisplayName": null, "userId": "192800" }, { "creationDate": "2024-03-16T04:04:33.913", "id": "2645242", "postId": "1507628", "score": "0", "text": "On Linux you can put the options at the end: `rm ~/whatever/ -rf`, and it works. Now in this case, would there be a chance that `rm ~/ .config/whatev/ -rf` would choke on the not right amount of arguments to the command? In any case, I advocate for putting `-rf` at the end of the command; will work on Linux, but not on MacOS.", "userDisplayName": null, "userId": "1157519" }, { "creationDate": "2024-03-16T04:08:49.500", "id": "2645243", "postId": "1507628", "score": "1", "text": "Also, \"2. Create a Live Boot USB flash drive\" I would remark that OP should use **another computer** to do that, since we need to stay away from using the subject system for _anything_.", "userDisplayName": null, "userId": "1157519" }, { "creationDate": "2024-03-16T04:14:24.430", "id": "2645244", "postId": "1507628", "score": "0", "text": "Also, in steps 3. & 4., how do you exactly deploy Photorec? I thought TestDisk is also a bootable media, so creating an Ubuntu live USB surprises me. Hence, once booted into the live Ubuntu, how does TestDisk show up? You download it and install it inside the live session, and execute it from there? Or download it and burn it onto another USB?", "userDisplayName": null, "userId": "1157519" }, { "creationDate": "2024-03-16T10:15:23.773", "id": "2645280", "postId": "1507628", "score": "0", "text": "I tried to boot the computer from the flash drive which I used to install Ubuntu on the computer in the first place (about 9 months ago). However, the computer boots automatically from the hard drive. When I press ESC immediately after start up, it only shows the Ubuntu version that's already installed on the computer. I checked the flash drive, it's got Ubuntu on it so it should be useable? Can I recover the files without the use of a usb?", "userDisplayName": null, "userId": "1387501" }, { "creationDate": "2024-03-16T16:14:20.837", "id": "2645319", "postId": "1507628", "score": "1", "text": "@Bea the consensus seems to be that no, don't use the sick system. It's understandable that you feel the lack of files stressing, but hurrying does not help. It's more important that your rescue procedure is executed in a measured, exact fashion. The USB you used to install Ubuntu should work as a live session indeed: mind you, you need to click the \"**Try Ubuntu without installing**\" option, when it shows. But first you need to enter the BIOS menu of your computer and update the boot device order preference such that the USB precedes the internal disk.", "userDisplayName": null, "userId": "1157519" }, { "creationDate": "2024-03-16T17:04:22.067", "id": "2645327", "postId": "1507628", "score": "1", "text": "Hi again everyone, thank you once more for all your help, it's sooo much appreciated!! I have been able to do the recovery without the USB stick, working straight on the computer. Testdisk was of no help, but Photorec recovered the whole lot.", "userDisplayName": null, "userId": "1387501" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-15T19:18:47.253", "id": "1507628", "lastActivityDate": "2024-03-16T02:55:56.807", "lastEditDate": "2024-03-16T02:55:56.807", "lastEditorDisplayName": null, "lastEditorUserId": "15811", "ownerDisplayName": null, "ownerUserId": "192800", "parentId": "1507616", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<h2>Problem</h2>\n<p>User home directory and everything in it were deleted</p>\n<p><strong>Explanation:</strong></p>\n<p>The command <code>rm -rf ~</code> performs the following actions:</p>\n<ul>\n<li><p><code>rm</code>: This is the command used to remove files or directories i...
null
null
null
null
null
1507619
1
null
2024-03-15T17:35:04.467
0
19
<p>I tried to encrypt a HDD with an exisiting EXT4 partition on it using Luks2. First I made room for the LUKS2 header (probably the issue I assume...):</p> <pre><code>resize2fs / dev/sdc1 2929710000 </code></pre> <p>Then I started the encryption</p> <pre><code>cryptsetup reencrypt --encrypt --type luks2 --reduce-device.size 32m /dev/sdc1 </code></pre> <p>Now I can open the device without any issues but I can't mount it and the output of gdisk looks like trouble:</p> <pre><code>root@esprimo:~# gdisk -l /dev/mapper/sdc-crypt GPT fdisk (gdisk) version 1.0.6 Warning: Partition table header claims that the size of partition table entries is 3165299386 bytes, but this program supports only 128-byte entries. Adjusting accordingly, but partition table may be garbage. Warning! Disk size is smaller than the main header indicates! Loading secondary header from the last sector of the disk! You should use 'v' to verify disk integrity, and perhaps options on the experts' menu to repair the disk. Caution: invalid backup GPT header, but valid main header; regenerating backup header from main header. Warning! One or more CRCs don't match. You should repair the disk! Main header: OK Backup header: ERROR Main partition table: OK Backup partition table: ERROR Partition table scan: MBR: protective BSD: not present APM: not present GPT: damaged **************************************************************************** Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk verification and recovery are STRONGLY recommended. **************************************************************************** Disk /dev/mapper/sdc-crypt: 23437737983 sectors, 10.9 TiB Sector size (logical/physical): 512/4096 bytes Disk identifier (GUID): C8A0204A-192A-4437-A6C1-CD127AC8699A Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 23437770717 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 23437770717 10.9 TiB 8300 </code></pre> <p>Running w ind gdisk results in:</p> <pre><code>Caution! Secondary header was placed beyond the disk's limits! Moving the header, but other problems may occur! Warning! Secondary partition table overlaps the last partition by 32768 blocks! You will need to delete this partition or resize it in another utility. Problem: partition 1 is too big for the disk. Aborting write operation! Aborting write of new partition table. </code></pre> <p>Any hope I can recover my data? Thansk so much fo any hints!</p>
1775536
null
null
2024-03-15T17:35:04.467
Inaccessible Data after LUKS2 encryption
[ "encryption", "disk", "luks" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507622
1
null
2024-03-15T18:06:16.297
0
47
<p>1 I have set dual-boot system of windows 10 and ubuntu 22.04 on my laptop. After installation it said that it succeeded. But while rebooting it says &quot;reset system&quot; and keeps repeating that message. My bios mode was legacy. And my laptop is of Hp elitebook series. What should I do now? Kindly help.</p> <p><a href="https://paste.ubuntu.com/p/KcJRXjQcmz/" rel="nofollow noreferrer">https://paste.ubuntu.com/p/KcJRXjQcmz/</a></p>
1775539
1775539
2024-03-15T19:47:57.027
2024-03-15T19:47:57.027
Reset System Loop on my Hp elitebook while setting up dual boot
[ "dual-boot", "22.04", "reset" ]
0
4
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T00:01:07.470", "id": "2645228", "postId": "1507622", "score": "0", "text": "Did you try the suggested fix from bootrepair? It's saying that it will install the grub bootloader onto your MBR which is standard for legacy boot, non-efi systems. Currently, it's using an...
null
[]
null
null
null
null
null
1507623
1
null
2024-03-15T18:13:01.993
0
23
<p>I need to buy a usb wifi adapter for Ubuntu 20.Tp link TL-WN823N is available in my area. Is it compatible with Ubuntu 20?</p>
1775364
null
null
2024-03-15T18:13:01.993
Does the TP-Link TL-WN823N USB WiFi adapter work in Ubuntu 20.04 LTS?
[ "wireless", "adapter" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T21:20:46.417", "id": "2645209", "postId": "1507623", "score": "1", "text": "Search this site for **TL-WN823N**. You will see many posts. If you buy this adapter. Try it first. If it is not recognized, you may have to compile the drive from source code following the ...
null
[]
null
null
null
null
null
1507625
1
null
2024-03-15T18:42:12.820
0
55
<p>So I have my ubuntu installed on a 500GO NVMe drive, and, because I needed the space, I decided I wanted to relocate it to a 120GO SATA SSD. I figured it would be enough, and, based on my information, it will. The only problem is, Ubuntu disks utility reports that I use 70% of my 500GO drive. So I installed baobab to find and hopefully delete what was taking so much space, but baobab reported something very weird, it said, like disks utility, that the disk is 70% full, but it can only find 50 gigs of files in the root repository. Can anyone help?</p> <p><a href="https://i.stack.imgur.com/1TwYx.png" rel="nofollow noreferrer">Baobab home screen, showing the drive at 70% capacity</a></p> <p><a href="https://i.stack.imgur.com/RSmbM.png" rel="nofollow noreferrer">Baobab data analyzer, showing only 57 gigs of data</a></p>
1775542
null
null
2024-03-15T21:17:37.457
Hard drive usage unreported/ can't find what's taking up space
[ "partitioning", "hard-drive" ]
1
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T19:41:40.790", "id": "2645195", "postId": "1507625", "score": "0", "text": "try the `du` utility: `sudo du -hs / | sort -h`, see if that gives you the same information as the Disk Usage Analyser", "userDisplayName": null, "userId": "884673" }, { "cr...
null
[ { "accepted": null, "body": "<p>found it, it was Docker build/old containers taking up too much space, leftovers from when I had not yet a script to remove them, and because each of my test images I built was like 6 gigs, it added up very quickly, in <code>/var/lib/docker/overlay2</code></p>\n", "commen...
null
null
null
null
null
1507631
1
null
2024-03-15T19:46:01.330
0
49
<p>I'm using WSL and I want to download libpng. And so, initially I typed:</p> <pre><code>sudo apt -y install libpng-dev </code></pre> <p>and it worked until it returned cannot access archive.ubuntu or something like that (I don't remember the exact output since it happened like a couple of hours ago)</p> <p>So, naturally, I went to google to see how to fix this. I stumbled upon a question that asked relatively similar things to what I'm experiencing. So I just followed the most upvoted answer (Again, I can't recall which question was that or what the most upvoted answer was).</p> <p>I think I may have typed these <code>sudo rm /etc/apt/sources.list.d/ubuntu-extras.list</code> <code>sudo wget &quot;http://pastebin.com/raw.php?i=uzhrtg5M&quot; -O /etc/apt/sources.list</code> <code>echo &quot;nameserver 8.8.8.8&quot; | sudo tee /etc/resolv.conf &gt; /dev/null</code>. one of these three or maybe a combination of them</p> <p>And the next thing I know, whenever I run <code>sudo apt ...</code> I get a return like this</p> <pre><code>Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libpng-dev </code></pre> <p>which is entirely different than what I used to had initially. How do I fix this??</p> <p>Bonus question: How do I install libpng after that? I need to use</p> <pre><code>#include &lt;png.h&gt; </code></pre> <p>on C</p>
1775553
1775553
2024-03-16T11:39:20.733
2024-03-16T11:39:20.733
My sudo apt install command is weird after following some instruction
[ "apt", "package-management", "windows-subsystem-for-linux", "libraries" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T20:29:49.147", "id": "2645198", "postId": "1507631", "score": "0", "text": "Just checking since you don’t mention it; make sure to rerun ‘sudo apt update’", "userDisplayName": null, "userId": "1165986" }, { "creationDate": "2024-03-15T20:30:56.163", ...
null
[]
null
null
null
null
null
1507632
1
null
2024-03-15T20:10:17.310
0
61
<p>My wifi doesn't connect to any network names, after a day previously it worked fine. My device is Lenovo IdeaPad 3 15ABA7. My wifi modem is Real Tek Semiconductor <code>Kernel Linux image 6.5.0-25 generic Lspci -nnk -d ::0280 Real Tek Semiconductor 10ec:b852 Kernel driver in use rtw89_8852be Kernel modules rtw89_8852be, rtw_8852be</code></p> <p>I have many kernel modules installed do not know which one to blacklist: rtw89 core, rtw89pci, rtw_8852b</p> <p>I read and unfortunately applied many of articles, blog's suggestions. I even tried to use from UEFI olsa kernel 6.5.0-21 there I had no appearance of wifi . I blacklisted driver in modprobe.d file then deleted some drivers which were related to mine, after sudo gedir I wrote back some of them. I tried reinstalling of Linux headers, then rtw89 driver, inetc/netplan I removed to TMP file 01-network-manage-all.yaml file then tried to bring back from TMP folder, couldn't find, then rewrited by myself. Tried suspend module for hibernation to change back from 3 to 1. Messed up in one word. So, now I want to ask the same question by myself if anyone could help me to get on the right path to resolve my wifi issue in Lenovo IdeaPad 3 for Ubuntu 22.04. Thanks for your reading</p>
1775551
1775551
2024-03-17T22:00:14.350
2024-03-17T22:00:14.350
Ubuntu 22.04 wifi doesn't connect to any network with activation of connecting failed
[ "networking", "drivers", "kernel", "lenovo" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507634
1
null
2024-03-15T20:17:08.460
-1
25
<p>With native programs everything works as expected, but when try to run a basic program using the glfw library I get a window without buttons. How to enable them?</p>
1742552
null
null
2024-03-15T20:17:08.460
glfw no close button
[ "graphics", "window-buttons", "apic" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T21:04:26.497", "id": "2645207", "postId": "1507634", "score": "1", "text": "Welcome to Ask Ubuntu. Your question is not answerable without more information. Which distro and version of Linux are you using? How did you install \"g**l**fw\"? Do you mean g**u**fw? If s...
null
[]
null
null
null
null
null
1507637
1
null
2024-03-15T20:54:26.893
-1
51
<p>I'm trying to make a script that runs when the user logs in, to change the wallpaper. I run the script at logon, the script is inside the /etc/profile.d/ folder. I use ImageMagick to write the PC name and Teamviewer ID on the wallpaper and plasma-apply-wallpapaerimage to change the wallpaper.</p> <pre class="lang-sh prettyprint-override"><code>#!/bin/bash plasma-apply-wallpaperimage /home/suporte/share/win10.jpg convert /home/suporte/share/win10.jpg -pointsize 20 -fill darkblue -annotate +1650+50 &quot;Nome do PC: $HOSTNAME&quot; /home/suporte/share/wpp.jpg TVID=&quot;$(cat /var/log/teamviewer15/TeamViewer15_Logfile.log | tail -1 | grep -oP '(?&lt;=DyngateID: )[0-9]+' | sed -r ':A;s|([0-9]+)([0-9]{3})|\1 \2|g;t A')&quot; convert /home/suporte/share/wpp.jpg -pointsize 20 -fill darkblue -annotate +1650+80 &quot;Teamviewer: $TVID&quot; /home/suporte/share/wpp.jpg plasma-apply-wallpaperimage /home/suporte/share/wpp.jpg </code></pre> <p>I also tried starting the variable and executing the command with the variable on the same line</p> <pre class="lang-sh prettyprint-override"><code>... TVID=&quot;$(cat /var/log/teamviewer15/TeamViewer15_Logfile.log | tail -1 | grep -oP '(?&lt;=DyngateID: )[0-9]+' | sed -r ':A;s|([0-9]+)([0-9]{3})|\1 \2|g;t A')&quot; convert /home/suporte/share/wpp.jpg -pointsize 20 -fill darkblue -annotate +1650+80 &quot;Teamviewer: $TVID&quot; /home/suporte/share/wpp.jpg ... </code></pre> <p>Or using &amp;&amp;</p> <pre class="lang-sh prettyprint-override"><code>... TVID=&quot;$(cat /var/log/teamviewer15/TeamViewer15_Logfile.log | tail -1 | grep -oP '(?&lt;=DyngateID: )[0-9]+' | sed -r ':A;s|([0-9]+)([0-9]{3})|\1 \2|g;t A')&quot; &amp;&amp; convert /home/suporte/share/wpp.jpg -pointsize 20 -fill darkblue -annotate +1650+80 &quot;Teamviewer: $TVID&quot; /home/suporte/share/wpp.jpg ... </code></pre> <p>The problem is that this $TVID variable that I use to pass the ID to ImageMagick always comes out empty. If I put anything in the variable, it comes out empty. Unless it is text without spaces and without quotation marks (like aaaaaaaaaaa).</p> <p>I've already tried putting a separate script just to start the variable, using <code>export TVID=...</code> but the result is the same. I'm using Kubuntu 22.04.</p> <p>Apart from this problem with the variable, everything works normally. As I said, if I put <code>TVID=aaaaaaaaaa</code>, ImageMagick writes <em>Teamviewer: aaaaaaaaaa</em>. The script works if I run it directly through the terminal</p> <p>Does anyone have any idea what it could be?</p>
1775557
1775557
2024-03-18T17:55:25.323
2024-03-18T17:55:25.323
Variable returning empty in logon script
[ "bash", "scripts", "kde" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T21:11:32.497", "id": "2645208", "postId": "1507637", "score": "0", "text": "Welcome to Ask Ubuntu. Your question is not answerable without more information. Which distro and version of Linux are you using? How is the script run at logon? Does the script work if you ...
null
[]
null
null
null
null
null
1507638
1
null
2024-03-15T20:56:30.437
-1
38
<p>Have worked with a Ubuntu 22.04 system for months now without issue but have recently found booting into Ubuntu to take much longer than normal (~60s to &gt;10 mins).</p> <p>Through some trial and error have determined the issue only crops up when one of my external HDs is connected via USB to my laptop.</p> <p>How would I go about debugging the underlying cause of this to address it? Like I'd said, this only started this week and I'm not sure what would have changed to cause the behavior.</p> <p>This is a Ubuntu 22.04 dual-boot on a Lenovo Thinkpad laptop with Win 10 on the other partition.</p> <p><strong>Edit:</strong> As described, this boot wasn't 'problematic' insofar I was able to get into Ubuntu having removed the problem drive. Details below:</p> <pre><code>chris@chris-X1C6:~$ systemd-analyze time Startup finished in 13.643s (firmware) + 14.975s (loader) + 1.833s (kernel) + 1min 30.460s (userspace) = 2min 912ms graphical.target reached after 29.201s in userspace chris@chris-X1C6:~$ systemd-analyze blame 26.476s plymouth-quit-wait.service 9.421s plocate-updatedb.service 6.576s NetworkManager-wait-online.service 5.565s gpu-manager.service 5.252s plexmediaserver.service 4.160s qemu-kvm.service 2.784s snapd.service 1.436s systemd-backlight@backlight:intel_backlight.service 1.274s mysql.service 731ms systemd-fsck@dev-disk-by\x2duuid-0c2e04fe\x2d9691\x2d4db4\x2da0c1\x2dabc269f2460c.service 686ms dev-loop30.device 683ms dev-loop22.device 678ms dev-loop29.device 675ms dev-loop33.device 674ms dev-loop31.device 674ms dev-loop34.device 673ms dev-loop32.device 670ms dev-loop26.device 670ms dev-loop24.device 669ms dev-loop25.device </code></pre> <p>Nothing from today in the <code>syslog</code> <code>grep</code>ing on either 'warning' or 'error'--is a lot of output though (redirecting to file outputs over 38MB)</p>
951772
951772
2024-03-15T23:51:58.447
2024-03-15T23:51:58.447
Slow boot into Ubuntu only when external HD is connected
[ "boot", "dual-boot" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T22:00:08.130", "id": "2645211", "postId": "1507638", "score": "0", "text": "Any errors reported in /var/log/syslog? Sounds like hardware -- cable to failing disk. Can you switch cables/enclousre? Can you run a smart check on the disk (smartmontools package)?", ...
null
[]
null
null
null
null
null
1507639
1
null
2024-03-15T21:11:22.990
0
63
<p>Using Windows Server 2022 as a hypervisor, I've created two Ubuntu VMs: an Ubuntu server and a desktop. The following is based on my experiences with the server on 22.04 and also 23.xx, although the desktop OS seems to work similar in that I'm experiencing the same issues.</p> <p>For a reason I'm not yet aware of, Hyper-V and Ubuntu guests with SR-IOV enabled, create two network interfaces on the guest: one showing the vF (Broadcom), the other showing the Hyper-V driver.</p> <p><code>lshw -C network</code></p> <p><a href="https://i.stack.imgur.com/4c5eC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4c5eC.png" alt="Dual Network Interfaces" /></a></p> <p>In Windows VMs with SR-IOV enabled, this does not happen. A single network adapter is created for the Broadcom interface. My only guess is that this has something to do with Hyper-V not knowing if the guest OS can support it so it creates a fallback adapter that will use the virtual switch.</p> <p>However, my assumptions don't appear correct. I originally thought I could simply disable the Hyper-V network interface (eth0) in Ubuntu to force the OS to use the SR-IOV-enabled adapter. e.g. <code>ip link set eth0 down</code></p> <p>This unfortunately causes a complete loss of networking functionality. In fact, disabling that interface automatically disabled the other. Even if I manually set the Broadcom interface up, I can't ping anything.</p> <p>However, if I disable the second interface <code>enP33973s1</code>, SR-IOV is lost and traffic flows through the vSwitch.</p> <p>I'm currently assigning both these adapters static IPs. I just don't quite understand what is actually happening here.</p> <p>The other interesting thing about this setup is that if you tell Hyper-V to assign this VM's network card a static MAC address, then both interfaces created in Ubuntu use the same MAC. Perhaps this is why you can also enable &quot;MAC address spoofing&quot; for the VM? With the shared static MAC, I cannot use DHCP reservations for this VM.</p> <p><strong>Q: Why do I need two adapters for this to work in Ubuntu.</strong></p> <p><strong>Q: Does it matter which IP I use for traffic? Say I want to set an A record in DNS, should it point to the enP339… interface IP? Both?</strong></p> <p>I'm tempted to claim that SR-IOV support for Ubuntu in Hyper-V is half-baked, but I guess I really just don't even understand how it works. Part of me wants to just completely switch back to using ESXi. Can anyone help clear up my confusion? Thank you in advance!</p>
1775150
null
null
2024-03-15T21:11:22.990
How does SR-IOV networking work in an Ubuntu 22.04 Hyper-V virtual machine?
[ "networking", "server", "22.04", "virtualization" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507641
1
null
2024-03-15T21:36:23.383
0
37
<p>Folder1 has guest access on the local network, Folder2 does not. Folders were created using the same principle, only different locations on the disk and names. What could be the problem?</p> <p><code>sudo nano /etc/samba/smb.conf</code></p> <p>1.</p> <pre><code>[Folder1] path = /home/user/1 public = yes guest only = yes writable = yes force create mode = 0666 force directory mode = 0777 browseable = yes sudo mkdir /home/user/1 sudo chmod -R ugo+w /home/user/1 sudo systemctl restart smbd </code></pre> <ol start="2"> <li></li> </ol> <pre><code>[Folder2] path = /home/user/2 public = yes guest only = yes writable = yes force create mode = 0666 force directory mode = 0777 browseable = yes sudo mkdir /home/user/2 sudo chmod -R ugo+w /home/user/2 sudo systemctl restart smbd </code></pre> <p><strong>UPDATE</strong></p> <pre><code>&gt; ls -ld /home/? drwxrwxrwx 2 root root 4096 Mar 15 2024 /home/1 drwxrwxrwx 2 root root 4096 Mar 15 2024 /home/2 &gt; ls -l /home/? &gt;/home/1: total 0 &gt;/home/2: total 0 </code></pre>
1775563
767056
2024-03-16T01:11:07.187
2024-03-16T01:11:07.187
Samba. Problem to folder access
[ "samba" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-15T21:52:59.030", "id": "2645210", "postId": "1507641", "score": "0", "text": "Please update your question with the output `ls -ld /home/user/?`", "userDisplayName": null, "userId": "614422" }, { "creationDate": "2024-03-15T22:11:47.510", "id": "264...
null
[]
null
null
null
null
null
1507642
1
null
2024-03-15T22:12:53.037
0
55
<ul> <li>I have SoC <code>orange pi 4 lts</code> and OS <code>Ubuntu</code> on it:</li> </ul> <pre><code>orangepi@orangepi4-lts:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy </code></pre> <ul> <li><p><code>orange pi 4 lts</code> has audio port jack 3.5</p> </li> <li><p>I plugged headset with mic by <code>jack 3.5 4-pin</code> into audio port of <code>orange pi 4 lts</code></p> </li> <li><p>Headset as speaker works fine</p> </li> <li><p><strong>But mic of headset doesn't work</strong></p> </li> <li><p>By the way, native mic on board of <code>orange pi 4 lts</code> works also fine</p> </li> <li><p>Audio sources list here:</p> </li> </ul> <pre><code>orangepi@orangepi4-lts:~$ pacmd list-sources 2 source(s) available. index: 0 name: &lt;alsa_output.platform-heaadphones-sound.stereo-fallback.monitor&gt; driver: &lt;module-alsa-card.c&gt; flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: RUNNING suspend cause: (none) priority: 1000 volume: front-left: 54262 / 83% / -4.92 dB, front-right: 54262 / 83% / -4.92 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max rewind: 6 KiB sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 1 linked by: 1 configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms monitor_of: 0 card: 1 &lt;alsa_card.platform-heaadphones-sound&gt; module: 8 properties: device.description = &quot;Monitor of Built-in Audio Stereo&quot; device.class = &quot;monitor&quot; alsa.card = &quot;0&quot; alsa.card_name = &quot;rockchip-es8316c&quot; alsa.long_card_name = &quot;rockchip-es8316c&quot; alsa.driver_name = &quot;snd_soc_simple_card&quot; device.bus_path = &quot;platform-heaadphones-sound&quot; sysfs.path = &quot;/devices/platform/heaadphones-sound/sound/card0&quot; device.form_factor = &quot;internal&quot; device.string = &quot;0&quot; module-udev-detect.discovered = &quot;1&quot; device.icon_name = &quot;audio-card&quot; * index: 1 name: &lt;alsa_input.platform-heaadphones-sound.stereo-fallback&gt; driver: &lt;module-alsa-card.c&gt; flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: RUNNING suspend cause: (none) priority: 9000 volume: front-left: 38611 / 59% / -13.79 dB, front-right: 38611 / 59% / -13.79 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 2.71 ms max rewind: 0 KiB sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 1 linked by: 1 configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms card: 1 &lt;alsa_card.platform-heaadphones-sound&gt; module: 8 properties: alsa.resolution_bits = &quot;16&quot; device.api = &quot;alsa&quot; device.class = &quot;sound&quot; alsa.class = &quot;generic&quot; alsa.subclass = &quot;generic-mix&quot; alsa.name = &quot;ff880000.i2s-ES8316 HiFi ES8316 HiFi-0&quot; alsa.id = &quot;ff880000.i2s-ES8316 HiFi ES8316 HiFi-0&quot; alsa.subdevice = &quot;0&quot; alsa.subdevice_name = &quot;subdevice #0&quot; alsa.device = &quot;0&quot; alsa.card = &quot;0&quot; alsa.card_name = &quot;rockchip-es8316c&quot; alsa.long_card_name = &quot;rockchip-es8316c&quot; alsa.driver_name = &quot;snd_soc_simple_card&quot; device.bus_path = &quot;platform-heaadphones-sound&quot; sysfs.path = &quot;/devices/platform/heaadphones-sound/sound/card0&quot; device.form_factor = &quot;internal&quot; device.string = &quot;hw:0&quot; device.buffering.buffer_size = &quot;352800&quot; device.buffering.fragment_size = &quot;176400&quot; device.access_mode = &quot;mmap+timer&quot; device.profile.name = &quot;stereo-fallback&quot; device.profile.description = &quot;Stereo&quot; device.description = &quot;Built-in Audio Stereo&quot; module-udev-detect.discovered = &quot;1&quot; device.icon_name = &quot;audio-card&quot; ports: analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown) properties: active port: &lt;analog-input&gt; </code></pre> <ul> <li><code>pulseaudio</code> version</li> </ul> <pre><code>orangepi@orangepi4-lts:~$ pulseaudio --version pulseaudio 15.99.1 </code></pre> <ul> <li><code>ALSA</code> version:</li> </ul> <pre><code>orangepi@orangepi4-lts:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k5.18.5-rk3399. </code></pre> <p>Dear friends, I'm not familiar with <code>ALSA</code> and <code>pulseaudio</code> and appreciate any help :) How to fix the mic of headset and use it as record device?</p>
559547
null
null
2024-03-16T15:41:31.310
Headset mic doesn't work on orange pi 4 lts Ubuntu 22.04
[ "pulseaudio", "alsa", "microphone" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>Finally, I fixed the problem of headphone mic by:</p>\n<pre><code>amixer cset name='Differential Mux' lin1-rin1\namixer cset name=&quot;ADC Capture Volume&quot; 192\n</code></pre>\n<p>I found these steps in manual guide of <code>orange pi 4 lts</code> here:\n<a href=\"https:/...
null
null
null
null
null
1507643
1
1507669
2024-03-15T22:58:24.177
1
91
<p>How do we create a LIVE USB on LINUX? (using command line &quot;dd&quot;)</p> <p>i'm reading on the internet you type...</p> <ol> <li><p>Insert your USB drive into your computer and use ‘df’ or ‘lsblk’ from the command line to determine the device name your flash drive has been assigned, e.g. /dev/sdb, sdc, etc. in my case the USB drive shows up on /media/asher/gentoo</p> </li> <li><p>Make sure the drive is not mounted. If necessary, unmount it with:</p> <p>sudo umount /dev/&lt;device_name&gt;</p> </li> <li><p>Write the .iso image to the flash drive:</p> <p>sudo dd if=/path/to/distro.iso of=/dev/&lt;device_name&gt; bs=1M</p> </li> </ol> <p>this does seem to do something however it doesn't write the LIVE USB ISO to the USB DRIVE</p> <p>THANKS FOR THE LIVE USB HELP!</p>
50042
null
null
2024-03-16T09:21:27.117
How do we create a LIVE USB on LINUX? (using command line "dd")
[ "live-usb" ]
1
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T01:10:01.110", "id": "2645232", "postId": "1507643", "score": "1", "text": "I wrote an answer to this a long time ago: https://askubuntu.com/a/1333139/43926. I suggested using Gnome Disks instead.", "userDisplayName": null, "userId": "43926" }, { "cr...
{ "accepted": true, "body": "<p>Your problem is likely to be that you have not correctly identified the target device.</p>\n<p>The device name will start with <code>/dev</code>, so if you insert the USB drive and then type <code>df</code> in a terminal window, you should see something like:</p>\n<p><code>/dev/sdb1 59279292 28167900 28067760 20% /media/asher/gentoo</code></p>\n<p>So the command would look like:</p>\n<p><code>sudo dd if=/path/to/distro.iso of=/dev/sdb bs=1M</code></p>\n<p>Note that the command above has <code>/dev/sdb</code> not <code>/dev/sdb1</code> - because you should probably not copy the .iso to a partition on the USB but use the entire drive instead.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2024-03-17T03:22:47.677", "id": "2645399", "postId": "1507669", "score": "0", "text": "i tried using lsblk and df and the path is still \"sdc 8:32 1 7.5G 0 disk /media/asher/gentoo\" or /dev/sdc let me try another time!", "userDisplayName": null, "userId": "50042" }, { "creationDate": "2024-03-17T03:25:42.150", "id": "2645400", "postId": "1507669", "score": "0", "text": "sudo dd bs=4M if=./livegui-amd64-20240303T170409Z.iso of=/dev/sdX status=progress && sync", "userDisplayName": null, "userId": "50042" }, { "creationDate": "2024-03-17T04:11:32.217", "id": "2645404", "postId": "1507669", "score": "0", "text": "okay... works! i had to use a different /dev not /media", "userDisplayName": null, "userId": "50042" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-16T09:21:27.117", "id": "1507669", "lastActivityDate": "2024-03-16T09:21:27.117", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "389216", "parentId": "1507643", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>Your problem is likely to be that you have not correctly identified the target device.</p>\n<p>The device name will start with <code>/dev</code>, so if you insert the USB drive and then type <code>df</code> in a terminal window, you should see something like:</p>\n<p><code>/d...
null
null
null
null
null
1507647
1
null
2024-03-16T01:41:25.720
0
59
<p>I have two NICs in my home server - both are connected to same network. One is 2.5Gbps (which I'd like to use for LAN - <strong>eth0</strong>), other is 1Gbps (which I'd like to use for internet-only - <strong>enp0s25</strong>).</p> <p>What I'd want to do is to route all internet traffic through one of them and second one to be used only for LAN connections.</p> <p>My idea is to use second NIC only for local traffic in order to not interrupt the first one that's used for internet connection (in order to not bottleneck it).</p> <p>How could I do this? I am running Ubuntu 22.04 with netplan.</p> <p>My current configuration:</p> <pre><code>network: version: 2 renderer: NetworkManager ethernets: enp0s25: dhcp4: no addresses: [192.168.1.184/24] routes: - to: 0.0.0.0/0 via: 192.168.1.1 </code></pre>
1775582
null
null
2024-03-16T05:52:38.967
Two NICs on same network - one for internet, one for LAN
[ "networking", "server", "network-manager", "internet" ]
2
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p><strong>Ideal</strong></p>\n<p>The ideally solution for what you want, is to use vlan's. Do you know if you switch supports vlans?</p>\n<p>You would have your internet connected to a port, on that port you would set it to be a access port on a vlan eg 5, and you can do the s...
null
null
null
null
null
1507648
1
null
2024-03-16T02:19:23.317
1
29
<p>Every time I compile a model in Simulink, the GUI elements of the &quot;OS&quot; GUI (roughly KDE Plasma elements) will begin to lag terribly, making the computer unusable. The lagging persists until the OS is rebooted. Since I cannot access the logout portions, I had to create a bash script that reboots the computer from a terminal. I have suffered through many months due to this already. I have completely overhauled the entire OS to 22.04, added HWE, and the newest kernel 6.5.0 The lagging still persists. I have performed heat monitoring, monitored <code>ps aux</code>, monitored <code>free -h</code> , monitored <code>top</code>. monitored free GPU memory with <code>nvidia-smi</code>. Sorted processes by CPU usage. I can detect no problems from those. I am at my wits end.</p> <pre><code>xpswhite@machine:~$ uname -a Linux X.X.X 6.5.0-25-generic #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux xpswhite@machine:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy xpswhite@machine:~$ hwe-support-status --verbose Your Hardware Enablement Stack (HWE) is supported until April 2027. xpswhite@machine:~$ dkms status nvidia/535.161.07, 5.15.0-100-generic, x86_64: installed nvidia/535.161.07, 5.15.0-97-generic, x86_64: installed nvidia/535.161.07, 6.5.0-25-generic, x86_64: installed xpswhite@machine:~$ kf5-config --version Qt: 5.15.3 KDE Frameworks: 5.104.0 kf5-config: 1.0 xpswhite@machine:~$ nvidia-smi Tue Mar 12 20:59:48 2024 +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 535.161.07 Driver Version: 535.161.07 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 NVIDIA GeForce RTX 3070 Off | 00000000:01:00.0 On | N/A | | 0% 34C P8 9W / 220W | 409MiB / 8192MiB | 0% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 1276 G /usr/lib/xorg/Xorg 165MiB | | 0 N/A N/A 2068 G /usr/bin/kwin_x11 3MiB | | 0 N/A N/A 2183 G /usr/bin/plasmashell 78MiB | | 0 N/A N/A 2610 G ...irefox/3941/usr/lib/firefox/firefox 143MiB | +---------------------------------------------------------------------------------------+ </code></pre>
1631938
null
null
2024-03-16T03:54:35.383
KDE Plasma 5. GUI elements lag terribly after large compiles. Lag is so bad the computer must be rebooted with a script
[ "nvidia", "kde", "freeze", "kde5" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>Most likely the majority of RAM is getting used up when you compile the model, and the computer is swapping system programs, and most likely this is not an Nvidia issue. But since swap is slow, it is causing issues. Also, even after you are done with Simulink, the OS does not...
null
null
null
null
null
1507661
1
1507683
2024-03-16T06:04:51.073
2
679
<p>I did several wrong things for my first day on Ubuntu when trying to code with Python, so I just reinstalled it. Can anyone tell me the best way to install Python here? I am using Ubuntu 20.04, and I am updating to Ubuntu 23.10 right now.</p> <p>I see <code>sudo apt install python3</code>? OK, but it was why my Ubuntu was corrupted. Can anyone tell me how to get complete python installed without breaking any programs - with python pip, venv, and whatever else is needed.</p> <p>Someone asked why do I need latest the python version. I just prefer it, but I want any Python 3 (I prefer to use 3.9 and new always).</p> <p>I did not install any Python. The only thing I did was <code>sudo apt install python3-pip</code> and also python3-venv (and python3.11-venv), venvs failed to install but why does VSCode show 4 different Python interpreters now? I didn't install any python version. I installed Ubuntu 20.04 from an ISO file, and upgraded to 23.10. The default Python package on Ubuntu 23.10 is python3.12.</p> <p>Image of VSCode showing Python interpreters:</p> <p><a href="https://i.stack.imgur.com/Z1ZWu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z1ZWu.png" alt="Image of VSCode showing interpreters" /></a></p> <pre class="lang-none prettyprint-override"><code>ashish@ashish-pc:~$ pip3 --version pip 23.1.2 from /usr/lib/python3/dist-packages/pip (python 3.11) ashish@ashish-pc:~$ pip3 --version pip 23.1.2 from /usr/lib/python3/dist-packages/pip (python 3.11) ashish@ashish-pc:~$ sudo apt-get update &amp;&amp; sudo apt-get install python3-venv Hit:1 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu mantic InRelease Hit:2 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu mantic-updates InRelease Hit:3 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu mantic-backports InRelease Hit:4 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu mantic-security InRelease Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease Hit:6 https://packages.microsoft.com/repos/code stable InRelease Hit:7 http://archive.ubuntu.com/ubuntu mantic InRelease Hit:8 http://archive.ubuntu.com/ubuntu mantic-updates InRelease Hit:9 http://security.ubuntu.com/ubuntu mantic-security InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: python3-venv : Depends: python3.11-venv (&gt;= 3.11.2-1~) but it is not going to be installed Depends: python3 (= 3.11.2-1) but 3.11.4-5 is to be installed E: Unable to correct problems, you have held broken packages. ashish@ashish-pc:~$ ^C ashish@ashish-pc:~$ </code></pre> <p>I used <code>sudo apt install python3-pip</code> it worked and I got pip. Now when I tried <code>sudo apt install python3-venv</code> it generated an error message. I just noticed that the <code>python -m venv</code> command exists.</p>
1775611
94914
2024-03-17T02:27:43.810
2024-03-17T02:31:02.367
How to install Python 3.12 on Ubuntu 23.10?
[ "apt", "python", "pip" ]
1
8
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T06:15:22.990", "id": "2645249", "postId": "1507661", "score": "0", "text": "Please specify why you need to have the latest Python, exactly what is it in there that you \"must have\". Edit your question and add text there. -> https://docs.python.org/3/whatsnew/3.12.h...
{ "accepted": true, "body": "<p>Ubuntu packages all python3 packages separately. By installing python3-pip it also installed the base python3. If you want venv you also have to install it with</p>\n<pre><code>sudo apt install python3-virtualenv\n</code></pre>\n<p>Python2 and Python3 have major incompatible differences, but the python3 that ships with Ubuntu will be maintained and you'll get the latest patches with an <code>apt upgrade</code> Ubuntu is stable and updates are generally safe.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2024-03-16T15:39:36.460", "id": "2645314", "postId": "1507683", "score": "1", "text": "Thanks! it worked for me.", "userDisplayName": null, "userId": "1775611" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-16T13:47:20.903", "id": "1507683", "lastActivityDate": "2024-03-16T13:47:20.903", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "374062", "parentId": "1507661", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Ubuntu packages all python3 packages separately. By installing python3-pip it also installed the base python3. If you want venv you also have to install it with</p>\n<pre><code>sudo apt install python3-virtualenv\n</code></pre>\n<p>Python2 and Python3 have major incompatible ...
null
null
null
null
null
1507662
1
null
2024-03-16T06:24:51.003
0
16
<pre><code>sudo do-release-upgrade Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife = Welcome to Ubuntu 23.10 'Mantic Minotaur' = The Ubuntu team is proud to announce Ubuntu 23.10 'Mantic Minotaur'. To see what's new in this release, visit: https://wiki.ubuntu.com/ManticMinotaur/ReleaseNotes Ubuntu is a Linux distribution for your desktop or server, with a fast and easy install, regular releases, a tight selection of excellent applications installed by default, and almost any other software you can imagine available through the network. We hope you enjoy Ubuntu. == Feedback and Helping == If you would like to help shape Ubuntu, take a look at the list of ways you can participate at http://www.ubuntu.com/community/participate/ Your comments, bug reports, patches and suggestions will help ensure that our next release is the best release of Ubuntu ever. If you feel that you have found a bug please read: http://help.ubuntu.com/community/ReportingBugs Then report bugs using apport in Ubuntu. For example: ubuntu-bug linux will open a bug report in Launchpad regarding the linux package. If you have a question, or if you think you may have found a bug but aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC channels on Libera.Chat, on the Ubuntu Users mailing list, or on the Ubuntu forums: http://help.ubuntu.com/community/InternetRelayChat http://lists.ubuntu.com/mailman/listinfo/ubuntu-users http://www.ubuntuforums.org/ == More Information == You can find out more about Ubuntu on our website, IRC channel and wiki. If you're new to Ubuntu, please visit: http://www.ubuntu.com/ To sign up for future Ubuntu announcements, please subscribe to Ubuntu's very low volume announcement list at: http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce Continue [yN] y Get:1 Upgrade tool signature [833 B] Get:2 Upgrade tool [1,267 kB] Fetched 1,268 kB in 0s (0 B/s) authenticate 'mantic.tar.gz' against 'mantic.tar.gz.gpg' extracting 'mantic.tar.gz' Reading cache Checking package manager Can not upgrade An upgrade from 'kinetic' to 'mantic' is not supported with this tool. </code></pre>
1647315
1647315
2024-03-16T06:32:26.557
2024-03-16T06:32:26.557
Error when updating ubuntu 23.10 from 22.10
[ "23.10", "22.10" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T07:04:15.547", "id": "2645253", "postId": "1507662", "score": "0", "text": "Ubuntu 22.10 had a single *release-upgrade* path, which was to the next release being Ubuntu 23.04. Once 23.04 was EOL the *release-upgrade* was not supported & a re-install should be perfor...
null
[]
null
null
2024-03-16T15:57:15.293
null
null
1507663
1
null
2024-03-16T06:45:07.697
0
29
<p>I do have dual boot in my laptop(HP core i5 8th gen).Ubuntu goes black screen for inactivity and does not wake up.Even the login screen goes black after loading.I tried to increase the sleep time and its not working.How to fix this issue. TIA.</p>
1247832
null
null
2024-03-16T06:45:07.697
Ubuntu 22.04 black screen
[ "22.04", "suspend", "login-screen" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T09:02:34.003", "id": "2645272", "postId": "1507663", "score": "0", "text": "This sounds like it may be graphics card related. Can you give any details on what graphics hardware you have in the laptop? Also, this may be helpful: https://askubuntu.com/questions/140526...
null
[]
null
null
null
null
null
1507667
1
null
2024-03-16T08:31:39.767
1
52
<p>I bought a book yesterday on OS development however, the book is written for windows systems and this was not mentioned in the description. I need to convert a .BAT file into an equivalent shell script or makefile and don't know how to resolve one error.</p> <p>this is my directory structure:</p> <pre><code>OsDev --src/ ----Boot.asm ----Kernel_Entry.asm ----main.c --bin/ </code></pre> <p>the book's source code can be found here <a href="https://github.com/TINU-2000/OS-DEV/tree/main/Beginning-OS-DEV/Entering%20c" rel="nofollow noreferrer">https://github.com/TINU-2000/OS-DEV/tree/main/Beginning-OS-DEV/Entering%20c</a></p> <p>I rewrote the .bat file to this .sh file:</p> <pre><code>#!/bin/sh nasm src/Boot.asm -f bin -o bin\bootsect.bin nasm src/Kernel_Entry.asm -f elf -o bin\Entry.bin gcc -m32 -ffreestanding -c src/main.c -o bin\kernel.o ld -T NUL -o bin\Kernel.img -Ttext 0x1000 bin\Entry.bin bin\kernel.o objcopy -O binary -j .text bin\kernel.img bin\kernel.bin copy /b /Y bin\bootsect.bin+bin\kernel.bin bin\os-image qemu-system-i386 -drive format=raw,file=bin\os-image </code></pre> <p>but I get an error:</p> <pre><code>ld: cannot open linker script file NUL: No such file or directory objcopy: 'binkernel.img': No such file ./make.sh: 11: copy: not found </code></pre> <p>Can someone tell me what needs to be done to make this work on ubuntu 22.04? Many thanks!!</p>
1775440
1775440
2024-03-16T08:33:15.860
2024-03-16T08:33:15.860
equivalent .sh or make file for a .BAT file
[ "command-line", "windows", "makefile", "batch" ]
0
6
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T08:57:18.627", "id": "2645269", "postId": "1507667", "score": "0", "text": "Are you sure your script is correct; ie. I note `bin\\bootsect.bin` as an output file which will be understood as `binbootsect.bin` but is that you want want? ie. you've used the `\\` or es...
null
[]
null
null
null
null
null
1507670
1
null
2024-03-16T09:55:53.673
1
35
<p>GM everybody. I have a xerox b230 printer. I'm trying to add to ubuntu 23.10. I have the driver from Xerox but is in a zip file. I've extracted the zip and I have the driver in ppd. What next???</p> <p>Thank you.</p>
1775643
null
null
2024-03-16T09:55:53.673
Install a new Xerox printer on Ubuntu 23.10
[ "drivers" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T11:14:31.900", "id": "2645284", "postId": "1507670", "score": "1", "text": "try 'gnome-settings' then settings>printers", "userDisplayName": null, "userId": "1372403" }, { "creationDate": "2024-03-16T17:31:50.590", "id": "2645329", "postId":...
null
[]
null
null
null
null
null
1507675
1
null
2024-03-16T11:55:46.063
0
30
<p>On my &quot;Other locations&quot; section, i used to be able to see my NAS server, however i had trouble with connecting to it. In the middle of poking around settings i must have messed something up and now it doesn't appear in the list anymore. It can still be accessed by directly inserting the address on the bottom, and in the meanwhile i have managed to figure out how to access it correctly, however the problem of it not being visible in the list persists. As a note, it is visible on all other computers in the network (on Linux Mint, ZorinOS and Windows as well). How do i fix this.</p>
1775670
null
null
2024-03-16T11:55:46.063
Ubuntu Nautilus can't see SMB file share
[ "networking", "nautilus", "samba" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T12:29:48.760", "id": "2645295", "postId": "1507675", "score": "0", "text": "Which distro and version of Linux are you using where the problem is?", "userDisplayName": null, "userId": "68186" }, { "creationDate": "2024-03-16T14:32:34.693", "id": "...
null
[]
null
null
null
null
null
1507676
1
null
2024-03-16T12:09:09.310
0
41
<p>I use a certain command quite frequently, but the command prompts a few things so I wanted to auto-fill it with here file, but it seems that for some reason it can't provide last value to the prompt. Do you have any idea why?</p> <p>The command is <code>databricks configure --token</code> from databricks cli package. it first prompts for host's URL and then for a token to be used.</p> <p>My script with here file looks like this:</p> <pre><code>if [ ! -v DATABRICKS_HOST ]; then echo &quot;DATARBICKS_HOST vairiable is not set.&quot; exit 15 elif [ -z &quot;$DATABRICKS_HOST&quot; ]; then echo &quot;DATARBICKS_HOST is set but is empty.&quot; exit 16 fi if [ ! -v DATABRICKS_TOKEN ]; then echo &quot;DATARBICKS_HOST vairiable is not set.&quot; exit 17 elif [ -z &quot;$DATABRICKS_TOKEN&quot; ]; then echo &quot;DATARBICKS_HOST is set but is empty.&quot; exit 18 fi databricks configure --token &lt;&lt; EOF $DATABRICKS_HOST $DATABRICKS_TOKEN EOF </code></pre> <p>This script is called from another file that first sets up some env variables, among them DATABRICKS_HOST and DATABRICKS_TOKEN. I checked and variables are available in ENVironment when I echo them.</p> <p>This is what I get after calling the script.</p> <p><a href="https://i.stack.imgur.com/KTH34.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KTH34.png" alt="This is what I get after calling the script." /></a></p> <p>The token is not provided although here file should do it. I have to open the file and copy the token in, so copying the values to the token prompt is possible.</p>
567870
94914
2024-03-17T03:07:59.697
2024-03-17T03:07:59.697
here file does not fill token
[ "command-line", "bash", "scripts", "automation" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T12:20:07.467", "id": "2645290", "postId": "1507676", "score": "2", "text": "Which distro and version of Linux are you using?", "userDisplayName": null, "userId": "68186" }, { "creationDate": "2024-03-16T16:21:17.190", "id": "2645320", "postId...
null
[]
null
null
null
null
null
1507680
1
null
2024-03-16T12:44:35.690
0
34
<p>It was working the previous days normally, but suddenly I got this error message during the boot somewhere around the end of <code>init-premount</code> or beginning of <code>local-bottom</code> or in-between.</p> <pre><code> Volume group &quot;encrypted&quot; not found Cannot process volume group encrypted Gave up waiting for suspend/resume device </code></pre> <p>After the first two lines, the system waits for a minute or so and then continues after issuing a message &quot;Gave up waiting...&quot;.</p> <p>I have custom scripts that mount my encrypted partitions (<a href="https://github.com/vstoykovbg/initrd-LUKS-keychain" rel="nofollow noreferrer">source here</a>). The scripts were working fine for some days. I haven't made any changes to the LVM settings as I don't use LVM at all.</p> <p>Maybe this bug was introduced after some system package update.</p> <p>My custom scripts are here:</p> <pre><code>/etc/initramfs-tools/scripts/init-premount/lukskeychain /etc/initramfs-tools/scripts/local-bottom/lukskeychainclose </code></pre> <p>And the message appears after the <code>lukskeychain</code> but before <code>lukskeychainclose</code>.</p> <p>Here how it looks (with more context):</p> <pre><code>We've finished here (/scripts/init-premount/lukskeychain). Continuin... Volume group &quot;encrypted&quot; not found Cannot process volume group encrypted cryptsetup: sda6_crypt: set up successfully cryptsetup: sdd3_crypt: set up successfully cryptsetup: nvme0n1p3_crypt: set up successfully cryptsetup: encryptedzfs1: set up successfully cryptsetup: encryptedzfs2: set up successfully cryptsetup: encryptedzfs3: set up successfully Volume group &quot;encrypted&quot; not found Cannot process volume group encrypted </code></pre> <p>So the message appears two times, only the second time delay occurs.</p> <p>Edit: After reboot the message and the delay no longer occur. Maybe some update fixed the issue. Edit (2): Last reboots it appears again.</p>
1021115
1021115
2024-03-26T12:25:41.303
2024-03-26T12:25:41.303
Volume group "encrypted" not found - error message during boot - I did not set up any volume groups
[ "boot", "encryption", "lvm" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507682
1
null
2024-03-16T13:33:07.730
0
18
<p>After enabling vmbox guest additions, my ubuntu became unstable. The terminal cracks that I cannot see anything on the terminal. What do I do to resolve this?</p>
1775688
1661744
2024-03-17T15:54:54.357
2024-03-17T15:54:54.357
ubuntu terminal unstable after vmbox guest addition installed
[ "package-management" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T19:00:13.127", "id": "2645471", "postId": "1507682", "score": "0", "text": "Normally there should be absolutely no relation between the Virtual Box Guest Edition and the appearance of the terminal. However, to verify uninstall the Guest Edition and see if the termin...
null
[]
null
null
null
null
null
1507685
1
null
2024-03-16T14:26:40.610
0
50
<p>On my PC i have Ubuntu 22, WIndows 11 and Kali(installed later) running I also installed Ubuntu 22 onto an external SSD using the same PC, but sice then the grub from my internal computer wont work and only show the console without the external SSD plugged in. It is working though when i plug the external ssd in though. I have also selected in the installation of the Ubuntu on the exteranl drive to create the EFI on the external but i couldnt find a EFI partition on the external drive. On my internal ubuntu i have also tried running <code>sudo update-grub</code> but it didnt fix it.</p> <p>Thank you in advance</p> <p>Edit: <code>sudo grub-install</code> worked</p>
1775696
1775696
2024-03-17T10:55:57.493
2024-03-17T10:55:57.493
SOLVED Ubuntu 22 from external replaced grub from internal ubuntu 22
[ "boot", "dual-boot", "grub2", "uefi", "bios" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T15:05:17.600", "id": "2645308", "postId": "1507685", "score": "0", "text": "https://askubuntu.com/a/946155/1372403", "userDisplayName": null, "userId": "1372403" }, { "creationDate": "2024-03-16T15:09:01.537", "id": "2645309", "postId": "1507...
null
[]
null
null
null
null
null
1507687
1
null
2024-03-16T15:04:20.290
0
41
<h2>TLDR:</h2> <ul> <li>The <strong>primary monitor didn't work</strong> (connected over displayport)</li> <li>I found <strong>I could manually turn it on via <code>nvidia-settings</code></strong></li> <li>It now works, <strong>but doesn't show the desktop environment</strong></li> <li>I can move the mouse and windows over (see image below)</li> </ul> <p><a href="https://i.stack.imgur.com/Cg1gg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cg1gg.jpg" alt="Photo of how the secondary screen glitches out" /></a> <em>The throwback to Windows 95 is real</em> </p> <hr /> <p><em>I've dreamt about migrating my main workstation to Linux for a while. Now that I'm finally doing it, it's not going great... Any help is greatly appreciated!</em></p> <h2>Background</h2> <ol> <li>I bought a new drive for the Linux install (so I still have a working Windows install on the other. It doesn't have any problems with the primary display)</li> <li>Hardware: Nvidia RTX 2070 with two displays: <ul> <li>DP 1.4 (8k cable) -&gt; 4k 120hz primary display</li> <li>HDMI 2.1 (8k cable) -&gt; 1440p 60hz secondary display</li> </ul> </li> <li>The HDMI display works fine <ul> <li>the 4k display also works over HDMI, but it only has HDMI 2.0 input - meaning it's capped at 60hz. Which I can't live with. (And even if I could, the GPU only has one HDMI output, so it's not an alternative).</li> </ul> </li> </ol> <h2>What I did</h2> <ol> <li>Installed the latest version of Ubuntu (23.10) (I tried PopOS first - had the exact same issue) <ul> <li>Only the secondary monitor (1440p) works</li> </ul> </li> <li>Checked display settings <ul> <li>Only the secondary display shows up</li> </ul> </li> <li>Opened nvidia-settings <ul> <li>Both displays are listed</li> <li>The primary display's resolution is set to <code>off</code></li> <li>I set the resolution to 4k</li> <li>The display turns on, but is all black</li> <li>I can move the mouse over</li> <li>I can also move windows over (leaves a trail of flashing after-images that doesn't go away. When I let go after dragging the window over, it jumps back to the main display, and snaps to the side - read: window snapping)</li> </ul> </li> <li>Still nothing more detected in the settings app</li> </ol> <h2>What I've tried</h2> <ol> <li>I've tried all alternative nvidia driver versions available under the <code>Additional drivers</code> tab <ul> <li>No luck</li> <li>nouveau works, but 4k @ 120hz glitches out and only displays the bottom half of the primary display</li> </ul> </li> <li>arandr <ul> <li>Configuring the primary display with arandr gives exactly the same result as nvidia-settings</li> </ul> </li> <li>Secure boot has been disabled the whole time (I've heard it can impact proprietary drivers)</li> </ol> <h2>Debugging information</h2> <p><em>On fresh install - no edits (Ie. forcing screen on with nvidia-settings)</em></p> <pre class="lang-sh prettyprint-override"><code>$ xrandr Screen 0: minimum 8 x 8, current 1440 x 2560, maximum 32767 x 32767 DVI-D-0 disconnected (normal left inverted right x axis y axis) HDMI-0 connected primary 1440x2560+0+0 left (normal left inverted right x axis y axis) 597mm x 336mm 2560x1440 59.95*+ 1920x1080 60.00 59.94 50.00 1680x1050 59.95 1600x900 60.00 1440x900 59.89 1280x1024 75.02 60.02 1280x800 59.81 1280x720 60.00 59.94 50.00 1152x864 75.00 1024x768 75.03 70.07 60.00 800x600 75.00 72.19 60.32 56.25 720x576 50.00 720x480 59.94 640x480 75.00 72.81 59.94 DP-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) DP-2 connected (normal left inverted right x axis y axis) 3840x2160 60.00 + 119.91 59.94 50.00 30.00 29.97 25.00 23.98 2560x1440 120.00 1920x2160 143.84 1920x1080 119.88 60.00 59.94 50.00 1680x1050 59.95 1440x900 59.89 1280x1024 60.02 1280x960 60.00 1280x800 59.81 1280x720 60.00 59.94 50.00 1024x768 60.00 800x600 75.00 60.32 56.25 720x576 50.00 720x480 59.94 640x480 59.94 59.93 DP-3 disconnected (normal left inverted right x axis y axis) USB-C-0 disconnected (normal left inverted right x axis y axis) </code></pre> <pre class="lang-sh prettyprint-override"><code>$ sudo dmesg | grep nvidia [ 6.759834] nvidia-gpu 0000:2b:00.3: enabling device (0000 -&gt; 0002) [ 7.154534] nvidia-nvlink: Nvlink Core is being initialized, major device number 236 [ 7.155955] nvidia 0000:2b:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none [ 7.320920] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 535.113.01 Tue Sep 12 19:45:42 UTC 2023 [ 7.332442] [drm] [nvidia-drm] [GPU ID 0x00002b00] Loading driver [ 8.402918] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:2b:00.0 on minor 0 [ 8.562022] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint. [ 8.586552] nvidia-uvm: Loaded the UVM driver, major device number 511. [ 3464.800039] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.800102] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.800141] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.800173] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.874065] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.874126] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.874159] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.874190] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.950322] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.950383] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.950417] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership [ 3464.950448] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to grab modeset ownership </code></pre> <pre class="lang-sh prettyprint-override"><code>$ nvidia-smi Sat Mar 16 15:41:21 2024 +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 535.113.01 Driver Version: 535.113.01 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 NVIDIA GeForce RTX 2070 Off | 00000000:2B:00.0 On | N/A | | 0% 45C P8 22W / 175W | 418MiB / 8192MiB | 18% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 4391 G /usr/lib/xorg/Xorg 138MiB | | 0 N/A N/A 4632 G /usr/bin/gnome-shell 63MiB | | 0 N/A N/A 5567 G /usr/bin/gnome-control-center 11MiB | | 0 N/A N/A 5713 G ...irefox/3216/usr/lib/firefox/firefox 141MiB | | 0 N/A N/A 7164 G /usr/bin/gnome-text-editor 11MiB | +---------------------------------------------------------------------------------------+ </code></pre> <h2>After forcing the second monitor on with <code>nvidia-settings</code>:</h2> <pre class="lang-sh prettyprint-override"><code>$ cat /etc/X11/xorg.conf # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 510.47.03 Section &quot;ServerLayout&quot; Identifier &quot;Layout0&quot; Screen 0 &quot;Screen0&quot; 0 0 InputDevice &quot;Keyboard0&quot; &quot;CoreKeyboard&quot; InputDevice &quot;Mouse0&quot; &quot;CorePointer&quot; Option &quot;Xinerama&quot; &quot;0&quot; EndSection Section &quot;Files&quot; EndSection Section &quot;Module&quot; Load &quot;dbe&quot; Load &quot;extmod&quot; Load &quot;type1&quot; Load &quot;freetype&quot; Load &quot;glx&quot; EndSection Section &quot;InputDevice&quot; # generated from default Identifier &quot;Mouse0&quot; Driver &quot;mouse&quot; Option &quot;Protocol&quot; &quot;auto&quot; Option &quot;Device&quot; &quot;/dev/psaux&quot; Option &quot;Emulate3Buttons&quot; &quot;no&quot; Option &quot;ZAxisMapping&quot; &quot;4 5&quot; EndSection Section &quot;InputDevice&quot; # generated from default Identifier &quot;Keyboard0&quot; Driver &quot;kbd&quot; EndSection Section &quot;Monitor&quot; # HorizSync source: edid, VertRefresh source: edid Identifier &quot;Monitor0&quot; VendorName &quot;Unknown&quot; ModelName &quot;Samsung S27H85x&quot; HorizSync 27.0 - 89.0 VertRefresh 50.0 - 75.0 Option &quot;DPMS&quot; EndSection Section &quot;Device&quot; Identifier &quot;Device0&quot; Driver &quot;nvidia&quot; VendorName &quot;NVIDIA Corporation&quot; BoardName &quot;NVIDIA GeForce RTX 2070&quot; EndSection Section &quot;Screen&quot; Identifier &quot;Screen0&quot; Device &quot;Device0&quot; Monitor &quot;Monitor0&quot; DefaultDepth 24 Option &quot;Stereo&quot; &quot;0&quot; Option &quot;nvidiaXineramaInfoOrder&quot; &quot;DFP-4&quot; Option &quot;metamodes&quot; &quot;HDMI-0: nvidia-auto-select +0+0 {rotation=left}, DP-2: 3840x2160_120 +1440+0&quot; Option &quot;SLI&quot; &quot;Off&quot; Option &quot;MultiGPU&quot; &quot;Off&quot; Option &quot;BaseMosaic&quot; &quot;off&quot; SubSection &quot;Display&quot; Depth 24 EndSubSection EndSection </code></pre>
1091296
1091296
2024-03-17T19:04:46.083
2024-03-17T19:04:46.083
How do I extend the desktop environment to the secondary display?
[ "drivers", "nvidia", "multiple-monitors", "desktop-environments", "displayport" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507691
1
null
2024-03-16T16:24:03.103
0
15
<p>I recently purchased an MSI Pro MP271AP 27&quot; monitor with a 100Hz refresh rate. While the monitor functions perfectly at 100Hz in Windows, I'm encountering difficulties setting it to the same refresh rate in Ubuntu. Whenever I attempt to change the refresh rate to 100Hz in Ubuntu, the screen briefly goes black before reverting back to 75Hz after a few seconds. I've tried adjusting the settings through the display preferences without success.</p> <p>Could anyone please provide guidance on how to properly set the refresh rate to 100Hz in Ubuntu for this particular monitor model, considering it functions correctly in Windows? Any help or suggestions would be greatly appreciated. Thank you!</p> <pre><code>jorge$ xrandr --verbose Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767 HDMI-1 connected primary 1920x1080+0+0 (0x25) normal (normal left inverted right x axis y axis) 600mm x 330mm Identifier: 0x42f Timestamp: 711092 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 0.0 Clones: CRTC: 0 CRTCs: 0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: RANDR Emulation: 1 non-desktop: 0 supported: 0, 1 1920x1080 (0x25) 220.750MHz -HSync +VSync *current +preferred h: width 1920 start 2064 end 2264 total 2608 skew 0 clock 84.64KHz v: height 1080 start 1083 end 1088 total 1130 clock 74.91Hz </code></pre> <p><a href="https://i.stack.imgur.com/6EXP6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6EXP6.png" alt="hz_screenshot" /></a></p>
1700941
null
null
2024-03-16T16:24:03.103
Need Help Setting MSI Pro MP271AP 27" Monitor to 100Hz in Ubuntu
[ "display", "display-resolution", "msi" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507694
1
null
2024-03-16T16:42:47.277
0
24
<p>I am trying to install driver for RTL8811AU chip on my Rasberry Pi 4 with no success to my wifi dongle.<br /> My kernel version is the following</p> <pre><code>uname -r 5.15.0-1048-raspi </code></pre> <p>My wifi dongle is recognized</p> <pre><code>lsusb Bus 001 Device 005: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC </code></pre> <p>I have tried following drivers with no success<br /> <a href="https://github.com/morrownr/8821au-20210708.git" rel="nofollow noreferrer">https://github.com/morrownr/8821au-20210708.git</a><br /> <a href="https://github.com/aircrack-ng/rtl8812au.git" rel="nofollow noreferrer">https://github.com/aircrack-ng/rtl8812au.git</a></p> <p>The last one was installed from source.</p> <p>My problem is that these two drivers does not work.<br /> Have anyone any suggestion to drivers that works with my kernel?</p>
1774002
null
null
2024-03-16T16:42:47.277
RTL8811AU Driver Installation Raspberry Pi 4
[ "networking", "drivers", "kernel", "raspberrypi" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T22:22:40.017", "id": "2645373", "postId": "1507694", "score": "0", "text": "Providing details as to what OS/release you're using may have been helpful; the 5.15 kernel you mention for example is used by multiple systems but you've not said which you're using.", ...
null
[]
null
null
2024-03-17T15:50:47.133
null
null
1507695
1
null
2024-03-16T16:44:40.437
0
17
<p>I recently acquired a HP ENVY 6430e and set this up with HPLIP-3.21.4 on Xubuntu 16.04 and HPLIP-3.23.12 on Xubuntu 18.04. Printing/photocopying is OK. I then installed hplip-3.21.4-plugin and hplip-3.23.12-plugin to get scanner working. In both cases I'm using Xsane v0.999. This is OK provided the scan area selected in the preview window starts at the top left corner. If the area selected is elsewhere on the platten, the scanner scans the selected size but always starts its scan at the top left hand corner.</p> <p>After digging around a bit I noticed that the .drc (device settings) file contains the parameters for the scan area: tl-x tl-y and br-x br-y. The values for full platten A4 scanning are: tl-x = 0 tl-y = 0 br-x = 13744028 br-y = 19185826 <a href="https://i.stack.imgur.com/gP1i2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gP1i2.jpg" alt="Full platten A4 scan" /></a> The values for a scan of the centre area of the HPLIP test page x: 4cm -&gt; 16cm y: 5cm -&gt; 25cm are: tl-x = 2627876 tl-y = 3744143 br-x = 10534763 br-y = 16232371 <a href="https://i.stack.imgur.com/nJ7tn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nJ7tn.jpg" alt="Scan of centre area" /></a> This suggests to me that Xsane/sane is receiving the correct scan area data from the preview window but the scanner is not receiving the instructions to act on it.</p> <p>I have determined that this is not a hardware limitation or malfunction as the scanner works as expected from HP_Smart app on MacBook-Pro. So the issue lies with either HPLIP or Xsane.</p> <p><a href="https://i.stack.imgur.com/FXuZx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FXuZx.png" alt="Scan of centre area of platten using MacBook-Pro and HP_Smart" /></a></p> <p>I should add that I have an old OfficeJet 6950 and a Canon LiDE 400 both of which work fine on the same set-up, straight &quot;out-of-the-box&quot;.</p> <p>Any guidance you can offer on this problem would be much appreciated. jg</p>
94924
94924
2024-03-16T17:47:41.547
2024-03-16T17:47:41.547
HP Envy 6430e doesn't scan area selected in preview window
[ "drivers", "hp", "scanner", "hplip", "sane" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T22:18:47.340", "id": "2645371", "postId": "1507695", "score": "0", "text": "You haven't mention any on-topic OS, both 16.04 & 18.04 reached EOSS/EOL (*depending on architecture*) long ago.", "userDisplayName": null, "userId": "469152" }, { "creationD...
null
[]
null
null
null
null
null
1507698
1
null
2024-03-16T17:03:57.483
0
89
<p>I'm trying to connect a Lenovo Legion 5i Gen 7 laptop with Ubuntu 22.04 (kernel <code>6.5.0-21-generic</code>) to an external monitor LG 27gp850p-b. The <code>Displays</code> shows only my primary display and <code>xrandr --auto</code> shows nothing. <code>xrandr --query</code> shows the following:</p> <pre><code>Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm ... DP-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) </code></pre> <p>and <code>xrandr --verbose</code> shows the following:</p> <pre><code>Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 eDP-1 connected primary 1920x1080+0+0 (0x46) normal (normal left inverted right x axis y axis) 344mm x 194mm Identifier: 0x42 Timestamp: 13938 Subpixel: unknown Gamma: 0.54:1.0:1.7 Brightness: 0.73 Clones: CRTC: 0 CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID: 00ffffffffffff0009e51c0a00000000 0d1f0104b52213780754a5a7544c9b26 0f505400000001010101010101010101 010101010101b99c80a0703859403020 360058c21000001a000000fd003ca5c1 c128010a202020202020000000fe0042 4f452043510a202020202020000000fe 004e5631353646484d2d4e59380a0040 vrr_capable: 1 range: (0, 1) Colorspace: Default supported: Default, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, RGB_WIDE_FIXED, RGB_WIDE_FLOAT, BT601_YCC max bpc: 12 range: (6, 12) Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 panel orientation: Normal supported: Normal, Upside Down, Left Side Up, Right Side Up scaling mode: Full aspect supported: Full, Center, Full aspect link-status: Good supported: Good, Bad CTM: -97228368 0 67911409 0 4555994 -2147483648 40159710 0 -28429073 0 3193240 -2147483648 32617329 0 24203080 0 -44098461 0 CONNECTOR_ID: 236 supported: 236 non-desktop: 0 range: (0, 1) 1920x1080 (0x46) 401.210MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz v: height 1080 start 1083 end 1089 total 1169 clock 165.00Hz 1920x1080 (0x47) 381.303MHz +HSync -VSync h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 183.32KHz v: height 1080 start 1083 end 1088 total 1111 clock 165.00Hz 1680x1050 (0x48) 327.895MHz +HSync -VSync h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 178.20KHz v: height 1050 start 1053 end 1059 total 1080 clock 165.00Hz 1400x1050 (0x49) 335.644MHz +HSync +VSync h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 178.53KHz v: height 1050 start 1052 end 1064 total 1082 clock 165.00Hz 1600x900 (0x4a) 268.916MHz +HSync -VSync h: width 1600 start 1648 end 1680 total 1760 skew 0 clock 152.79KHz v: height 900 start 903 end 908 total 926 clock 165.00Hz 1280x1024 (0x4b) 296.909MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 175.89KHz v: height 1024 start 1025 end 1028 total 1066 clock 165.00Hz 1400x900 (0x4c) 238.357MHz +HSync -VSync h: width 1400 start 1448 end 1480 total 1560 skew 0 clock 152.79KHz v: height 900 start 903 end 913 total 926 clock 165.00Hz 1280x960 (0x4d) 297.006MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 165.00KHz v: height 960 start 961 end 964 total 1000 clock 165.00Hz 1368x768 (0x4e) 199.179MHz +HSync -VSync h: width 1368 start 1416 end 1448 total 1528 skew 0 clock 130.35KHz v: height 768 start 771 end 781 total 790 clock 165.00Hz 1280x800 (0x4f) 195.549MHz +HSync -VSync h: width 1280 start 1328 end 1360 total 1440 skew 0 clock 135.80KHz v: height 800 start 803 end 809 total 823 clock 165.00Hz 1152x864 (0x50) 237.605MHz +HSync +VSync h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 148.50KHz v: height 864 start 865 end 868 total 900 clock 165.00Hz 1280x720 (0x51) 176.065MHz +HSync -VSync h: width 1280 start 1328 end 1360 total 1440 skew 0 clock 122.27KHz v: height 720 start 723 end 728 total 741 clock 165.00Hz 1024x768 (0x52) 178.742MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 132.99KHz v: height 768 start 771 end 777 total 806 clock 165.00Hz 1024x768i (0x53) 85.198MHz +HSync +VSync Interlace h: width 1024 start 1032 end 1208 total 1264 skew 0 clock 67.40KHz v: height 768 start 768 end 776 total 817 clock 165.00Hz 960x720 (0x54) 321.757MHz -HSync +VSync DoubleScan h: width 960 start 1024 end 1128 total 1300 skew 0 clock 247.51KHz v: height 720 start 720 end 722 total 750 clock 165.00Hz 928x696 (0x55) 299.916MHz -HSync +VSync DoubleScan h: width 928 start 976 end 1088 total 1264 skew 0 clock 237.28KHz v: height 696 start 696 end 698 total 719 clock 165.00Hz 896x672 (0x56) 281.538MHz -HSync +VSync DoubleScan h: width 896 start 960 end 1060 total 1224 skew 0 clock 230.01KHz v: height 672 start 672 end 674 total 697 clock 165.00Hz 1024x576 (0x57) 115.851MHz +HSync -VSync h: width 1024 start 1072 end 1104 total 1184 skew 0 clock 97.85KHz v: height 576 start 579 end 584 total 593 clock 165.00Hz 960x600 (0x58) 211.759MHz +HSync -VSync DoubleScan h: width 960 start 984 end 1000 total 1040 skew 0 clock 203.61KHz v: height 600 start 601 end 604 total 617 clock 165.00Hz 832x624 (0x59) 126.786MHz -HSync -VSync h: width 832 start 864 end 928 total 1152 skew 0 clock 110.06KHz v: height 624 start 625 end 628 total 667 clock 165.00Hz 960x540 (0x5a) 102.751MHz +HSync -VSync h: width 960 start 1008 end 1040 total 1120 skew 0 clock 91.74KHz v: height 540 start 543 end 548 total 556 clock 165.00Hz 800x600 (0x5b) 105.602MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 103.13KHz v: height 600 start 601 end 603 total 625 clock 165.00Hz 840x525 (0x5c) 163.947MHz +HSync -VSync DoubleScan h: width 840 start 864 end 880 total 920 skew 0 clock 178.20KHz v: height 525 start 526 end 529 total 540 clock 165.00Hz 864x486 (0x5d) 84.481MHz +HSync -VSync h: width 864 start 912 end 944 total 1024 skew 0 clock 82.50KHz v: height 486 start 489 end 494 total 500 clock 165.00Hz 700x525 (0x5e) 167.822MHz +HSync +VSync DoubleScan h: width 700 start 744 end 820 total 940 skew 0 clock 178.53KHz v: height 525 start 526 end 532 total 541 clock 165.00Hz 800x450 (0x5f) 134.458MHz +HSync -VSync DoubleScan h: width 800 start 824 end 840 total 880 skew 0 clock 152.79KHz v: height 450 start 451 end 454 total 463 clock 165.00Hz 640x512 (0x60) 148.454MHz +HSync +VSync DoubleScan h: width 640 start 664 end 720 total 844 skew 0 clock 175.89KHz v: height 512 start 512 end 514 total 533 clock 165.00Hz 700x450 (0x61) 119.178MHz +HSync -VSync DoubleScan h: width 700 start 724 end 740 total 780 skew 0 clock 152.79KHz v: height 450 start 451 end 456 total 463 clock 165.00Hz 640x480 (0x62) 69.301MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 86.63KHz v: height 480 start 490 end 492 total 525 clock 165.00Hz 720x405 (0x63) 60.840MHz +HSync -VSync h: width 720 start 768 end 800 total 880 skew 0 clock 69.14KHz v: height 405 start 408 end 413 total 419 clock 165.00Hz 720x400 (0x64) 68.881MHz -HSync +VSync h: width 720 start 756 end 828 total 936 skew 0 clock 73.59KHz v: height 400 start 401 end 404 total 446 clock 165.00Hz 684x384 (0x65) 99.589MHz +HSync -VSync DoubleScan h: width 684 start 708 end 724 total 764 skew 0 clock 130.35KHz v: height 384 start 385 end 390 total 395 clock 165.00Hz 640x400 (0x66) 61.091MHz -HSync +VSync h: width 640 start 672 end 736 total 832 skew 0 clock 73.43KHz v: height 400 start 401 end 404 total 445 clock 165.00Hz 576x432 (0x67) 118.802MHz +HSync +VSync DoubleScan h: width 576 start 608 end 672 total 800 skew 0 clock 148.50KHz v: height 432 start 432 end 434 total 450 clock 165.00Hz 640x360 (0x68) 49.369MHz +HSync -VSync h: width 640 start 688 end 720 total 800 skew 0 clock 61.71KHz v: height 360 start 363 end 368 total 374 clock 165.00Hz 640x350 (0x69) 61.091MHz +HSync -VSync h: width 640 start 672 end 736 total 832 skew 0 clock 73.43KHz v: height 350 start 382 end 385 total 445 clock 165.00Hz 512x384 (0x6a) 89.371MHz -HSync -VSync DoubleScan h: width 512 start 524 end 592 total 672 skew 0 clock 132.99KHz v: height 384 start 385 end 388 total 403 clock 165.00Hz 512x384i (0x6b) 42.547MHz +HSync +VSync Interlace DoubleScan h: width 512 start 516 end 604 total 632 skew 0 clock 67.32KHz v: height 384 start 384 end 388 total 408 clock 165.00Hz 512x288 (0x6c) 57.827MHz +HSync -VSync DoubleScan h: width 512 start 536 end 552 total 592 skew 0 clock 97.68KHz v: height 288 start 289 end 292 total 296 clock 165.00Hz 416x312 (0x6d) 63.298MHz -HSync -VSync DoubleScan h: width 416 start 432 end 464 total 576 skew 0 clock 109.89KHz v: height 312 start 312 end 314 total 333 clock 165.00Hz 480x270 (0x6e) 51.375MHz +HSync -VSync DoubleScan h: width 480 start 504 end 520 total 560 skew 0 clock 91.74KHz v: height 270 start 271 end 274 total 278 clock 165.00Hz 400x300 (0x6f) 52.716MHz +HSync +VSync DoubleScan h: width 400 start 412 end 448 total 512 skew 0 clock 102.96KHz v: height 300 start 300 end 301 total 312 clock 165.00Hz 432x243 (0x70) 42.240MHz +HSync -VSync DoubleScan h: width 432 start 456 end 472 total 512 skew 0 clock 82.50KHz v: height 243 start 244 end 247 total 250 clock 165.00Hz 320x240 (0x71) 34.584MHz -HSync -VSync DoubleScan h: width 320 start 328 end 376 total 400 skew 0 clock 86.46KHz v: height 240 start 245 end 246 total 262 clock 165.00Hz 360x202 (0x72) 30.347MHz +HSync -VSync DoubleScan h: width 360 start 384 end 400 total 440 skew 0 clock 68.97KHz v: height 202 start 204 end 206 total 209 clock 165.00Hz 360x200 (0x73) 34.440MHz -HSync +VSync DoubleScan h: width 360 start 378 end 414 total 468 skew 0 clock 73.59KHz v: height 200 start 200 end 202 total 223 clock 165.00Hz 320x200 (0x74) 30.476MHz -HSync +VSync DoubleScan h: width 320 start 336 end 368 total 416 skew 0 clock 73.26KHz v: height 200 start 200 end 202 total 222 clock 165.00Hz 320x180 (0x75) 24.684MHz +HSync -VSync DoubleScan h: width 320 start 344 end 360 total 400 skew 0 clock 61.71KHz v: height 180 start 181 end 184 total 187 clock 165.00Hz 320x175 (0x76) 30.476MHz +HSync -VSync DoubleScan h: width 320 start 336 end 368 total 416 skew 0 clock 73.26KHz v: height 175 start 191 end 192 total 222 clock 165.00Hz DP-1 disconnected (normal left inverted right x axis y axis) Identifier: 0x43 Timestamp: 13938 Subpixel: unknown Clones: CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: HDCP Content Type: HDCP Type0 supported: HDCP Type0, HDCP Type1 Content Protection: Undesired supported: Undesired, Desired, Enabled vrr_capable: 0 range: (0, 1) Colorspace: Default supported: Default, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, RGB_WIDE_FIXED, RGB_WIDE_FLOAT, BT601_YCC max bpc: 12 range: (6, 12) Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on subconnector: Unknown supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 245 supported: 245 non-desktop: 0 range: (0, 1) DP-2 disconnected (normal left inverted right x axis y axis) Identifier: 0x44 Timestamp: 13938 Subpixel: unknown Clones: CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: HDCP Content Type: HDCP Type0 supported: HDCP Type0, HDCP Type1 Content Protection: Undesired supported: Undesired, Desired, Enabled vrr_capable: 0 range: (0, 1) Colorspace: Default supported: Default, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, RGB_WIDE_FIXED, RGB_WIDE_FLOAT, BT601_YCC max bpc: 12 range: (6, 12) Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on subconnector: Unknown supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 258 supported: 258 non-desktop: 0 range: (0, 1) </code></pre> <p>The HDMI port is not listed. Having googled that HDMI might be related to GPU which is Nvidia in my case, I tried upgrading drivers, <code>sudo update-drivers autoinstall</code>, which resulted in the following nvidia-smi.</p> <p><a href="https://i.stack.imgur.com/JULr5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JULr5.png" alt="nvidia-smi" /></a></p> <p>Downgrading the drivers to &lt;=515 is not possible due to some incompatibility errors (cannot reinstall the whole CUDA support due to other software that relies on the current setup). Secure boot is disabled.</p> <p>Also adding <code>inxi -Gxx</code> results:</p> <pre class="lang-none prettyprint-override"><code>Graphics: Device-1: Intel Alder Lake-P Integrated Graphics vendor: Lenovo driver: i915 v: kernel ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:46a6 Device-2: NVIDIA vendor: Lenovo driver: nvidia v: 535.161.07 pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 10de:24e0 Display: x11 server: X.Org v: 1.21.1.4 compositor: gnome-shell v: 42.9 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 98 Monitor-1: eDP-1 model: BOE Display res: 1920x1080 dpi: 142 diag: 395mm (15.5&quot;) OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes </code></pre> <p>Could you suggest next troubleshooting steps?</p> <p>I verified that the hardware works fine by switching to Windows and seamlessly connecting to the monitor there.</p>
1600830
94914
2024-03-17T08:58:49.573
2024-03-17T08:58:49.573
HDMI display port not detected on Ubuntu 22.04
[ "nvidia", "22.04", "multiple-monitors", "display", "hdmi" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>The following helped to resolve the problem in my case:</p>\n<ol>\n<li><code>grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*</code></li>\n<li>in the output, find a file that contains <code>options nvidia-drm modeset=1</code></li>\n<li>open this file and replace <code>options ...
null
null
null
null
null
1507699
1
null
2024-03-16T17:05:18.837
-1
55
<p>The Ubuntu Pro Dashboard tells me how many machines are using my token, but not which machines. How can I found out?</p>
401306
null
null
2024-03-16T17:05:18.837
How to list which machines are using my Ubuntu Pro token?
[ "ubuntu-pro" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507700
1
null
2024-03-16T17:13:06.120
0
66
<p>Yesterday I was locked out of a server with the error &quot;<code>kex_exchange_identification: read: Connection reset by peer</code>&quot; and I immediately found the cause after having connected over KVM that the hostname failed to match <code>hosts.allow</code> even though it does match.</p> <pre><code>sshd[717775]: warning: /etc/hosts.allow, line 10: can't verify hostname: getaddrinfo (&lt;correct-host.com&gt;, AF_INET) failed sshd[717775]: refused connect from &lt;x.x.x.x&gt; (x.x.x.x) </code></pre> <p>The same happens over a different ISP from a different location that is also allowed but denied for the same reason.</p> <p>However, the odd thing about it is, that both lines 10 and 11 for each ISP's entry are reported as <code>&quot;line 10&quot; in /var/log/auth.log</code> where it fails to connect -- note that there are no characters, including spaces, preceding or succeeding line 10 that may render it &quot;unreadable&quot; and cause line 11 to not be read.</p> <p>Note that hosts still fail with the traditional format &quot;<code>sshd: .isp1.com .isp2.com</code>&quot; (the only reason I've configured this way is to change service access per host on a per-line basis should I want to).</p> <p>As mentioned, it fails to read the first uncommented line (10), regardless of the order of hosts listed or which domain I'm connecting from:</p> <pre><code>sshd[3626087]: warning: /etc/hosts.allow, line 10: can't verify hostname: getaddrinfo(different-but-correct-host.com), AF_INET) failed sshd[717775]: refused connect from &lt;x.x.x.x&gt; (&lt;x.x.x.x&gt;) </code></pre> <p>Note that the IPs x.x.x.x are correct as well and reverse DNS resolves the hostnames in full, including the &quot;.isp1.com&quot; and &quot;.isp2.com&quot; domains necessary to resolve and allow the connections. If I change the order of the hosts, it makes no difference - line 10 fails first and neither connection is allowed. It <strong>will allow</strong> IP entries.</p> <p>I can connect with <code>hosts.allow</code> list just the IP address of the inbound connection - this is specifically DNS-related, but no known DNS faults exist with the provider at this time; a different DNS provider was tested and works fine as best I can tell as well.</p> <p>This configuration has been operational as configured for many months and the only changes were updates from their main and ESM resources. That is where I believe the problem lies as DNS appears to be operational.</p> <p>The last successful login I recall before the issue, updates were applied:</p> <pre><code>Log started: 2024-03-15 06:50:32 (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 5&gt; Preparing to unpack .../libexpat1-dev_2.4.7-1ubuntu0.3_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.3) over (2.4.7-1ubuntu0.2) ... Preparing to unpack .../libexpat1_2.4.7-1ubuntu0.3_amd64.deb ... Unpacking libexpat1:amd64 (2.4.7-1ubuntu0.3) over (2.4.7-1ubuntu0.2) ... Setting up libexpat1:amd64 (2.4.7-1ubuntu0.3) ... Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.3) ... Processing triggers for libc-bin (2.35-0ubuntu3.6) ... Log ended: 2024-03-15 06:50:52 </code></pre> <p>It's possible it was updated beforehand:</p> <pre><code>Log started: 2024-03-13 18:34:36 (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 5&gt; Preparing to unpack .../ubuntu-advantage-tools_31.2~22.04_all.deb ... Unpacking ubuntu-advantage-tools (31.2~22.04) over (30~22.04) ... ^[[1mdpkg:^[[0m ^[[1;33mwarning:^[[0m unable to delete old directory '/var/lib/ubuntu-advantage': Directory not empty ^[[1mdpkg:^[[0m ^[[1;33mwarning:^[[0m unable to delete old directory '/etc/ubuntu-advantage': Directory not empty Selecting previously unselected package ubuntu-pro-client. Preparing to unpack .../ubuntu-pro-client_31.2~22.04_amd64.deb ... Unpacking ubuntu-pro-client (31.2~22.04) ... Setting up ubuntu-pro-client (31.2~22.04) ... Setting up ubuntu-advantage-tools (31.2~22.04) ... Processing triggers for man-db (2.10.2-1) ... Log ended: 2024-03-13 18:35:09 Log started: 2024-03-13 18:42:57 (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 5&gt; Preparing to unpack .../ubuntu-pro-client-l10n_31.2~22.04_amd64.deb ... Unpacking ubuntu-pro-client-l10n (31.2~22.04) over (30~22.04) ... Setting up ubuntu-pro-client-l10n (31.2~22.04) ... Log ended: 2024-03-13 18:43:12 Log started: 2024-03-13 18:43:35 (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 5&gt; Preparing to unpack .../apache2-utils_2.4.52-1ubuntu4.8_amd64.deb ... Unpacking apache2-utils (2.4.52-1ubuntu4.8) over (2.4.52-1ubuntu4.7) ... Setting up apache2-utils (2.4.52-1ubuntu4.8) ... Processing triggers for man-db (2.10.2-1) ... Log ended: 2024-03-13 18:43:41 </code></pre> <p>If anyone has any idea why this has occurred, I'd like to fix it as there are only two connections from two ISPs that ever need to connect over ssh, and the rest are expressly denied via <code>hosts.deny</code>. Since no matter, the format, and it's only DNS-related entries that aren't being parsed correctly (it appears), I'm left with few leads.</p> <p>Bare IP works, but the connecting hosts don't have static IPs, so, unfortunately, it cannot be used in that preferred manner.</p>
1485276
1450948
2024-03-18T08:02:49.970
2024-03-18T08:02:49.970
Unexplained read error w/hosts.allow hostname lookup only
[ "ssh", "hosts" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507702
1
null
2024-03-16T17:40:56.110
3
151
<p>I get the following errors when running the <code>apt-get upgrade</code>:</p> <p><img src="https://i.stack.imgur.com/C6Qai.png" alt="apt-get upgrade error" /></p> <ul> <li><code>dpkg: error processing package nfs-common (--remove)</code></li> <li><code>cannot remove /sbin/umount.nfs4: Bad message</code></li> <li><code>E: Sub-process /usr/bin/dpkg returned an error code (1)</code></li> </ul> <p>When I run <code>ls</code> command in <code>/sbin</code>, I get the following errors:</p> <p><img src="https://i.stack.imgur.com/cZYBi.png" alt="ls in /sbin" /></p> <ul> <li><code>ls: cannot access 'umount.nfs': Bad message</code></li> <li><code>ls: cannot access 'mount.nfs4': Bad message</code></li> <li><code>ls: cannot access 'umount.nfs4': Bad message</code></li> <li><code>ls: cannot access 'start-statd': Bad message</code></li> </ul> <p>When I run <code>ls -l</code> command in <code>/sbin</code>, it returns output like this:</p> <pre><code>l????????? ? ? ? ? ? mount.nfs4 </code></pre> <p>which is the same for the other mentioned files (<code>umount.nfs</code>, <code>umount.nfs4</code> and <code>start-statd</code>).</p> <p>What can I do to repair this? Ubuntu version: <code>20.04</code></p>
1775714
968501
2024-03-18T18:57:24.017
2024-03-18T19:29:05.940
sudo apt-get upgrade errors
[ "apt", "upgrade", "mount", "nfs", "umount" ]
1
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T18:14:03.660", "id": "2645468", "postId": "1507702", "score": "0", "text": "Run `ls -l` inside `/sbin` and add the lines specific to those files (chances you'll see some `????`) and a few other files from the output ... There is a chance that (most probable cause fi...
null
[ { "accepted": null, "body": "<p>That might mean (most probable cause first):</p>\n<ul>\n<li>Your filesystem is corrupt and needs checking and fixing.</li>\n<li>Your disk is dying with too many bad blocks and needs urgent assessment that might call for immediate data backup and total disk replacement.</li>\n...
null
null
null
null
null
1507703
1
null
2024-03-16T18:26:29.527
0
47
<p>I am using 22 version of Ubuntu and when I turn off my wifi the system froze. My laptop is Dell latitude 7480. After that it takes time to work normal but after that the wifi no longer exists so I have to reboot and then the same thing happens.</p>
1775732
767056
2024-03-16T19:27:38.073
2024-03-16T19:27:38.073
System freezes after turning off WIFI
[ "wireless", "updates", "22.04" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T04:02:30.127", "id": "2645402", "postId": "1507703", "score": "0", "text": "Turn WiFi on again and use a variant of `sudo journalctl --since=\"-5 minutes\"`.", "userDisplayName": null, "userId": "25618" } ]
null
[]
null
null
null
null
null
1507704
1
null
2024-03-16T18:26:45.537
0
59
<p>I used everything to change my display color settings. I didn't tried any software like vibrant-cli and vibrantLinux because I am new to Linux. Can someone help me?</p>
1775733
null
null
2024-03-16T18:26:45.537
how can i make my linux vibrant?
[ "screen", "colors" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T18:35:27.113", "id": "2645336", "postId": "1507704", "score": "3", "text": "Welcome to AskUbuntu. Please see https://askubuntu.com/help/how-to-ask, and then edit your question to try to ask a clear, answerable question.", "userDisplayName": null, "userId": "...
null
[]
null
null
null
null
null
1507705
1
null
2024-03-16T18:30:11.803
0
33
<p>I tried to install the newest version of Python in my Ubuntu laptop. When I finished installing it, I realized that my Terminal and some other apps were gone. They were not among my favorites where I had them and I searched for them and they were gone.</p> <p>I restarted my laptop to see if that fixed the problem. When it turned on, it automatically went to tty terminal.</p> <p>I searched online and I found <a href="https://ubuntuforums.org/showthread.php?t=818443" rel="nofollow noreferrer">this forum</a> so I run:</p> <pre><code>sudo apt-get remove --purge gnome-terminal </code></pre> <p>and:</p> <pre><code>sudo apt-get install gnome-terminal </code></pre> <p>However, I got:</p> <pre><code>Errors were encountered while processing: update-notifier-common Sub-process /usr/bin/dpkg returned an error code (1) </code></pre> <p>I searched online and I tried running all solutions in <a href="https://www.tecmint.com/sub-process-usr-bin-dpkg-returned-an-error-in-ubuntu/" rel="nofollow noreferrer">this article</a> one by one:</p> <pre><code>sudo apt remove --purge update-notifier-common </code></pre> <p>Once I did this, the Sub-process error disappeared and I (apparently) was able to install the Terminal again, but now it does not open.</p> <p>Again, in the tty terminal I run:</p> <pre><code>gnome-terminal --version </code></pre> <p>And it says:</p> <pre><code>Traceback (most recent call last): File &quot;/usr/bin/gnome-terminal&quot;, line 9, in &lt;module&gt; from gi.repository import GLib, Gio ModuleNotFoundError: No module named 'gi' </code></pre> <p>For this issue I found <a href="https://askubuntu.com/questions/880188/gnome-terminal-will-not-start">this thread</a> from 7 years ago. Some of the solutions given there are not recommended by other users, so I avoided them. From this thread, I tried the following:</p> <pre><code>sudo update-alternatives --config python3 </code></pre> <p>and it said:</p> <pre><code>update-alternatives: error: no alternatives for python 3 </code></pre> <p>At this point, I don't know what else to do. The last thread seems a bit outdated. Can anyone help me with some updated solutions? I'd appreciate it.</p>
1775722
null
null
2024-03-16T18:55:40.807
gnome-terminal installed but not opening
[ "gnome-terminal" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T20:42:04.997", "id": "2645479", "postId": "1507705", "score": "0", "text": "Hi, thanks for the answer. Unfortunately, it did not help. I even removed and reinstalled python3, which made my desktop GUI disappear, and I had to reinstall it. Once I reinstalled it, I go...
null
[ { "accepted": null, "body": "<p>Seems like your system missing the <code>gi.repository</code> python module. You need to install it.</p>\n<pre><code>sudo apt install python3-gi\n</code></pre>\n", "commentCount": "1", "comments": [ { "creationDate": "2024-03-17T20:13:34.363", "i...
null
null
null
null
null
1507710
1
null
2024-03-16T19:22:27.870
-1
44
<p>I need to run together two windows programs inside Ubuntu/wine:</p> <ol> <li>Omnisphere (GUI works with default wine rendering <strong>but not with DXVK</strong> (a Vulkan-based translation layer for Direct3D 9/10/11)-GUI renders only partly, mainly black window, in terminal it gives error <code>0af0:err:combase:RoGetActivationFactory Failed to find library for L&quot;Windows.UI.ViewManagement.UIViewSettings&quot;</code>)</li> <li>and Spitfire Audio Abbey Road One (<strong>doesn't work with default wine rendering</strong> (need to resize window to get GUI updated), but perfectly works after <a href="https://github.com/doitsujin/dxvk" rel="nofollow noreferrer">DXVK installation</a>).</li> </ol> <p>I know that I could configure a separate wine prefix for each of these programs, but the problem is, that I need to use them simultaneously inside FL Studio. How could I use them both? I don't care about speed, just the stability: the GUI to actually render stuff and to update when I click buttons and menus. Currently I can only run these programs separately by manually running <code>winecfg</code> and switching override for libraries (d3d10core.dll, d3d11.dll, d3d9.dll, dxgi.dll) between [native] and [builtin] (recommendations, how can I do this faster with a script are also appreciated).</p> <p>It there any stable (mayble not so fast) alternative to default wine rendering and DXVK?</p> <p>Or maybe there is a more stable alternative to wine as a whole? (but, if possible, I would prefer to utilize wine folder, because it is huge and contains many programs).</p> <p>I use wine-9.0, ubuntu 23.10, DXVK 2.3.</p> <p>The output of <code>inxi -G</code> is:</p> <p>''' Graphics: Device-1: Intel UHD Graphics 620 driver: i915 v: kernel Device-2: NVIDIA GP108M [GeForce MX150] driver: nvidia v: 535.161.07 Device-3: IMC Networks EasyCamera driver: uvcvideo type: USB Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 23.2.0 driver: X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915 resolution: 1: 2560x1440~60Hz 2: N/A API: OpenGL v: 4.6 Mesa 23.2.1-1ubuntu3.1 renderer: Mesa Intel UHD Graphics 620 (KBL GT2) '''</p> <p>(and the problem is the same on the second computer with a different video card).</p>
809568
null
null
2024-03-16T19:22:27.870
GUI rendering problem in WINE with and without DXVK
[ "graphics", "windows", "wine", "gui", "23.10" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507711
1
null
2024-03-16T19:25:50.890
-2
37
<pre><code>Gtk-Message: 20:18:24.938: Failed to load module &quot;xapp-gtk3-module&quot; Checking for update Update for version 1.3.2 is not available (latest version: 1.3.2, downgrade is disallowed). checkForUpdatesAndNotify called, downloadPromise is null [13388:0316/201829.257648:ERROR:interface_endpoint_client.cc(693)] Message 0 rejected by interface blink.mojom.WidgetHost [13388:0316/201829.257692:ERROR:interface_endpoint_client.cc(693)] Message 3 rejected by interface blink.mojom.Widget </code></pre>
1773684
1066942
2024-03-16T19:29:00.107
2024-03-16T19:29:00.107
dezor cant watch stream
[ "package-management" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T19:29:31.997", "id": "2645343", "postId": "1507711", "score": "0", "text": "Please elaborate on what you're trying to do. Just posting an error message will not give anyone a clue to help you.", "userDisplayName": null, "userId": "1066942" }, { "crea...
null
[]
null
null
null
null
null
1507713
1
null
2024-03-16T19:59:18.223
-1
41
<p>Does anyone know why it takes a while for an iso image of Ubuntu 22.04.3 LTS burned to disc to load to the installer/live session? I did a screen record below with timestamp sped up where when booting from disc (DVD-R DL), it will fail similar to this <a href="https://askubuntu.com/q/1405697/1151435">post</a>, and eventually load. IS this common now with burned physical media? Is it not optimized for DVD? Is it because I used ImgBurn to burn iso to disc? I only ask since the system I was booting on did not have available USB ports and I tried my luck with the disc drive.</p> <p><a href="https://i.stack.imgur.com/i7Upd.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i7Upd.gif" alt="enter image description here" /></a></p>
1151435
null
null
2024-03-16T19:59:18.223
Why Does a burned iso of Ubuntu 22.04.3 LTS take about 10 Minutes to load and start Ubuntu Live CD Installer?
[ "system-installation", "22.04" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T22:10:06.343", "id": "2645368", "postId": "1507713", "score": "0", "text": "The boot media is intended for be *flash* media for releases beyond 20.04, as the media validation (*reading every sector of optical media*) is very slow). Only releases up to 20.04 were *op...
null
[]
null
null
null
null
null
1507715
1
1507806
2024-03-16T20:07:47.843
0
70
<p>i was running grep commands from &quot;William Shotts&quot; regular expressions example.It seems,the caret character is not doing what it is supposed to do. I have four test files with all the bin entries in text form.My intention is to find the keywords starting with &quot;zip&quot; from my 4 files(all file names starting with &quot;dirlist&quot;),So ran the command like below:</p> <pre><code>grep '^zip' dirlist*.txt </code></pre> <p>It should return keywords like zip,zipgrep etc but it is not functioning at all.Please help! What i am doing wrong?</p>
1768094
null
null
2024-03-17T20:40:54.917
caret character unexpected behaviour in regular expressions with grep
[ "command-line", "grep" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T04:52:43.590", "id": "2645407", "postId": "1507715", "score": "0", "text": "You should verify the content of the dirlist files first, and provide a minimal example content for the dirlist file if you still have the said problem.", "userDisplayName": null, "u...
{ "accepted": true, "body": "<blockquote>\n<p>My intention is to find the keywords starting with &quot;zip&quot;</p>\n</blockquote>\n<p>The caret <code>^</code> matches the beginning of a line and <strong>not</strong> the beginning of a word ... Therefore, <code>grep '^zip' dirlist*.txt</code> will <strong>only</strong> match <code>zip</code> if it's in the beginning of a line.</p>\n<p>To match whole words beginning with <code>zip</code> anywhere in the line instead, you can use the <code>-w</code> option ... from <a href=\"https://manpages.ubuntu.com/manpages/jammy/en/man1/grep.1.html\" rel=\"nofollow noreferrer\"><code>man grep</code></a>:</p>\n<blockquote>\n<pre><code> -w, --word-regexp\n Select only those lines containing matches that form whole words. The test is that\n the matching substring must either be at the beginning of the line, or preceded by\n a non-word constituent character. Similarly, it must be either at the end of the\n line or followed by a non-word constituent character. Word-constituent characters\n are letters, digits, and the underscore.\n</code></pre>\n</blockquote>\n<p>... and form your RegEx with <code>zip</code> followed by zero or more word characters <code>\\w*</code> like so:</p>\n<pre><code>grep -w 'zip\\w*' dirlist*.txt\n</code></pre>\n<p>... or, similarly, use word boundary <code>\\b</code> instead of <code>-w</code> like so:</p>\n<pre><code>grep '\\bzip\\w*\\b' dirlist*.txt\n</code></pre>\n<blockquote>\n<p>It should return keywords like zip,zipgrep etc</p>\n</blockquote>\n<p>To return <strong>o</strong>nly the matched part by the RegEx and not the whole line containing the match, you can use <code>grep</code>'s option <code>-o</code>:</p>\n<blockquote>\n<pre><code> -o, --only-matching\n Print only the matched (non-empty) parts of a matching line, with each such part on\n a separate output line.\n</code></pre>\n</blockquote>\n<p>... like so:</p>\n<pre><code>grep -ow 'zip\\w*' dirlist*.txt\n</code></pre>\n<p>... or so:</p>\n<pre><code>grep -o '\\bzip\\w*\\b' dirlist*.txt\n</code></pre>\n", "commentCount": "1", "comments": [ { "creationDate": "2024-03-18T13:55:08.183", "id": "2645556", "postId": "1507806", "score": "0", "text": "Thanks a lot for the detailed explanation!", "userDisplayName": null, "userId": "1768094" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-17T20:40:54.917", "id": "1507806", "lastActivityDate": "2024-03-17T20:40:54.917", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "968501", "parentId": "1507715", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<blockquote>\n<p>My intention is to find the keywords starting with &quot;zip&quot;</p>\n</blockquote>\n<p>The caret <code>^</code> matches the beginning of a line and <strong>not</strong> the beginning of a word ... Therefore, <code>grep '^zip' dirlist*.txt</code> will <strong>...
null
null
null
null
null
1507719
1
null
2024-03-16T21:02:08.547
0
21
<p>I am running Matlab 2021b with Ubuntu 20.04.3. I would like to be able to doubleclick .m files so that they automatically open in Matlab. The main problem is that right clicking the file -&gt; Properties -&gt; Open With doesn't show Matlab as an application.</p>
1761494
477026
2024-03-16T21:07:15.403
2024-03-16T21:07:15.403
Open Matlab .m Files
[ "matlab", "default-programs" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T22:08:13.853", "id": "2645367", "postId": "1507719", "score": "0", "text": "If your details are correct (20.04.3), then you've not applied security updates & software patches since very early 2022, so I suggest you apply them asap & try again. I'll also suggest keep...
null
[]
null
null
null
null
null
1507721
1
null
2024-03-16T21:25:47.330
0
35
<p>My every day workstation is an Ubuntu 22.04. Sometimes I work at the same time remotely on a Windows desktop via VNC. For the connection currently I am using RealVNC on both server and client sides.</p> <p>On the client side I am mostly satisfied with RealVNC's VNC Viewer, even if it has some limitations (it is not free, and it is free of charge only for a maximum of 5 configured clients). But it also has an annoying bug: if I change the current window to work on the remote desktop, the Alt key is stuck (the shortcut for the change is Alt-Tab on KDE). I need to press the Alt key inside the remote window again to &quot;unstick&quot; the Alt key. This is very annoying and slows down work if I have to switch back and forth between the desktops.</p> <p>The RealVNC developers seem to unable to identify and solve this issue, so I am hesitating to choose another VNC client (and eventually, another server, if required). Is there a better option than RealVNC?</p>
358453
null
null
2024-03-16T21:25:47.330
Which VNC client is the most convenient one?
[ "remote-desktop", "vnc" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507724
1
null
2024-03-16T21:47:19.370
0
35
<p><strong>OS:</strong> Ubuntu 22.04.4 LTS</p> <p><strong>Laptop:</strong> Lenovo Legion 7 16ACHg6</p> <p><strong>Nvidia driver:</strong> 535.161.07</p> <p><strong>Problems:</strong></p> <ol> <li>no sound from speakers at all</li> <li>when on battery and using dynamic mode for graphics, then when waking up from suspend, there is black screen, keyboard backlight is working and NumLock button works too, but no error message, just black screen</li> </ol> <p>from <code>journactl</code> I've found these lines:</p> <pre><code>22:59:52 legion kernel: cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.0: System Suspend not supported 22:59:52 legion kernel: cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.1: System Suspend not supported 23:01:27 legion pulseaudio[3948]: Failed to create sink input: sink is suspended. </code></pre> <pre><code>uname -a Linux legion 6.5.0-25-generic #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux </code></pre> <p>I have read dozen of questions here about Cirrus module and about 'black screen' but could not figure out solution. I am currently using Ubuntu with Wayland but had same issues with X server as well.</p>
1775757
1775757
2024-03-16T22:01:43.207
2024-03-16T22:01:43.207
Lenovo Legion 7 16ACHg6 no sound from speakers and black screen after waking up from suspend
[ "nvidia", "sound", "22.04", "lenovo" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507725
1
null
2024-03-16T22:05:03.427
0
68
<p>I'm currently running Ubuntu Server 22.04.3 LTS</p> <p>My kernel runs at 250Hz, as can be seen by the output of:</p> <pre><code>grep 'CONFIG_HZ=' /boot/config-$(uname -r) </code></pre> <p>How can I make it 1000Hz? All posts I've found are old/outdated.</p> <p>I understand that I need to recompile the kernel, however the instructions I've found don't work with my version</p>
696507
696507
2024-03-17T07:04:35.993
2024-03-17T07:04:35.993
How can I increase the kernel frequency to 1000Hz?
[ "kernel" ]
0
6
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T08:32:41.903", "id": "2645420", "postId": "1507725", "score": "1", "text": "6,8 has it https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?h=master-next&id=2396118b8bc59c35fb50839e8f190922251c3fad configured. anyone interested in this ...
null
[]
null
null
null
null
null
1507726
1
null
2024-03-16T22:25:55.237
0
43
<p>Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy</p> <p>If I install audacity by snap store everything works except It won't play sound - which is kinda a deal breaker. I know it works if I install it by terminal and not snap.</p> <p>Recently I deleted a PPA for makehuman and it also deleted some other packages (yes, I'm an idiot), now when I try to install audacity by terminal I get this message.</p> <pre><code>the following packages have unmet dependencies. audacity : Depends: libflac++10 (&gt;= 1.4.1~) but it is not installable Depends: libflac12 (&gt;= 1.3.0) but it is not installable Depends: libportsmf0 but it is not installable Depends: libsbsms10 (&gt;= 2.3.0) but it is not going to be installed Depends: libwxbase3.2-1 (&gt;= 3.2.2+dfsg) but it is not installable Depends: libwxgtk3.2-1 (&gt;= 3.2.1+dfsg-2) but it is not installable Depends: libavcodec60 (&gt;= 10:6.0) but it is not going to be installed Depends: libavformat60 (&gt;= 10:6.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. </code></pre> <p>I've been searching for hours how to fix this, everything is upgraded, how do I fix this please?</p> <p>results from policy :</p> <pre><code>Package files: 100 /var/lib/dpkg/status release a=now 500 https://ppa.launchpadcontent.net/ubuntuhandbook1/audacity/ubuntu jammy/main i386 Packages release v=22.04,o=LP-PPA-ubuntuhandbook1-audacity,a=jammy,n=jammy,l=Audacity Audio Editor and Recorder,c=main,b=i386 origin ppa.launchpadcontent.net 500 https://ppa.launchpadcontent.net/ubuntuhandbook1/audacity/ubuntu jammy/main amd64 Packages release v=22.04,o=LP-PPA-ubuntuhandbook1-audacity,a=jammy,n=jammy,l=Audacity Audio Editor and Recorder,c=main,b=amd64 origin ppa.launchpadcontent.net 500 https://ppa.launchpadcontent.net/tatokis/ckb-next/ubuntu jammy/main amd64 Packages release v=22.04,o=LP-PPA-tatokis-ckb-next,a=jammy,n=jammy,l=ckb-next,c=main,b=amd64 origin ppa.launchpadcontent.net 500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main all Packages release o=microsoft-ubuntu-jammy-prod jammy,a=jammy,n=jammy,l=microsoft-ubuntu-jammy-prod jammy,c=main,b=all origin packages.microsoft.com 500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages release o=microsoft-ubuntu-jammy-prod jammy,a=jammy,n=jammy,l=microsoft-ubuntu-jammy-prod jammy,c=main,b=armhf origin packages.microsoft.com 500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages release o=microsoft-ubuntu-jammy-prod jammy,a=jammy,n=jammy,l=microsoft-ubuntu-jammy-prod jammy,c=main,b=arm64 origin packages.microsoft.com 500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages release o=microsoft-ubuntu-jammy-prod jammy,a=jammy,n=jammy,l=microsoft-ubuntu-jammy-prod jammy,c=main,b=amd64 origin packages.microsoft.com 500 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy/main i386 Packages release v=22.04,o=LP-PPA-graphics-drivers,a=jammy,n=jammy,l=Proprietary GPU Drivers,c=main,b=i386 origin ppa.launchpadcontent.net 500 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy/main amd64 Packages release v=22.04,o=LP-PPA-graphics-drivers,a=jammy,n=jammy,l=Proprietary GPU Drivers,c=main,b=amd64 origin ppa.launchpadcontent.net 500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages release o=Docker,a=jammy,l=Docker CE,c=stable,b=amd64 origin download.docker.com 500 http://www.deb-multimedia.org stable/main i386 Packages release v=12.5,o=Unofficial Multimedia Packages,a=stable,n=bookworm,l=Unofficial Multimedia Packages,c=main,b=i386 origin www.deb-multimedia.org 500 http://www.deb-multimedia.org stable/main amd64 Packages release v=12.5,o=Unofficial Multimedia Packages,a=stable,n=bookworm,l=Unofficial Multimedia Packages,c=main,b=amd64 origin www.deb-multimedia.org 500 http://security.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=multiverse,b=i386 origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=multiverse,b=amd64 origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=universe,b=i386 origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=universe,b=amd64 origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=restricted,b=i386 origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=restricted,b=amd64 origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=main,b=i386 origin security.ubuntu.com 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=main,b=amd64 origin security.ubuntu.com 100 http://gb.archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=universe,b=i386 origin gb.archive.ubuntu.com 100 http://gb.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=universe,b=amd64 origin gb.archive.ubuntu.com 100 http://gb.archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=main,b=i386 origin gb.archive.ubuntu.com 100 http://gb.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=main,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=multiverse,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=multiverse,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=universe,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=universe,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/restricted i386 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=restricted,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=restricted,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=main,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=main,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=multiverse,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=multiverse,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/universe i386 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/restricted i386 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=restricted,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=restricted,b=amd64 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/main i386 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=i386 origin gb.archive.ubuntu.com 500 http://gb.archive.ubuntu.com/ubuntu jammy/main amd64 Packages release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=amd64 origin gb.archive.ubuntu.com </code></pre>
1391942
1391942
2024-03-16T22:49:36.967
2024-03-16T22:49:36.967
cant get audacity installed via terminal
[ "dependencies" ]
0
7
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T22:29:51.663", "id": "2645376", "postId": "1507726", "score": "1", "text": "If you were using 22.04 LTS or *jammy*, the default package requirements are show at https://packages.ubuntu.com/jammy/audacity so either you're not using the Ubuntu package(s) OR have pollu...
null
[]
null
null
null
null
null
1507728
1
1507739
2024-03-16T22:34:21.020
1
75
<p>I'm new to ubuntu and linux in general and I'm trying to install FUSE so I can install .appimage files. But when I try to install or upgrade something using apt or apt-get i get this error: <code>emacs: error while loading shared libraries: libotf.so.1: cannot open shared object file: No such file or directory</code></p> <p>Even tho I'm quite new to linux I know what a symlink is and have noticed that both <code>libotf.so.1</code> and <code>libotf.so.0</code> are linked to <code>libotf.so</code> wich does not exist.</p> <p>I got no idea how to fix this so I would greatly appreciate any help!</p>
1775764
1066942
2024-03-17T12:06:13.350
2024-03-17T12:08:52.010
emacs: libotf.so missing
[ "apt", "emacs" ]
2
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T04:05:40.860", "id": "2645403", "postId": "1507728", "score": "1", "text": "Ask the packaging system which package provides `libotf.so` with the terminal command `dpkg -S libotf.so`. Install that package, and its' dependencies.", "userDisplayName": null, "us...
{ "accepted": true, "body": "<p>You have probably worked out from the error message that you're missing <code>libotf.so</code></p>\n<p>To find out which package contains libotf.so, you can use the following:</p>\n<pre><code>apt-file search libotf.so\n</code></pre>\n<p>or you can search on <a href=\"https://packages.ubuntu.com/search?searchon=contents&amp;keywords=libotf.so&amp;mode=exactfilename&amp;suite=kinetic&amp;arch=any\" rel=\"nofollow noreferrer\">packages.ubuntu.com</a></p>\n<p>This shows that you need the <code>libotf-dev</code> package. Install with:</p>\n<pre><code>sudo apt update &amp;&amp; sudo apt install libotf-dev\n</code></pre>\n", "commentCount": "1", "comments": [ { "creationDate": "2024-03-17T11:37:53.480", "id": "2645435", "postId": "1507739", "score": "0", "text": "Well, I tried it but I can't do ```sudo apt install libotf-dev``` because I get the same error ```emacs: error while loading shared libraries: libotf.so.1...```. I've also tried to install the libotf-dev via [Ubuntu packages](https://packages.ubuntu.com) but that didn't do anything", "userDisplayName": null, "userId": "1775764" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-17T06:37:47.577", "id": "1507739", "lastActivityDate": "2024-03-17T06:37:47.577", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "884673", "parentId": "1507728", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>You have probably worked out from the error message that you're missing <code>libotf.so</code></p>\n<p>To find out which package contains libotf.so, you can use the following:</p>\n<pre><code>apt-file search libotf.so\n</code></pre>\n<p>or you can search on <a href=\"https://...
null
null
null
null
null
1507729
1
null
2024-03-16T22:36:45.580
0
31
<p>i've tried various methods like <strong>nload</strong>. but none worked. generic monitor(genmon) is a feature that runs a command every few seconds and shows output, so i think the issue is commands that autoupdate bandwidth sent and transmit bitrate instead of giving a fixed one liner output like <strong>whoami</strong> or commands like it, are the thing causing it to not show a valid output.</p> <p>an ideal output on genmon would look like: <strong>out:00.0kb/s in:00.0kb/s</strong> and would update depending on the timer set on genmon properties</p> <p><em>i think the only way possible for this to work is a command that doesn't give real time updating bandwidth bitrate but instead a one liner of current average bitrate at that exact moment its run</em></p>
null
null
null
2024-03-16T22:36:45.580
How can network bandwidth(sent and recieved packets on wlan0) be displayed on the extension generic moniter?
[ "networking", "wireless", "extension" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T22:41:28.923", "id": "2645381", "postId": "1507729", "score": "0", "text": "Providing clues as to what Ubuntu product & what release of that product you're using may allow us to be more helpful in helping you.", "userDisplayName": null, "userId": "469152" ...
null
[]
null
null
null
null
user1775763
1507730
1
null
2024-03-16T22:46:09.517
0
24
<p>I have my main(120gb SSD) drive with Ubuntu 22.04 installed on:</p> <pre><code>dev/sda1 </code></pre> <p>I have another 3 TB hard drive which is formatted as ext4:</p> <pre><code>dev/sdb1 </code></pre> <hr /> <p><strong>What I would ideally like:</strong></p> <p>I would like to &quot;fuse&quot; these two together so that they are treated as one drive and share the same home directory.</p> <hr /> <p><strong>What would also work:</strong></p> <p>If I could easily navigate to the other drive on the command line and have it use all my other configs (git, vimrc, zshrc etc...)</p> <hr /> <p>If anyone could provide a set of commands/file edits that I could use to achieve either of these it would be greatly appreciated.</p>
1775765
1775765
2024-03-16T22:47:19.650
2024-03-16T22:47:19.650
How can I use/extend a new hard drive on ubuntu from my main ssd?
[ "partitioning", "hard-drive", "ssd" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-16T23:08:44.783", "id": "2645388", "postId": "1507730", "score": "0", "text": "Consider moving the Home, `/home/` to the new hard disk. This is the easiest and highly recommended use of a second disk. Combining the 2 disks into a single logical volume means when any on...
null
[]
null
null
2024-03-17T01:21:46.887
null
null
1507731
1
null
2024-03-17T01:08:06.330
-1
30
<p>I will preface this by saying that I am not extremely knowledgeable (in fact, I am not very knowledgeable, so my terms may also be wrong). I installed ubuntu (dual boot) via usb and, once a few problems were solved, it worked like a charm. I then had the unhealthy idea of putting in a specific kernel for the Surface so that I could take advantage of the touch (I have a Surface Laptop 3), and from that moment on ubuntu wouldn't boot.</p> <p>The next steps were: looking for guides to fix it, constantly failing, uninstalling linux, formatting the partition, deleting the grub (I thought and think that's where the problem is but it's just a feeling).</p> <p>The only step (in my mind) to fix it was to reinstall via usb ubuntu in dual boot. I open rufus, redo the same steps, go into uefi, fix things as usual... it no longer starts linux in live usb. The white letters come out but it can't reach a file (if I find the text I'll update the question) but nothing is clickable or editable.</p> <p>I make a billion attempts with a billion guides or questions on the forums... nothing to do now not even the writing (at the discretion of formatting the boot key it changes whether it gives me the writing or not) but only the persistent white window of the surface... in all this Windows still works...</p> <p>Now I tried (stupidly) to restore the pc but it didn't work.... I really need ubuntu in dual boot... asking for help, thanks in advance</p>
1775777
null
null
2024-03-17T01:08:06.330
Problems ubuntu live usb
[ "boot", "dual-boot", "partitioning", "grub2", "uefi" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T02:41:39.393", "id": "2645397", "postId": "1507731", "score": "2", "text": "Do you have a good backup of Windows. We see users click on full drive install & then totally erase Windows. You should always be able to boot live installer from UEFI boot menu as you did f...
null
[]
null
null
null
null
null
1507733
1
null
2024-03-17T02:06:22.423
-1
42
<p>I've downloaded Ubuntu Cinnamon from Ubuntu site using a USA mirror and downloaded Linux Mint Cinnamon version and tried a number of times to install them.</p> <p>I created a usb flash drive using both Rufus and Unetbootin.</p> <p>When the flash drive boots I get a menu of 5 options, first one Ubuntu Cinnamon, so I take that option.</p> <p>I then get two options &quot;Try Cinnamon&quot; or &quot;Install Cinnamon&quot; First three times I took Install Cinnamon.</p> <p>I tell it to erase and write to drive. However, I can't remember if it ever tells me the specs of the drive. I did just remove the drive and look at it on a Windows machine and it does have a Linux installed.</p> <p>I used the normal installation option and told it to install updates. It takes almost all day to do this. On the last install it did more things than I've seen before like running APK something and loading a bunch of AMD stuff. Which made me think at the time it worked.</p> <p>When it gets done I take the restart option, but it never does tell me to remove flash drive, but it does reboot and then starts all the options again.</p> <p>I checked the bios and I have to Boot options &quot;UEFI P4....&quot; and just &quot;P4 ....&quot; . &quot;P4&quot; is the assigned sata slot for the motherboard. I've tried both.</p> <p>If I try to boot from &quot;P4&quot; it says I created it using Rufus and I need to change it to &quot;MBR&quot; and &quot;Bios&quot;, even though the last 2 installs I used UNETBOOTIN.</p> <p>The last install per something I found earlier was use the &quot;Try Ubuntu&quot; and then when I get to the Desktop take the option to install Cinnamon there instead, which I did but same outcome.</p> <p>As I sit here I almost think ubuntu install faked me out and did the install to the flash drive and not the hard drive.</p> <p>Right now I think I'm going to reformat the drive and recreate the flash drive from scratch and see what happens, but I will check back to see if someone has an idea of what I'm doing wrong.</p> <p>And just for the record obviously I'm new to linux. My experience was Unix. I've been a programmer for 45 years. Yes, I'm old. I hate Windows. I'm finally fed up with Windows updates and want to go to something that doesn't screw up my miners.</p> <p>Any help will be appreciated.</p>
1055677
389216
2024-03-18T07:59:47.050
2024-03-18T07:59:47.050
Help installing Ubuntu Cinnamon or linux Mint to a standalone system with a single drive
[ "system-installation", "cinnamon" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T02:09:35.207", "id": "2645394", "postId": "1507733", "score": "1", "text": "Please be clear and precise with details; what OS & specifically what release are you asking about; eg. Ubuntu Cinnamon 23.10 ? FYI: I learn Unix in the early 80s myself; and liked GNU/Li...
null
[]
null
null
null
null
null
1507735
1
null
2024-03-17T03:01:21.780
1
32
<p>Because Wayland does not support remote control on Ubuntu, so I changed Wayland to x11 by</p> <p><code>sudo gedit /etc/gdm3/custom.conf</code></p> <p>and remove '#' from</p> <p><code>#WaylandEnable=false</code></p> <p>But after this, my external monitor shows a display blur with intense yellow. Now I can use remote controlling, and the display on the remote screen is OK.</p> <p><img src="https://i.stack.imgur.com/QLfwT.jpg" alt="enter image description here" /></p> <p>Does someone know what's wrong?</p>
1754650
1450948
2024-03-17T15:55:54.353
2024-03-17T15:55:54.353
Ubuntu 22.04 LTS after change to X11 from wayland, external monitor shows display blur with intense yellow
[ "22.04", "xorg", "display" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507736
1
null
2024-03-17T05:21:27.667
0
89
<p>How do i fix this dummy Output issue? I'm having no sound on my machine:</p> <p><a href="https://i.stack.imgur.com/Q0yIL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q0yIL.png" alt="Screenshot of sound output setting" /></a></p> <p>I tried every method available on the internet but I see no progress at all.</p> <p>My OS: Ubuntu 22.04.4 LTS, OS TYPE: 64-bit. GNOME Version 42.9</p>
1775801
389216
2024-03-18T07:54:11.857
2024-03-18T07:54:11.857
No sound from dummy audio output
[ "sound", "pulseaudio", "alsa" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T05:48:39.420", "id": "2645411", "postId": "1507736", "score": "0", "text": "Update your question to include Ubutu version (`lsb_release -a`), kernel version (`uname -a`) and hardware details (laptop model or motherboard/sound card details).", "userDisplayName": ...
null
[]
null
null
null
null
null
1507737
1
null
2024-03-17T05:23:42.573
-1
22
<p>First of all, I use Lubuntu 23.10</p> <p>I paired my Bluetooth headphones to my laptop using <code>bluetoothctl pair</code> and it worked, but every time I'd turn on my Laptop, the headphones would automatically connect to the laptop even if they were already connected to another device, so I decided to remove them from my added Bluetooth devices using <code>bluetoothctl remove</code>, but now when I try to add them back, the Bluetooth Manager doesn't detect them, however it does detect other devices such as my phone. The headphones work properly on other devices but not on my laptop.</p> <p>Using <code>bluetoothctl scan on</code> doesn't work either.</p> <p>What may the problem be?</p>
1772621
884673
2024-03-17T05:56:51.143
2024-03-17T05:56:51.143
Bluetooth headphones not being recognized after removing device
[ "lubuntu", "bluetooth", "headphones", "23.10" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T10:32:55.223", "id": "2645430", "postId": "1507737", "score": "0", "text": "Are the headphones in pairing mode when they are not detected?", "userDisplayName": null, "userId": "300665" } ]
null
[]
null
null
null
null
null
1507742
1
null
2024-03-17T07:30:24.800
-1
33
<p>This is my gparted window:</p> <p><a href="https://i.stack.imgur.com/GNYWS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GNYWS.png" alt="Screenshot of the window" /></a></p> <p>How can I add Partition-2 (the selected row) to my main file system?</p>
1775819
389216
2024-03-17T09:45:25.307
2024-03-17T09:45:25.307
How to merge a partition to my main file system
[ "partitioning", "gparted", "merge" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T09:27:43.127", "id": "2645427", "postId": "1507742", "score": "2", "text": "Generally; that partition table is a mess, the easy way to get rid of such mess is to take backup and then clean out the disk entirely, then reinstall the one OS you wish to use.", "user...
null
[]
null
null
2024-03-19T11:26:20.667
null
null
1507744
1
null
2024-03-17T07:48:45.210
0
43
<p>I am following along a tutorial on writing an OS and fail to create a bootable iso file. The tutorial uses grub-legacy but I use grub 2 since legacy is outdated. The important part of the makefile looks like this:</p> <pre><code>mykernel.iso: mykernel.bin mkdir iso mkdir iso/boot mkdir iso/boot/grub cp mykernel.bin iso/boot/mykernel.bin echo 'set timeout=0' &gt; iso/boot/grub/grub.cfg echo 'set default=0' &gt;&gt; iso/boot/grub/grub.cfg echo '' &gt;&gt; iso/boot/grub/grub.cfg echo 'menuentry &quot;My Operating System&quot; {' &gt;&gt; iso/boot/grub/grub.cfg echo ' multiboot /boot/mykernel.bin' &gt;&gt; iso/boot/grub/grub.cfg echo ' boot' &gt;&gt; iso/boot/grub/grub.cfg echo '}' &gt;&gt; iso/boot/grub/grub.cfg grub-mkrescue --output=mykernel.iso iso rm -rf iso </code></pre> <p>and the whole directory with its files looks like this: <a href="https://github.com/AlgorithMan-de/wyoos/tree/b440da72b6403d6cde728b6657e61aed8fd3c682" rel="nofollow noreferrer">https://github.com/AlgorithMan-de/wyoos/tree/b440da72b6403d6cde728b6657e61aed8fd3c682</a></p> <p>On my terminal I get the error:</p> <pre><code>(commands above grub-mkrescue --output=mykernel.iso iso)... grub-mkrescue --output=mykernel.iso iso grub-mkrescue: error: `mformat` invocation failed . make: *** [makefile:34: mykernel.iso] Error 1 </code></pre> <p>I have xorriso version 1.5.4 (I read that it is needed) but not grub-legacy as it is said to be required in the tutorial because its outdated. Does anyone have an idea what I need to do to boot from this iso image? Thanks! The only thing I found on google was this: <a href="https://bbs.archlinux.org/viewtopic.php?id=219955" rel="nofollow noreferrer">https://bbs.archlinux.org/viewtopic.php?id=219955</a> and I executed &quot;sudo apt install pacman -S mtools&quot; but the error message remains the same.</p>
1775440
1775440
2024-03-17T08:41:00.627
2024-03-17T18:11:31.880
error invoking "grub-mkrescue" - invocation fails
[ "boot", "grub2", "system-installation", "iso", "grub-legacy" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T17:57:21.190", "id": "2645464", "postId": "1507744", "score": "0", "text": "The failing mformat run is most probably the one at the end of this comment.\n(With some other text instead of XXXXXX so that it points to an already \nexisting directory. See\nhttps://git.s...
null
[ { "accepted": null, "body": "<p>In case you still have no usable program mformat installed:</p>\n<p>Possibly you took the proposal for Archlinux too literally.\n&quot;pacman&quot; is their package manager. Try:</p>\n<pre><code>sudo apt install mtools\n</code></pre>\n", "commentCount": "1", "comments...
null
null
null
null
null
1507745
1
null
2024-03-17T08:05:43.963
0
63
<p>So basically I bought an Artist 12 2nd gen tablet and I only have a chrome laptop so currently I need to install the Linux driver to use it and properly draw.</p> <p>It constantly says &quot;Error while installing package: package architecture (amd64) does not match system (arm64)&quot; when I try to install it and I am literally lost.</p>
1775821
124466
2024-04-03T06:04:25.940
2024-04-03T09:42:35.243
Linux driver installation on ARM chromebook gives architecture error
[ "drivers", "software-installation", "google-chrome", "chromebook" ]
2
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T08:19:05.583", "id": "2645419", "postId": "1507745", "score": "1", "text": "Can you explain some more details about what you're doing? What commands you're running, what your environment is and so forth?", "userDisplayName": null, "userId": "653515" } ]
null
[ { "accepted": null, "body": "<p>Find a download that says <code>arm64</code>. A download for <code>amd64</code> is not compatible with a system that needs <code>arm64</code>.</p>\n<ul>\n<li><a href=\"https://cdimage.ubuntu.com/daily-live/current/\" rel=\"nofollow noreferrer\">arm desktop installer</a> The ...
null
null
null
null
null
1507746
1
null
2024-03-17T08:15:25.500
0
57
<p>Why is the power draw (Pwr:Usage/Cap) for my NVIDIA GeForce GTX 1050 Ti showing &quot;ERR!&quot; in nvidia-smi?</p> <p>This is my pc specs</p> <pre><code>venv) luffy@predator:~/fern/forge-code/backend/gpt-service/gpt-2-Pytorch$ inxi -Fxz System: Kernel: 6.5.0-25-generic x86_64 bits: 64 compiler: N/A Desktop: Unity Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish) Machine: Type: Laptop System: Acer product: Predator PH315-51 v: V1.26 serial: &lt;superuser required&gt; Mobo: CFL model: Sienta_CFS v: V1.26 serial: &lt;superuser required&gt; UEFI: Insyde v: 1.26 date: 03/27/2019 Battery: ID-1: BAT1 charge: 32.8 Wh (100.0%) condition: 32.8/48.9 Wh (67.0%) volts: 16.6 min: 15.2 model: LG PABAS0241231 status: Full CPU: Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 9 MiB Speed (MHz): avg: 875 high: 900 min/max: 800/4100 cores: 1: 900 2: 900 3: 800 4: 900 5: 900 6: 900 7: 900 8: 900 9: 800 10: 900 11: 800 12: 900 bogomips: 52799 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Acer Incorporated ALI driver: i915 v: kernel bus-ID: 00:02.0 Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Acer Incorporated ALI driver: nvidia v: 550.54.14 bus-ID: 01:00.0 Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus-ID: 1-5:4 Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915 resolution: 1: 1920x1080~144Hz 2: 1920x1080~144Hz OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 Device-2: NVIDIA GP107GL High Definition Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus-ID: 01:00.1 Sound Server-1: ALSA v: k6.5.0-25-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes Network: Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3 IF: wlp0s20f3 state: up mac: &lt;filter&gt; Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000 bus-ID: 06:00.1 IF: enp6s0f1 state: down mac: &lt;filter&gt; IF-ID-1: br-5079ae37e513 state: down mac: &lt;filter&gt; IF-ID-2: br-d3fd53b81a04 state: down mac: &lt;filter&gt; IF-ID-3: cali0a7bef59a06 state: up speed: 10000 Mbps duplex: full mac: &lt;filter&gt; IF-ID-4: cali9c7d7561424 state: up speed: 10000 Mbps duplex: full mac: &lt;filter&gt; IF-ID-5: docker0 state: up speed: 10000 Mbps duplex: unknown mac: &lt;filter&gt; IF-ID-6: vethaf5ce75 state: up speed: 10000 Mbps duplex: full mac: &lt;filter&gt; IF-ID-7: vxlan.calico state: unknown speed: N/A duplex: N/A mac: &lt;filter&gt; Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8 bus-ID: 1-14:5 Report: hciconfig ID: hci0 rfk-id: 2 state: up address: &lt;filter&gt; bt-v: 3.0 lmp-v: 5.1 RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 bus-ID: 00:17.0 Drives: Local Storage: total: 1.03 TiB used: 101.07 GiB (9.6%) ID-1: /dev/sda vendor: SK Hynix model: HFS128G39TND-N210A size: 119.24 GiB ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630 size: 931.51 GiB Partition: ID-1: / size: 116.32 GiB used: 101.02 GiB (86.8%) fs: ext4 dev: /dev/sda2 ID-2: /boot/efi size: 511 MiB used: 52.4 MiB (10.3%) fs: vfat dev: /dev/sda1 Swap: ID-1: swap-1 type: file size: 2 GiB used: 512 KiB (0.0%) file: /swapfile Sensors: System Temperatures: cpu: 84.0 C pch: 80.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 445 Uptime: 48m Memory: 15.45 GiB used: 7.33 GiB (47.4%) Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 3325 Shell: Bash v: 5.1.16 inxi: 3.3.13 </code></pre> <p>And this is my nvidia-smi output</p> <pre><code>(venv) luffy@predator:~/fern/forge-code/backend/gpt-service/gpt-2-Pytorch$ nvidia-smi Sun Mar 17 13:43:43 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 550.54.14 Driver Version: 550.54.14 CUDA Version: 12.4 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce GTX 1050 Ti Off | 00000000:01:00.0 On | N/A | | N/A 83C P8 N/A / ERR! | 47MiB / 4096MiB | 0% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ +-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 5874 G /usr/lib/xorg/Xorg 45MiB | +-----------------------------------------------------------------------------------------+ </code></pre> <p>I do not understand why ERR is showing in my output .</p>
1033150
389216
2024-03-17T08:52:15.023
2024-03-17T08:52:15.023
22.04.3 LTS: Why is power draw showing "ERR!" in nvidia-smi?
[ "nvidia", "22.04", "cuda" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507748
1
null
2024-03-17T08:34:27.660
0
73
<p>I run Ubuntu on my Windows laptop, and I only use the Microsoft Edge browser. I tried to used the 'xdg-open' to open the desire website, but Microsoft Edge is not listed in the supported browser.</p> <p><a href="https://i.stack.imgur.com/w2cNo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w2cNo.png" alt="Image" /></a></p> <p>Can I use something like microsoft-edge <a href="https://youtube.com" rel="nofollow noreferrer">https://youtube.com</a>?</p>
1775831
94914
2024-03-17T09:09:14.137
2024-03-18T13:52:50.547
Open Microsoft Edge in Ubuntu
[ "command-line", "websites", "xdg-open" ]
2
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>The Edge browser from windows is not the one you use in Ubuntu. <a href=\"https://www.microsoft.com/en-us/edge?ep=313&amp;form=MA13M0&amp;es=40\" rel=\"nofollow noreferrer\">Download</a> the DEB, install it through software center and it will be available as a suggested brows...
null
null
null
null
null
1507749
1
null
2024-03-17T08:35:35.007
0
36
<p>I have an Ubuntu 22.04 OS (kernel 6.5.0-21-generic) with GNOME 42.9 and two monitors. When I execute a system-level shortcut like <code>Super</code>, I get <code>Activities</code> displayed on both displays which is not useful and also distracting. At the same time, some other shortcuts like <code>Ctrl-Alt-T</code> work on the currently active display which is what I want.</p> <p>I haven't found a suitable option either in <code>gnome-tweaks</code>, or in <code>dconf</code>. I'm wondering how to make all shortcuts to be display-specific.</p>
1600830
null
null
2024-03-17T10:23:27.163
How to isolate shortcuts to the currently focused display in GNOME?
[ "gnome", "22.04", "keyboard", "shortcut-keys", "multiple-monitors" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>The GNOME extension <a href=\"https://extensions.gnome.org/extension/323/multiple-monitor-panels/\" rel=\"nofollow noreferrer\">Multiple Monitor Panels</a> appears to perform that function.</p>\n<p><a href=\"https://i.stack.imgur.com/RmEYH.png\" rel=\"nofollow noreferrer\"><i...
null
null
null
null
null
1507751
1
null
2024-03-17T09:08:07.600
0
101
<p>I'm trying to install Kubuntu 23.10 on the Lenovo Yoga 11E 6th gen. The problem I'm facing is the inferior sound quality compared to Windows 10. The detected sound card is HDA Intel PCH with chip Realtek ALC257.</p> <p>The overall quality of builtin speakers is not great (these are small and flat), but under Windows they are at least usable. Sound is relatively loud and distortion on high volume is rare. There is even a Dolby equalizer installed with the drivers.</p> <p>On Linux, the volume is low. I raised the level of Master and PCM in alsamixer to 100%, but it is still too quiet. Comparing volumes on the same podcast on Youtube, I can barely understand, what the presenter is talking about. Also, with higher frequency tones, the sound is distorted. Raising the volume level above 100% in KDE results in even more distortions. I tried to correct them with easyeffects, but it did not help too much.</p> <p>Interestingly, in alsamixer, there is another device available &quot;ThinkPad Console Audio Control&quot;, however it's not usable. When selecting it, alsamixer exits with message &quot;cannot load mixer controls: Input/output error&quot;.</p> <p>Update: I tried various ready to use presets for easyeffects: <a href="https://github.com/JackHack96/EasyEffects-Presets" rel="nofollow noreferrer">https://github.com/JackHack96/EasyEffects-Presets</a> With the &quot;LoudnessEqualizer&quot; preset I got much clearer voice. Still, there is a quality gap comparing to what Windows offers.</p>
1775835
1775835
2024-03-18T17:56:57.070
2024-03-18T17:56:57.070
Realtek ALC257 sound quality
[ "drivers", "sound", "alsa", "realtek", "pipewire" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T09:31:30.390", "id": "2645428", "postId": "1507751", "score": "2", "text": "Are you sure it is pulseaudio and not pipewire? If not care to switch? pipewire is the current default in Ubuntu and has a lot better hardware support than PA.", "userDisplayName": null,...
null
[]
null
null
null
null
null
1507754
1
null
2024-03-17T10:21:21.090
-1
21
<p>The adapter in question is the Mokin mouc0501. I see the following strange behaviour once I plug it in with the power being available, no USB devide the HDMI port is working, it is as if they were not there. If I unplug the cables and put them in the USB and HDMI ports, everything is fine.</p> <p>The odd thing here is that the hub works flawlesly on a Macbook and on a Windows machine, those two having different OSes makes the whole experience odd.</p> <pre class="lang-shell prettyprint-override"><code>arch x86_64 </code></pre> <p>and</p> <pre class="lang-shell prettyprint-override"><code>lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy </code></pre>
4998
null
null
2024-03-17T10:21:21.090
USB adapter freezes everything when connected
[ "usb", "22.04" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507756
1
null
2024-03-17T10:48:53.873
-2
63
<p>Somehow I managed to kill the <code>do-release-upgrade</code> from v16 to v18 of Lubuntu while it was running the package setup of postgresql, about 80% complete (old unused machine).</p> <p>I managed to remove the various apt, dpkg and debconf locks and continue mostly with <code>dpkg --configure -a</code></p> <p>However, I'm now left with a problem with <code>lubuntu-core</code>.</p> <p>It doesn't seem right to remove <code>lubuntu-core</code> on a lubuntu machine but that's what apt wants to do.</p> <p>Does anyone know if this package was removed in v18? Is that what this means: <a href="https://www.ubuntuupdates.org/package/core/bionic/universe/proposed/lubuntu-core" rel="nofollow noreferrer">WARNING: the &quot;lubuntu-core&quot; package was deleted from this repository, Latest version: <em>DELETED</em></a> ?</p> <p>I've tried <code>apt update</code> and it only suggests 8 unrelated upgradeable packages which are bionic, i.e. v18.04</p> <p>Errors:</p> <pre class="lang-bash prettyprint-override"><code>root@lubnova:~# dpkg --configure -a dpkg: dependency problems prevent configuration of lubuntu-core: lubuntu-core depends on xserver-xorg-input-all; however: Package xserver-xorg-input-all is not installed. lubuntu-core depends on xserver-xorg-input-synaptics; however: Package xserver-xorg-input-synaptics is not installed. lubuntu-core depends on xserver-xorg-video-all; however: Package xserver-xorg-video-all is not installed. lubuntu-core depends on xserver-xorg-video-intel; however: Package xserver-xorg-video-intel is not installed. Package xserver-xorg-video-intel-hwe-16.04 which provides xserver-xorg-video-intel is not installed. lubuntu-core depends on xserver-xorg-video-qxl; however: Package xserver-xorg-video-qxl is not installed. dpkg: error processing package lubuntu-core (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: lubuntu-core root@lubnova:~# apt install lubuntu-core Reading package lists... Done Building dependency tree Reading state information... Done lubuntu-core is already the newest version (0.94.1). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: lubuntu-core : Depends: xserver-xorg-input-all Depends: xserver-xorg-input-synaptics Depends: xserver-xorg-video-all Depends: xserver-xorg-video-intel Depends: xserver-xorg-video-qxl E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@lubnova:~# apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: ... MANY MANY PACKAGES ... Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: lubuntu-core 0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded. 1 not fully installed or removed. After this operation, 16.4 kB disk space will be freed. Do you want to continue? [Y/n] n </code></pre> <p>If I try to install the dependencies manually, it refuses and just gives me more dependencies:</p> <pre class="lang-bash prettyprint-override"><code>root@lubnova:~# apt install xserver-xorg-video-all Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: lubuntu-core : Depends: xserver-xorg-input-all Depends: xserver-xorg-input-synaptics Depends: xserver-xorg-video-intel Depends: xserver-xorg-video-qxl xserver-xorg-video-all : Depends: xserver-xorg-video-amdgpu Depends: xserver-xorg-video-ati Depends: xserver-xorg-video-fbdev Depends: xserver-xorg-video-nouveau Depends: xserver-xorg-video-vesa Depends: xserver-xorg-video-vmware Recommends: xserver-xorg-video-intel Recommends: xserver-xorg-video-qxl E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@lubnova:~# apt install xserver-xorg-video-intel Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: lubuntu-core : Depends: xserver-xorg-input-all Depends: xserver-xorg-input-synaptics Depends: xserver-xorg-video-all Depends: xserver-xorg-video-qxl xserver-xorg-video-intel : Depends: xorg-video-abi-23 Depends: xserver-xorg-core (&gt;= 2:1.18.99.901) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). </code></pre> <p><code>do-release-upgrade</code> appears to want to upgrade to the next version:</p> <pre class="lang-bash prettyprint-override"><code>root@lubnova:~# do-release-upgrade Checking for a new Ubuntu release Please install all available updates for your release before upgrading. </code></pre> <p><code>apt update</code>:</p> <pre class="lang-bash prettyprint-override"><code>root@lubnova:~# apt update Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease Get:5 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 InRelease [1,477 B] Hit:6 https://download.docker.com/linux/ubuntu xenial InRelease Get:7 http://gb.archive.ubuntu.com/ubuntu bionic/main DEP-11 48x48 Icons [118 kB] Get:8 http://gb.archive.ubuntu.com/ubuntu bionic/universe DEP-11 48x48 Icons [2,151 kB] Get:9 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 48x48 Icons [8,931 B] Get:10 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3,045 kB] Get:11 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [31.1 kB] Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [35.8 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security/multiverse DEP-11 48x48 Icons [29 B] Get:14 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [1,666 kB] Get:15 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [83.0 kB] Get:16 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [237 kB] Get:17 http://gb.archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 48x48 Icons [29 B] Get:18 http://gb.archive.ubuntu.com/ubuntu bionic-backports/main DEP-11 48x48 Icons [7,156 B] Get:19 http://gb.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [5,009 B] Fetched 7,479 kB in 4s (1,876 kB/s) (appstreamcli:17225): GLib-CRITICAL **: 10:43:51.142: g_atomic_ref_count_dec: assertion 'g_atomic_int_get (arc) &gt; 0' failed Reading package lists... Done Building dependency tree Reading state information... Done 8 packages can be upgraded. Run 'apt list --upgradable' to see them. root@lubnova:~# apt list --upgradeable Listing... Done guymager/bionic 0.8.7-1 amd64 [upgradable from: 0.7.4-2] icu-devtools/bionic-updates,bionic-security 60.2-3ubuntu3.2 amd64 [upgradable from: 55.1-7ubuntu0.5] iptables/bionic-updates 1.6.1-2ubuntu2.1 amd64 [upgradable from: 1.6.0-2ubuntu3] libfarstream-0.2-5/bionic 0.2.8-4.1~build1 amd64 [upgradable from: 0.2.7-0ubuntu1] libffmpegthumbnailer4v5/bionic 2.1.1-0.1build1 amd64 [upgradable from: 2.0.10-0.1] libgegl-0.3-0/bionic 0.3.30-1ubuntu1 amd64 [upgradable from: 0.3.4-1ubuntu2] libicu-dev/bionic-updates,bionic-security 60.2-3ubuntu3.2 amd64 [upgradable from: 55.1-7ubuntu0.5] libjavascriptcoregtk-4.0-18/bionic-updates,bionic-security 2.32.4-0ubuntu0.18.04.1 amd64 [upgradable from: 2.20.5-0ubuntu0.16.04.1] </code></pre>
476593
476593
2024-03-19T16:26:22.603
2024-03-19T16:26:22.603
Quit Ubuntu release upgrade from 16.04 to 22.04 - apt recovery?
[ "do-release-upgrade" ]
0
9
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T10:59:25.250", "id": "2645432", "postId": "1507756", "score": "1", "text": "What is the output of 'apt update' ?", "userDisplayName": null, "userId": "614422" }, { "creationDate": "2024-03-17T21:20:33.600", "id": "2645482", "postId": "1507756...
null
[]
null
null
null
null
null
1507757
1
null
2024-03-17T10:57:01.053
0
73
<p>I haven't downloaded Java. I installed android-studio with ./studio.sh. during this jdk and sdk were downloaded I previously downloaded android-studio and unconpressed using tar -xf command. Bala, india</p>
1769837
null
null
2024-03-17T10:57:01.053
android-studio software setup in Ubuntu 22.04
[ "android-studio" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507758
1
1507760
2024-03-17T11:29:45.167
0
53
<p>I'm searching from the file using grep command with particular pattern,<br /> <code>sysadmin@localhost:~$ grep bash /etc/passwd</code></p> <p>which return the output like below<br /> <code>root:x:0:0:root:/root:/bin/bash operator:x:1000:37::/root:/bin/bash sysadmin:x:1001:1001:System Administrator,,,,:/home/sysadmin:/bin/bash </code></p> <p>How can I change the default color of red to something different (eg.blue)</p>
1775848
null
null
2024-03-17T11:58:59.483
changing grep command --color from red to another color
[ "command-line", "bash", "grep", "colors", "alias" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T00:41:56.517", "id": "2645666", "postId": "1507758", "score": "1", "text": "The answer is `export GREP_COLORS='ms=01;34'`. Does this answer your question? [Modifying the color of grep](https://askubuntu.com/questions/1042234/modifying-the-color-of-grep)", "userD...
{ "accepted": true, "body": "<p>The simple solution:</p>\n<p>Add <code>--color=always</code> to the grep options... then pipe the result into<br />\n<code>| sed -re 's/31m/32m/'</code> and you will get green text instead of the red.</p>\n<p><strong>Another way is described in the man page:</strong><br />\n<code>$ man grep</code>, then<br />\ntype <code>/_COLOR</code> hit enter, hit <code>n</code> once<br />\n<em>(alternatively type <code>/^ +GREP_COLOR$</code>and hit enter)</em></p>\n", "commentCount": "4", "comments": [ { "creationDate": "2024-03-17T12:07:44.557", "id": "2645438", "postId": "1507760", "score": "0", "text": "Note: the `31m` is part of an ESC or CSI-sequence defined by https://en.wikipedia.org/wiki/ANSI_escape_code", "userDisplayName": null, "userId": "289138" }, { "creationDate": "2024-03-17T12:25:20.580", "id": "2645441", "postId": "1507760", "score": "0", "text": "Hmm... The interesting portion the wikipedia page is at. \"Select Graphic Rendition\"", "userDisplayName": null, "userId": "289138" }, { "creationDate": "2024-03-19T00:22:57.390", "id": "2645663", "postId": "1507760", "score": "0", "text": "If your input was `bob31man:x:1000:37::/root:/bin/bash` that'd change `bob31man` to `bob32man` and leave `bash` highlighted in red.", "userDisplayName": null, "userId": "1722986" }, { "creationDate": "2024-03-19T17:09:29.780", "id": "2645810", "postId": "1507760", "score": "0", "text": "Yes, and that would be a \"not covered\" case, as is often the case with the simplest form of `sed` use. You have to weight the simplicity against the usefulness.", "userDisplayName": null, "userId": "289138" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-17T11:58:59.483", "id": "1507760", "lastActivityDate": "2024-03-17T11:58:59.483", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "289138", "parentId": "1507758", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>The simple solution:</p>\n<p>Add <code>--color=always</code> to the grep options... then pipe the result into<br />\n<code>| sed -re 's/31m/32m/'</code> and you will get green text instead of the red.</p>\n<p><strong>Another way is described in the man page:</strong><br />\n<...
null
null
2024-03-19T06:56:21.267
null
null
1507767
1
null
2024-03-17T12:29:15.747
0
46
<p>When I click on Leave / Hibernate there is no action when I confirm the dialogue.</p> <p>settings:</p> <ul> <li>swap file (4GB) 2x physical memory (2GB)<br /> note: file, no swap partition</li> <li>Secure Boot is disabled bios: HP Pavilion X2 detachable bios F.20 (seems to be latest) TPM Device: hidden secure boot: disabled platform key: enrolled boot order: UEFI Boot order, bios doesn't show legacy boot order</li> </ul> <p>However on boot I get an acpi error couldn't enable sleep button event message. Because I can't update bios (seems to be latest version) I tried without success:</p> <ul> <li>load bios default</li> <li>sudo -H gedit /etc/default/grub none of these option changed boot error:</li> </ul> <p>#GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;</p> <p>#GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash acpi=strict&quot;</p> <p>#GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash acpi=force&quot;</p> <p>#GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash pnpacpi=off&quot;</p> <p>sudo update-grub</p> <p>sudo update-initramfs -u</p> <p>I don't know if the acpi error is related to the system not hibernating.</p> <p>Your help would be very much appreciated because I don't want to try out something that could result in boot failure. Thanks in advance!</p>
839968
null
null
2024-03-17T12:29:15.747
LUbuntu 22.04.04 - hibernate not working - acpi error couldn't enable sleep button event
[ "boot", "lubuntu", "hibernate" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-28T21:56:01.610", "id": "2647542", "postId": "1507767", "score": "0", "text": "I've tried https://askubuntu.com/questions/6769/hibernate-and-resume-from-a-swap-file (answer 22.04) which enables hibernate but resume results in a black screen after the LUbuntu logo. Any ...
null
[]
null
null
null
null
null
1507770
1
null
2024-03-17T13:15:15.713
0
104
<p>could someone help me please? I am trying to free some space on the Boot, but it gives me that:</p> <blockquote> <p>:~$ sudo apt autoremove<br /> ... E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).</p> </blockquote> <p><strong>UPDATE:</strong></p> <p>I tried to delete old kernels following the steps from this <a href="https://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot">post</a>. It gives me the same answer</p> <p><strong>SIMULATION</strong></p> <pre>:<b>~</b>$ sudo dpkg --simulate -P $(dpkg -l &apos;linux-*&apos; | sed &apos;/^ii/!d;/&apos;&quot;$(uname -r | sed &quot;s/\(.*\)-\([^0-9]\+\)/\1/&quot;)&quot;&apos;/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d&apos;) [sudo] password for lisa: (Reading database ... 441732 files and directories currently installed.) Would remove or purge linux-generic-hwe-20.04 (5.15.0.91.88) ... <b>dpkg:</b> dependency problems prevent removal of linux-headers-5.15.0-92-generic: linux-headers-generic depends on linux-headers-5.15.0-92-generic. <b>dpkg:</b> error processing package linux-headers-5.15.0-92-generic (--purge): dependency problems - not removing Would remove or purge linux-headers-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... Would remove or purge linux-headers-6.2.0-39-generic (6.2.0-39.40~22.04.1) ... Would remove or purge linux-headers-6.5.0-15-generic (6.5.0-15.15~22.04.1) ... Would remove or purge linux-headers-6.5.0-21-generic (6.5.0-21.21~22.04.1) ... <b>dpkg:</b> dependency problems prevent removal of linux-headers-generic-hwe-22.04: linux-generic-hwe-22.04 depends on linux-headers-generic-hwe-22.04 (= 6.5.0.25.25~22.04.12). <b>dpkg:</b> error processing package linux-headers-generic-hwe-22.04 (--purge): dependency problems - not removing Would remove or purge linux-hwe-6.2-headers-6.2.0-33 (6.2.0-33.33~22.04.1) ... Would remove or purge linux-hwe-6.2-headers-6.2.0-39 (6.2.0-39.40~22.04.1) ... Would remove or purge linux-hwe-6.5-headers-6.5.0-15 (6.5.0-15.15~22.04.1) ... Would remove or purge linux-hwe-6.5-headers-6.5.0-21 (6.5.0-21.21~22.04.1) ... <b>dpkg:</b> dependency problems prevent removal of linux-image-5.15.0-92-generic: linux-image-generic depends on linux-image-5.15.0-92-generic. <b>dpkg:</b> error processing package linux-image-5.15.0-92-generic (--purge): dependency problems - not removing Would remove or purge linux-image-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... Would remove or purge linux-image-6.2.0-39-generic (6.2.0-39.40~22.04.1) ... <b>dpkg:</b> dependency problems prevent removal of linux-libc-dev:amd64: libc6-dev:amd64 depends on linux-libc-dev. <b>dpkg:</b> error processing package linux-libc-dev:amd64 (--purge): dependency problems - not removing <b>dpkg:</b> dependency problems prevent removal of linux-modules-5.15.0-92-generic: linux-image-5.15.0-92-generic depends on linux-modules-5.15.0-92-generic. <b>dpkg:</b> error processing package linux-modules-5.15.0-92-generic (--purge): dependency problems - not removing Would remove or purge linux-modules-extra-5.15.0-91-generic (5.15.0-91.101) ... <b>dpkg:</b> dependency problems prevent removal of linux-modules-extra-5.15.0-92-generic: linux-image-generic depends on linux-modules-extra-5.15.0-92-generic. <b>dpkg:</b> error processing package linux-modules-extra-5.15.0-92-generic (--purge): dependency problems - not removing Would remove or purge linux-modules-extra-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... Would remove or purge linux-modules-extra-6.2.0-39-generic (6.2.0-39.40~22.04.1) ... <b>dpkg:</b> dependency problems prevent removal of linux-headers-5.15.0-92: linux-headers-5.15.0-92-generic depends on linux-headers-5.15.0-92. <b>dpkg:</b> error processing package linux-headers-5.15.0-92 (--purge): dependency problems - not removing <b>dpkg:</b> dependency problems prevent removal of linux-headers-6.5.0-25-generic: linux-headers-generic-hwe-22.04 depends on linux-headers-6.5.0-25-generic. <b>dpkg:</b> error processing package linux-headers-6.5.0-25-generic (--purge): dependency problems - not removing <b>dpkg:</b> dependency problems prevent removal of linux-hwe-6.5-headers-6.5.0-25: linux-headers-6.5.0-25-generic depends on linux-hwe-6.5-headers-6.5.0-25. <b>dpkg:</b> error processing package linux-hwe-6.5-headers-6.5.0-25 (--purge): dependency problems - not removing Would remove or purge linux-modules-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... Would remove or purge linux-modules-6.2.0-39-generic (6.2.0-39.40~22.04.1) ... Would remove or purge linux-modules-5.15.0-91-generic (5.15.0-91.101) ... Would remove or purge linux-image-5.15.0-91-generic (5.15.0-91.101) ... Errors were encountered while processing: linux-headers-5.15.0-92-generic linux-headers-generic-hwe-22.04 linux-image-5.15.0-92-generic linux-libc-dev:amd64 linux-modules-5.15.0-92-generic linux-modules-extra-5.15.0-92-generic linux-headers-5.15.0-92 linux-headers-6.5.0-25-generic linux-hwe-6.5-headers-6.5.0-25 </pre> <p><strong>UPDATE</strong></p> <pre>:<b>~</b>$ uname -r 6.5.0-14-generic</pre> <pre>:<b>~</b>$ dpkg -l | egrep linux-&apos;[g|i|h|m]&apos; ii binutils-x86-64-<b>linux-g</b>nu 2.38-4ubuntu2.5 amd64 GNU binary utilities, for x86-64-<b>linux-g</b>nu target ii <b>linux-g</b>eneric 5.15.0.92.89 amd64 Complete Generic Linux kernel and headers ii <b>linux-g</b>eneric-hwe-20.04 5.15.0.91.88 amd64 Complete Generic Linux kernel and headers (dummy transitional package) iU <b>linux-g</b>eneric-hwe-22.04 6.5.0.25.25~22.04.12 amd64 Complete Generic Linux kernel and headers ii <b>linux-h</b>eaders-5.15.0-92 5.15.0-92.102 all Header files related to Linux kernel version 5.15.0 ii <b>linux-h</b>eaders-5.15.0-92-generic 5.15.0-92.102 amd64 Linux kernel headers for version 5.15.0 on 64 bit x86 SMP ii <b>linux-h</b>eaders-6.2.0-33-generic 6.2.0-33.33~22.04.1 amd64 Linux kernel headers for version 6.2.0 on 64 bit x86 SMP ii <b>linux-h</b>eaders-6.2.0-39-generic 6.2.0-39.40~22.04.1 amd64 Linux kernel headers for version 6.2.0 on 64 bit x86 SMP ii <b>linux-h</b>eaders-6.5.0-14-generic 6.5.0-14.14~22.04.1 amd64 Linux kernel headers for version 6.5.0 on 64 bit x86 SMP ii <b>linux-h</b>eaders-6.5.0-15-generic 6.5.0-15.15~22.04.1 amd64 Linux kernel headers for version 6.5.0 on 64 bit x86 SMP ii <b>linux-h</b>eaders-6.5.0-21-generic 6.5.0-21.21~22.04.1 amd64 Linux kernel headers for version 6.5.0 on 64 bit x86 SMP ii <b>linux-h</b>eaders-6.5.0-25-generic 6.5.0-25.25~22.04.1 amd64 Linux kernel headers for version 6.5.0 on 64 bit x86 SMP ii <b>linux-h</b>eaders-generic 5.15.0.92.89 amd64 Generic Linux kernel headers ii <b>linux-h</b>eaders-generic-hwe-22.04 6.5.0.25.25~22.04.12 amd64 Generic Linux kernel headers ii <b>linux-h</b>we-6.2-headers-6.2.0-33 6.2.0-33.33~22.04.1 all Header files related to Linux kernel version 6.2.0 ii <b>linux-h</b>we-6.2-headers-6.2.0-39 6.2.0-39.40~22.04.1 all Header files related to Linux kernel version 6.2.0 ii <b>linux-h</b>we-6.5-headers-6.5.0-14 6.5.0-14.14~22.04.1 all Header files related to Linux kernel version 6.5.0 ii <b>linux-h</b>we-6.5-headers-6.5.0-15 6.5.0-15.15~22.04.1 all Header files related to Linux kernel version 6.5.0 ii <b>linux-h</b>we-6.5-headers-6.5.0-21 6.5.0-21.21~22.04.1 all Header files related to Linux kernel version 6.5.0 ii <b>linux-h</b>we-6.5-headers-6.5.0-25 6.5.0-25.25~22.04.1 all Header files related to Linux kernel version 6.5.0 rc <b>linux-i</b>mage-5.11.0-22-generic 5.11.0-22.23 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-25-generic 5.11.0-25.27 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-31-generic 5.11.0-31.33 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-34-generic 5.11.0-34.36 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-36-generic 5.11.0-36.40 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-37-generic 5.11.0-37.41 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-38-generic 5.11.0-38.42 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-40-generic 5.11.0-40.44 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-41-generic 5.11.0-41.45 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-44-generic 5.11.0-44.48 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.11.0-49-generic 5.11.0-49.55 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.13.0-40-generic 5.13.0-40.45 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.15.0-78-generic 5.15.0-78.85 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.15.0-79-generic 5.15.0-79.86 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.15.0-82-generic 5.15.0-82.91 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.15.0-84-generic 5.15.0-84.93 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.15.0-86-generic 5.15.0-86.96 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.15.0-88-generic 5.15.0-88.98 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.15.0-89-generic 5.15.0-89.99 amd64 Signed kernel image generic ii <b>linux-i</b>mage-5.15.0-91-generic 5.15.0-91.101 amd64 Signed kernel image generic ii <b>linux-i</b>mage-5.15.0-92-generic 5.15.0-92.102 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-25-generic 5.8.0-25.26 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-41-generic 5.8.0-41.46 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-43-generic 5.8.0-43.49 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-44-generic 5.8.0-44.50 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-45-generic 5.8.0-45.51 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-48-generic 5.8.0-48.54 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-49-generic 5.8.0-49.55 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-50-generic 5.8.0-50.56 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-53-generic 5.8.0-53.60 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-55-generic 5.8.0-55.62 amd64 Signed kernel image generic rc <b>linux-i</b>mage-5.8.0-59-generic 5.8.0-59.66 amd64 Signed kernel image generic rc <b>linux-i</b>mage-6.2.0-26-generic 6.2.0-26.26~22.04.1 amd64 Signed kernel image generic rc <b>linux-i</b>mage-6.2.0-31-generic 6.2.0-31.31~22.04.1 amd64 Signed kernel image generic ii <b>linux-i</b>mage-6.2.0-33-generic 6.2.0-33.33~22.04.1 amd64 Signed kernel image generic rc <b>linux-i</b>mage-6.2.0-34-generic 6.2.0-34.34~22.04.1 amd64 Signed kernel image generic rc <b>linux-i</b>mage-6.2.0-36-generic 6.2.0-36.37~22.04.1 amd64 Signed kernel image generic rc <b>linux-i</b>mage-6.2.0-37-generic 6.2.0-37.38~22.04.1 amd64 Signed kernel image generic ii <b>linux-i</b>mage-6.2.0-39-generic 6.2.0-39.40~22.04.1 amd64 Signed kernel image generic ii <b>linux-i</b>mage-6.5.0-14-generic 6.5.0-14.14~22.04.1 amd64 Signed kernel image generic ii <b>linux-i</b>mage-generic 5.15.0.92.89 amd64 Generic Linux kernel image iU <b>linux-i</b>mage-generic-hwe-22.04 6.5.0.25.25~22.04.12 amd64 Generic Linux kernel image rc <b>linux-m</b>odules-5.11.0-22-generic 5.11.0-22.23 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-25-generic 5.11.0-25.27 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-31-generic 5.11.0-31.33 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-34-generic 5.11.0-34.36 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-36-generic 5.11.0-36.40 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-37-generic 5.11.0-37.41 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-38-generic 5.11.0-38.42 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-40-generic 5.11.0-40.44 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-41-generic 5.11.0-41.45 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-44-generic 5.11.0-44.48 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.11.0-49-generic 5.11.0-49.55 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.13.0-40-generic 5.13.0-40.45 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.15.0-78-generic 5.15.0-78.85 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.15.0-79-generic 5.15.0-79.86 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.15.0-82-generic 5.15.0-82.91 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.15.0-84-generic 5.15.0-84.93 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.15.0-86-generic 5.15.0-86.96 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.15.0-88-generic 5.15.0-88.98 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.15.0-89-generic 5.15.0-89.99 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP ii <b>linux-m</b>odules-5.15.0-91-generic 5.15.0-91.101 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP ii <b>linux-m</b>odules-5.15.0-92-generic 5.15.0-92.102 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-25-generic 5.8.0-25.26 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-41-generic 5.8.0-41.46 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-43-generic 5.8.0-43.49 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-44-generic 5.8.0-44.50 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-45-generic 5.8.0-45.51 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-48-generic 5.8.0-48.54 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-49-generic 5.8.0-49.55 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-50-generic 5.8.0-50.56 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-53-generic 5.8.0-53.60 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-55-generic 5.8.0-55.62 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-5.8.0-59-generic 5.8.0-59.66 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-6.2.0-26-generic 6.2.0-26.26~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-6.2.0-31-generic 6.2.0-31.31~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP ii <b>linux-m</b>odules-6.2.0-33-generic 6.2.0-33.33~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-6.2.0-34-generic 6.2.0-34.34~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-6.2.0-36-generic 6.2.0-36.37~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-6.2.0-37-generic 6.2.0-37.38~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP ii <b>linux-m</b>odules-6.2.0-39-generic 6.2.0-39.40~22.04.1 amd64 Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP ii <b>linux-m</b>odules-6.5.0-14-generic 6.5.0-14.14~22.04.1 amd64 Linux kernel extra modules for version 6.5.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-22-generic 5.11.0-22.23 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-25-generic 5.11.0-25.27 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-31-generic 5.11.0-31.33 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-34-generic 5.11.0-34.36 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-36-generic 5.11.0-36.40 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-37-generic 5.11.0-37.41 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-38-generic 5.11.0-38.42 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-40-generic 5.11.0-40.44 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-41-generic 5.11.0-41.45 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-44-generic 5.11.0-44.48 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.11.0-49-generic 5.11.0-49.55 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.13.0-40-generic 5.13.0-40.45 amd64 Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.15.0-78-generic 5.15.0-78.85 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.15.0-79-generic 5.15.0-79.86 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.15.0-82-generic 5.15.0-82.91 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.15.0-84-generic 5.15.0-84.93 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.15.0-86-generic 5.15.0-86.96 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.15.0-88-generic 5.15.0-88.98 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.15.0-89-generic 5.15.0-89.99 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP ii <b>linux-m</b>odules-extra-5.15.0-91-generic 5.15.0-91.101 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP ii <b>linux-m</b>odules-extra-5.15.0-92-generic 5.15.0-92.102 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.8.0-25-generic 5.8.0-25.26 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.8.0-41-generic 5.8.0-41.46 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.8.0-43-generic 5.8.0-43.49 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.8.0-44-generic 5.8.0-44.50 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP rc <b>linux-m</b>odules-extra-5.8.0-45-generic 5.8.0-45.51 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP ... </pre> <p>I had to shorten up cause too long (still 3000 of those characters)</p>
1775865
1775865
2024-03-26T20:56:20.957
2024-03-26T20:56:20.957
error: paste subprocess was killed by signal (Broken pipe)
[ "apt", "dpkg", "dependencies" ]
0
11
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T13:29:46.397", "id": "2645445", "postId": "1507770", "score": "0", "text": "yes, so with sudo apt --fix-broken install, appears this: dpkg: error processing archive /var/cache/apt/archives/linux-modules-6.5.0-21-ge\nneric_6.5.0-21.21~22.04.1_amd64.deb (--unpack):\n ...
null
[]
null
null
null
null
null
1507771
1
null
2024-03-17T13:15:42.510
5
222
<p>The Intel Killer Wifi 7 1750 (BE200) of the laptop Dell XPS 13 9340 is not stable with Ubuntu 22.04. It works a very little. But after starting downloading any thing, the system hangs. Is this hardware too new? Do I need to wait for getting it supported?</p>
1775864
null
null
2024-04-06T20:47:51.400
Issue with Intel Killer WiFi 7 1750 and Ubuntu 22.04
[ "iwlwifi" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507773
1
null
2024-03-17T13:36:30.230
0
15
<p>Then radionbios in loop. This slows the computer till it locks up. Published fixes tried to no avail. If i blacklist radion my screen shows distorted texts and images.</p>
572034
572034
2024-03-17T16:21:53.157
2024-03-17T16:21:53.157
Uuntu 22.04 on boot - "atom_execute_table_locked "
[ "boot", "22.04" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T01:15:31.360", "id": "2645507", "postId": "1507773", "score": "0", "text": "on boot the message Access beyond end of device, and another about the end of range appear, The fly by so quickly i haven't read them accurately. ALSO it takes a real long time to boot to th...
null
[]
null
null
null
null
null
1507774
1
null
2024-03-17T13:45:11.693
0
73
<p>I work in a group with six people, all with Jammy Jellyfish Ubuntu, and since last week we have no longer been able to compile tex files of the ConTeXt type.</p> <pre><code>fatal error : unable to load bytecode register 544, maybe wipe the cache first system | total runtime: 6.660 seconds </code></pre> <p>We tried to reinstall TeX Live without success. We even tried to install in a brand new machine. ButD during installation, the process stops exactly due to a problem with ConTeXt. We tried to downgrade texlive-binaries, but apparently it is not available.</p>
148512
null
null
2024-03-18T18:16:54.103
ConTeXt issue after texlive-binaries update
[ "texlive" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>I had the same issue and managed to downgrade texlive-binaries by using aptitude with the following:</p>\n<pre><code> sudo aptitude install texlive-binaries=2021.20210626.59705-1build1\n</code></pre>\n<p>It proposes several solutions, the one to accept in my case was:</p>\n<p...
null
null
null
null
null
1507775
1
null
2024-03-17T13:46:07.283
-1
47
<ul> <li><p>integrity : problem loading x.509 certification -65</p> </li> <li><p>integrity : problem loading x.509 certification -65</p> </li> <li><p>/devnvme0n1p5: clean, 4333973/4481024 files, 4971737/17920256 blocks</p> </li> <li><p>iwlwifi 0000:00:14.3: WRT : invalid buffer designation</p> </li> <li><p>iwlwifi 0000:00:14.3: WRT : invalid buffer designation</p> </li> <li><p>Bluetooth: hci0 : Malformed MSFT vendor event : 0x02</p> </li> </ul> <p>Please Keep in mind that I'm writing this from a image i took of my laptop while it was booting, since then i have upgraded my Ubuntu to 23.10 ( it was jammy jellyfish before ), my grub version of upon using &quot; grub-install --version &quot; is :- (GRUB) 2.12~rc1-10ubuntu4,kernel is:- 6.5.0-25-generic , my system is a Ubuntu with kde plasma standard install along with its default gnome de, it is with a dual boot with windows 11 on my acer laptop.</p>
1775870
1775870
2024-03-17T13:56:33.070
2024-03-17T13:56:33.070
I get these everytime I boot into ubuntu, along with this it i have to always forget then re-pair with every bluetooth device
[ "boot", "dual-boot" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T15:16:53.667", "id": "2645454", "postId": "1507775", "score": "1", "text": "https://askubuntu.com/questions/1218700/integrity-problem-loading-x-509-certificate-65 is the same and has things to try.", "userDisplayName": null, "userId": "15811" } ]
null
[]
null
null
null
null
null
1507777
1
1508122
2024-03-17T14:33:22.190
0
70
<p>I'm running Ubuntu 22.04 (Jammy Jellyfish, ARM64) on a Raspberry Pi. After imaging the Pi's SSD, I re-partitioned the drive and mirrored the contents of /var onto the new partition (verified), renamed the original /var to /var.old before making a fresh, empty /var directory for use as a mount point. The appropriate change was made to fstab and everything was working exactly as expected after several re-boots into the SSD's Ubuntu. Afterwards, I booted the Pi using a microSD card and mounted /dev/sda2 (Ubuntu's root on the SSD) to find a populated fontconfig directory under the SSD's otherwise empty /var. This leads me to believe that something (a script or systemd, maybe) is writing to the mount point directory shortly after the root is mounted, but before the intended partition for var is. Please note that the partition which eventually gets mounted at /var also has it's own fontconfig directory, which differs in its contents from the otherwise empty mount point folder's. I'm somewhat new to Linux in general, and have no idea where to begin looking. Search engines haven't returned anything useful. Having a dedicated partition for /var is, to my understanding, a very standard configuration in Linux. My question: Is there a way to make sure nothing gets written to /var until the bespoke partition is mounted? Thanks in advance.</p>
1775876
null
null
2024-03-21T00:10:28.630
Ubuntu 22.04 on Raspberry Pi: /var/cache/fontconfig Gets Created Before /var Is Mounted
[ "boot", "partitioning", "mount", "fonts" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T15:08:49.260", "id": "2645453", "postId": "1507777", "score": "0", "text": "don't use /var as its own partition. If this is for mysql/maridb or apache/nginx or logfiles or printing history: each of these can be setup to use another directory. It is nowadays more ide...
{ "accepted": true, "body": "<pre><code>sudo systemctl disable fontconfig-regenerate-cache.service\n</code></pre>\n<p>is a workaround. But you'll have to re-generate your font cache manually when necessary.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-21T00:10:28.630", "id": "1508122", "lastActivityDate": "2024-03-21T00:10:28.630", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1775876", "parentId": "1507777", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<pre><code>sudo systemctl disable fontconfig-regenerate-cache.service\n</code></pre>\n<p>is a workaround. But you'll have to re-generate your font cache manually when necessary.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLice...
null
null
null
null
null
1507778
1
null
2024-03-17T15:44:31.013
0
26
<p>I want automatically made full image backup from any servers. Manually it works like:</p> <pre><code>ssh username@Server.xxx &quot;nohup sudo -S dd if=/dev/sda | gzip -1 -&quot; | dd of=fullServerXX-`date +%d%m%y`.img.gz </code></pre> <p>and needed two times a password - for ssh and sudo. I want to do that by cron. How can i put this into a bash script, give the password and let run that unattended?</p>
1362749
null
null
2024-03-17T15:44:31.013
unattended bash script (*.sh) with password
[ "bash", "scripts", "ssh" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T16:04:12.303", "id": "2645459", "postId": "1507778", "score": "0", "text": "eh the middle command you add to /etc/crontab of the server itself. Negates the use of sudo as you can add user `root` to the line. No need to use ssh. If you want it copied to anther machin...
null
[]
null
null
null
null
null
1507779
1
null
2024-03-17T16:22:42.580
0
16
<p>When I start my laptop that time my screen rotate automatically it shows (landscape flipped) inside setting and if i leave my laptop idle and it goes into sleep mode this problem occurs then also I have tried many things to solve this issue</p> <p><code>xrandr --output XWAYLAND0 --rotate left</code></p> <p>I used <code>xrandr -q</code> to find my display name</p> <p>Second issue is when i close my lid my laptop goes off and doesn't switch on i have to cold boot my laptop to switch it on again</p>
1775889
null
null
2024-03-17T16:22:42.580
Screen auto rotate (Landscpe flipped) when switching on my lenovo
[ "multiple-monitors", "suspend", "lenovo", "display-resolution", "xrandr" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507783
1
null
2024-03-17T16:59:30.357
0
20
<p>I'm trying to create a dock shortcut for a streaming service browser application that does not have a native apllication on the ubuntu store. I was able to create the .desktop file and make it work, but whenever I open the application, the page is contained within the firefox icon in the dock and not within it's dedicated icon I created. Moreover whenever I click the shortcut it opens a new page with the same URL (I keep making duplicates instead of restoring the page that was already opened). Is there a way to make the dock URL shortcut I created function just like a native application, opening the current application whenever I click on it (instead of opening a new window) and be contained within the dock icon I created instead of firefox'? I noticed the URL changes as I navigate the streaming website, is there a way to solve for this?</p> <p>My current .desktop file looks like:</p> <pre><code>[Desktop Entry] Comment=Open crunchyroll web page Terminal=false Name=Crunchyroll Exec=firefox -new-window https://www.crunchyroll.com/ Type=Application Icon=/home/username/.local/share/applications/crunchyroll_icon.svg NoDisplay=false SingleMainWindow=true </code></pre> <p>P.S.: the last line is apparently not working.</p>
1775903
1775903
2024-03-17T17:04:11.313
2024-03-17T17:04:11.313
Creating a dedicated dock shortcut for my streaming service web page using .desktop files
[ "firefox", ".desktop", "shortcuts", "ubuntu-dock", "url" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507787
1
1508007
2024-03-17T17:25:10.490
1
85
<p>Running Ubuntu 20.04, I have computers that I want to reboot everyday at 7AM. I followed these instructions, and I thought it was working, but now when I use the <code>uptime</code> command, it will often report longer than 24 hours, which if it reboots daily, it should never exceed.</p> <p>These were the instructions I used.</p> <p>To schedule a daily reboot at 7 AM on a Linux system, you can use the cron scheduler. Open your crontab file by running:</p> <p><code>crontab -e</code></p> <p>Select an editor. To change later, run 'select-editor'.</p> <pre><code> 1. /bin/nano &lt;---- easiest 2. /usr/bin/vim.tiny 3. /bin/ed </code></pre> <p>choose <code>option 1</code> for the editor</p> <p>Then, add the following line to reboot everyday at 7 AM:</p> <p><code>0 7 * * * /sbin/shutdown -r now</code></p> <p>Save the file, and the system will reboot everyday at 7 AM.</p> <p>In this example:</p> <pre><code>• Minute: 0 • Hour: 7 (7 AM) • Day of the month: * (every day of the month) • Month: * (every month) • Day of the week: * (every day of the week) </code></pre> <p>This line specifies that the system will reboot every day at 7 AM. Save the file after making this modification.</p> <p>I did the CTRL X and saved the file (<code>File Name to Write: /tmp/crontab.GO6Qpc/crontab</code>), was back at the terminal prompt and rebooted. Is there anything else I need to do? Did I save it in the correct place? Do I need to add any <code>sudo</code> commands anywhere?</p>
1741552
1741552
2024-03-19T12:46:14.180
2024-03-19T19:01:59.183
Scheduled a computer to reboot everyday at 7AM, not sure if I did it correctly
[ "command-line", "shutdown", "cron" ]
1
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T17:43:03.170", "id": "2645463", "postId": "1507787", "score": "6", "text": "You can use `crontab -l` to verify ... Also a reboot might need elevated privileges if other users are logged in at the time the cronjob is executed and that can be done by adding that line ...
{ "accepted": true, "body": "<p>Your, cronjob and logic is correct syntax-wise and you can verify if you succeeded in installing the new crontab for your user with:</p>\n<pre><code>crontab -l\n</code></pre>\n<p>... and you should see your added cronjob listed in the output.</p>\n<p><strong>That said</strong>, a <strong>reboot</strong> might need to be issued by a user with elevated privileges in some cases like if other users are logged in or an inhibitor is set by a service/application at the time the cronjob is executed and in which cases, CRON invoked as a regular user will fail to execute that command.</p>\n<p><strong>Therefore</strong>, you should probably be installing such cronjobs to <code>root</code>'s crontab instead with <code>sudo</code> like so:</p>\n<pre><code>sudo crontab -e\n</code></pre>\n<p>... and to list cronjobs for <code>root</code>, use <code>sudo</code> as well like so:</p>\n<pre><code>sudo crontab -l\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-19T19:01:59.183", "id": "1508007", "lastActivityDate": "2024-03-19T19:01:59.183", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "968501", "parentId": "1507787", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Your, cronjob and logic is correct syntax-wise and you can verify if you succeeded in installing the new crontab for your user with:</p>\n<pre><code>crontab -l\n</code></pre>\n<p>... and you should see your added cronjob listed in the output.</p>\n<p><strong>That said</strong...
null
null
null
null
null
1507788
1
null
2024-03-17T17:47:51.813
0
32
<p>My network adapter wasn't supported when I initially installed Ubuntu server 20.04. This was several years ago, and my memory of how I addressed the issue is pretty foggy; I'm fairly certain that I looked-up the first version of the linux kernel which had a driver for my network adapter and followed some guides to install / use that one. I'm pretty sure that was version 5.17.</p> <p>Fast forward to today. I did a release upgrade to 22.04, and found an article saying that the kernel in 22.04 was using version 6.0+, which should still have driver support for my adapter. However, when I typed uname -r after the release upgrade and restart I'm still on 5.17. I found an article online saying that manual kernel installs wont update with apt upgrade, and presumably also with release upgrades. I checked before the release upgrade and I was using 5.17 with 20.04 as well. I can't seem to find any information about undoing that manual kernel install I did like 5 years ago.</p> <p>I'd like to use the latest kernel with 22.04, but I'm not sure how to proceed. Any help would be much appreciated!</p> <p>Thank you.</p>
517972
null
null
2024-03-17T17:47:51.813
Remove an old Kernel
[ "networking", "drivers", "apt", "upgrade", "kernel" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T18:06:32.360", "id": "2645467", "postId": "1507788", "score": "1", "text": "what linux kernel version was compatible with you adapter.?", "userDisplayName": null, "userId": "730648" }, { "creationDate": "2024-03-17T19:59:51.550", "id": "2645476",...
null
[]
null
null
null
null
null
1507791
1
null
2024-03-17T18:19:43.613
0
26
<p>Can someone please help me with this error?</p> <pre><code>root@ip3:~# sudo service apparmor restart Job for apparmor.service failed because the control process exited with error code. See &quot;systemctl status apparmor.service&quot; and &quot;journalctl -xeu apparmor.service&quot; for details. </code></pre> <p><a href="https://i.stack.imgur.com/nuPZr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nuPZr.png" alt="enter image description here" /></a></p>
1775920
1066942
2024-03-17T18:52:19.283
2024-03-17T18:52:19.283
sudo service apparmor restart gives error
[ "server", "home-directory", "minecraft" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T18:32:44.367", "id": "2645469", "postId": "1507791", "score": "1", "text": "Did you try `systemctl status apparmor.service`? Also, why did you want to start apparmor? What are you trying to do?", "userDisplayName": null, "userId": "124466" }, { "crea...
null
[]
null
null
null
null
null
1507792
1
null
2024-03-17T18:22:23.207
0
32
<p>A few days ago, after applying an upgrade, I will login at the Lubuntu session screen and desktop starts to load and desktop icons appear but clicking them does nothing and no menu or taskbar either. After a few minutes the screen is black with just the pointer that no longer moves.</p>
1624996
null
null
2024-03-17T18:22:23.207
Desktop locks up, Lubuntu 20.04
[ "20.04", "lubuntu", "desktop-environments" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T01:27:35.267", "id": "2645512", "postId": "1507792", "score": "1", "text": "FYI: You're aware that Lubuntu 20.04 LTS was a *flavor* of Ubuntu 20.04 LTS and came with 3 years of supported life? (refer https://lubuntu.me/lubuntu-20-04-lts-end-of-life-and-current-supp...
null
[]
null
null
null
null
null
1507796
1
null
2024-03-17T19:23:13.557
-1
21
<p>I'm running Ubuntu Server 23.10 to learn about server operation.</p> <p>Hardware: Dell Optiplex 790 MT 1TB SATA hard drive 16GB Memory (maximum the computer can have)</p> <p>The hard drive passes all bios testing The memory passes all bios testing</p> <p>I ran smartctl with the following results</p> <hr /> <p>***smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.0-25-generic] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, <a href="http://www.smartmontools.org" rel="nofollow noreferrer">www.smartmontools.org</a> === START OF INFORMATION SECTION === Model Family: Western Digital Green Device Model: WDC WD10EZRX-00D8PB0 Serial Number: WD-WCC4MNVAS898 LU WWN Device Id: 5 0014ee 2b5a524b3 Firmware Version: 80.00A80 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Device is: In smartctl database 7.3/5319 ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Mar 17 19:05:54 2024 UTC SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (13980) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 144) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x7035) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 308 3 Spin_Up_Time 0x0027 179 170 021 Pre-fail Always - 4050 4 Start_Stop_Count 0x0032 096 096 000 Old_age Always - 4327 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 024 024 000 Old_age Always - 55794 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 4326 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 144 193 Load_Cycle_Count 0x0032 194 194 000 Old_age Always - 18990 194 Temperature_Celsius 0x0022 118 099 000 Old_age Always - 29 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 10 198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 8 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 47 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error</p> <h1>1 Short offline Completed without error 00% 55762 -</h1> <h1>2 Short offline Aborted by host 90% 55762 -</h1> <h1>3 Short offline Completed without error 00% 55761 -</h1> <h1>4 Short offline Completed without error 00% 55761 -</h1> <h1>5 Short offline Completed without error 00% 54839 -</h1> <h1>6 Short offline Completed without error 00% 54293 -</h1> <h1>7 Short offline Completed without error 00% 50672 -</h1> <h1>8 Short offline Aborted by host 90% 49849 -</h1> <h1>9 Short offline Completed without error 00% 49845 -</h1> <p>#10 Short offline Completed without error 00% 48956 - #11 Short offline Completed without error 00% 48956 - #12 Short offline Completed without error 00% 47508 - #13 Short offline Completed without error 00% 47113 - #14 Short offline Completed without error 00% 46313 - #15 Short offline Completed without error 00% 44905 - #16 Short offline Completed without error 00% 43584 - #17 Short offline Completed without error 00% 43584 - #18 Short offline Completed without error 00% 41946 - #19 Short offline Completed without error 00% 40038 - #20 Short offline Completed without error 00% 39492 - #21 Extended offline Interrupted (host reset) 50% 38405 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.***</p> <hr /> <p>The error that appears on the monitor, not all the time, is:</p> <hr /> <p><em><strong>ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 actioin 0x6 frozen ata1.00: failed command: FLUSH CACHE EXT ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 14 res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) ata1.00: status. { DRDY }</strong></em></p> <hr /> <p>If I read the systemctl results, there's no hardware failures. I can still access the files in the</p> <p>/srv/samba/share</p> <p>folders from Windows and Linux Mint.</p> <p>The server has no failures/errors during boot and the error does not cause the server to fail. It appears to be a nuisance error.</p> <p>Anyone ever see this error and if so is there a fix for it?</p> <p>Thanks for the support.</p>
1775366
null
null
2024-03-17T19:23:13.557
Ubuntu Server 23.10 Error
[ "server" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507797
1
null
2024-03-17T19:25:55.170
0
28
<p>After installing the latest updates from 22.04 LTS I ran into an issue where some programs can access the network but others seem blocked. Chrome can get on to the net but Firefox comes back with Server Not found errors. My Plex Server works just fine but Any Desk shows that it can not connect to the server. I have uninstalled both programs and reinstalled them but the same thing happens. From the terminal I can Ping Google.com but not the routers IP. The PC is connected to the router via cable and in Network Manager it shows connected. No other machine (Windows, Android and Apple) on the network are having issues.</p>
1775918
1775918
2024-03-17T19:42:10.827
2024-03-17T19:42:10.827
some programs can access the network but not others
[ "networking" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T22:00:41.863", "id": "2645488", "postId": "1507797", "score": "0", "text": "Look at `ip route show`, `ip address show` (or, if you're lazy like me: `ip r;ip a`). Also `cat /etc/resolv.conf`. Please [edit] your question to add whatever information you get. Do not use...
null
[]
null
null
null
null
null
1507799
1
null
2024-03-17T19:54:42.177
0
16
<p>I have a mouse-keyboard combo, so they use the same USB receiver (Logitech non unifying).</p> <p>Is there a method to prevent mouse wake up (from sleep), but keep keyboard wake up? At least to decrease the sensitivity?</p>
1536555
null
null
2024-03-17T19:54:42.177
Prevent mouse wake up when using combo receiver
[ "usb", "suspend", "mouse", "logitech", "wakeup" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T22:51:41.470", "id": "2645654", "postId": "1507799", "score": "0", "text": "Does this answer your question? [How do I prevent mouse movement from waking up a suspended computer?](https://askubuntu.com/questions/252743/how-do-i-prevent-mouse-movement-from-waking-up-a...
null
[]
null
null
null
null
null
1507800
1
null
2024-03-17T20:04:06.897
-1
58
<p>I've set up a Wifi Hotspot from LAN based on this tutorial: <a href="https://askubuntu.com/questions/129579/creating-a-hotspot-in-lubuntu">Creating a hotspot in Lubuntu</a></p> <p>However when I choose Advanced Network Configuration / WiFi Security / WPA &amp; WPA Personal I'm unable to connect via iPhone. (mode Hotspot, Band automatic, channel default, my device has got only B/G 2,4 GHz Wifi)</p> <p>When I remove Security at all a connection is possible.</p> <p>When I modify the connection</p> <pre><code>-&gt;nmcli connection down Hotspot -&gt;nmcli connection modify Hotspot wifi-sec.pmf disable -&gt;nmcli connection up Hotspot </code></pre> <p>(see also <a href="https://askubuntu.com/questions/1424633/unable-to-connect-with-the-hotspot-created-on-ubuntu">Unable to connect with the hotspot created on ubuntu</a>)</p> <p>then I can connect via WPA/WPA2 (TKIP) according to iPhone.</p> <p>The previously installed Windows 10 Home could manage a Wifi Hotspot with WPA2 (AES) security, so the HW is capable of this mode.</p> <p>sure, I even was able to reproduce the issue on a different Ubuntu 2022.04.</p> <p>Steps processed:</p> <ol> <li>wired connection via Advanced Network Configuration GUI -device eXYZ -left everything else as default</li> <li>sudo apt-get install hostapd sudo apt-get install dnsmasq (because it was suggested here <a href="https://askubuntu.com/questions/129579/creating-a-hotspot-in-lubuntu">Creating a hotspot in Lubuntu</a>)</li> </ol> <p>3.Create Hotspot via Advanced Network Configuration GUI:</p> <p>-new WiFi -enter ssid -enter connection name mode: Hotspot</p> <p>-enter device wXYZ -left everything else as defaulted</p> <p>WIFI Security:</p> <p>-wpa &amp; WPA Personal</p> <p>-Password</p> <p>-IP4 Settings: shared to other computers was pre-selected</p> <p>-save -nmcli connection up Hotspot</p> <p>(connect via iPhone was not possible)</p> <p>-rebot: found some dnsmasq related errors:</p> <p>-sudo apt-get remove hostapd</p> <p>-sudo apt-get remove dnsmasq</p> <p>-reboot -nmcli connection up Hotspot</p> <p>(connect via iPhone was not possible)</p> <p>-nmcli connection down Hotspot</p> <p>Editing Hotspot via GUI:</p> <p>WiFi Security: none</p> <p>-nmcli connection up Hotspot</p> <p>(connect via iPhone was successful)</p> <p>WIFI Security via GUI:</p> <p>-wpa &amp; WPA Personal</p> <p>-Password</p> <p>-nmcli connection down</p> <p>Hotspot -nmcli connection modify Hotspot wifi-sec.pmf disable</p> <p>-nmcli connection up Hotspot</p> <p>(as suggested here <a href="https://askubuntu.com/questions/1424633/unable-to-connect-with-the-hotspot-created-on-ubuntu">Unable to connect with the hotspot created on ubuntu</a>)</p> <p>(connection via iPhone was possible, warning weak security)</p> <p>Message on iPhone: WPA/WPA2 (TKIP) is not considered secure. If this is your Wifi network, confgure the router to use WPA2 (AES) or WPA3</p> <p>How do I change my setup to be able to connect via WPA2 (AES) security?</p> <p>Thanks for your reply!</p>
839968
839968
2024-03-18T08:17:47.943
2024-03-18T08:17:47.943
LUbuntu 22.04 WiFi Hotspot - unable to connect with WPA2 (AES) security
[ "lubuntu", "security", "hot-spot", "wpa2" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T22:02:55.287", "id": "2645489", "postId": "1507800", "score": "2", "text": "Please [edit] your question to include the elements of the solution you've tried in the post itself rather than relying on a link to the guide you followed. We need to understand what steps ...
null
[]
null
null
null
null
null
1507802
1
null
2024-03-17T20:21:49.103
0
32
<p>I am using a <code>Dell KB216 Wired Keyboard</code> and Ubuntu. When i press the <code>Fn</code> key, it should move the cursor to the end or the beginning of a line, but this is not the case, instead the cursor moves as normal, one character per press.</p> <ul> <li><p>The <code>Fn</code> key works fine for the rest of stuff like choosing alternative key Functionality.</p> </li> <li><p>I also have another laptop with the same Ubuntu kernel and the <code>Fn</code> key works fine.</p> </li> <li><p><code>Home</code> and <code>End</code> key works fine and move the cursor to the end and beginning of lines.</p> </li> <li><p>I also noticed that the <code>Fn</code> + <code>Esc</code> does not seem to toggle the <code>Fn</code> key, there is a Lock icon on the <code>Esc</code> key which is not affected.</p> </li> </ul> <p>Any idea how can i fix the <code>Fn</code> key ?</p> <hr /> <p>System info (<code>sudo inxi -Faz</code>):</p> <pre><code>System: Kernel: 6.7.9-060709-generic arch: x86_64 bits: 64 compiler: N/A clocksource: tsc available: hpet,acpi_pm parameters: BOOT_IMAGE=/vmlinuz-6.7.9-060709-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash vt.handoff=7 Desktop: GNOME v: 45.2 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM3 v: 45.beta Distro: Ubuntu 23.10 (Mantic Minotaur) Machine: Type: Desktop Mobo: Micro-Star model: MAG B550 TOMAHAWK MAX WIFI (MS-7C91) v: 1.0 serial: &lt;filter&gt; UEFI: American Megatrends LLC. v: 2.60 date: 10/10/2023 CPU: Info: model: AMD Ryzen 9 5950X socket: AM4 bits: 64 type: MT MCP arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x21 (33) stepping: 2 microcode: 0xA20120E Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache: L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB L3: 64 MiB desc: 2x32 MiB Speed (MHz): avg: 2275 high: 3400 min/max: 2200/5083 boost: enabled base/boost: 3400/5050 scaling: driver: acpi-cpufreq governor: schedutil volts: 1.1 V ext-clock: 100 MHz cores: 1: 2200 2: 2200 3: 2200 4: 2200 5: 3400 6: 2200 7: 2200 8: 2200 9: 2200 10: 3400 11: 2200 12: 2200 13: 2200 14: 2200 15: 2200 16: 2200 17: 2200 18: 2200 19: 2200 20: 2200 21: 2200 22: 2200 23: 2200 24: 2200 25: 2200 26: 2200 27: 2200 28: 2200 29: 2200 30: 2200 31: 2200 32: 2200 bogomips: 217615 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Vulnerabilities: Type: gather_data_sampling status: Not affected Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: mmio_stale_data status: Not affected Type: retbleed status: Not affected Type: spec_rstack_overflow mitigation: Safe RET Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: NVIDIA GA104 [GeForce RTX 3060] vendor: Micro-Star MSI driver: nvidia v: 545.29.06 alternate: nvidiafb,nouveau,nvidia_drm non-free: 535.xx+ status: current (as of 2023-08) arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: none off: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 2b:00.0 chip-ID: 10de:2487 class-ID: 0300 Display: server: X.Org v: 1.21.1.7 with: Xwayland v: 23.2.0 compositor: gnome-shell driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1 Screen-1: 0 s-res: 3424x1926 s-dpi: 144 s-size: 606x341mm (23.86x13.43&quot;) s-diag: 695mm (27.38&quot;) Monitor-1: DP-1 mapped: DP-0 note: disabled model: MSI G274QPF serial: &lt;filter&gt; built: 2023 res: 3424x1926 hz: 165 dpi: 145 gamma: 1.2 size: 600x330mm (23.62x12.99&quot;) diag: 685mm (27&quot;) ratio: 16:9 modes: max: 2560x1440 min: 640x480 API: OpenGL v: 4.6.0 NVIDIA 545.29.06 renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2 direct-render: Yes Audio: Device-1: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2b:00.1 chip-ID: 10de:228b class-ID: 0403 Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403 API: ALSA v: k6.7.9-060709-generic status: kernel-api tools: alsactl,alsamixer,amixer Server-1: PipeWire v: 0.3.79 status: n/a (root, process) with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin tools: pw-cat,pw-cli,wpctl Network: Device-1: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 29:00.0 chip-ID: 14c3:0608 class-ID: 0280 IF: wlo1 state: up mac: &lt;filter&gt; Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8125 class-ID: 0200 IF: enp42s0 state: down mac: &lt;filter&gt; Bluetooth: Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:6 chip-ID: 0e8d:0608 class-ID: e001 serial: &lt;filter&gt; Report: hciconfig ID: hci0 rfk-id: 0 state: up address: &lt;filter&gt; bt-v: 5.2 lmp-v: 11 sub-v: 2311 hci-v: 11 rev: 919 class-ID: 6c0104 Info: acl-mtu: 1021:6 sco-mtu: 240:8 link-policy: rswitch sniff link-mode: peripheral accept service-classes: rendering, capturing, audio, telephony Drives: Local Storage: total: 1.82 TiB used: 65.94 GiB (3.5%) SMART Message: Required tool smartctl not installed. Check --recommends ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: MSI model: M480 PRO 2TB size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: &lt;filter&gt; fw-rev: EIFM80.0 temp: 37.9 C scheme: GPT Partition: ID-1: / raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 65.66 GiB (3.6%) fs: ext4 block-size: 4096 B dev: /dev/dm-1 maj-min: 252:1 mapped: ubuntu--vg-ubuntu--lv ID-2: /boot raw-size: 2 GiB size: 1.9 GiB (95.01%) used: 283.9 MiB (14.6%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2 ID-3: /boot/efi raw-size: 1.05 GiB size: 1.05 GiB (99.80%) used: 6.1 MiB (0.6%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1 Swap: Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) priority: -2 file: /swap.img Sensors: System Temperatures: cpu: 34.5 C mobo: N/A gpu: nvidia temp: 51 C Fan Speeds (rpm): N/A gpu: nvidia fan: 32% Info: Processes: 539 Uptime: 22m wakeups: 0 Memory: total: 32 GiB available: 31.27 GiB used: 4.22 GiB (13.5%) Init: systemd v: 253 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 13.2.0 alt: 12/13 clang: 16.0.6 Packages: 1842 pm: dpkg pkgs: 1825 libs: 958 tools: apt,apt-get pm: flatpak pkgs: 7 pm: snap pkgs: 10 Shell: Sudo (sudo) v: 1.9.14p2 default: Bash v: 5.2.15 running-in: gnome-terminal inxi: 3.3.29 </code></pre>
1613557
null
null
2024-03-18T20:42:48.970
Fn key does not move the cursor to the end or the beginning of a line in Ubuntu (Dell KB216 Keyboard)
[ "keyboard", "dell", "keyboard-layout", "23.10" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>I discovered that this is probably a hardware problem in my keyboard, some keyboards cannot do some key combinations. For instance the <code>right arrow</code> + <code>N</code> combination is not working.</p>\n", "commentCount": "0", "comments": [], "communityOwne...
null
null
null
null
null
1507803
1
1507807
2024-03-17T20:27:20.203
9
1221
<p>Over the years I've moved away from using aliases to defining functions in a <code>.functions</code> file that I source at the time of launching the shell. This works fine, but one feature of <code>alias</code> that I miss is being able to see what a particular function does.</p> <p>Example:</p> <ul> <li><p>Alias:</p> <pre><code>alias tailnet='journalctl -f -u NetworkManager' </code></pre> </li> <li><p>Function:</p> <pre><code>tailnet() { # Continuous tailing of the network log journalctl -f -u NetworkManager } </code></pre> </li> </ul> <p>In order to see what the alias <code>tailnet</code> does, I can just type <code>alias tailnet</code> and the definition of the alias will be shown. Is there something similar for functions or do I have to open the file where the function is defined?</p>
1104082
618353
2024-03-23T20:22:18.810
2024-03-23T20:22:18.810
Show Shell Function in Ubuntu Terminal
[ "bash", "alias", "functions" ]
2
0
CC BY-SA 4.0
[]
{ "accepted": true, "body": "<p>You can do both (<em>and maybe more</em>) at once with <code>type -a</code> like so:</p>\n<pre class=\"lang-none prettyprint-override\"><code>$ type -a tailnet\ntailnet is aliased to `journalctl -f -u NetworkManager'\ntailnet is a function\ntailnet () \n{ \n journalctl -f -u NetworkManager\n}\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-17T20:55:54.210", "id": "1507807", "lastActivityDate": "2024-03-17T20:55:54.210", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "968501", "parentId": "1507803", "postTypeId": "2", "score": "18" }
[ { "accepted": null, "body": "<p>Use <code>declare</code>:</p>\n<pre><code>declare -pf tailnet\n</code></pre>\n<ul>\n<li><code>-p</code> tells declare to print the definitions;</li>\n<li><code>-f</code> tells declare <code>tailnet</code> is a function.</li>\n</ul>\n", "commentCount": "1", "comments":...
null
null
null
null
null
1507808
1
null
2024-03-17T21:09:40.680
0
15
<p>I want to install free vpn under my kubuntu 22.04</p> <p>From the site I uploaded a file vpnbook-openvpn-us1.zip and unpacking it I got 4 files :</p> <pre><code>vpnbook-us1-tcp443.ovpn vpnbook-us1-tcp80.ovpn vpnbook-us1-udp25000.ovpn vpnbook-us1-udp53.ovpn </code></pre> <p>I tried to run command but got error :</p> <pre><code>sudo vpnbook vpnbook-us1-tcp443.ovpn [sudo] password for master: sudo: vpnbook: command not found </code></pre> <p>I did not find &quot;vpnbook&quot; comand in my OS or under synaptic. I find some youtube video manual...</p> <p>Where from have I to get vpnbook command to install free vpn?</p>
1482565
null
null
2024-03-17T21:09:40.680
How to install vpnbook under kubuntu 22.04?
[ "vpn", "openvpn" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-17T21:52:50.433", "id": "2645486", "postId": "1507808", "score": "0", "text": "ovpn files are OpenVPN configuration files. Try: https://tecadmin.net/install-openvpn-client-on-ubuntu/", "userDisplayName": null, "userId": "884673" } ]
null
[]
null
null
null
null
null
1507810
1
null
2024-03-17T22:09:28.463
-1
27
<p>I'm a newbie here and I wondered why my files moved from ~/Desktop to ~/ after I rebooted my notebook from bash. I downloaded the community version of intellijidea and unzipped it on the desktop (I donno if there is a proper path to place programs yet). I ran it and then I rebooted. Suddenly I saw that my files moved. Just why? Thanks in advance.</p>
1775952
1775952
2024-03-18T09:27:14.047
2024-03-18T09:27:14.047
directory moved automatically after reboot ubuntu 22.04
[ "reboot", "system", "paths" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T02:25:31.370", "id": "2645514", "postId": "1507810", "score": "1", "text": "Nope. Doesn't happen. What changes have you made to your system? How did you \"downloaded and placed on the `~/Desktop`\"? How did you reboot your sysrem? Where do your files reside? Please ...
null
[]
null
null
null
null
null
1507813
1
null
2024-03-17T22:40:25.840
-1
55
<p>I can't connect to my hotspot created on Linux Ubuntu 23.10. Now my cell phone appears, I turn it on and it says that it cannot be connected to that network.</p>
1775956
767056
2024-03-17T23:56:40.373
2024-03-17T23:56:40.373
I can't connect to the hotspot on Linux Ubuntu 23.10
[ "23.10", "hot-spot" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
2024-04-03T09:52:11.187
null
null
1507814
1
null
2024-03-17T23:10:10.847
-1
46
<p>i am using ubuntu 22.04.4 and i have installed vmware for practising purpose. i haveinstalled oracle linux in vm for oracle database. i am not able to connect with vm via ssh through my host machine.</p> <ol> <li>Need help with network config to access vm through host machine</li> <li>need to know how to set static ip in ubuntu</li> </ol>
1775961
null
null
2024-03-17T23:10:10.847
Need help to configure network setting for VMware machines
[ "networking", "ssh", "vmware" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T01:40:06.733", "id": "2645513", "postId": "1507814", "score": "1", "text": "Just set your VM Network setting in VMWare to Bridged instead of NAT.", "userDisplayName": null, "userId": "231142" }, { "creationDate": "2024-03-18T15:08:24.053", "id": ...
null
[]
null
null
null
null
null
1507817
1
null
2024-03-17T23:33:36.450
0
49
<p>It seems this issue happens any time I open a text file from the file manager or desktop, if gedit opens into a maximized state. When I'm scrolling down, either mouse scroll or dragging the scroll bar, it won't go to the bottom of the document. If I use the arrow keys, the cursor will go down to the unexposed lines and if I type something below what's shown, the lower lines pop up.</p> <p>Update: Changing the window by maximizing, minimizing, and even changing to another window and back, will make it scroll properly again.</p>
832570
832570
2024-03-20T08:24:48.163
2024-03-20T08:24:48.163
Why can't i scroll to the bottom of a document in Gedit?
[ "gedit" ]
1
4
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T03:45:53.697", "id": "2645517", "postId": "1507817", "score": "0", "text": "This seems to ring a bell for me: as if I might had had experienced something similar; but it was so long ago that I hardly remember the details. In any case, open gedit's preferences, and l...
null
[ { "accepted": null, "body": "<p>Perhaps your window extends beyond the bottom of the page? I've had similar issues. My environment is xubuntu, which means my screen management is through XFCE. In that environment, Alt-space will bring up a menu from which you can select resize the window.</p>\n", "com...
null
null
null
null
null
1507818
1
null
2024-03-17T23:37:55.400
0
77
<p>I just bought a Logitech M240 bluetooth mouse and I've spent the better portion of my afternoon trying to figure out how to pair it with my laptop (an HP Pavilion x360 that runs Ubuntu 22.04 LTS. Completely up to date, constantly making sure the darn thing is updated.) I've tried pairing the device through the system settings (where it connects for a minute and then just stops), installed Bluetooth Manager to try pairing the device through there (where I'm able to connect to the mouse and add it as a trusted device. It still refuses to &quot;pair&quot;) and even bent over backwards sifting through 'bluetoothctl', connecting and attempting to pair the mouse via its mac address which works until I get a prompt every minute to &quot;allow the mouse to pair with my device&quot;.)</p> <p>A few things about the mouse itself:</p> <ol> <li>It doesn't have a bluetooth adaptor that you can plug into the laptop. It's designed to connect to any device (PC, tablet, phone, etc) WITHOUT the use of an adaptor. (In other words: the adaptor's built INTO the mouse).</li> <li>It is fresh out of the box. Brand spanking new, bought it today. This mouse has no issues connecting with other devices, purely just my laptop.</li> </ol> <p>Also whenever I try pairing through the terminal, this is usually the errors I get. The one thing that I haven't seen is &quot;Pairing Successful&quot;</p> <pre><code>[LOGI M240]# pair DE:79:A1:18:CD:12 Attempting to pair with DE:79:A1:18:CD:12 Failed to pair: org.bluez.Error.AlreadyExists </code></pre> <p>or</p> <pre><code>[LOGI M240]# pair DE:79:A1:18:CD:12 Attempting to pair with DE:79:A1:18:CD:12 Failed to pair: org.bluez.Error.InProgress [CHG] Device DE:79:A1:18:CD:12 ServicesResolved: no [CHG] Device DE:79:A1:18:CD:12 Connected: no Failed to pair: org.bluez.Error.AuthenticationCanceled </code></pre> <p>and no, I've never got a single &quot;Pairing successful&quot; prompt via the terminal. So every minute I need to go back to my system settings, click the &quot;allow pairing&quot; button to be able to use the mouse until that minute is up and I'm re-prompted. What am I doing wrong?</p>
1775963
158442
2024-03-18T04:04:19.180
2024-03-18T04:04:19.180
How to enable Bluetooth Pairing?
[ "22.04", "bluetooth", "mouse" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507819
1
null
2024-03-18T00:25:39.600
0
49
<p>My wifi doesn't connect to any network names, after a day previously it worked fine. My device is Lenovo IdeaPad 3 15ABA7. My wifi modem is Real Tek Semiconductor Kernel Linux image 6.5.0-25 generic Lspci -nnk -d ::0280 Real Tek Semiconductor 10ec:b852 Kernel driver in use rtw89_8852be Kernel modules rtw89_8852be, rtw_8852be</p> <p>I have many kernel modules installed do not know which one to blacklist: rtw89 core, rtw89pci, rtw_8852b. Now I do not know which module to blacklist with modprobe.d blacklist... I have disabled ipv6 on my router changed it to 802.11n</p> <p>Non of related articles work for my situation</p>
1775551
null
null
2024-03-18T00:25:39.600
Activation association took too long
[ "networking", "drivers", "kernel", "lenovo" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T01:15:58.457", "id": "2645508", "postId": "1507819", "score": "0", "text": "Look at the network logs with the terminal command: `sudo journalctl -b 0 -u NetworkManager`. Read `man journalctl NetworkManager service`. Also do: `service NetworkManager status` and `serv...
null
[]
null
null
null
null
null
1507821
1
null
2024-03-18T00:38:40.507
-1
43
<p>No output or input devices were found. Pressing the mute button and volume buttons are completely useless. Installing packages seem to not work either as it ends up saying that it couldn't find the source.</p> <p><a href="https://i.stack.imgur.com/COxoH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/COxoH.png" alt="enter image description here" /></a></p>
1775973
767056
2024-03-18T01:22:29.567
2024-03-18T01:51:35.513
Can someone tell me how to fix my audio problems? I've tried multiple solutions but none of them worked. My computer system is Ubuntu hp 22.04
[ "sound", "22.04", "soundcard" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507823
1
null
2024-03-18T01:46:27.930
-1
62
<p>I'M seeing the following error occur at various times. My server is private for learning, no commercial or company involved.</p> <p>The hardware is as follows:</p> <ul> <li>Memory is 16gb (max memory for the computer)</li> <li>Hard drive is 1TB</li> </ul> <p>The Ubuntu server 23.10 error is:</p> <pre><code>ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 actioin 0x6 frozen ata1.00: failed command: FLUSH CACHE EXT ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 14 res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) ata1.00: status. { DRDY } </code></pre> <p>Has anyone experienced this error and if so is there a fix?</p>
1775366
158442
2024-03-18T03:53:28.653
2024-03-23T08:26:00.160
Ubuntu Server Error
[ "server" ]
2
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>Seems like your drive(s) could have errors. Create a back up, then try this</p>\n<ol>\n<li><code>umount /dev/sdX</code> the drive, or just boot to a live ubuntu USB</li>\n<li><code>e2fsck -pf /dev/sdX</code> <code>p</code> does auto repair, <code>f</code> says just check it e...
null
null
null
null
null
1507831
1
null
2024-03-18T04:59:23.297
0
87
<p>I have just tried to install the Nvidia Cuda and cudnn. But now when I try to run command <code>upgrade</code>, it shows this error:</p> <pre><code>You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: cuda-drivers : Depends: cuda-drivers-550 (= 550.54.14-1) but it is not installed libnvidia-decode-535 : Depends: libnvidia-compute-535 (= 535.104.05-0ubuntu1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). </code></pre> <p>Then I try to run <code>sudo apt --fix-broken install</code>, but gives this errors:</p> <pre><code>Preparing to unpack .../libnvidia-gl-550_550.54.14-0ubuntu1_amd64.deb ... dpkg-query: no packages found matching libnvidia-gl-535 Unpacking libnvidia-gl-550:amd64 (550.54.14-0ubuntu1) ... dpkg: error processing archive /var/cuda-repo-ubuntu2204-12-4-local/./libnvidia- gl-550_550.54.14-0ubuntu1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-api.so.1', which is al so in package libnvidia-extra-535:amd64 535.104.05-0ubuntu1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cuda-repo-ubuntu2204-12-4-local/./libnvidia-gl-550_550.54.14-0ubuntu1_amd6 4.deb E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre> <p>Then I try to remove the nvidia package by using <code>sudo apt purge nvidia-*</code>, but it still give me these errors:</p> <pre><code>... ... Package 'nvidia-kernel-source-550' is not installed, so not removed Package 'nvidia-utils-530' is not installed, so not removed Package 'nvidia-utils-550' is not installed, so not removed You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: cuda-drivers : Depends: cuda-drivers-550 (= 550.54.14-1) but it is not going to be installed libnvidia-decode-535 : Depends: libnvidia-compute-535 (= 535.104.05-0ubuntu1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). </code></pre> <p>Then I try <code>sudo apt install -f</code>, but still the same errors.</p> <p>I want to remove and make a clean installation.</p> <p>Thanks.</p>
76332
null
null
2024-03-18T04:59:23.297
fix-broken install not working?
[ "drivers", "apt", "nvidia", "package-management", "cuda" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null