TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. João Pedro Vital
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    João Pedro Vital

    @João Pedro Vital

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    João Pedro Vital Unfollow Follow

    Latest posts made by João Pedro Vital

    • RE: How can I fire custom notification on Ubuntu?

      @Russ thanks for your reply

      I tried the commands you suggested, but I kept jumping across different error messages. After googling for hours and fixing one by one, I gave up, I think the time I was losing, it's not worth only to see a 5 seconds notification.

      But thanks a lot for the support!!

      posted in General Discussion
      João Pedro VitalJ
      João Pedro Vital
    • RE: How can I fire custom notification on Ubuntu?

      @Russ Thank you so much for the tip!

      Follow the contents of the .log file generated when I manually triggered the command via dashboard. (I don't seem to have permission to post files in the forum)

      Cannot autolaunch D-Bus without X11 $DISPLAY
      

      that's all the content of the file, i'm searching for the error RN to see if I get it solved, but if you know how to, please let me know!

      posted in General Discussion
      João Pedro VitalJ
      João Pedro Vital
    • How can I fire custom notification on Ubuntu?

      In the work right now so I cant describe everything, but basically, I'm trying to trigger a notification on my Ubuntu Desktop with the command below:

      {"trigger":"Celular carregado","command":"notify-send -i battery-full-charging \"Celular carregado\" \"A bateria está em 95%\"","ground":"background","voice":"celular carregado","allowParams": "false"}
      

      Other background commands that I have, like shutdown, suspend pc, they work fine (that means my background service is installed correctly). But the notification doesn't.

      The command shows up in the dashboard
      9ab0d91b-f3f9-4fb5-b5c1-9a6ac3d16616-image.png

      When triggering the command it shows up in the log and says "command ran"
      ed8238fd-a81f-4e85-9b04-db2ed5205e69-image.png

      What I don't understand is that if I run the command manually on the terminal, the notification shows up as expected.

      Can someone give me a clue on how to do that???

      posted in General Discussion
      João Pedro VitalJ
      João Pedro Vital