WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: adriconf.tcz not working for my X  (Read 2505 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11107
Re: adriconf.tcz not working for my X
« Reply #15 on: May 19, 2019, 01:50:12 AM »
What would be helpful (since adriconf apparently will not work with wayland at present) would be to check the following:

As far as I can tell, this is OK as per the freedesktop standard:
Code: [Select]
$ grep Exec /usr/local/share/applications/adriconf.desktop
Exec=env XDG_SESSION_TYPE=x11 adriconf
..and "gtk-launch adriconf" works.

..but:
Code: [Select]
$ cat /home/tc/.wmx/Applications/adriconf
#!/bin/sh
exec env XDG_SESSION_TYPE

$ cat /home/tc/.wbar
...
i: /usr/local/share/pixmaps/br.com.jeanhertel.adriconf.png
t: adriconf
c: exec env XDG_SESSION_TYPE
..so adriconf will not run from the wbar icon nor menu item.

Could somebody better than me at awk take a look at wbar_update.sh and figure out how to correct things so it parses the desktop Exec line as expected?

Offline nick65go

  • Full Member
  • ***
  • Posts: 235
Re: adriconf.tcz not working for my X
« Reply #16 on: May 19, 2019, 03:47:16 AM »
hi juanito, may I ask: what is wrong with my patch? it works for me, from default flwm:
so the folder tce.install (which is autorun when tce-load -i adriconf.tcz first time) will write/copy this script in ~/.local/bin/adriconf
Code: [Select]
XDG_SESSION_TYPE=x11 /usr/local/bin/adriconfwhich will be executed both from FLWM menu and wbar. (of course, it should be chmod-ed 775 to be executable)
« Last Edit: May 19, 2019, 03:49:58 AM by nick65go »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11107
Re: adriconf.tcz not working for my X
« Reply #17 on: May 19, 2019, 04:38:43 AM »
There's nothing wrong with your solution, but there does seem to be a problem with wbar, which would affect other desktop files too.