Switch acer desktop <-> xfce from panel (icon)

Re: Switch acer desktop <-> xfce

lotus49 said:
marudai said:
Has anyone else noticed that both the method at the top of the thread and this method seem to break aufs?

This appears to be the case for me as well. I installed and used this script before inserting my SDHC card, but when I did, nothing useful happened. I did not get the popup asking whether I wanted to add the card as expansion (or whatever the message says, it's a few weeks since I saw it).

If it breaks it permanently, I don't care; I would happily mount the SDHC card on /home but I don't want the OS to decide to do this at some random point in the future and corrupt my card.

Dunno if it breaks it "permanently". I left the switch in place but set my system back to booting to the Acer launcher. If I do that and then hit the switch after it boots I get aufs back AND the xfce desktop. It's worth one click to me.
 
I noticed that when I ran Thunar the first time after boot, I get a notice that the card is added - a "df" in terminal shows it is, as well as browsing my files of course.

BTW, I'm booting direct into xfce4 by editing both /usr/bin/xfdesktop and /usr/bin/xfdesktopnew (they are scripts, so "sudo mousepad <...either of the files above...>") and changing references to point xfdesktop-xfce instead of Acers xfdesktop files. Also after adding the menu to the panel and other mods, I then did a "xfce4-panel --save" - scripts for switching isn't a bad a idea tho

UPDATE: Ok I take it back - it is not working that way anymore - the card and Thunar! I know it was working at one point with the xfce desktop :(
UPDATE: Also on trying to restore the Acer desktop I discovered that simply copying the saved file (I was prepared :P) xfdesktop2-acer back to xfdesktop2, my desktop came back to original. Replacing the above edited files didn't do it. I had copied the xfdesktop-xfce (binary) over top of xfdesktop2 (also a binary) - apparently. It would appear that that is all you have to do, as root of course to get the standard desktop.
 
Hi Everyone,

Excellent tutorial here! I just got an AAO-150 here and it's running really well, but I have one question. I tried using the panel manager to move my panel to the top instead of the bottom of the screen (as per the screenshots earlier in this thread), but I get 3 extra empty rows that take up space and force my actual usable screen to be too small. How do I fix this? (edit the panel config by hand?)

Also, how do I change the order of the icons in the panel launcher? Currently, I have the quick desktop switch script as the last icon, and I'd like the power button to be the last icon.

EDIT: SOLVED ORDER ISSUE. I edited ~/.xfce4/panels/panels.xml by hand to change the order. Now I just need to know how to shrink that damn top bar down to a usable size...

Thanks!
 
Hi all, I just solved this problem yesterday by installing desktop-switch-0.3-1.i386.rpm.gz, which I found at a German Blog www.iphpbb3.com/forum/39151476nx21895/l ... -t218.html . The defualt archive GUI in Linpus wouldn't work for me so I had to use the terminal. I think it was gzip -d desktop-switch-0.3-1.i386.rpm.gz . Then I installed it with sudo rpm -i desktop-switch-0.3-1.i386.rpm .

It adds the icon to the panel at the bottom allowing you to switch between screens.

Hope this helps!

Bryan
 
jhedrotten said:

how do you do this?
modify format.txt ( config file ) ..
Code:
cp /etc/xdg/xfce4/desktop/format.txt  ~/.config/xfce4/desktop
mousepad  ~/.config/xfce4/desktop/format.txt

this part :
# 1024 x 600 #
[default:1024x600]
...
...

kill acer desktop and restart it :
Code:
killall xfdesktop2 && sleep 1 && xfdesktop2 &
 
can i install standard xfce themes after i switched desktops? thanks a lot. because i don't want to modify my desktop way too much because reisntalling the OS is way too tedious for me to wait. i just want to have the linpus xfce and install themes. thanks a lot adcomp.
 
Nice and easy!

Well, allmost. I accidentally got two icons to the panel. How can I get rid of the extra one? Everything else is as it should be.
 
Hi all,

Is this switch a temporary thing each time the script is called, or are any files permanently modified?

Also, this modification to kill off the search bar:

Hit alt-f2 and run this

Code: Select all
sudo mousepad /etc/xdg/xfce4-session/xfce4-session.rc



Find where it says this: Client3_Command=/usr/share/search-bar/start-search_bar.sh

and replace it with this: Client3_Command=xfce-mcs-manager.new

Does this also kill off the search bar in the Linpus desktop (forever)?

Basically, i want to be able to click a button and switch between desktops at leisure, but always boot back into the Linpus desktop and not risk messing anything up. Will this script do this for me?

Thanks.
 
Re: Switch acer desktop <-> xfce

marudai said:
TheComebackKid said:
You can follow the steps here to boot upp directly into the xfce desktop:
http://jorge.ulver.no/2008/08/06/acer-aspire-one-tips-and-tricks/#Changingtothedefaultdesktop
No need to run a script every time you want to go to the xfce desktop.

Has anyone else noticed that both the method at the top of the thread and this method seem to break aufs?
I didn't even notice this but you are correct, aufs breaks when booting into the standard xfce desktop.
I switched back so my AAO will boot into the Acer desktop and aufs is fine.
Anybody have a fix for this?
The steps in the link say to:
Edit xfdesktopnew in /usr/bin to run xfdesktop instead of xfdesktop2 and then changed line 6 in xfdesktop to "/usr/bin/xfdesktop-xfce & >/dev/null 2>&1".
Maybe xfdesktop2 starts up aufs and when we boot up in the standard xfce desktop aufs in never started up?
 
Hmmm... I was thinking the following here - i want to keep my Aspire One stock when i boot, but then launch the XFCE desktop and some other things when this script is run:

Code:
    #!/bin/sh

    # Test if easy mode (acer)
    ps aux | grep xfdesktop2 | grep '/usr/bin'

    #  0 = Acer Desktop 
    if [ $? = 0 ]; then
       killall xfdesktop2
       killall acer-search-desktop
       sleep .5
       /usr/bin/xfdesktop-xfce &
[color=#000080]     <kill dock>
     <move tool bar to bottom of screen>
     <change wallpaper to something stock>
[/color]
    else
       killall xfdesktop-xfce
       sleep .5
       /usr/bin/xfdesktop2 &
      /usr/bin/acer-search-desktop &
[color=#000080]     <launch dock here>
     <move tool bar to top of screen>
     <change wallpaper to something xfce-ish>
[/color]

    fi

Killing/launching the acer search and dock (when i install one) is easy, but does anyone know how i can move the toolbar to the top of the screen and change the wallpaper back and forth please? Cheers!


EDIT - OK, so this is what I've got now:

First, move whatever file you want for the "Acer desktop" background to /usr/share/xfce4/backdrops/acerbg.png

Now move whatever file you want for the "Xfce desktop" background to /usr/share/xfce4/backdrops/xfcebg.png

Set the /usr/share/xfce4/backdrops/acerbg.png as your background through the right-click > settings> desktop settings menu. If your file is a .jpg or otherwise, make the relevant changes to the script below and run.


Code:
    #!/bin/sh

    # Test if easy mode (acer)
    ps aux | grep xfdesktop2 | grep '/usr/bin'

    #  0 = Acer Desktop 
    if [ $? = 0 ]; then
       killall xfdesktop2
       killall acer-search-desktop
       sleep .5
      mv /usr/share/xfce4/backdrops/acerbg.png /usr/share/xfce4/backdrops/acerbg.png.bak
      mv /usr/share/xfce4/backdrops/xfcebg.png /usr/share/xfce4/backdrops/acerbg.png
       sleep .5
       /usr/bin/xfdesktop-xfce &

    else
       killall xfdesktop-xfce
       sleep .5
       mv /usr/share/xfce4/backdrops/acerbg.png /usr/share/xfce4/backdrops/xfce.png
       mv /usr/share/xfce4/backdrops/acerbg.png.bak /usr/share/xfce4/backdrops/acerbg.png
       sleep .5
       /usr/bin/xfdesktop2 &
      /usr/bin/acer-search-desktop &
    fi


Todo:

Launch a dock.
Move position of toolbar to incorporate dock.

Kind of messy, and you must remember to change back before shut down (else your desktops will be backwards) but should work OK methinks.
 
this is great thanks!

i think replacing the line "/usr/bin/acer-search-desktop &" with "/usr/share/search-bar/start-search_bar.sh" will work better for the search bar when switching back to the acer desktop.

anyhow i have removed the search bar from my desktop because it doesn't go with the wallpaper :)

[attachment=1:1x9zz3jb]Screenshot1.png[/attachment:1x9zz3jb]

[attachment=0:1x9zz3jb]Screenshot2.png[/attachment:1x9zz3jb]
 
hello, i have my aspire since yesterday and I used your script to get the xfce desktop, it works fine but I have two problems:
the first one is that i can't figure out how create desktop icons on the xfce desktop, and the second one wich is more annoying is that when i shutdown my AA1 while still being on the modified desktop the computer freeze and I get a white screen. I have to shutdown my computer by pressing the power button.

i hope that someone will be able to help me with my problems.
thanx in advance
(and sorry for my poor English )
 
I DID IT TWICE and now I have two icons in the desktop. how can I delete one of them?
regards
 
ossified65 said:
Hi all, I just solved this problem yesterday by installing desktop-switch-0.3-1.i386.rpm.gz, which I found at a German Blog http://www.iphpbb3.com/forum/39151476nx ... -t218.html . The defualt archive GUI in Linpus wouldn't work for me so I had to use the terminal. I think it was gzip -d desktop-switch-0.3-1.i386.rpm.gz . Then I installed it with sudo rpm -i desktop-switch-0.3-1.i386.rpm .

It adds the icon to the panel at the bottom allowing you to switch between screens.

Hope this helps!

Bryan

Perfect.

Only difference was I d/l'd the gzip, extracted the folder, opened the folder and double clicked the .rpm file.
Installed perfect, switches perfect. Thanks a million.
 
Hi

Very new to this.

When I click the launcer button it tells me that changedesktop does not exist. I have saved the script as /home/user/changedesktop.sh - have i missed something simple

Ta
 
Back
Top