AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / user-963864

Soheil Paper's questions

Martin Hope
Soheil Paper
Asked: 2021-09-16 08:56:23 +0800 CST

Dual Booting e "bloqueio" de discos rígidos (o reparo do GParted falha e o Windows chdsk trava na inicialização!)

  • 0

Eu tenho dois Ubuntu (18.04 e 20.04) e um windows8 no meu pc, então executei meu windows depois de cerca de um ano sem usar isso, e um do meu disco rígido foi bloqueado e não consigo gravar arquivos nele, então não consigo reparar o disco pelo GParted no meu Ubuntu pelo procedimento abaixo:

insira a descrição da imagem aqui

Então eu tentei o chkdskcomando no meu windows, e não foi bem sucedido, então eu deixei o windows reiniciar e tentei o reparo do disco em sua página de inicialização, e agora ele trava em 35% do reparo do disco semelhante à foto abaixo por diferença do Windows versão e a porcentagem de reparo ( link de pesquisa ):

insira a descrição da imagem aqui

Se possível, gostaria de ter algum comentário ou resposta para resolver este problema no meu pc.

Atualização 1:

Eu tenho este pc quase de 2016, e acho que o disco rígido não é muito antigo, também mais informações sobre o disco rígido e seus arquivos de conteúdo, podem ser vistos abaixo:

insira a descrição da imagem aqui

so@so-Lenovo-ideapad-310-15IKB:~$ sudo hdparm -I /dev/sda  
[sudo] password for so: 

/dev/sda:

ATA device, with non-removable media
    Model Number:       ST2000LM003 HN-M201RAD                  
    Serial Number:      S379J9EH703494      
    Firmware Revision:  2BE10001
    Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
    Used: unknown (minor revision code 0x0028) 
    Supported: 8 7 6 5 
    Likely used: 8
Configuration:
    Logical     max current
    cylinders   16383   0
    heads       15  0
    sectors/track   63  0
    --
    LBA    user addressable sectors:   268435455
    LBA48  user addressable sectors:  3907029168
    Logical  Sector size:                   512 bytes
    Physical Sector size:                  4096 bytes
    Logical Sector-0 offset:                  0 bytes
    device size with M = 1024*1024:     1907729 MBytes
    device size with M = 1000*1000:     2000398 MBytes (2000 GB)
    cache/buffer size  = unknown
    Form Factor: 2.5 inch
    Nominal Media Rotation Rate: 5400
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16  Current = ?
    Advanced power management level: 254
    Recommended acoustic management value: 254, current value: 0
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4 
         Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
    Enabled Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    NOP cmd
       *    DOWNLOAD_MICROCODE
       *    Advanced Power Management feature set
            Power-Up In Standby feature set
            SET_MAX security extension
            Automatic Acoustic Management feature set
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
       *    General Purpose Logging feature set
       *    64-bit World wide name
       *    IDLE_IMMEDIATE with UNLOAD
       *    WRITE_UNCORRECTABLE_EXT command
       *    {READ,WRITE}_DMA_EXT_GPL commands
       *    Segmented DOWNLOAD_MICROCODE
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    Gen3 signaling speed (6.0Gb/s)
       *    Native Command Queueing (NCQ)
       *    Host-initiated interface power management
       *    Phy event counters
       *    Idle-Unload when NCQ is active
       *    Device-initiated interface power management
       *    Software settings preservation
       *    SMART Command Transport (SCT) feature set
       *    SCT Read/Write Long (AC1), obsolete
       *    SCT Write Same (AC2)
       *    SCT Error Recovery Control (AC3)
       *    SCT Features Control (AC4)
       *    SCT Data Tables (AC5)
       *    DOWNLOAD MICROCODE DMA command
Security: 
    Master password revision code = 65534
        supported
    not enabled
    not locked
        frozen
    not expired: security count
        supported: enhanced erase
    352min for SECURITY ERASE UNIT. 352min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50004cf2126633e7
    NAA     : 5
    IEEE OUI    : 0004cf
    Unique ID   : 2126633e7
Checksum: correct

Atualização 2:

Eu tentei os commnets escritos por Curtis Gedake obtive o belwo reprot: insira a descrição da imagem aqui

