If it's not on-topic, it's in here.
Post a reply

a few odds and ends - ignore

Sat Oct 22, 2011 1:21 am

hope nobody minds me posting some xfce/wheezy odds and ends

disable ipv6
echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf

enable shutdown and restart buttons using visudo
username hostname = NOPASSWD: /usr/lib/xfce4/session/xfsm-shutdown-helper

custom menu file goes in /etc/xdg/menus and looks like
Code:
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
  "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>
<Name>Xfce</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<DefaultMergeDirs/>


<Layout>
<Filename>geany.desktop</Filename>
<Filename>asunder.desktop</Filename>
<Filename>iceweasel.desktop</Filename>
<Filename>xfce-settings-manager.desktop</Filename>
<Filename>xfce4-session-logout.desktop</Filename>
</Layout>

<Include>
<Filename>geany.desktop</Filename>
<Filename>asunder.desktop</Filename>
<Filename>iceweasel.desktop</Filename>
<Filename>xfce4-session-logout.desktop</Filename>
<Filename>xfce-settings-manager.desktop</Filename>
</Include>


</Menu>

Re: a few odds and ends - ignore

Sat Oct 22, 2011 2:05 pm

meandean wrote:hope nobody minds me posting some xfce/wheezy odds and ends

disable ipv6
echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf

enable shutdown and restart buttons using visudo
username hostname = NOPASSWD: /usr/lib/xfce4/session/xfsm-shutdown-helper

custom menu file goes in /etc/xdg/menus and looks like
Code:
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
  "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>
<Name>Xfce</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<DefaultMergeDirs/>


<Layout>
<Filename>geany.desktop</Filename>
<Filename>asunder.desktop</Filename>
<Filename>iceweasel.desktop</Filename>
<Filename>xfce-settings-manager.desktop</Filename>
<Filename>xfce4-session-logout.desktop</Filename>
</Layout>

<Include>
<Filename>geany.desktop</Filename>
<Filename>asunder.desktop</Filename>
<Filename>iceweasel.desktop</Filename>
<Filename>xfce4-session-logout.desktop</Filename>
<Filename>xfce-settings-manager.desktop</Filename>
</Include>


</Menu>


Wouldn't this be more of a tip or such which kinda belongs in "how-to" ?
I fail to understand why offtopic.
Not that it would matter what is where, as long it is there
(this was the long version of: yes, only nobody minds).

I can't say i am good with xfce. What i do i do from the gui/settings-manager.
A few tips would be good, as far it is me (i know the forum and the wiki, but both are not much of my thing)

Re: a few odds and ends - ignore

Sat Oct 22, 2011 5:10 pm

I thought it might be a 'tip' but then realized that this is the refracta forum.

As such I don't think tips for wheezy are applicable since refracta does not have a wheezy version. I haven't tried this on squeeze.

I also felt like they aren't really applicable to refracta since the buttons aren't disabled in the first place and who in their right mind would want a manual menu. The menu file should also be indented and nested and all that cool stuff that I cannot stand.

So it was more of a place to stick some notes until I got around to getting my files together and finding a good place to put them in my personal space.
;)

Re: a few odds and ends - ignore

Sat Oct 22, 2011 5:53 pm

Ah, i see, did not get it at first glance.

I tried a lot of ways to store all kind of configs: github, ~/Backup/configs, minus/dropbox, wordpress, usb-sticks, but to be honest: having them in a forum seems always like the most easy way to me. Sooner or later i stop keeping things up to date properly, and it gets a mess.
I guess here, nonsense section, is a good tip... like in google-able.

I am a bit more confused than usual, if in doubt: ignore.

Re: a few odds and ends - ignore

Sat Oct 22, 2011 6:34 pm

I just keep all my stuff on sda1. Usually I just list all my tweaks in one big file unless it is something really large and then it gets its own file. I have tried various ways as well but always end up going back to sda1.

I borrowed the forum because my files are in limbo right now until I get them copied back to my laptop.
:oops:
Post a reply