View previous topic :: View next topic |
Author |
Message |
dfdx n00b
Joined: 13 Aug 2020 Posts: 20
|
Posted: Tue Aug 18, 2020 3:05 pm Post subject: [SOLVED] Unable to post the following |
|
|
Hi Everyone,
The forum keeps returning a vague Error in posting... message when I try to post the following: https://dpaste.com/HEMMFYPCA
Can someone tell me what I'm doing wrong? I am trying to paste it as a response in the Portage & Programming forum.
Thank you.
Last edited by dfdx on Tue Aug 18, 2020 3:46 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54587 Location: 56N 3W
|
Posted: Tue Aug 18, 2020 3:17 pm Post subject: |
|
|
alamahant, thank you for your reply. Please see my responses to your questions below.
Code: |
$ rc-update
NetworkManager | default
acpid | default
binfmt | boot
bluetooth | default
bootmisc | boot
cgroups | sysinit
cronie | default
cupsd | default
dbus | default
devfs | sysinit
dmesg | sysinit
elogind | boot
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
modules | boot
mount-ro | shutdown
mtab | boot
netmount | default
ntp-client | default
ntpd | default
opentmpfiles-dev | sysinit
opentmpfiles-setup | boot
procfs | boot
root | boot
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
swap | boot
sysctl | boot
sysfs | sysinit
sysklogd | default
termencoding | boot
udev | sysinit
udev-trigger | sysinit
urandom | boot
|
Code: |
$ grep pulseaudio /etc/portage/make.conf
USE="networkmanager savedconfig nvidia pulseaudio alsa alsa-plugin vdpau bluetooth"
$ ps aux | grep pulseaudio
f 6642 0.5 0.0 1094104 10956 ? Sl 10:43 0:04 /usr/bin/pulseaudio --start --log-target=syslog
f 23595 0.0 0.0 7972 624 pts/3 S+ 10:56 0:00 grep --colour=auto pulseaudio
$ pulseaudio --start
$ ## still no audio out of mpv or firefox!
|
[code]
$ cat .xinitrc
#!/bin/bash
DIR=${HOME}/.dwm
if [ -f "${DIR}"/dwmrc ]; then
/bin/sh "${DIR}"/dwmrc &
else
xmodmap ${HOME}/.Xmodmap
#statusbar loop
while true; do
#battery power
BPOWER=`cat /sys/class/power_supply/BAT0/capacity | sed 's/$/%/'`
#volume
VOL=`amixer get Master | tail -n1 | awk -F"[][]" '{print $2}'`
#internet connectivity
ETH=$(cat /sys/class/net/enp8s0/operstate | sed 's/$//')
WIFI1=$(cat /sys/class/net/wlp0s20f3/operstate | sed 's/$//')
WIFI2=$(cat /sys/class/net/wlp0s20f0u4/operstate | sed 's/$//')
if [ $ETH = "up" ] || [ $WIFI1 = "up" ] || [ $WIFI2 = "up" ]; then
IC="up"
else
IC="down"
fi
xsetroot -name " _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54587 Location: 56N 3W
|
Posted: Tue Aug 18, 2020 3:18 pm Post subject: |
|
|
dfdx,
That's a copy/paste from your pastebin. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Last edited by NeddySeagoon on Tue Aug 18, 2020 3:56 pm; edited 1 time in total |
|
Back to top |
|
|
dfdx n00b
Joined: 13 Aug 2020 Posts: 20
|
Posted: Tue Aug 18, 2020 3:43 pm Post subject: |
|
|
Hi NeddySeagoon,
Apologies, there was an unfortunate typo in my dpaste, but it looks like it's actually working now. So bizarre!.
Let me try posting this actual reply, if it works, I'll close this out.
Thanks!
----
alamahant, thank you for your reply. Please see my responses to your questions below.
Code: |
$ rc-update
NetworkManager | default
acpid | default
binfmt | boot
bluetooth | default
bootmisc | boot
cgroups | sysinit
cronie | default
cupsd | default
dbus | default
devfs | sysinit
dmesg | sysinit
elogind | boot
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
modules | boot
mount-ro | shutdown
mtab | boot
netmount | default
ntp-client | default
ntpd | default
opentmpfiles-dev | sysinit
opentmpfiles-setup | boot
procfs | boot
root | boot
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
swap | boot
sysctl | boot
sysfs | sysinit
sysklogd | default
termencoding | boot
udev | sysinit
udev-trigger | sysinit
urandom | boot
|
Code: |
$ grep pulseaudio /etc/portage/make.conf
USE="networkmanager savedconfig nvidia pulseaudio alsa alsa-plugin vdpau bluetooth"
$ ps aux | grep pulseaudio
f 6642 0.5 0.0 1094104 10956 ? Sl 10:43 0:04 /usr/bin/pulseaudio --start --log-target=syslog
f 23595 0.0 0.0 7972 624 pts/3 S+ 10:56 0:00 grep --colour=auto pulseaudio
$ pulseaudio --start
$ ## still no audio out of mpv or firefox!
|
Code: |
$ cat .xinitrc
#!/bin/bash
DIR=${HOME}/.dwm
if [ -f "${DIR}"/dwmrc ]; then
/bin/sh "${DIR}"/dwmrc &
else
xmodmap ${HOME}/.Xmodmap
#statusbar loop
while true; do
#battery power
BPOWER=`cat /sys/class/power_supply/BAT0/capacity | sed 's/$/%/'`
#volume
VOL=`amixer get Master | tail -n1 | awk -F"[][]" '{print $2}'`
#internet connectivity
ETH=$(cat /sys/class/net/enp8s0/operstate | sed 's/$//')
WIFI1=$(cat /sys/class/net/wlp0s20f3/operstate | sed 's/$//')
WIFI2=$(cat /sys/class/net/wlp0s20f0u4/operstate | sed 's/$//')
if [ $ETH = "up" ] || [ $WIFI1 = "up" ] || [ $WIFI2 = "up" ]; then
IC="up"
else
IC="down"
fi
xsetroot -name "
|
|
|
Back to top |
|
|
dfdx n00b
Joined: 13 Aug 2020 Posts: 20
|
Posted: Tue Aug 18, 2020 3:46 pm Post subject: |
|
|
EDIT:
Now that I look more closely, it looks like strangely the text cuts off exactly where I have some unicode characters. Perhaps phpBB does not like unicode?
Removing Unicode from my post worked.
===========================
I'm not sure what the problem was. But everything works now. I have marked this forum post as "solved".
Thank you. |
|
Back to top |
|
|
|