<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><span id="ms-rterangepaste-start"></span></p>
<p cid="n67" mdtype="paragraph" class="md-focus-p" style="box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin-bottom: 1.5em; width: inherit; ">
<span class="md-line md-end-block md-focus" cid="n62" mdtype="line" style="box-sizing: border-box; display: block;"><span md-inline="plain" class="md-expand" style="box-sizing: border-box;">Hi Eric,</span></span></p>
<p cid="n77" mdtype="paragraph" class="" style="box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin-bottom: 1.5em; width: inherit; ">
<span class="md-line md-end-block" cid="n72" mdtype="line" style="box-sizing: border-box; display: block;"><span md-inline="plain" style="box-sizing: border-box;">I was looking into your question this morning and I found a few leads. For applications that you
would like to remove from the menu, you may just want to uninstall them, but an alternative is to remove their
</span><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><code style="box-sizing: border-box; font-family: var(--monospace); font-size: 0.875em; background-color: rgb(218, 218, 218); padding-left: 1ch; padding-right: 1ch; line-height: 1.71429em;">$APP_NAME.desktop</code></span><span md-inline="plain" style="box-sizing: border-box;">
files, or to add the line </span><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><code style="box-sizing: border-box; font-family: var(--monospace); font-size: 0.875em; background-color: rgb(218, 218, 218); padding-left: 1ch; padding-right: 1ch; line-height: 1.71429em;">Hidden=true</code></span><span md-inline="plain" style="box-sizing: border-box;">
to the </span><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><code style="box-sizing: border-box; font-family: var(--monospace); font-size: 0.875em; background-color: rgb(218, 218, 218); padding-left: 1ch; padding-right: 1ch; line-height: 1.71429em;">.desktop</code></span><span md-inline="plain" class="" style="box-sizing: border-box;">
file. The first place to check for </span><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><code style="box-sizing: border-box; font-family: var(--monospace); font-size: 0.875em; background-color: rgb(218, 218, 218); padding-left: 1ch; padding-right: 1ch; line-height: 1.71429em;">.desktop</code></span><span md-inline="plain" style="box-sizing: border-box;">
files is </span><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><code style="box-sizing: border-box; font-family: var(--monospace); font-size: 0.875em; background-color: rgb(218, 218, 218); padding-left: 1ch; padding-right: 1ch; line-height: 1.71429em;">/usr/share/applications</code></span><span md-inline="plain" class="" style="box-sizing: border-box;">.</span></span></p>
<p cid="n99" mdtype="paragraph" style="box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin-bottom: 1.5em; width: inherit; ">
<span class="md-line md-end-block" cid="n97" mdtype="line" style="box-sizing: border-box; display: block;"><span md-inline="plain" style="box-sizing: border-box;">A method for developing and setting a default panel for all users is detailed in this
</span><span md-inline="link" class="" style="box-sizing: border-box;"><a spellcheck="false" href="https://unix.stackexchange.com/q/155007/204548" style="box-sizing: border-box; cursor: pointer; text-decoration-line: none; color: rgb(6, 85, 136); -webkit-user-drag: none;" id="LPlnk970206" class="OWAAutoLink" previewremoved="true"><span md-inline="plain" style="box-sizing: border-box;">StackExchange
question</span></a></span><span md-inline="plain" style="box-sizing: border-box;">. A method for preventing non-root users from changing their panel is detailed in
</span><span md-inline="link" class="" style="box-sizing: border-box;"><a spellcheck="false" href="https://askubuntu.com/questions/74205/how-do-i-prevent-a-user-from-customizing-the-panel-in-xubuntu" style="box-sizing: border-box; cursor: pointer; text-decoration-line: none; color: rgb(6, 85, 136); -webkit-user-drag: none;" id="LPlnk798920" class="OWAAutoLink" previewremoved="true"><span md-inline="plain" style="box-sizing: border-box;">this
one</span></a></span><span md-inline="plain" style="box-sizing: border-box;">.</span></span></p>
<p cid="n133" mdtype="paragraph" class="" style="box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin-bottom: 1.5em; width: inherit; ">
<span class="md-line md-end-block" cid="n128" mdtype="line" style="box-sizing: border-box; display: block;"><span md-inline="plain" class="" style="box-sizing: border-box;">When I used the 'Redmond' style panel I was able to remove the logout button completely
by removing the file </span><span md-inline="code" spellcheck="false" style="box-sizing: border-box;"><code style="box-sizing: border-box; font-family: var(--monospace); font-size: 0.875em; background-color: rgb(218, 218, 218); padding-left: 1ch; padding-right: 1ch; line-height: 1.71429em;">/usr/share/applications/xfce4-session-logout.desktop</code></span><span md-inline="plain" style="box-sizing: border-box;">.
Otherwise I was only able to remove the suspend option by running:</span></span></p>
<pre spellcheck="false" class="md-fences md-end-block contain-cm modeLoaded" lang="" contenteditable="false" cid="n114" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9rem; white-space: normal; --select-text-bg-color: #36284e; --select-text-font-color: #fff; line-height: 1.71429em; break-inside: avoid; background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(218, 218, 218); margin-bottom: 3em; padding-left: 1ch; padding-right: 1ch; margin-left: 2em; width: inherit; caret-color: rgb(31, 9, 9); color: rgb(31, 9, 9); text-size-adjust: auto; "><span role="presentation" style="box-sizing: border-box; padding-right: 0.1px;">xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'</span><br><span role="presentation" style="box-sizing: border-box; padding-right: 0.1px;">xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'</span></pre>
<p cid="n134" mdtype="paragraph" class="" style="box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin-bottom: 1.5em; width: inherit; ">
<span class="md-line md-end-block md-focus" cid="n135" mdtype="line" style="box-sizing: border-box; display: block;"><span md-inline="plain" class="" style="box-sizing: border-box;">I was not able to find a method to remove the Logout/Restart/Shutdown buttons
from the Logout menu itself.</span></span></p>
<span id="ms-rterangepaste-end"></span><br>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> OOD-users <ood-users-bounces@lists.osc.edu> on behalf of Eric Appelt <appelte1@accre.vanderbilt.edu><br>
<b>Sent:</b> Thursday, July 26, 2018 2:59:15 PM<br>
<b>To:</b> ood-users@lists.osc.edu<br>
<b>Subject:</b> [OOD-users] Thanks and Xfce4 customization</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Everyone,<br>
<br>
I'm a systems administrator at the Vanderbilt Advanced Computing Center <br>
for Research and Education (ACCRE) facility. We are currently working on <br>
adopting OOD for our cluster users, and I have had a good experience so <br>
far setting up an initial portal server. This is a really nice product, <br>
so thank you to the OOD team for all the work building and documenting <br>
this system.<br>
<br>
I will coincidentally be on the OSU campus for the PyOhio python <br>
conference this weekend, so if anyone would like to have lunch Saturday <br>
or Sunday and share experiences and notes setting up OOD please let me know.<br>
<br>
I have one question for the community: we are using the Xfce4 desktop <br>
and would like to customize the default panel and menu settings so that <br>
non-functional icons such as the web browser, hibernate, shutdown, etc <br>
are removed. I couldn't find anything searching on my own, does anyone <br>
have any resources or tips for changing the system wide default <br>
configuration without recompiling? We are using the EPEL RPMs for <br>
CentOS7 to install Xfce4 on the compute nodes.<br>
<br>
Cheers,<br>
<br>
Eric<br>
<br>
_______________________________________________<br>
OOD-users mailing list<br>
OOD-users@lists.osc.edu<br>
<a href="https://lists.osu.edu/mailman/listinfo/ood-users">https://lists.osu.edu/mailman/listinfo/ood-users</a><br>
</div>
</span></font></div>
</body>
</html>