Você não está autenticado.

Anúncio

Arch Linux Brasil está precisando de sua colaboração para realizar o pagamento do domínio e do host, para colaborar, realizar doações via paypal.

Para mais informações: contato at archlinux-br.org.

#1 Dúvidas gerais » [RESOLVIDO]Conky+ MPD » 16/11/2017 13:16:31

tassiobruno
Respostas: 1

Bom, minha dúvida é de como usar o conky + mpd
Quero criar um player que fica abaixo da barra do i3 com o conky
Tipo esse: https://imgur.com/a/L80CZ

#4 Dúvidas gerais » [RESOLVIDO] mpd + ncmpcpp sem músicas » 14/11/2017 15:23:11

tassiobruno
Respostas: 2

Quando executo o ncmpcpp ele não encontra nenhuma música.
Minhas configurações:

~/.mpd/mpd.conf

music_directory        "/home/tassio/Música"
playlist_directory     "/home/tassio/.mpd/playlists"
db_file            "/home/tassio/.mpd/tag_cache"
log_file        "/home/tassio/.mpd/mpd.log"
pid_file        "/home/tassio/.mpd/mpd.pid"
state_file        "/home/tassio/.mpd/mpdstate"
bind_to_address     "~/.config/mpd/socket"

audio_output {
  type    "pulse"
  name    "MPD"                                                               
# server    "remote_server"   # optional
# sink    "remote_server_sink"  # optional
}

audio_output {
    type                    "fifo"
    name                    "my_fifo"
    path                    "/tmp/mpd.fifo"
    format                  "44100:16:1"
    }   

bind_to_address "localhost"
port  "6600"
user "tassio"

auto_update    "yes"
mixer_type     "software"
replaygain     "track"
gapless_mp3_playback    "yes"

~/.ncmpcpp/config

visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
#visualizer_sync_interval = "1"
visualizer_in_stereo = "no"
visualizer_type = "spectrum" (spectrum/wave)
#visualizer_look = "∙▋"
#visualizer_look = "●│"
visualizer_look = "◈▉"
#visualizer_look = "◈◈"
#visualizer_look = "∙│"
#visualizer_color = "white"


main_window_highlight_color = "white"

progressbar_look = "─╼─"
#progressbar_look = "▀▀ "
#progressbar_look = "▉▉▉"
#progressbar_look = "▗▗▗"
progressbar_color = "white"
progressbar_elapsed_color = "green"

song_list_format = " $1%a $5//$8 %t"
#song_list_format = "$1• $8%t $1by $2%a$2 $R$1%l"
#song_list_format = "$8 %t $R$8"
song_status_format = " $2%a $4⟫$3⟫ $8%t $4⟫$3⟫ $5%b "

#now_playing_prefix = "$b$8»$2»$4»$3» "
now_playing_prefix = "$b$2⟩$3⟩ "
now_playing_suffix = "$8$/b"

song_columns_list_format = "(5)[]{} (30)[red]{a} (32)[white]{t|f} (50)[yellow]{b}
(4)[red]{l}"

color1 = "white"
color2 = "black"

mouse_support = "yes"
header_visibility = "no"
statusbar_visibility = "yes"
playlist_display_mode = "columns" (classic/columns)
autocenter_mode = "yes"
titles_visibility = "no"
enable_window_title = "no"

#5 Re: Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 14/11/2017 15:17:19

Utilizei o cfdisk para trocar o "linux swap / solaris" para "linux swap" mas não consegui achar o tipo "linux swap"

#6 Re: Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 14/11/2017 09:40:29

[[email protected] ~]$ lsblk -f
NAME   FSTYPE LABEL UUID                                 MOUNTPOINT
fd0                                                     
sda                                                     
├─sda1 ntfs         BED88DF3D88DA9EB                     
├─sda2 ext4         0d585cc5-c312-4999-b5a0-e529fcf39777 /
└─sda3 swap   swap  7b468d39-d325-45fb-9e8a-475e38b57271
sr0                                                     
[[email protected] ~]$

#7 Re: Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 13/11/2017 21:03:07

Se for relevante assim está particionado meu HD:

Disco /dev/sda: 465,8 GiB, 500106780160 bytes, 976771055 setores
Unidades: setor de 1 * 512 = 512 bytes
Tamanho de setor (lógico/físico): 512 bytes / 512 bytes
Tamanho E/S (mínimo/ótimo): 512 bytes / 512 bytes
Tipo de rótulo do disco: dos
Identificador do disco: 0x48a47979

Dispositivo Inicializar    Início       Fim   Setores Tamanho Id Tipo
/dev/sda1   *             1026048 618366975 617340928  294,4G  7 HPFS/NTFS/exFAT
/dev/sda2   *           618366976 953911295 335544320    160G 83 Linux
/dev/sda3               953911296 976771054  22859759   10,9G 82 Linux swap / Solaris


[[email protected] ~]$

#8 Re: Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 13/11/2017 21:01:38

Bom, o failed kernel modules se resolveu.
Ainda está dando "A start job is running for dev-sda4.device
Outros "erros" são:
Dependency failed swap
Dependency failed /dev/sda4

