Libervis Network - For a Free WorldLibervis Projects | Nuxified Projects
Welcome guest. Register | Login | Show what's new
Inatux.com

fixing xfce4 sessions

Sometimes something goes wrong when saving sessions in xfce. For example it gave me three instances of NetworkManager today... Here's how to fix it:

Log out. Log in in text mode (control-alt-f1). Edit the xfce session: vi .cache/sessions/xfce-session-myhostname\:0

Move to the first line describing something you don't want to be started, and type d8d (which deletes 8 lines). Repeat until you got rid of all unwanted junk (so in my case leaving only one of the groups of nm-applet lines, and everything not related to nm-applet), and exit vi with :wq.

Log out (control-d), go back to X (graphics mode) (alt-f7), log in, log out with session saving enabled (just to be sure), log in.

It should be fixed now.

libervisco's picture

Cool, it happens to me

Cool, it happens to me sometimes as well. Thanks for the tip.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><br><p><img><br><b><i>
  • You may quote other posts using [quote] tags.
  • You can use BBCode tags in the text. URLs will automatically be converted to links.
  • Textual smileys will be replaced with graphical ones.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

We have 7822 members who wrote 2145 articles and 12193 comments. Welcome to our newest member, kneeskloro!

Who's online

There are currently 1 user and 29 guests online.

Online users

Nuxified RSS feed