UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. 3x5
    3. Posts
    3
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 14
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Simulate right-click, double-click

      @arubislander I always keep the collection on my device. And for that reason, I'm already seeing that the Google Pixel 3a is not the phone for me, because it has no way of expanding storage.

      I think what I have realized this week is that UBports is probably not for me, either. I have been using Mobian on my Pinephone for a couple years, and while it's not perfect, it does run native Debian on the device. The strategy for UBports is clearly different, and while the phone definitely functions more like a proper smartphone, the tradeoff is that it doesn't really run ubuntu programs (which, to me, makes it kind of a stretch to put 'Ubuntu' in the name. Maybe that's part of the rationale for calling it 'UBports' instead).

      Gnome is moving toward making universal apps. A lot of their newer programs work flawlessly on mobile, as Mobian demonstrates. So hopefully there will be an easier way, in the future, to run 'desktop' applications alongside UBtouch apps.

      From looking at my logs, it appears the Morph browser is a 'legacy' app, and that seems to run seamlessly alongside the other apps, so maybe there's hope. I also see that there's a push to integrate xwayland into Libertine for the 20.04 release, so maybe that will resolve some of the DPI and touch screen issues.

      posted in Libertine
      3
      3x5
    • RE: Simulate right-click, double-click

      @arubislander Also, there's no point in procuring your music to that extent if you can't pick up your phone and have your music organized there, as well. So I use Nextcloud to sync the settings file for gmusicbrowser, and then I can make a smart playlist on my desktop, leave the house, and the list is just on my phone automatically.

      posted in Libertine
      3
      3x5
    • RE: Better GTK GUI scaling?

      @pulsar33 Thanks for the link, I did see that, but it seems to be referring to a 'dead zone' issue that i wasn't having. In fact, when I first installed my container, I was able to set xdpi just fine. So it worked, and now it doesn't.

      I could try installing dconf editor and see if I can make any progress that way, or maybe just run gsetting commands into the container, but I'm afraid to do this now because my problems started after running gnome tweak tool inside libertine, which not only didn't work, but appears to have broken LTT's functionality—even after destroying the container.

      posted in Libertine
      3
      3x5
    • RE: Better GTK GUI scaling?

      @arubislander Thanks for the reply. I thought about that, but I never named my last container, or this one. If I run libertine-container-manager list, it only lists 'xenial'. And if I go to Libertine Tweak Took, the container ID is listed as 'xenial'.

      Furthermore, I can open ~/.local/share/libertine-container/user-data/xenial/.Xdefaults and the first line clearly says Xft.dpi:320. If I go back to Tweak Tool, and change the value to 220, I can open .Xdefaults again and it says Xft.dpi:220.

      So it does seem like Libertine Tweak Tool is doing what it's supposed to do, but it doesn't have any effect. I even installed a gedit, in case it was specific to gmusicbrowser, but no, that also won't scale.

      posted in Libertine
      3
      3x5
    • RE: Simulate right-click, double-click

      @arubislander I don't think there is any other program out there that will suit my needs.I have a large music collection, and gmusicbrowser is the only program that lets me organize my music the way I want it.

      Gmusicbrowser lets you create your own fields, in the style of labels. So I can create taxonomies like 'Hippie' or 'Urban' and then set values, like 'Hippie = Psych Rock' or 'Hippie = Dub Reggae', or 'Urban = House' or 'Urban = Hip Hop'. An then you can create sub-categories if you want to get more specific than that.

      Gmusicbrowser lets you get really specific with your smart playlists, with lots of nested rules. As a consequence, it will automatically generate long playlists that make sense and just flow. I can tag songs with labels like 'Instrumental' or 'Overplayed', and then generate a playlist that's only Disco, from 76—79, that's only instrumental and not overplayed.

      I've tried every other app out there and none of them can organize music this way. I've heard MusicBee rivals Gmusicbrowser, but that's a Windows app and I don't use windows.

      I can live without the right-click, and I'm getting used to the double-click. But it sounds like tap-and-hold is supposed to simulate right-clicking, but maybe it's just not working right now. Hopefully it will in the future.

      posted in Libertine
      3
      3x5
    • RE: Better GTK GUI scaling?

      OK, now I destroyed my container and started with a whole new one, but I can't get scaling to work at all. I set xdpi in the tweak tool, but whether it's gmusicbrowser or just gedit, nothing is scaling up. What gives?

      posted in Libertine
      3
      3x5
    • RE: Simulate right-click, double-click

      @cibersheep thanks for the reply. I can no longer get the gtk3 version of gmusicbrowser running on my phone, but I got the gtk2 version running and I can confirm that tap-and-hold does nothing.

      posted in Libertine
      3
      3x5
    • Where do I find logs for Libertine apps?

      I installed gmusicbrowser in libertine, and it's now crashing on boot for me. I looked int the host filesystem, and in the container, and I can't figure out where the log is.

      If I start a program from the command line in normal Ubuntu, and it crashes, I can see the error right there in the terminal. But if I run ubuntu-app-launch xenial_gmusicbrowser_0.0 from the terminal, and it crashes, theres no output in the terminal.

      posted in Libertine
      3
      3x5
    • RE: Package installation stuck and spinning wheel never stops under Libertine

      I've been having these problems, too. In one case, I tried to install ubuntu-restricted-extras, and the operation got to the point where I had to manually choose 'yes'. to accept a EULA license, but there was no apparent way to accept it and the package just stayed stuck forever.

      The solution above seemed promising, but when I got to su 32011, the response was No passwd entry for user '32011'.

      Moving forward, I think i'm going to either run:

      libertine-container-manager install-package -p PACKAGE-NAME
      

      or, I'll run

      libertine-container-manager exec -i CONTAINER-IDENTIFIER -c "COMMAND-LINE"
      

      and once in here, I'll just run apt install PACKAGE-NAME. It feels more natural, to me, to get into the libertine shell and run apt commands, but I don't know if there's any benefit to the other method. I don't know that packages installed with apt are going to show in up the libertine GUI, but at this point, I'm going to try to avoid that GUI as much as possible. It's just not a viable way to install packages, if there's a chance the installation process will prompt the user, and there's no way to interact with the operation.

      posted in Libertine
      3
      3x5
    • Better GTK GUI scaling?

      I'm running gmusicbrowser in Libertine, and everything is very small, by default. I installed Libertine Tweak Tool, and this has an xdpi scaling tool. I scaled this way up to 320, and now the fonts look correct in gmusicbrowser—but this seems to have only scaled up the fonts and scrollbars. The padding of elements is still very slight, and, most importantly, the icons didn't scale, making the GUI unusable.

      I installed gnome-tweak-tool in Libertine, thinking scaling here might help. Not only did it not work, but it unset the scaling from Libertine Tweak Tool and I couldn't get it working again.

      It looks like the Libertine container is closer to Lubuntu than Ubuntu. Is that true? If so, maybe there's a LXDE tweak tool I could try. Still, since the target application is in GTK3, I don't know if this would work.

      The only other thing I can think of is maybe setting some directive in the desktop file for gmusicbrowser, that forces the GUI to scale.

      posted in Libertine
      3
      3x5
    • RE: Simulate right-click, double-click

      Scratch that last issue. I installed Libertine Tweak Tool, and enabled legacy scrollbars for GTK3 apps. This resolves the scrolling issue for me.

      posted in Libertine
      3
      3x5
    • RE: Simulate right-click, double-click

      Another thing I noticed: I can't seem to scroll in gmusicbrowser, either. I also run Mobian on a separate phone, which has the same issues with double- and right-clicking, but pushing on panels scrolls them. But in libertine, I push on the panel and it thinks I'm trying to drag the contents somewhere.

      posted in Libertine
      3
      3x5
    • Audio integration with the host OS

      Hi there, I only have one desktop app I simply must have on my ubports phone, which is gmusicbrowser, my music player. I have gotten it to run, and to play music, and that's great. When I connect to bluetooth in my car, gmusicbrowser automatically connects and plays through the bluetooth—awesome!

      However, the system volume does not control the volume of the music app that's inside the Libertine container. When I try to control the volume from within gmusicbrowser itself, it says the volume is set to -1% and I can't adjust it.

      gmusicbrowser supports multiple audio output methods: gstreamer, mpg123, mplayer, and mpv. I'm currently using mplayer because it worked, and gstreamer didn't work because it couldn't detect an output device.

      It looks like ubports uses pulseaudio, which makes me think I should be able to output from gmusicbrowser to the host pulseaudio and then control it like any other audio app. I have seen people talk in this forum about running pavucontrol within Libertine, and maybe that is the solution—I don't know.

      In addition to volume, I'd like to be able to use the play, pause, next and previous buttons in ubports' pull-down controls.

      posted in Libertine
      3
      3x5
    • Simulate right-click, double-click

      Hi there, I only have one desktop app I simply must have on my ubports phone, which is gmusicbrowser, my music player. I have gotten it to run, and to play music, and that's great; however, it is hard to use because it's hard to accurately double-tap a track to play it, simulating double-click. Additionally, there is no apparent way to simulate a right-click in Libertine, which I would assume renders a lot of programs unusable.

      Is there a workaround to simulate these mouse actions, using a gesture, maybe a press + volume key, or something like this?

      posted in Libertine
      3
      3x5