Discussion:
[Ltsp-discuss] missing entries in whisker menue
Frank Heuser
2016-05-20 13:00:26 UTC
Permalink
Hello,
I just installed xubuntu 16.04 in virtualbox
(xubuntu-16.04-desktop-amd64.iso) .

Installed the package
ltsp-server-standalone

configured DHCP and DNS and made a

sudo ltsp-build-client --arch i386

and booted a thin client.

I ran in to this issue:

https://bugs.launchpad.net/ubuntu/+source/policykit-1-gnome/+bug/1512002

and fixed it by using this hint of Alkis:

I think that if we change "<allow_inactive>auth_self</allow_inactive>"
to "<allow_inactive>yes</allow_inactive>",
we'll have a temporary workaround to the problem.
The file is /usr/share/polkit-1/actions/org.freedesktop.accounts.policy

(Thank you very much to Alkis!)


I just want to report a second issue:

There are entries missing in whisker-menue.
(If I log in into the server directly as same user, the entries are
visible.)

The missing entries are:
Settings (Einstellungen):
Display (Anzeige)
Workspaces (Arbeitsflächen)
Accessibility (Barrierefreiheit)
Notifications (Benachrichtigungen)
Preferred Applications (Bevorzugte Anwendungen)
Bluetooth Adapters (Bluetoothadapter)
Orage preferences (Einstellungen für Orage)
Settings Editor (Einstellungsbearbeitung)
Appearance (Erscheinungsbild)
Window Manager Tweaks (Feineinstellungen der Fensterverwaltung)
Window Manager(Fensterverwaltung)
Panel (Leiste)
Mouse and Touchpad (Maus und Touchpad)
Desktop (Schreibtisch)
Session and Startup (Sitzung und Startverhalten)
Xfce Panel Switch (Xfce-Leistenschalter)

Accessories (Zubehör):
File Manager (Dateiverwaltung)
Notes (Notizen)
Terminal Emulator (Terminal)

Using MenuLibre doesn't really help, because the changes are made only
for the current user
(/home/user/.local/share/applications/).
And the usage is confusing, because you don't see, why the entry doesn't
show up before making the changes in MenuLibre.

So!
The corresponding .desktop-files are stored in /usr/share/applications.

If I comment e.g. in exo-file-manager.desktop this line
OnlyShowIn=XFCE;
to
#OnlyShowIn=XFCE;
the File Manager appeares immediately .

Is there an easier way to recover the entries? I think, it has to do
with LDM or so not reporting correctly "XFCE" started.

Best Regards
Frank Heuser
--
Wilfried Schmidt Maschinenbau Tel. (+49) 7071 38870
Aixer Strasse 44 Fax. (+49) 7071 38876
D-72072 Tuebingen email ***@nabendynamo.de
Germany http://www.nabendynamo.de
Alkis Georgopoulos
2016-05-21 04:41:43 UTC
Permalink
Login to a thin client, open a terminal, and run:

env | grep XDG

Paste the result here.

Then do the same while logging in to the server, where everything works
fine.
Again paste the result here.
--
Alkis Georgopoulos
LTSP developer
Post by Frank Heuser
Hello,
I just installed xubuntu 16.04 in virtualbox
(xubuntu-16.04-desktop-amd64.iso) .
Installed the package
ltsp-server-standalone
configured DHCP and DNS and made a
sudo ltsp-build-client --arch i386
and booted a thin client.
https://bugs.launchpad.net/ubuntu/+source/policykit-1-gnome/+bug/1512002
I think that if we change "<allow_inactive>auth_self</allow_inactive>"
to "<allow_inactive>yes</allow_inactive>",
we'll have a temporary workaround to the problem.
The file is /usr/share/polkit-1/actions/org.freedesktop.accounts.policy
(Thank you very much to Alkis!)
There are entries missing in whisker-menue.
(If I log in into the server directly as same user, the entries are
visible.)
Display (Anzeige)
Workspaces (Arbeitsflächen)
Accessibility (Barrierefreiheit)
Notifications (Benachrichtigungen)
Preferred Applications (Bevorzugte Anwendungen)
Bluetooth Adapters (Bluetoothadapter)
Orage preferences (Einstellungen für Orage)
Settings Editor (Einstellungsbearbeitung)
Appearance (Erscheinungsbild)
Window Manager Tweaks (Feineinstellungen der Fensterverwaltung)
Window Manager(Fensterverwaltung)
Panel (Leiste)
Mouse and Touchpad (Maus und Touchpad)
Desktop (Schreibtisch)
Session and Startup (Sitzung und Startverhalten)
Xfce Panel Switch (Xfce-Leistenschalter)
File Manager (Dateiverwaltung)
Notes (Notizen)
Terminal Emulator (Terminal)
Using MenuLibre doesn't really help, because the changes are made only
for the current user
(/home/user/.local/share/applications/).
And the usage is confusing, because you don't see, why the entry doesn't
show up before making the changes in MenuLibre.
So!
The corresponding .desktop-files are stored in /usr/share/applications.
If I comment e.g. in exo-file-manager.desktop this line
OnlyShowIn=XFCE;
to
#OnlyShowIn=XFCE;
the File Manager appeares immediately .
Is there an easier way to recover the entries? I think, it has to do
with LDM or so not reporting correctly "XFCE" started.
Best Regards
Frank Heuser
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp cha
Alkis Georgopoulos
2016-05-30 15:06:13 UTC
Permalink
Frank you're great in script analyzing,

so it's not an issue with LTSP, but it is bug in xubuntu.desktop, they
should have added DesktopNames=XFCE in it as the freedesktop
specification mentions.

File a bug report in xubuntu and show them these similar bugs for
lightdm/mate:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809803
https://bugs.launchpad.net/lightdm/+bug/1383321

Cheers,
Alkis Georgopoulos
LTSP developer
Thanks for the hint. I had a look on
/opt/ltsp/i386/usr/share/ldm/rc.d/X50-generate-env
The command "basename readlink -qs /etc/alternatives/x-session-manager"
results to "startxfce4"
There are two files in /usr/share/xsessions and both are matching
xfce.desktop:Exec=startxfce4
xubuntu.desktop:Exec=startxfce4
xfce.desktop
xubuntu.desktop
'/\(.*\)\.desktop/{s//\1/p;q}'
xfce
But it seems to be, that "sometimes" (why ever) the file
xubuntu(.desktop) is found. Because, if I change the line
Name=Xubuntu Session
in xubuntu.desktop
to
Name=XFCE
env gives "XDG_CURRENT_DESKTOP=XFCE"
and the missing entries aren't missing any more.
(Just to remember: which line inside the *.desktop-file is found, is
defined by line 28 and 30)
Greetings
Frank
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP
Frank Heuser
2016-06-09 13:56:00 UTC
Permalink
Hello Alkis,
for your information:
I announced the bug here:
https://bugs.launchpad.net/ubuntu/+source/xubuntu-default-settings/+bug/1590089

Cheers,
Frank
Post by Alkis Georgopoulos
Frank you're great in script analyzing,
so it's not an issue with LTSP, but it is bug in xubuntu.desktop, they
should have added DesktopNames=XFCE in it as the freedesktop
specification mentions.
File a bug report in xubuntu and show them these similar bugs for
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809803
https://bugs.launchpad.net/lightdm/+bug/1383321
Cheers,
Alkis Georgopoulos
LTSP developer
--
Wilfried Schmidt Maschinenbau Tel. (+49) 7071 38870
Aixer Strasse 44 Fax. (+49) 7071 38876
D-72072 Tuebingen email ***@nabendynamo.de
Germany http://www.nabendynamo.de


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Loading...