WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [enlightenment] wbar doesn't get populated during boot if desktop=enlightenment for example  (Read 14897 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Another issue with Enlightenment, I see that the freedesktop.org .desktop specification of

Terminal=true

does not work with this extension. I have the other Tiny Core menu items working.

I also have no issue with LXDE extension in using the Terminal=true specification.

Is it just this build or a general issue with Enlightenment?

It doesn't work in Xfce4 with the default Aterm from the base but works fine with the optional vte based 'Terminal' extension. BTW, both LXDE and Xfce4 terminals are using the vte library.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Another issue with Enlightenment, I see that the freedesktop.org .desktop specification of

Terminal=true

does not work with this extension. I have the other Tiny Core menu items working.

I also have no issue with LXDE extension in using the Terminal=true specification.

Is it just this build or a general issue with Enlightenment?
More than likely it's a general e17 issue. I'll bring it up with the devs, see what they think.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
bmarkus, could you ask the Xfce devs about that? IIRC we also have a symlink xterm -> aterm, so it should be detecting at least xterm.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
bmarkus, could you ask the Xfce devs about that? IIRC we also have a symlink xterm -> aterm, so it should be detecting at least xterm.

No need to ask, it is a local issue with Xfce4 default setup on TC. Changing it from 'aterm' to 'X Terminal' it works as expected. Will fix it.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Another issue with Enlightenment, I see that the freedesktop.org .desktop specification of

Terminal=true

does not work with this extension. I have the other Tiny Core menu items working.

I also have no issue with LXDE extension in using the Terminal=true specification.

Is it just this build or a general issue with Enlightenment?

Actually, it's more likely a configuration issue.

The following desktop entry correctly launches Vim in a terminal:
Code: [Select]
[Desktop Entry]
Name[C]=Vim
Hidden=false
Exec=vim
Icon=/usr/local/tce.icons/gvim.png
NoDisplay=false
Comment[C]=Vim Editor
Type=Application
Version=1.0
StartupNotify=false
Comment=Vim Editor
Terminal=true
Icon[C]=/usr/local/tce.icons/gvim.png
Name=Vim

I've been doing some heavy experimentation with my e17 configuration, learning all the ins and outs, so if I have time today, I'll set up a default tc + e and work out what I've changed exactly that made it work.

(It could also be that my version is slightly newer than the version in the repo. Just need to find some time to finish putting together new info and dep files before I submit the new version)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
If the libs have their own versions, could you use those in the info files instead of the e snapshot version? I think at least eet is a formal 1.2.x release..
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
bmarkus, could you ask the Xfce devs about that? IIRC we also have a symlink xterm -> aterm, so it should be detecting at least xterm.

No need to ask, it is a local issue with Xfce4 default setup on TC. Changing it from 'aterm' to 'X Terminal' it works as expected. Will fix it.

Bug fixed Xfce4base.tcz is in the repo.
« Last Edit: March 30, 2010, 11:36:34 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Would you share on how it was fixed (and where the bug was in the first place)?
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Would you share on how it was fixed (and where the bug was in the first place)?

Simple configuration mismatch, my fault. Terminal emulator is specified in

/home/tc/.config/xfce4/helpers.rc

Now default is:

Quote
TerminalEmulator=aterm

while previously it was

Quote
TerminalEmulator=custom

Of course custom doesn't exist and can't be executed, error message was correct.

Quote
TerminalEmulator=xterm

works too.


« Last Edit: March 30, 2010, 04:30:59 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Another issue with Enlightenment, I see that the freedesktop.org .desktop specification of

Terminal=true

does not work with this extension. I have the other Tiny Core menu items working.

I also have no issue with LXDE extension in using the Terminal=true specification.

Is it just this build or a general issue with Enlightenment?

Actually, it's more likely a configuration issue.

The following desktop entry correctly launches Vim in a terminal:
Code: [Select]
[Desktop Entry]
Name[C]=Vim
Hidden=false
Exec=vim
Icon=/usr/local/tce.icons/gvim.png
NoDisplay=false
Comment[C]=Vim Editor
Type=Application
Version=1.0
StartupNotify=false
Comment=Vim Editor
Terminal=true
Icon[C]=/usr/local/tce.icons/gvim.png
Name=Vim

I've been doing some heavy experimentation with my e17 configuration, learning all the ins and outs, so if I have time today, I'll set up a default tc + e and work out what I've changed exactly that made it work.

(It could also be that my version is slightly newer than the version in the repo. Just need to find some time to finish putting together new info and dep files before I submit the new version)

This does not work with the version of enlightenment in the repository.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Would you share on how it was fixed (and where the bug was in the first place)?

Simple configuration mismatch, my fault. Terminal emulator is specified in

/home/tc/.config/xfce4/helpers.rc

Now default is:

Quote
TerminalEmulator=aterm

while previously it was

Quote
TerminalEmulator=custom

Of course custom doesn't exist and can't be executed, error message was correct.

Quote
TerminalEmulator=xterm

works too.

Upgraded the base. Checking the Settings Preferred Applications Utilities I do now see aterm. Still simply using the run command from xfce menu fails when trying to run vi or top with the run in terminal option checked.
Checking the Settings Preferred Applications Utilities I do now see aterm.
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum

Upgraded the base. Checking the Settings Preferred Applications Utilities I do now see aterm. Still simply using the run command from xfce menu fails when trying to run vi or top with the run in terminal option checked.
Checking the Settings Preferred Applications Utilities I do now see aterm.


It works here. Enter 'top' and tick checkbox 'Run in terminal':



Top runs fine in a terminal window:



Same with vi.
« Last Edit: March 30, 2010, 11:29:09 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
reinstalling all of xfce now works to the point of simple run in terminal.

However, I see a wide variation of how freedesktop items are handled.

LXDE works the way I would think it should, i.e., within a .desktop item using both
Exec=sudo usbinstall and Terminal=true, works as expected. XFCE does not. Even back to the run command prefixing with sudo fails, but of course, not checking run in terminal, and using
aterm -e sudo usbinstall does.
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
I will evaluate Xfce in few days.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Hm...  On a fresh 2.10 placing this USB_Installl.desktop into /home/tc/Desktop it works as expected:

Quote
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=USB Installer
Categories=Application;
Exec=sudo usbinstall
Icon=dialog-warning
Terminal=true
StartupNotify=false

but doesn't work in /usr/local/share/applications :( I do not know why it behaves differently. When usbinstall terminates with an error message terminal window is closed immediately :(


« Last Edit: March 30, 2010, 03:50:30 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."