sudo smartctl -a /dev/sda
[sudo] password for so: 
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-5.4.0-74-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Samsung SpinPoint M9T
Device Model:     ST2000LM003 HN-M201RAD
Serial Number:    S379J9EH703494
LU WWN Device Id: 5 0004cf 2126633e7
Firmware Version: 2BE10001
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Sep 22 09:05:07 2021 +0330
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:  (0x00) Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Disabled.
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:        (22020) seconds.
Offline data collection
capabilities:            (0x5b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    No 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:    (   1) minutes.
Extended self-test routine
recommended polling time:    ( 367) minutes.
SCT capabilities:          (0x003f) SCT Status supported.
                    SCT Error Recovery Control 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   100   100   051    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0026   252   252   000    Old_age   Always       -       0
  3 Spin_Up_Time            0x0023   092   083   025    Pre-fail  Always       -       2574
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4099
  5 Reallocated_Sector_Ct   0x0033   252   252   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   252   252   051    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0024   252   252   015    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       13352
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4155
191 G-Sense_Error_Rate      0x0022   252   252   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0002   062   023   000    Old_age   Always       -       38 (Min/Max 12/77)
195 Hardware_ECC_Recovered  0x003a   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   252   252   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   252   252   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   252   252   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0036   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x002a   100   100   000    Old_age   Always       -       1732
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       285
225 Load_Cycle_Count        0x0032   097   097   000    Old_age   Always       -       37098
241 Total_LBAs_Written      0x0032   091   087   000    Old_age   Always       -       12729601
242 Total_LBAs_Read         0x0032   089   086   000    Old_age   Always       -       15326794

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
# 1  Short offline       Completed without error       00%      5780         -

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Completed [00% left] (0-65535)
    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.

Além disso, vendo este post e isso , tentei o aplicativo utilitário de disco do Ubuntu e obtive o relatório abaixo:

file system ntfs on ST2000LM003 HN-M201RAD is damaged

insira a descrição da imagem aqui Obrigado.

dual-boot
  • 1 respostas
  • 80 Views
Martin Hope
Soheil Paper
Asked: 2021-06-30 04:17:45 +0800 CST

Sobre controlar remotamente outro desktop Ubuntu do Ubuntu sem precisar de seu IP

  • 0

Eu preciso controlar um PC (Ubuntu OS) com longa distância, então agora estou usando o aplicativo AnyDesk mas para controlar o PC preciso confirmar a nova solicitação .

Então eu tentei o Remmina por esta instrução de postagem:

Como faço para controlar remotamente outro desktop Ubuntu do Ubuntu?

Mas como o IP do PC de destino muda (IP dinâmico), é difícil para mim obter o IP do PC de destino e adicioná-lo no aplicativo Remmina.

Por isso, pedi aqui para encontrar algum método para controlar remotamente o PC Ubuntu sem precisar ter seu IP e sem precisar confirmar solicitação para cada vez.

Obrigado.

networking
  • 1 respostas
  • 46 Views
Martin Hope
Soheil Paper
Asked: 2020-11-11 12:32:23 +0800 CST

Não ignore-gpu-blacklist em chrome://flags/ (Chrome causando oscilações estranhas)

  • 3

Eu tenho semelhante ao problema do post:

Problemas com o navegador Chrome após suspender o computador no Ubuntu 20.04

insira a descrição da imagem aqui

Então eu mudei a vulkanbase desta instrução do post , como você pode ver abaixo:

In my case, I go to chrome://flags/

Then enable:

#ignore-gpu-blacklist
#enable-vulkan

Mas não consigo encontrar a ignore-gpu-blacklistconfiguração do meu chrome, como você pode ver abaixo:

insira a descrição da imagem aqui

Algumas informações sobre o meu SO:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:    18.04
Codename:   bionic

insira a descrição da imagem aqui

About Chrome
Chrome logo
Google Chrome
Version 86.0.4240.183 (Official Build) (64-bit)

Obrigado.

nvidia suspend google-chrome
  • 1 respostas
  • 3901 Views
Martin Hope
Soheil Paper
Asked: 2020-05-17 23:10:01 +0800 CST

Reproduza música automaticamente após iniciar a tarefa pomodoro gnome

  • 2

Eu instalei o gnome pomodoro plugin , para que ele tenha capacidade de ação em todas as tarefas como esta:

insira a descrição da imagem aqui

Então, eu gosto de tocar música de uma lista de reprodução salva com seleção aleatória aleatória durante o tempo pomodoro . E eu tenho esse tipo de playlist com VLC assim:

insira a descrição da imagem aqui

Como posso fazer este trabalho?

Obrigado

gnome music vlc
  • 1 respostas
  • 197 Views
Martin Hope
Soheil Paper
Asked: 2020-04-29 09:53:56 +0800 CST

O driver Wi-Fi é perdido após um desligamento manual

  • 0

Meu Ubuntu travou ao executar a versão do VirtualBox do Android, então desliguei o sistema.

De acordo com esta pergunta anterior, agora você pode fazer login no Ubuntu OS, mas o problema com o driver WiFi adquirido e quando eu o executo ifconfigmostra os dados WiFi,

então eu tentei instalar o driver WiFi do Ubuntu USB ao vivo por estes códigos:

sudo apt remove broadcom-sta-dkms bcmwl-kernel-source
sudo add-apt-repository restricted
sudo apt update
sudo apt-get install bcmwl-kernel-source
sudo apt-get install linux-generic
sudo apt autoremove

e pelo ambiente USB ao vivo, mostrando que está instalado:


root@ubuntu:/# ifconfig
enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether c8:5b:76:8b:3e:ae  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 4589  bytes 386757 (386.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4589  bytes 386757 (386.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::1153:1820:27de:5a87  prefixlen 64  scopeid 0x20<link>
        ether c8:3d:d4:3c:23:63  txqueuelen 1000  (Ethernet)
        RX packets 32549  bytes 35889892 (35.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25157  bytes 3314860 (3.3 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


agora está mostrando o WiFi via CD ao vivo do Ubuntu e sudo chroot /mnt/assim:

root@ubuntu:/# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 920MX] (rev a2)
root@ubuntu:/# iwconfig
lo        no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"TP-LINK_4AD2"  
          Mode:Managed  Frequency:2.447 GHz  Access Point: D4:6E:0E:45:4A:D2   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=48/70  Signal level=-62 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:303   Missed beacon:0

enp1s0    no wireless extensions.

mas não mostra essa configuração via Ubuntu principal no meu PC, e não consigo conectar a internet lá?

a versão principal do Ubuntu get form live USB é assim:

ubuntu@ubuntu:~$  cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Atualização: também obtenha esta saída via versão USB do Ubuntu ao vivo:

root@ubuntu:/etc/modprobe.d# sudo ifup wlp2s0
Unknown interface wlp2s0

root@ubuntu:/etc/modprobe.d# sudo modprobe rtl8821ae
modprobe: FATAL: Module rtl8821ae not found in directory /lib/modules/5.0.0-23-generic

E com base neste post para verificar se o driver está instalado, eu tenho:

root@ubuntu:/etc/modprobe.d# modinfo rtl8821ae
modinfo: ERROR: Module rtl8821ae not found.
root@ubuntu:/etc/modprobe.d# find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -name '*.ko'
find: ‘/lib/modules/5.0.0-23-generic/kernel/drivers/net/wireless’: No such file or directory

e formar este post:

root@ubuntu:~/rtlwifi_new#     sudo modprobe rtl8821ae
modprobe: FATAL: Module rtl8821ae not found in directory /lib/modules/5.0.0-23-generic
root@ubuntu:~/rtlwifi_new# dmesg | tail
\[ 2975.493281] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000100000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 2981.742904] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000000000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 2981.743002] nouveau 0000:03:00.0: fifo: fault 00 [READ] at 0000000000100000 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 4c [] on channel -1 [007fce7000 unknown]
[ 2981.743029] nouveau 0000:03:00.0: fifo: DROPPED_MMU_FAULT 00000000
[ 2996.797871] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000050000 engine 05 [BAR2] client 08 [HUB/HOST_CPU_NB] reason ca [] on channel -1 [007fd38000 unknown]
[ 2996.803470] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000100000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 3003.054698] nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 0000000000000000 engine 04 [BAR1] client 08 [HUB/HOST_CPU_NB] reason cc [] on channel -1 [007fce7000 unknown]
[ 3003.054924] nouveau 0000:03:00.0: fifo: fault 00 [READ] at 0000000000100000 engine 04 [BAR1] client 07 [HUB/HOST_CPU] reason 4c [] on channel -1 [007fce7000 unknown]
[ 3003.054966] nouveau 0000:03:00.0: fifo: DROPPED_MMU_FAULT 00000000
[ 3513.772212] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)

Obrigado.

networking wireless drivers
  • 1 respostas
  • 68 Views
Martin Hope
Soheil Paper
Asked: 2020-04-16 08:15:04 +0800 CST

Como remover e instalar a nova versão do Easyeda no Ubuntu

  • 1

Eu tenho problema com o Easyeda como quando eu abro ele só mostra uma tela branca assim:

insira a descrição da imagem aqui

Então eu gosto de instalar a nova versão do Easyeda por este comando e gosto de removê-lo, então tentei:

so@so-notebook:~$ sudo easyeda
[sudo] password for so: 
sudo: easyeda: command not found
so@so-notebook:~$ sudo easyeda
sudo: easyeda: command not found
so@so-notebook:~$ sudo apt-get purge easyeda
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package easyeda

ant is agora está no centro de software e no aplicativo sináptico como este:

insira a descrição da imagem aqui

Então gostaria de saber que devo excluí-lo de onde?

Atualizar:

Baixei o arquivo e encontrei o readme.txt me dê as instruções de instalação e desinstalação assim.:


Install:

1.Excute the Terminal at the decompress folder, normally hotkey CTRL+ALT+T. 
You don't need to decompress the easyeda-linux-x64.zip file.

2.Input a command at the terminal
sudo bash install.sh

3.Enter, and input the login password of your operation system, enter.

4.Waiting for installing finish. After finish, you can find it on your system


Uninstall:

1.Input a command at the terminal
sudo bash uninstall.sh

2.Enter, and input the login password of your operation system, enter.

3.Waiting for uninstalling finish.



----------------- update record -------------

v2.0.0

First release

então funciona assim para mim: insira a descrição da imagem aqui mas eu gosto de saber se eu não como esse arquivo, e não sei onde está a localização do arquivo zip baixado principal, como posso desinstalá-lo?

Obrigado.

package-management software-center apt
  • 1 respostas
  • 895 Views
Martin Hope
Soheil Paper
Asked: 2020-03-18 12:54:59 +0800 CST

Alterar idioma no modo de login do Ubuntu tty2

  • 1

Eu tenho problema de login deste tipo:

Um trabalho de inicialização está sendo executado para Espera até que o processo de inicialização termine (Xmin Xs/sem limite)

Faço quando pressiono Alt+ Shift+ F2, então ele vai para a página de login e o problema é que não consigo alterar o idioma do persa para o inglês para inserir meu usuário e passar.

Já estou alterando o idioma no Ubuntu pressionando Ctrl+ Shift+ Alt, mas aqui não funciona.

Então, como posso alterar o idioma neste modo?

Atualização: tenho esse problema na opção de inicialização avançada (modo de segurança), grub ...

Eu também tentei mudar o idioma segurando (se bem me lembro) "o Alt+ 122no teclado numérico" para digitar inglês sim na opção de reparo do dpkg.

login tty system-language
  • 1 respostas
  • 1388 Views
Martin Hope
Soheil Paper
Asked: 2020-02-02 08:05:09 +0800 CST

/bin/sh: 1: Erro de sintaxe: string entre aspas não terminada <builtin>: receita para o destino 'wfdbinit.o' falhou na instalação da caixa de ferramentas de oitava do WFDB

  • 0

Eu preciso trabalhar por sinais de EEG e tentar usar o WFDB do site physionet desta instrução , então, com base no arquivo readme.MD, tentei fazer:

$ sudo apt-get install gcc libcurl4-openssl-dev perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gcc is already the newest version (4:7.4.0-1ubuntu2.3).
libcurl4-openssl-dev is already the newest version (7.58.0-2ubuntu3.8).
perl is already the newest version (5.26.1-6ubuntu0.3).
0 upgraded, 0 newly installed, 0 to remove and 99 not upgraded.

Quando tento sudo make, recebo esta saída:

$ sudo ./configure
Checking the operating system type ...
Configuring the WFDB software package for Linux-64.
Checking the echo command ...

Looking for the C compiler ... gcc
Looking for the command to strip debugging metadata ... strip
The WFDB software will be installed in '/usr/local'.
The manual pages will be installed in '/usr/local/share/man'.

Looking for libcurl ... found
The WFDB software will be compiled with NETFILES access
using libcurl.

Creating Makefile in lib ...
Creating Makefile in app ...
Creating Makefile in checkpkg ...
Creating Makefile in convert ...
Creating Makefile in data ...
Creating Makefile in doc ...
Creating Makefile in doc/wag-src ...
Creating Makefile in doc/wpg-src ...
Creating Makefile in doc/wug-src ...
Creating Makefile in examples ...
Creating Makefile in fortran ...
Creating Makefile in psd ...
Creating Makefile in wave ...
Creating Makefile in waverc ...
Creating Makefile in xml ...
Creating Makefile in . ...
rm conf/site.def conf/site-slib.def

IMPORTANT: You have chosen to build a dynamic (shared) WFDB library in
a directory, /usr/local/lib, that is not normally searched for such
libraries.  In order to use the applications that will be compiled
with this library, it may be necessary to add this directory to your
LD_LIBRARY_PATH.  If your shell is csh or a variant, do this by
typing:
  setenv LD_LIBRARY_PATH /usr/local/lib
Otherwise, do this by typing:
  LD_LIBRARY_PATH=/usr/local/lib
  export LD_LIBRARY_PATH

Summary:

wfdb-10.6.2-Linux-64 is now ready to be compiled using 'gcc'.
The WFDB library will be compiled as a dynamic library with NETFILES
 access via libcurl, and it will be installed in '/usr/local/lib'.
The WFDB library .h files will be installed in '/usr/local/include/wfdb'.
The WFDB applications will be linked to dynamic system libraries, and
 they will be installed in '/usr/local/bin'.
WAVE will not be compiled.
Manual pages will be installed in subdirectories of '/usr/local/share/man'.
Sample data files will be installed in '/usr/local/database', which
 will be included in the default WFDB path.

If you need to compile a different WFDB library type, or install into different
directories, rerun this script with its "-i" (interactive) option:
      ./configure -i
Other options can be viewed by rerunning this script with its "-h" option:
      ./configure -h

WFDB software configuration is complete.
Now run 'make' to compile and test, followed by 'make install' to recompile
and install the software, man pages, and example data.  Finally, run
'make check' to verify that the installation is complete and successful.

so@so-notebook:/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2$ sudo make 
make WFDBROOT=`pwd`/build LIBDIR=`pwd`/build/lib install
make[1]: Entering directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2'
cd lib;      make clean; make install
make[2]: Entering directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
rm -f wfdbinit.o annot.o signal.o calib.o wfdbio.o libwfdb.* *.dll *~
make[2]: Leaving directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
make[2]: Entering directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
make clean      # force recompilation since config may have changed
make[3]: Entering directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
rm -f wfdbinit.o annot.o signal.o calib.o wfdbio.o libwfdb.* *.dll *~
make[3]: Leaving directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
make all
make[3]: Entering directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
make setup
make[4]: Entering directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
sed "s+DBDIR+/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/build/database+" <wfdblib.h0 >wfdblib.h
make[4]: Leaving directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
make wfdbinit.o annot.o signal.o calib.o wfdbio.o
make[4]: Entering directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
gcc -Wno-implicit -Wformat  -fpic -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=6 -DWFDB_RELEASE=2 `curl-config --cflags` -I/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/build/include   -c -o wfdbinit.o wfdbinit.c
/bin/sh: 1: Syntax error: Unterminated quoted string
<builtin>: recipe for target 'wfdbinit.o' failed
make[4]: *** [wfdbinit.o] Error 2
make[4]: Leaving directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
Makefile:224: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
Makefile:230: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2/lib'
Makefile:268: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2'
Makefile:263: recipe for target 'all' failed
make: *** [all] Error 2

mais algumas informações com base nisso :

Instale gcc, libcurl e perl (requer permissões de root). Verifique se eles já estão instalados usando os comandos

gcc --version 
curl-config --version
perl --version

Se esses comandos funcionarem, pule para a próxima etapa. Caso contrário, no Fedora e em outras distribuições GNU/Linux baseadas em RPM, o comando

$ gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

so@so-notebook:/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2$ curl-config --version
libcurl 7.58.0
so@so-notebook:/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/AI/Octave/Biomed/wfdb/wfdb-10.6.2$ perl --version

This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-gnu-thread-multi
(with 67 registered patches, see perl -V for more detail)

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

então perguntou aqui sobre o problema.

Obrigado.

software-installation octave 18.04
  • 1 respostas
  • 3019 Views
Martin Hope
Soheil Paper
Asked: 2019-12-27 03:10:01 +0800 CST

A tela de impressão do Ubuntu não funciona quando o ícone da barra de ferramentas é rolado para baixo

  • -2

Não consigo obter a captura de tela quando o ícone da barra de ferramentas do UGet Download Manger é rolado para baixo assim:

insira a descrição da imagem aqui

Mas no Firefox nesta situação, quando eu pressiono o botão PrtSc, ele fecha o ícone da barra de ferramentas e executa a captura de tela assim:

insira a descrição da imagem aqui

Obrigado por suas atenções.

icons screenshot
  • 1 respostas
  • 52 Views
Martin Hope
Soheil Paper
Asked: 2019-12-15 02:35:15 +0800 CST

Devo cortar alguma entrada duplicada de Configurações do sistema >> Software e atualizações >> Outro software da lista?

  • 0

Eu tenho algumas entradas duplicadas como esta:

insira a descrição da imagem aqui

então deve ser deletar alguma entrada duplicada pelo texto final: ... main e ... main source Code ?

Agradecimentos para sua atenção.

duplicate
  • 1 respostas
  • 41 Views
Martin Hope
Soheil Paper
Asked: 2019-12-14 23:33:02 +0800 CST

Como faço para escapar de um sistema operacional Ubuntu suspenso?

  • 26

Um dos meus problemas com o Ubuntu é que, quando meu PC sobrecarrega, meu sistema Ubuntu trava e tento fazê-lo responder abrindo a unidade de CD-ROM manualmente para forçar uma interrupção e obter acesso ao monitor do sistema para fechar algumas tarefas.

No Windows, quando essa situação acontece, geralmente consigo escapar pressionando Ctrl+ Alt+ Delpara alternar para o Gerenciador de Tarefas, o que geralmente me tira de uma situação de travamento.

Então, eu gostaria de saber: existe algo que eu possa fazer com o Ubuntu para escapar de uma situação de travamento (‌como pressionar Ctrl+ Alt+ Delno Windows)?

Atualizar:

De acordo com a solicitação de informações do @Grumpy_Old_Man :

Qual processador você está usando e quantos anos ele tem. Há um problema conhecido com as primeiras CPUs Ryzen, que travam sob carga baixa. bugzilla.kernel.org/show_bug.cgi?id=196683

Informações da minha CPU:

$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 142
model name  : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
stepping    : 9
microcode   : 0xca
cpu MHz     : 3278.317
cache size  : 4096 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 2
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips    : 5808.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model       : 142
model name  : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
stepping    : 9
microcode   : 0xca
cpu MHz     : 3274.188
cache size  : 4096 KB
physical id : 0
siblings    : 4
core id     : 1
cpu cores   : 2
apicid      : 2
initial apicid  : 2
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips    : 5808.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model       : 142
model name  : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
stepping    : 9
microcode   : 0xca
cpu MHz     : 3271.793
cache size  : 4096 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 2
apicid      : 1
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips    : 5808.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model       : 142
model name  : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
stepping    : 9
microcode   : 0xca
cpu MHz     : 3285.540
cache size  : 4096 KB
physical id : 0
siblings    : 4
core id     : 1
cpu cores   : 2
apicid      : 3
initial apicid  : 3
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips    : 5808.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

E minhas informações do Ubuntu:

 hostnamectl
   Static hostname: so-notebook
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 34a2eb65afa64d60a60ed02d972e884d
           Boot ID: 9ee34ad4bff84b908e8719ab83029836
  Operating System: Ubuntu 18.04.3 LTS
            Kernel: Linux 5.0.0-37-generic
      Architecture: x86-64

performance cpu
  • 7 respostas
  • 4110 Views

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve