Ubuntu lack of uniformization​?

Asked by João Miguel Lopes Moreira

Ubuntu lacks uniformization!

Ubuntu lacks uniformization, because if one tries to view a video that codec is missing, the application (Videos) asks for searching internet for the codec; but if one tries to send or receive a file with Bluetooth, does not asks for searching internet for the obex package (or if many available, show all of them for user choice).

Also the low battery beep alarm was present in 16.04, but not in 17.04, and this was a great feature (it should appear in the power settings, on and off choice, and type of beep, or sound file setup)!

Anyone knows how to explain this?

It seems that Ubuntu is made by a bunch of standalone guys, and not a team, or what?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
João Miguel Lopes Moreira (jmlm-1970) said :
#2

A Bash script that beeps when battery gets low.

This solution is simple, one creates a "/home/user/power-low.sh" file with the bellow code, and in the OS Ubuntu, exists a setup tool, "Startup Applications" (gnome-session-properties, included file of DEB package: gnome-session-bin), where I added a line to start the command at login "/bin/bash /home/user/power-low.sh" and it works!

<code>
#! /bin/bash
# programmed by João Miguel Lopes Moreira (mailto:<email address hidden>)
# Power-low.sh
# the loop works all the time, and beeps if battery state is discharging and battery percentage is bellow 7%
declare -i vStop=0;
declare -i vMin=6;
declare -i vNum=99;
declare -i vBeep=0;
declare vBat=$(upower -e | grep -E "BAT0");
declare vCmd1='upower -i';
declare vCmd2='grep -E "state"';
declare vCmd3='grep -E "percentage"';
while (( $vStop == 0 )) ; do
  declare v1=$(eval $vCmd1 $vBat '|' $vCmd2);
  if (( "$vBeep" == "0" )) ; then
    if [ ${v1: -11} == "discharging" ] ; then
      declare v1=$(eval $vCmd1 $vBat '|' $vCmd3);
      declare -i v2=${v1: -3:2};
# if percentage less or equal to 6% start beeping
      if (( "$v2" <= "$vMin" )) ; then
        declare -i vBeep=1;
      fi
    fi
    if (( "$vBeep" == "0" )) ; then
      sleep 3m;
    fi
  else
# stop beep if charging starts
    if [ ${v1: -11} != "discharging" ] ; then
      declare -i vBeep=0;
    else
# beep
      totem-audio-preview "/usr/share/indicator-power/sounds/Low battery.ogg" && sleep 5s
    fi
  fi
done
exit 0
</code>

Best regards,
João Moreira.

Revision history for this message
João Miguel Lopes Moreira (jmlm-1970) said :
#3

What bug?

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.