Installing connman broke my /etc/resolv.conf
by Artur Iwicki
After I installed the connman package, my system failed to resolve domain names. Even after removing connman, the errors persisted. I fiddled around with /etc/resolv.conf and noticed that I get "failed to write to linked file" errors. I performed "ls -l" and saw the following dangling symlink:
/etc/resolv.conf -> /var/run/connman/resolv.conf
After removing it and creating an empty file for /etc/resolf.conf, everything returned to normal.
Can the connman maintainer check if the package installs and removes itself correctly?
6 years, 2 months
Dual screen
by Patrick Dupre
Hello,
I noted a small issue when using dual screening (primary and secondary displays).
If you have windows open in different workspaces, they all move in
workspace 1 after a screen lock.
Is it a configuration issue or something else?
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
6 years, 2 months
Re: cannot connect to a bluetooth speaker
by Federico Bruni
Il giorno gio 22 mar 2018 alle 22:32, Federico Bruni
<fede(a)inventati.org> ha scritto:
>
>
> Il giorno gio 22 mar 2018 alle 9:26, Federico Bruni
> <fede(a)inventati.org> ha scritto:
>>
>>
>> Il giorno gio 22 mar 2018 alle 8:21, Federico Bruni
>> <fede(a)inventati.org> ha scritto:
>>> Let me add that I've tried also bluetoothctl.
>>> I can pair it but after a few seconds it's disconnected:
>>>
>>> [bluetooth]# trust AC:89:95:DA:52:5E
>>> Changing AC:89:95:DA:52:5E trust succeeded
>>> [bluetooth]# pair AC:89:95:DA:52:5E
>>> Attempting to pair with AC:89:95:DA:52:5E
>>> [CHG] Device AC:89:95:DA:52:5E Connected: yes
>>>
>>> Failed to pair: org.bluez.Error.AuthenticationCanceled
>>> [CHG] Device AC:89:95:DA:52:5E Connected: no
>>>
>>>
>>
>> I've now searched this error and found a possible solution here:
>> https://bbs.archlinux.org/viewtopic.php?id=180165
>>
>> It says that installing bluez-hid2hci would solve the problem.
>> It was not installed on my system, so I'll give it a try when I'm
>> back home.
>>
>
> I'm doing some progress. Now the bluetooth connection is kept and the
> speaker appears in the Sound settings (see attached screenshot).
>
> But the speaker is mute. It might be some audio library missing or
> what?
> I tried `dnf search a2dp` and found only package sbc, which is
> already installed.
> Some problem with PulseAudio?
>
>
I disabled pulseaudio respawning and added verbosity (pulseaudio
-vvvvvv)
and I got this interesting information:
I: [pulseaudio] module-suspend-on-idle.c: Sink
alsa_output.pci-0000_00_1b.0.analog-stereo idle for too long,
suspending ...
which brought me to the solution suggested here:
https://askubuntu.com/questions/218444/sound-output-starts-delayed
i.e. commenting load-module module-suspend-on-idle in
/etc/pulse/default.pa
Now I can play music on that speaker. Success :-)
Sorry for this "solo thread", but I hope it can be helpful for others.
Best
Federico
6 years, 2 months
mariadb-connector-c for MinGW
by Dirk Gottschalk
Hello.
I'm using MinGW for some of my projects which require to be usable also
on Windows. For this purpose I'm using MinGW to compule the Windows
binaries.
Some of this projects require MariaDB. In this case I found out that
there is no MinGW-Package of the C connector.
Being as lazy as I am, I built one by myself and put it in my local
repository.
Now, I want to share it with other Fedora users, so that they don't
have to fumble around with this situation, because you have to change
some things in the sources to compile it with MinGW. In most cases
there are just includes where they seem to have forgotten to take care
about the case sensitivity of filenames.
My questions now:
Is there any interest for those Packages?
If yes, what is the best way to distribute these packages? Copr?
Thanks in advance,
Dirk
--
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen
Tel.: +49 1573 1152350
6 years, 2 months
OT: vlookup/hlookup/countif help for a spreadsheet
by Antonio Olivares
http://excel-example.com/templates/sport-tournament-template
Dear fellow fedora users,
I have a script that uses awk to generate reports for our soccer team. This script was corrected by Jon LaBadie a very helpful person. Unfortunately my colleagues do not have linux on their machines and they would like a spreadsheet to do the same so they can keep track of the season and to check how many PTS/GF/GA/DIF they have as a team. I created one, but they do not understand it, uses decimals and integer part, and they get confused. I am modifying the spreadsheet a bit to more as to what they want.
However, I do not understand how to use countif/vlookup/hlookup to look for how many PTS they have, GF and GA so they can be tallied like SUMIF? command. If anyone is willing to help I can send you spreadsheet. Last email I tried bounced because it had HTML and was big :(
for example
PTS TG REG OT PKS : PKS OT REG TG PTS
3 TEAM1 2 1 1 0 2:1 0 0 1 1 TEAM3 0
there are 10 games for each team and the team earns 3 PTS for a win in REGULATION, 2 PTS for a win in OT or PKS, 1 PT for a loss in OT/PKS and 0 PTS for a loss in REGULATION. The PTS are tallied, the TG are the total goals: REG + OT as the PKS do not count in this area, they only determine who gets the 2 PTS.
the spreadsheet should tally the information
TEAM GP 3-PTS 2-PTS 1-PT 0-PTS GF GA DIF PTS
TEAM1 5 2 2 1 0 5 3 +2 11
There are some online examples, but they only contain W-win L-loss D-draw. We do not have draws as the game has to be decided and we play OT and/or shoot PKS if the game is still tied.
The examples are here:
Sport tournament template in the site above, i cannot copy+paste correctlyWe only have two rounds and we only take care of our district we do not need more groups. Ideas are appreciated.
Best Regards,
Antonio
6 years, 2 months
Show Gnome Alt-Tab window on all monitors
by Laverne Schrock
Hi,
I'm running Fedora 27 with Gnome and a dual monitor setup.
When I press Alt-Tab, the window switcher only appears on my primary
monitor.
Is it possible to make the window switcher appear on all the monitors?
Perhaps there is some extension that I failed to find which does this?
Thanks,
Laverne
6 years, 2 months
cannot connect to a bluetooth speaker
by Federico Bruni
Hi all
I've tried posting this message via the web interface yesterday, but I
don't see it in the archives. So I'm sending it again by regular email.
I have two speakers:
$ hcitool scan
Scanning ...
AC:89:95:DA:52:5E Beoplay M5_27502524
00:12:6F:3F:BD:D5 Mu-so Qb BT 7047
I can connect via bluetooth to both using my Android phone.
I can connect via bluetooth only to Mu-so using Fedora 27.
If I try the bluetooth connection using GNOME setting, I don't get much
information. I just see that it tries the connection and after a while
it fails.
On a terminal I get a timeout:
$ bt-device -c AC:89:95:DA:52:5E
Connecting to: AC:89:95:DA:52:5E
Error: Timeout was reached
Finally, journalctl seems to suggest that may be some kernel problem?!?
Mar 22 07:36:45 fedora kernel: Bluetooth: hci0: last event is not cmd
complete (0x0f)
I found the same error message in this bug report, which is for Fedora
28 though:
https://bugzilla.redhat.com/show_bug.cgi?id=1514836#c15
Thanks in advance for any suggestion
Federico
PS The bluetooth service is running fine:
$ systemctl status bluetooth
* bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled;
vendor preset: enabled)
Active: active (running) since Thu 2018-03-22 07:25:05 CET; 26min ago
Docs: man:bluetoothd(8)
Main PID: 759 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
`-759 /usr/libexec/bluetooth/bluetoothd
Mar 22 07:25:05 fedora systemd[1]: Starting Bluetooth service...
Mar 22 07:25:05 fedora bluetoothd[759]: Bluetooth daemon 5.48
Mar 22 07:25:05 fedora bluetoothd[759]: Starting SDP server
Mar 22 07:25:05 fedora systemd[1]: Started Bluetooth service.
Mar 22 07:25:05 fedora bluetoothd[759]: Bluetooth management interface
1.14 initialized
Mar 22 07:25:19 fedora bluetoothd[759]: Endpoint registered:
sender=:1.69 path=/MediaEndpoint/A2DPSource
Mar 22 07:25:19 fedora bluetoothd[759]: Endpoint registered:
sender=:1.69 path=/MediaEndpoint/A2DPSink
Mar 22 07:42:45 fedora bluetoothd[759]: No cache for AC:89:95:DA:52:5E
6 years, 2 months
Thumb Drive Question
by Beartooth
All of / on my main machine will go easily onto even a
modest thumb drive -- "df -h /" says only 11 GB; meseems I've
heard of other people keeping back-ups on thumb drives.
But what about the OS? If I were to put, say, the current
release of Fedora onto the same stick, would I be able to use
that, while visiting in-laws for instance, as if it were a live
CD =with= all my data?
--
Beartooth Implacable, Neo-Redneck Linux Enthusiast
Freedom is my issue : I'm pro-choice, pro-right-to-die,
pro-gun, and pro-term-limits. Without defiance, no liberty.
6 years, 2 months