Page 1 of 1

Tuner up to Main

Posted: Thu Jul 28, 2022 10:18 am
by Jerry3904
Check user reactions in this thread: https://forum.mxlinux.org/viewtopic.php ... 79#p690479

I wish we could fork it and solve that systray problem, not sure who around here knows Vala.

Re: Tuner up to Main

Posted: Thu Jul 28, 2022 5:22 pm
by Jerry3904
We might want to compile 1.51 sometime as it supposedly takes care of the pause button problem.

Re: Tuner up to Main

Posted: Thu Jul 28, 2022 6:47 pm
by Stevo
I've built 1.5.1 for MX 21 and 19 test repos, sending it up to Tim soon.

Edit: Here it is. The MX 19 versions require a libgranite 5.5.0 that's in the test repos, MX 21 is just plain vanilla Bullseye-built.

https://drive.google.com/file/d/1ziNclh ... sp=sharing

The issue with the zombie player running after closing still persists. I bet that if you pause before closing, the zombie is still there, just quietly standing in the shadowed background.

Re: Tuner up to Main

Posted: Thu Jul 28, 2022 6:58 pm
by Jerry3904
Awesome, Stevo! Thanks.

Re: Tuner up to Main

Posted: Thu Jul 28, 2022 8:27 pm
by pianokeyjoe

Code: Select all

tuner:
 Depends: libgeoclue-2-0 but it is not going to be installed
 Depends: libgeocode-glib0 but it is not going to be installed
 Depends: libgranite5 but it is not going to be installed
  Depends: libgstreamer-plugins-bad1.0-0 (<1.15) but 1:1.14.4-dmo7 is to be installed
on:

Code: Select all

System:    Kernel: 5.10.0-8mx-rt-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/vmlinuz-5.10.0-8mx-rt-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm 4.14.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-19.4_x64 patito feo October 21  2019 
           base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion g6 Notebook PC 
           v: 0594100000204610000620100 serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Hewlett-Packard model: 1693 v: KBC Version 14.16 serial: <filter> 
           BIOS: Hewlett-Packard v: F.37 date: 01/16/2013 