#9 Re: Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 13/11/2017 20:51:05

local/virtualbox 5.2.0-1
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-ext-oracle 5.2.0-1
    Oracle VM VirtualBox Extension Pack
local/virtualbox-guest-dkms 5.2.0-1
    VirtualBox Guest kernel modules sources
local/virtualbox-guest-iso 5.2.1-1
    The official VirtualBox Guest Additions ISO image
local/virtualbox-host-modules-arch 5.2.0-4
    Virtualbox host kernel modules for Arch Kernel

#10 Re: Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 13/11/2017 20:38:03

Bom existia um arquivo chamado virtualbox.conf em /etc/modules-load.d/ eu exclui o arquivo mas continua na mesma

Saída do systemctl status:
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset:
   Active: failed (Result: exit-code) since Mon 2017-11-13 19:33:43 -03; 2min 38s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 183 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 183 (code=exited, status=1/FAILURE)

nov 13 19:33:43 ghost systemd-modules-load[183]: Failed to insert 'vboxguest': No such device
nov 13 19:33:43 ghost systemd-modules-load[183]: Failed to insert 'vboxsf': No such device
nov 13 19:33:43 ghost systemd-modules-load[183]: Inserted module 'vboxvideo'
nov 13 19:33:43 ghost systemd-modules-load[183]: Inserted module 'vboxdrv'
nov 13 19:33:43 ghost systemd-modules-load[183]: Inserted module 'vboxpci'
nov 13 19:33:43 ghost systemd-modules-load[183]: Inserted module 'vboxnetadp'
nov 13 19:33:43 ghost systemd-modules-load[183]: Inserted module 'vboxnetflt'
nov 13 19:33:43 ghost systemd[1]: systemd-modules-load.service: Main process exited, code=exite
nov 13 19:33:43 ghost systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
nov 13 19:33:43 ghost systemd[1]: Failed to start Load Kernel Modules.

#12 Re: Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 10/11/2017 13:06:49

[[email protected] ~]$ cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
# UUID=0d585cc5-c312-4999-b5a0-e529fcf39777
/dev/sda3               /             ext4          rw,relatime,data=ordered    0 1

# UUID=88c64018-c1b6-4727-8d31-4f3d74486146
/dev/sda4               none          swap          defaults      0 0



[[email protected] ~]$ sudo cat /boot/grub/grub.cfg
[sudo] senha para tassio:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  0d585cc5-c312-4999-b5a0-e529fcf39777
else
  search --no-floppy --fs-uuid --set=root 0d585cc5-c312-4999-b5a0-e529fcf39777
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=pt_BR
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0d585cc5-c312-4999-b5a0-e529fcf39777' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  0d585cc5-c312-4999-b5a0-e529fcf39777
    else
      search --no-floppy --fs-uuid --set=root 0d585cc5-c312-4999-b5a0-e529fcf39777
    fi
    echo    'Carregando o Linux linux...'
    linux    /boot/vmlinuz-linux root=UUID=0d585cc5-c312-4999-b5a0-e529fcf39777 rw  quiet
    echo    'Carregando o ramdisk inicial...'
    initrd  /boot/initramfs-linux.img
}
submenu 'Opções avançadas para Arch Linux' $menuentry_id_option 'gnulinux-advanced-0d585cc5-c312-4999-b5a0-e529fcf39777' {
    menuentry 'Arch Linux, com o Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-0d585cc5-c312-4999-b5a0-e529fcf39777' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  0d585cc5-c312-4999-b5a0-e529fcf39777
        else
          search --no-floppy --fs-uuid --set=root 0d585cc5-c312-4999-b5a0-e529fcf39777
        fi
        echo    'Carregando o Linux linux...'
        linux    /boot/vmlinuz-linux root=UUID=0d585cc5-c312-4999-b5a0-e529fcf39777 rw  quiet
        echo    'Carregando o ramdisk inicial...'
        initrd  /boot/initramfs-linux.img
    }
    menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-0d585cc5-c312-4999-b5a0-e529fcf39777' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  0d585cc5-c312-4999-b5a0-e529fcf39777
        else
          search --no-floppy --fs-uuid --set=root 0d585cc5-c312-4999-b5a0-e529fcf39777
        fi
        echo    'Carregando o Linux linux...'
        linux    /boot/vmlinuz-linux root=UUID=0d585cc5-c312-4999-b5a0-e529fcf39777 rw  quiet
        echo    'Carregando o ramdisk inicial...'
        initrd  /boot/initramfs-linux-fallback.img
    }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (em /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-BED88DF3D88DA9EB' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  BED88DF3D88DA9EB
    else
      search --no-floppy --fs-uuid --set=root BED88DF3D88DA9EB
    fi
    parttool ${root} hidden-
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi

#13 Kernel, patch e .config » [RESOLVIDO] Arch Linux demorando 1min30s para iniciar » 09/11/2017 16:35:13

tassiobruno
Respostas: 17

ERRO:
[Failed] load kernel modules
A start job is running dev-sda4.device(1min30s)

Rodapé do site

Rodando com FluxBB