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

    adeliepenguin

    @adeliepenguin

    4
    Reputation
    11
    Profile views
    25
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    adeliepenguin Unfollow Follow

    Best posts made by adeliepenguin

    • RE: How to open a .txt file that I copy from PC to FP2 with UT? [Solved]

      @AppLee said in How to open a .txt file that I copy from PC to FP2 with UT?:

      @Opolork
      The files created with Tedit can be found there : ~phablet/.local/share/tedit.fulvio/
      You can access it with the file manager and move or copy them wherever you want.

      I am doing the same, but mostly from the terminal (copying to/from USB). I took the liberty to create myself a short-cut (~phablet: ln -s /.local/share/tedit.fulvio/ MyTextFiles)

      The file manager (in unlocked mode) displays the symlink "MyTextFiles" as if it was a directory, so you don't have to navigate the full path every time.

      But if (as your title suggest) you want the other way around, I'm not sure if Tedit can handle it... but I didn't read the code, so maybe.

      I have copied many a text file to tedit's directory. From there, it can open them alright (settings icon / open / select a file by touching it / swipe to the left, click the "edit" icon).

      I'm very glad about tedit, it has proven to be really helpful to me. It stores plain text that I can re-use later any time, anywhere. I tried the Note app first, but it's actually storing XML (~phablet/.local/share/com.ubuntu.reminders/); fine for what it is, but not what I need.

      BTW, I got really skilled at using vi with the on-screen keyboard, I don't need any other games. 😉
      (explanation: I'm using "view" aka "vi -R" when I want to read a config file, since "less" seems to mess up the terminal, and "cat" isn't always an option. Maybe I could start using uText for that like @Giiba mentioned. Since the root file system is read-only, no risk messing up.)

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: file manager authentication

      @dtarrant I noticed the same on my phone:
      (0) Both file manager and terminal grant full access without asking for a password. Some update must have brought this (last time I am sure it worked was in December). I suppose this is a bug, maybe in another component.

      Here's what I observed:
      (1) I used to have no system password / PIN on this phone, just the default, and both apps would ask to be unlocked. Now that I suddenly have full access without being asked,
      (2) I set my own PIN and locked the screen. After unlocking, both apps work as expected, asking me to unlock. (Just setting a PIN without locking the screen had no effect on the apps. Of course, I closed each app before the next try.)
      (3) Even after removing the PIN again (but not lock/unlock), they still keep asking and grant access upon entering the default PIN.
      (4) after screen lock/unlock with a swipe, I am back to (0).
      So I guess the bug is not in these two apps, but on a more basic level. The modus of file manager and terminal seems to depend on whether the screen has been unlocked with a PIN or a swipe before. Did others observe the same?

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: How to open a .txt file that I copy from PC to FP2 with UT? [Solved]

      @Opolork said in How to open a .txt file that I copy from PC to FP2 with UT?:

      So this is correct to be run from the home folder?

      ln -s ~/.local/share/tedit.fulvio/notes.txt ~/Downloads/notes.txt
      

      Yes, that's correct syntax. (I forgot the ~ in my post. And the -s is required if you want a symbolic link like in my example. Without any options, ln on my UT system creates a hard link. That's a different story.)

      In the terminal, you can look at the result with ls:

      ls -l ~/Downloads/notes.txt
      

      The output shows that notes.txt in the Downloads folder is not a file, but a symbolic link, pointing to your notes.txt file in its original place.

      Most programs will follow the symlink and access the actual file. File manager does a good job on this. (It lets me open the referenced file with another app, but when I have it delete the symlink, it correctly removes the link only and keeps the file untouched.)

      However, I'm not sure whether you can access your notes.txt via the PC that way. Exporting only those special folders is a security feature, so following symlinks might be prohibited. Let us know how it turns out.

      posted in Support
      adeliepenguinA
      adeliepenguin

    Latest posts made by adeliepenguin

    • RE: Mounting Phone to Computer

      @onehuman said in Mounting Phone to Computer:

      Is there a way to mount the Pinephone with UBPorts to the computer to view the files and folders inside of it?

      In principle, you could connect it via USB, set up ssh as others have mentioned, and access it via ssh. (There are also some file managers that support ssh if you prefer drag&drop.)

      BUT due to a hardware bug in the Braveheart and UBports CE versions, their USB port cannot do anything else but charging. (If you are very good at soldering, you could fix it. Sadly, I'm not.)
      https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-orders-and-new-pinephone-version/
      (long post, search for "elephant")

      Luckily, there is an optional serial connection via the Audio port(*). Pine64 is selling cables, or you can build one yourself. The folks over at postmarketOS list the specs:
      https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone)

      (*) Enable via dip switch

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: Dekko2 randomly occurring issues

      @scottbouch said in Dekko2 randomly occurring issues:

      Dekko 2 seems to randomly not send emails. I get the Message Queued balloon then it just sits in my outbox, but sometimes works.

      At least you get consistent behaviour: When the mail is sitting in "Outgoing", it has not been sent yet. In my case, dekko2 correctly moved it to "Sent" only after it had been sent successfully.

      I did not get random effects like you, but all my mails stayed in "Outgoing" until I fixed my mail settings. There are some options on how to authenticate to the outgoing server. While mine were wrong, there was no error message from dekko2. Even the log did not have a big fat "authentication denied" entry.
      My suggestion is to check those options.
      Maybe if your mail is hosted by a large provider, there are multiple outgoing servers, with some being more picky than others. That could explain the random factor.

      [not downloading attachments]

      No experiences on my side since I rarely download any at all. But I noticed that dekko2 cannot display some HTML mails correctly. It just shows part(!) of the unformatted code. This tells me it has a problem with weird MIME structures and / or overly long mails. So, I wonder whether in your case: is the problem occurring randomly, or does it affect specific mails?

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: We will be enabling Akismet and Stop Forum Spam

      @UniSuperBox said in We will be enabling Akismet and Stop Forum Spam:

      When you submit a post to the forum, Akismet will learn your IP address, user agent, referrer, and the site that you're commenting on (forums.ubports.com). Additionally, the Akismet service may receive your name (if set in your Profile page), username, email address, and comment data.

      How very sad. Thus, this is my last post to this forum. I don't want my email address handed over to some third party.
      Good bye,
      Adelie

      posted in News
      adeliepenguinA
      adeliepenguin
    • RE: App icons aren't displayed in Desktop Apps scope

      @droid001 Are you at stable or rc? In stable, they do not show up automatically. You have to swipe from the bottom to see the desktop app icons. Mark the little star the right, then this list will become a second page*, so you can switch with right/left swipe.
      (*) I don't know the official name.

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: How to open a .txt file that I copy from PC to FP2 with UT? [Solved]

      @Opolork said in How to open a .txt file that I copy from PC to FP2 with UT?:

      So this is correct to be run from the home folder?

      ln -s ~/.local/share/tedit.fulvio/notes.txt ~/Downloads/notes.txt
      

      Yes, that's correct syntax. (I forgot the ~ in my post. And the -s is required if you want a symbolic link like in my example. Without any options, ln on my UT system creates a hard link. That's a different story.)

      In the terminal, you can look at the result with ls:

      ls -l ~/Downloads/notes.txt
      

      The output shows that notes.txt in the Downloads folder is not a file, but a symbolic link, pointing to your notes.txt file in its original place.

      Most programs will follow the symlink and access the actual file. File manager does a good job on this. (It lets me open the referenced file with another app, but when I have it delete the symlink, it correctly removes the link only and keeps the file untouched.)

      However, I'm not sure whether you can access your notes.txt via the PC that way. Exporting only those special folders is a security feature, so following symlinks might be prohibited. Let us know how it turns out.

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: Set DNS in UT

      @Giiba you're right, one should try everything before giving up. 😉 I re-tried with sudo and root r/w, but it made no difference. (According to its docs, nmcli should be run as a user.)

      I wonder how the image for OTA updates is being made. Are there any docs on this? I used to run a LTSP server with disk-less clients and also made some custom live DVDs, so I'm not afraid of the read-only root file system. But configuring either of those was fairly easy, since in the end, it was just a directory tree with a nearly vanilla Linux, plus some clever scripts (pre-written) to wrap it up. I suppose there are more stages required for UbuntuTouch, cross-compiling at the very least.
      What about generating one's own image of UbuntuTouch? I know it would involve a high risk of bricking my device, so I'd probably not do it, but I'm really curious here.

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: Set DNS in UT

      @adeliepenguin said in Set DNS in UT:

      [nmcli ...]
      lists the connection as read-only (mobile data / gsm). Maybe there's a nmcli command to make it writable. I didn't find one so far.

      (The following also applies to mobile data only, not WLAN.)

      In case anyone is interested: The command would be

      nmcli c m  f651d7ab-521b-e3e9-f9fa-721e2b64ec45 connection.read-only no
      

      But it does not have the desired effect. The output is "Error: failed to modify connection.read-only: the property can't be changed."

      From the nmcli docu:

      Key Name: read-only
      Value Type: boolean
      Default Value: FALSE
      Value Description: FALSE if the connection can be modified using the provided settings service's D-Bus interface with the right privileges, or TRUE if the connection is read-only and cannot be modified.

      I've done some reading, and I'm quite sure now the read-only property was set intentionally. I found lots of tutorials, but all the places where configs and connections should be stored are empty on my device. (I haven't used wifi so far, so that left no traces, either.) Since a phone has a built-in gsm connection, I suppose this connection has been pre-defined with a default config in UT, not expecting that anybody would want to modify it. (Just upgraded to RC66 today, no difference.)

      From what I learned, it's really network-manager who is in charge here. It has a plug-in to talk to ofono for modem use, and eventually delegates DNS to dnsmasq (local DNS service). Setting a custom DNS server would be done exactly with the commands @Capsia posted - if this was allowed.

      BTW, I especially liked this tutorial (albeit it did not help me in the end):
      https://www.redhat.com/sysadmin/becoming-friends-networkmanager

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: Install Ubuntu Touch on LG Nexus 5 with Android 4

      @dobey said in Install Ubuntu Touch on LG Nexus 5 with Android 4:

      [...] However the razor images are also the same as used on deb/flo, the first gen 2013 Nexus 7 tablets.

      Thanks for sorting this out. Mine says "product name: deb" in bootloader mode, but there's no such image on Google's download page. I'll use razorg then to compare firmware versions.

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: Bluetooth refuse to be activated on Nexus 5

      @saveurlinux said in Bluetooth refuse to be activated on Nexus 5:

      Connecting to my Bluetooth speaker works but as the device allow to use it as remote command for selfie, it is discover as keyboard and so I'm not any more able to use phone virtual keyboard. Is there a way to force using the device as just an external speaker ?

      You could try bluetoothctl. It's the command-line interface for bluetoothd. When you type(*) that command in a terminal, you get an interactive session. Try the commands scan, list, devices to see which devices there are. There should be at least one: the controller itself. Here's a nice intro (in German, but the commands are in English, anyway):
      https://kofler.info/bluetooth-konfiguration-im-terminal-mit-bluetoothctl/

      (*) OTG cable and USB keyboard works fine for me.

      Maybe your speaker shows up as 2 devices, so you could disable one.

      posted in Support
      adeliepenguinA
      adeliepenguin
    • RE: How to open a .txt file that I copy from PC to FP2 with UT? [Solved]

      @AppLee said in How to open a .txt file that I copy from PC to FP2 with UT?:

      @Opolork
      The files created with Tedit can be found there : ~phablet/.local/share/tedit.fulvio/
      You can access it with the file manager and move or copy them wherever you want.

      I am doing the same, but mostly from the terminal (copying to/from USB). I took the liberty to create myself a short-cut (~phablet: ln -s /.local/share/tedit.fulvio/ MyTextFiles)

      The file manager (in unlocked mode) displays the symlink "MyTextFiles" as if it was a directory, so you don't have to navigate the full path every time.

      But if (as your title suggest) you want the other way around, I'm not sure if Tedit can handle it... but I didn't read the code, so maybe.

      I have copied many a text file to tedit's directory. From there, it can open them alright (settings icon / open / select a file by touching it / swipe to the left, click the "edit" icon).

      I'm very glad about tedit, it has proven to be really helpful to me. It stores plain text that I can re-use later any time, anywhere. I tried the Note app first, but it's actually storing XML (~phablet/.local/share/com.ubuntu.reminders/); fine for what it is, but not what I need.

      BTW, I got really skilled at using vi with the on-screen keyboard, I don't need any other games. 😉
      (explanation: I'm using "view" aka "vi -R" when I want to read a config file, since "less" seems to mess up the terminal, and "cat" isn't always an option. Maybe I could start using uText for that like @Giiba mentioned. Since the root file system is read-only, no risk messing up.)

      posted in Support
      adeliepenguinA
      adeliepenguin