CPU:       Info: Dual Core model: Intel Core i3 M 380 bits: 64 type: MT MCP arch: Nehalem 
           family: 6 model-id: 25 (37) stepping: 5 microcode: 7 cache: L2: 3 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20213 
           Speed: 1210 MHz min/max: 933/2533 MHz Core speeds (MHz): 1: 1210 2: 994 3: 1087 
           4: 1124 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds 
           status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Core Processor Integrated Graphics vendor: Hewlett-Packard 
           driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0046 class-ID: 0300 
           Device-2: Microdia type: USB driver: uvcvideo bus-ID: 2-1.6:4 chip-ID: 0c45:6321 
           class-ID: 0e02 
           Display: x11 server: X.Org 1.20.10 compositor: xfwm4 v: 4.14.0 driver: loaded: intel 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
           s-diag: 414mm (16.3") 
           Monitor-1: LVDS1 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6") 
           diag: 394mm (15.5") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 20.3.4 
           direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3b56 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-8mx-rt-amd64 running: yes 
           Sound Server-2: JACK v: 1.9.12 running: no 
           Sound Server-3: PulseAudio v: 12.2 running: yes 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard 
           driver: r8169 v: kernel port: 3000 bus-ID: 01:00.0 chip-ID: 10ec:8136 class-ID: 0200 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Qualcomm Atheros AR9285 Wireless Network Adapter 
           vendor: Hewlett-Packard U98Z062.12 802.11bgn driver: ath9k v: kernel port: 3000 
           bus-ID: 02:00.0 chip-ID: 168c:002b class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 185.11 GiB (39.7%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LM034-2GH17A size: 465.76 GiB 
           block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 
           serial: <filter> rev: LXM3 scheme: MBR 
Partition: ID-1: / raw-size: 29.3 GiB size: 28.71 GiB (98.00%) used: 11.75 GiB (40.9%) fs: ext4 
           dev: /dev/sda3 maj-min: 8:3 
           ID-2: /boot raw-size: 512 MiB size: 487.9 MiB (95.30%) used: 107.5 MiB (22.0%) 
           fs: ext4 dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 428.15 GiB size: 420.43 GiB (98.20%) used: 173.26 GiB (41.2%) 
           fs: ext4 dev: /dev/sda4 maj-min: 8:4 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda2 maj-min: 8:2 
Sensors:   System Temperatures: cpu: 72.0 C mobo: 0.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2927 lib: 1391 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://la.mxrepo.com/mx/repo/ buster main non-free
           2: deb http://la.mxrepo.com/mx/testrepo/ buster test
           3: deb http://la.mxrepo.com/mx/repo/ buster ahs
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 245 Uptime: 11h 42m wakeups: 2 Memory: 7.58 GiB used: 2.37 GiB (31.3%) 
           Init: SysVinit v: 2.93 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 8.3.0 
           alt: 8 Shell: quick-system-in default: Bash v: 5.0.3 running-in: quick-system-in 
           inxi: 3.3.06 

Was not installable from testing nor now from Main. I downloaded the files from @Stevo just in case a fix for MX19.4 AHS 64bit is found.

Re: Tuner up to Main

Posted: Thu Jul 28, 2022 10:32 pm
by timkb4cq
This

Code: Select all

Depends: libgstreamer-plugins-bad1.0-0 (<1.15) but 1:1.14.4-dmo7 is to be installed
suggests you have installed gstreamer from the deb-multimedia repos but not the libgstreamer-plugins-bad1.0-0 package. Dmo packages often create this sort of dependency issue which is why we don't recommend them or include that repo in our lists.

I just successfully installed Tuner from the Test repo using MXPI in my MX19 install. I can't reproduce the aforementioned zombie issue with it. I'll have to see what is different in MX21...

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 7:48 am
by Jerry3904
I'm seeing a failure (on MX-Fluxbox) for the icon to be picked up for the taskbar. There is an application file:

/usr/share/applications/com.github.louis77.tuner.desktop

and it points to this icon:

Icon=com.github.louis77.tuner

Synaptic indicates that the icons are installed by size in hicolor/, for instance here:

/usr/share/icons/hicolor/48x48/apps/com.github.louis77.tuner.svg

But it's not getting picked up on my system, at least. I wonder if we might want to fork it...

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 8:47 am
by Jerry3904
OK, now on production machine with Xfce: icon shows in normal manner.

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 8:56 am
by dolphin_oracle
Can the tint2 panel show svg icons? I assume so but I don’t remember

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 9:11 am
by Jerry3904
Pretty sure, but will check--thanks.

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 9:11 am
by fehlix
Just added tuner to the tint panel which shows the svg icon. may be you are trying something else.

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 9:15 am
by dolphin_oracle
Nevermind

I think he means the icon that shows in the task list while the app is running

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 9:22 am
by ceeslans
dolphin_oracle wrote: Fri Jul 29, 2022 8:56 am Can the tint2 panel show svg icons? I assume so but I don’t remember
Yes, tint2 definitely can display svg icons.
I found that the 'com.github.louis77.tuner.svg' icons are actually available in the /usr/share/icons/Papirus/apps folders for sizes 16x16 24x24 48x48 ...
Maybe add a referral in the hicolor index.theme to the Papirus icons?

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 10:24 am
by Nite Coder
Jerry3904 wrote: Thu Jul 28, 2022 10:18 am I wish we could fork it and solve that systray problem, not sure who around here knows Vala.
So I created a fix in the repo: https://github.com/TheNiteCoder/tuner/tree/status-icon. The fix is fairly simple, I just add a systray icon that if clicked will open the window again. The only problem is the lack of systray icon is intentional as the Gtk.StatusIcon is deprecated and is removed in Gtk4. Here is a link to the thread on the gnome forums about why: https://discourse.gnome.org/t/what-to-u ... -tray/7175. The only problem we have on Xfce is the notification thing that Tuner does to replace the systray icon, doesn't seem to work with the Xfce4 Notifications Manager. I can open a pull request but I don't think the developer would want to merge this fix as it is using a deprecated feature.

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 10:25 am
by pianokeyjoe
timkb4cq wrote: Thu Jul 28, 2022 10:32 pm This

Code: Select all

Depends: libgstreamer-plugins-bad1.0-0 (<1.15) but 1:1.14.4-dmo7 is to be installed
suggests you have installed gstreamer from the deb-multimedia repos but not the libgstreamer-plugins-bad1.0-0 package. Dmo packages often create this sort of dependency issue which is why we don't recommend them or include that repo in our lists.

I just successfully installed Tuner from the Test repo using MXPI in my MX19 install. I can't reproduce the aforementioned zombie issue with it. I'll have to see what is different in MX21...
Yes, when I initially upgraded from 18.3 to 19.0 Deb-multimedia repo was available in the sources list of MX and I had enabled it. Also noticed that when you fetch the multimedia codecs and associated files the script in MX tools fetches these files from deb-multimedia.org. Now in my other newer installs of MX19.3 and 19.4 Deb-multimedia is not available anymore so not enabled but this is my main work computer so do not know how to install/upgrade to the latest gstreamer and plugins without borking my system and losing my files. I would need to live without listening to world music with that app and stick to youtube for now.

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 10:39 am
by dolphin_oracle
ceeslans wrote: Fri Jul 29, 2022 9:22 am
dolphin_oracle wrote: Fri Jul 29, 2022 8:56 am Can the tint2 panel show svg icons? I assume so but I don’t remember
Yes, tint2 definitely can display svg icons.
I found that the 'com.github.louis77.tuner.svg' icons are actually available in the /usr/share/icons/Papirus/apps folders for sizes 16x16 24x24 48x48 ...
Maybe add a referral in the hicolor index.theme to the Papirus icons?
hicolor is typically the lowest common denominator. I'm not having it pull from papirus. its normally the other way around.

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 10:46 am
by timkb4cq
If it was just the gstreamer packages you can use synaptic, select each gstreamer package (one at at time) and use Package -> Force version, selecting the non-dmo version of each, then when you've got them all, Apply. Tedious, but it does work.

It can also be done with aptitude.

Code: Select all

sudo aptitude install libgstreamer1.0-0=1.14.4-1
which will give you successive options of what it should do, one of which should downgrade all the gstreamer packages to 1.14.4 versions. It's seen as a downgrade because deb-multimedia added a 1: epoch to be seen as a higher version than any of the debian ones (1:1.14.4-dmo7 > 1.14.4-1).

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 10:48 am
by Jerry3904
Nite Coder wrote: Fri Jul 29, 2022 10:24 am
Jerry3904 wrote: Thu Jul 28, 2022 10:18 am I wish we could fork it and solve that systray problem, not sure who around here knows Vala.
So I created a fix in the repo: https://github.com/TheNiteCoder/tuner/tree/status-icon. The fix is fairly simple, I just add a systray icon that if clicked will open the window again. The only problem is the lack of systray icon is intentional as the Gtk.StatusIcon is deprecated and is removed in Gtk4. Here is a link to the thread on the gnome forums about why: https://discourse.gnome.org/t/what-to-u ... -tray/7175. The only problem we have on Xfce is the notification thing that Tuner does to replace the systray icon, doesn't seem to work with the Xfce4 Notifications Manager. I can open a pull request but I don't think the developer would want to merge this fix as it is using a deprecated feature.
Nice, thanks! I love the part where you say the fix is "fairly simple" ...

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 11:00 am
by dolphin_oracle
@Nite Coder how is that extra systray icon different from an entry in the tasklist?

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 11:10 am
by dolphin_oracle
pertaining tot he missing icon in the tint2 tasklist, I suspect the problem is probably more related to the app not explicitly setting an icon to be display by the window. At least, I couldn't find where it was set if it is.

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 1:59 pm
by markol
-- deleted

sorry, tuner was not the problem, my mistake

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 3:27 pm
by Nite Coder
dolphin_oracle wrote: Fri Jul 29, 2022 11:10 am pertaining tot he missing icon in the tint2 tasklist, I suspect the problem is probably more related to the app not explicitly setting an icon to be display by the window. At least, I couldn't find where it was set if it is.
You would be correct, I created a fix and submitted a pull request to the owner, for some reason tint2 pulls from the X window info not the desktop file for the application. Link to pull request: https://github.com/louis77/tuner/pull/95

Re: Tuner up to Main

Posted: Fri Jul 29, 2022 5:19 pm
by Jerry3904
Thanks. I added a short explanatory note on where that was coming from (MX moving to Main repo).