Replace gdm+gnome3 with lightdm+xfce4
Not long ago I've had my first successful attempt to install arch from scratch but unfortunate choice of picking gnome3. It didn't work well for us and I'd like to move to xfce4, but keep my installation setup and not go through it all again.
So, how to move to xfce4 with minimal effort, but also abandon gdm login/window manager since it is freezing my ati260 (xf86-video-ati driver) after a while (at login and at screen-lock) ?
I would also like to completely remove gnome3, i.e. not to have 2 choices for desktop environments at login, but only xfce.
What is the best practice to accomplish that? Can I remove gdm / gnome within the gnome session? What file do I need to edit? Should I register something in systemd before I logout for the last time from gnome3? Basically a newbie recipe ...
A couple hints. It is not required that you have only one DM/WM installed. You can have both Gnome and xfce4 installed, and kde, and i3.
As to the display manager, just disable it with systemctl. If you really want another login manager, install it and enable it. Just don't enable more than one at once.
Consider just using startx. With a ~/.xinitrc, you can choose which environment you want from the console. Here is mine:
#!/bin/sh
# ~/.xinitrc
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#xset b off
#setxkbmap -option caps:super
setxkbmap -option ctrl:nocaps
#autocutsel -fork &
#autocutsel -selection PRIMARY -fork &
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export TERM=linux
#twmnd&
case $WM in
openbox)
exec openbox-session
vb)
VirtualBox -startvm "Windows 7" -fullscreen
xfce4)
exec startxfce4
i3)
exec i3
kde)
exec startkde
plex)
exec plexhometheater.sh
exec i3
esac
If I just use startx it will run i3. If I do something like WM=xfce4 startx it will run xfce4.
It is even possible to start i3 on one console, Ctrl-Alt-F2 to a different console, and run a totally different environment. I can have i3 on one console and xfce4, or plexserver, or openbox running simultaneously on a different console.
Anyway, I just wanted to break the paradigm that you can only have one environment installed.
Similar Messages
-
REPLACE GDM with ???
1) started with arch using slim + openbox.
1a) brief experiment with xfce4. wasn't very happy.
2) after some annoying problems with slim, switched to gdm + openbox.
3) want to keep openbox, but am getting annoyed with gdm, and with gnome.
4) don't want to use kdm, or anything kde anymore (used to prefer kde like 10 years ago, now it's way too huge and windows-ish for me).
5) have never tried cdm.
I want something robust (but doesn't come with a million dependencies) which will allow me to run some sort of nice panel from inside openbox. If I happen to log out, I don't want the process to take forever, or crash the X server, or the machine (all of which I have run into in the past). I don't want to have to fight to have some decent fonts around, or have sound work.
Recommendations?Here is a nice way to go about it if you are a single-user, and do not mind the use of auto-login: install Mingetty, and then in...
/etc/inittab:
#c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c1:2345:respawn:/sbin/mingetty --autologin USERNAME tty1 linux
...and $HOME/.bashrc:
if [ -z $DISPLAY ]; then
$HOME/bin/login-action-menu
fi
...and, finally, $HOME/bin/login-action-menu:
#!/bin/bash
while :; do
clear
# archlogo
echo "Welcome, $USER. What would you like to do?"
echo
echo "[1] X session"
echo "[2] Bash shell"
echo "[3] Root shell"
echo "[4] Suspend"
echo "[5] Hibernate"
echo "[6] Reboot"
echo "[7] Shut down"
read action
clear
case "$action" in
1) startx ;;
2) exit ;;
3) su ;;
4) sudo pm-suspend ;;
5) sudo pm-hibernate ;;
6) sudo reboot ;;
7) sudo shutdown now -h ;;
*) which ${action[0]} &> /dev/null && $action
esac
done
Last edited by Wintervenom (2009-11-23 18:24:08) -
I replaced my iPhone with a Samsung Galaxy5 and I am not receiving all of my text messages now. The rep at the store told me to go to iTunes and take my phone # off of the account and that would fix the problem. Is that true? What does iTunes have to do with text messages anyway?
You need to remove your phone number from the iMessage system.
Read here: http://support.apple.com/kb/ts5185
~Lyssa -
When I download the newest version (this time it was 5, but I had the same problem with 4) and I drag the Firefox Logo to my Applications folder in Mac OSX (10.6.7) I get a message saying I am replacing my version with an OLDER VERSION. How can this be? When I check the Firefox "About" tab, it tells me I am still using 4, so how, if I just dragged 5 to my Applications folder, can I be replacing 4 with an "older" version? Truth be told, my Firefox has never functioned properly since 4, and now I have little "Firefox hard drive icons" all over my desktop. What happened?
I am having trouble with Comcast's XFINITY and they told me to update and maximize my browser. I don't seem to be able to do that. I just downloaded Firefox 5.0, but my version still says 4.1.When I download the newest version (this time it was 5, but I had the same problem with 4) and I drag the Firefox Logo to my Applications folder in Mac OSX (10.6.7) I get a message saying I am replacing my version with an OLDER VERSION. How can this be? When I check the Firefox "About" tab, it tells me I am still using 4, so how, if I just dragged 5 to my Applications folder, can I be replacing 4 with an "older" version? Truth be told, my Firefox has never functioned properly since 4, and now I have little "Firefox hard drive icons" all over my desktop. What happened?
I am having trouble with Comcast's XFINITY and they told me to update and maximize my browser. I don't seem to be able to do that. I just downloaded Firefox 5.0, but my version still says 4.1. -
How to replace one variable with another in large number of queries
Hello guys!
I have this situation: our company needs to use one variable instead of another for certain amount of queries.
Is there some way to automatically replace one variable with another for a certain characteristic in big number of queries ( like 150 - 200 ) ? Doing this manually would take lots of time)
Apreciate your help!you could try (at your own risk) the following:
1. search the technical id (ELTUID) of your variable in table RSZELTDIR
2. see where this variable is used in table RSZELTXREF (by filling RSZELTDIR-ELTUIID in RSZELTXREF-TELTUID)
3. add similar entries for your new variable
4. delete the entries for the old variable (they're part of the key, so you can't simply "change" them) -
I can't find the tutorial on replacing a person with another image from a different photo.
I got an email with a link to a video a long time ago that showed how to remove a person from a group photo and replace this person with an image of them from another photo. It does not seem to be in the videos on my Phtotshop elements 9 list within the program. Does anyone have a link to this video so I can save it and rewatch it? Thanks
Click on the link below and go to: Easily Create the Perfect Photo
It’s designed for several people but it should work with just one person in the shot. After viewing the tutorial open both images in Full Edit and go to:
File >> New >> Photomerge Group Shot
http://www.adobe.com/products/photoshop-premiere-elements/features.edu.html?promoid=GYSZM -
Bought the phone on contract last January (late in january), had my charger replaced just after christmas and now it has stopped working again, its been about a month and a half and the replacement charger is broken, does the replacement charger come with a new warranty or will I have to buy a new charger? And if so, is there a charger that doesn't break easily (my problem is the the wire at the phone end of the cable seems to bunch and twist etc.)
thanks.a warranty replacement if the donor is out of warranty has a new 90 days warranty from exchange date
-
Replacement Path Variable with Another Variable
Hi,
I am currently trying to create a report that would need me to have the same values for different characteristics (e.g. clearing date, posting date, net due date). I have seen that there is a way in the replacement path variable that would replace its value with another variable that is ready for input. I also looked into SAP help but I can't seem to figure out on how to do it specifically. Does anyone know a step-by-step process on how to do this? How does this work?
Thank you in advance!take an e.g.
u have characteristic say ch1
u want to restrict it with replacement path variable
first of all create a variable var1
click what it is based upon for e.g. 0calday, 0material etc.
make it user entry variable
select single or multiple entry
make it mandatory
save it and hit okey
click on ch1
right click and say restrict
in new window create a new variable
give its name and technical name
processing path is replacement path
go to next tab of replacement path
select several ooptions
replace variable with another variable
select a variable called var1
change the offset length and offset start with different parameters.
hit okey
this way u have restricted ch1 with replacement path variable var1
now when u run report u have to enter value of var1
which will then further feeded to ch1
this way u can create replacement path variables at lots of instances and then u can always feed the value from var1 at different time
make sure as this ur requirement is date
try to use 0calday as reference infoobject all the times.... -
How do i replace my ipad with a new model in itunes?
I'm replacing an iPad with an iPad 3rd generation and will be gifting the iPad to a friend.
What steps do I need to take in iTunes for this to run smoothly?
I want to end up with:
1) The new iPad working but with all of my data, screen layouts and settings from my old iPad.
2) The old iPad "de-registered" (if that's possible/necessary) and reset to factory default conditions with no data present and working on myfriends iTunes account.
Is 1) as simple as backing up the original iPad in iTunes and plugging the new one in and restoring from the old backup? Possible complication: I get the "This iPad is synced with another computer. Do you want to erase and restore..." message whenerver I plug it in, although it does seem to sync when I cancel the "erase and restore" dialog. Would this complicate things?
Re 2), my friend has an iPhone 4 and uses iTunes already. Is plugging in my "wiped" iPad all he needs to do? How do I reset the original iPad?
I hope that these are simple questions, already encountered by many of you, but myself and my friend are at the stage where we have both only had one apple product and have never had to manage another device in iTunes so we just don't know what to expect and don't want to lose any data!
Thanks in advance for your time and help!Is it as simple as backing up the original iPad in iTunes and plugging the new one in and restoring from the old backup?
Yes
How do I reset the original iPad?
Settings --> General --> Reset --> erase all content and settings;. -
Since i got the new Iphone 4s it constantly drops calls. Apple have replaced the phone with another new iphone 4s but i am still having the same problem. I have checked with vodapohe that there is no issue from there end, given a new sim, still drops out
Have a look at this it might help
http://support.apple.com/kb/TS4148 -
Do I have all the parts to replace my HDD with a new SSD on my Macbook (late 2008)?
Hey everyone, I am trying to figure out if have all the parts to replace my hdd with a new ssd on my macbook (late 2008 aluminum).
I just bought a crucial mx100 SSD and plan on replacing my mac HDD. I have the appropriate screwdrivers, and a bootable OSX on a usb drive. I also purchased a sabrent usb 2.0 to sata/ide hard drive adapter.
How do I replace and install OSX on my new SSD?
From what I read here are the steps I'm planning on taking.
1) Detach the old HDD
2) Attach new SSD.
3) Turn on computer and use the bootable usb drive to install OS X.
Does that work, I think I read somewhere about maybe formatting the SSD before I can use the bootable usb. Any input or help would be awesome. Thanks.
I'd prefer to do a clean install of yosemite and not carbon copy my old HDDHi Bradtk24,
On this site you will find the requirements for the physical change that you want to make.
These pages will give you insight into the processes required for the software side of things. It might be slightly dated, but the principles remain valid.
Have fun
Leo -
Want to replace stock HDD with a 256GB SSD, have questions.
Hi All,
I am sure this has been asked a bunch of times, so forgive me if I ask again...
I have a late 2010 MBP (Model A1278). Currently the machine has 4gb of memory and a 256gb hard drive on it. The machine is starting to show its age and is slowing down considerably, so I was thinking of upgrading the memory to the max allowable 8gb, and swapping out the HDD with a nice 256gb SSD. What I am looking to find out is if I have daily time machine backups, can I just swap out the drives, reboot the machine into recovery mode and then select a TM backup to restore to this new drive?
My main concern with all of this is that I have been reading stories of people having to first create a partition on the SSD, then transferring over the TM backup, but I am not sure how I would set a partition when the drive itself is internal... Do I need to get an enclosure? Is there some other easy way to accomplish this? Is it even necessary?
My ultimate goal is this:
1. Open laptop
2. Replace memory
3. Replace hard drive with SSD
4. close laptop
5. Boot Laptop into recovery mode (Command + R)
6. Restore from Time Machine Backup
7. Select backup date
8. Restore finished.
9. Reboot Laptop into normal boot mode
10. Enjoy a slightly faster laptop
Thank all!!!Unless you purchase your SSD from OWC your drive will have to be partitioned first. The OWC SSDs I've bought have already been partitioned and formatted for the Mac. Either way, unless you have another boot drive, you'll have to boot your computer with Internet recovery since you won't have a recovery partition until you've install the operating system. Here's how I've swapped out my hard drives for SSDs
place the SSD in an enclosure
I've always had an enclosure or bought one when I got the SSD so I could make the old internal drive into an external drive.
I typically use this new external drive as a clone backup for my computer
run Disk Utility to partition the drive
The trick is to delete the current single partition
Then click on the + symbol to make a new partition (GUID)
Format the drive
Download and install OS XThis will create the recovery partition
Swap out the SSD for the old HHD and reboot
While the computer boots put the old HHD in the external enclosure and plug it into the computer
Go thru the new owner setup and when asked if you want to setup the new computer say yes and choose the external as the sourceYou could also use the TimeMachine backup as your source but I find this is a bit slower than using the external drive
Depending on what software you have you may need to enter some serial numbers. -
I have a Mac book pro(13 inch non-retina, i7) with regular drive, I want to replace the drive with SSD, so can I do it for Mac book pro purchased in 2012 and which SSD is recommended.
I am looking for 500 to 700GB SSD.
ThanksUpgrading your MacBook Pro with a Solid State Drive...
...call back with any questions.
Clinton -
Text file - replace a pattern with part of the previous line? -SOLVED
Hello, I'm stuck with sed/awk/grep...
So I have a file with lines like this:
Nice bunch of words <STUFF> <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <IMPORTANT_DELIMITER_TYPE_2> <STUFF>
Even Nicer bunch of Words <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words <STUFF> <STUFF> <STUFF><IMPORTANT_DELIMITER_TYPE_1><STUFF>
Then, I want to move the "important delimiters" to new lines (might be better not to do this in fact...)
Nice bunch of words <STUFF> <STUFF>
<IMPORTANT_DELIMITER_TYPE_1> <STUFF>
<IMPORTANT_DELIMITER_TYPE_2> <STUFF>
Even Nicer bunch of Words <STUFF>
<IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
<IMPORTANT_DELIMITER_TYPE_1><STUFF>
And finally, I want to replace the important delimiters with the content of the line they came from originally, up to the first angle bracket:
Nice bunch of words <STUFF> <STUFF>
Nice bunch of words <STUFF>
Nice bunch of words <STUFF>
Even Nicer bunch of Words <STUFF>
Even Nicer bunch of Words <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words<STUFF>
How can I accomplish this using absolutely anything at all that doesn't involve too much manual effort (the file is about 30,000 lines of this stuff)
Thanks !
Last edited by darkbeanies (2013-09-01 19:18:29)"<STUFF>" is not irrelevant. In your original example
Nice bunch of words <STUFF> <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <IMPORTANT_DELIMITER_TYPE_2> <STUFF>
Even Nicer bunch of Words <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words <STUFF> <STUFF> <STUFF><IMPORTANT_DELIMITER_TYPE_1><STUFF>
you want to break the lines along the delimiters:
Nice bunch of words <STUFF> <STUFF>
<IMPORTANT_DELIMITER_TYPE_1> <STUFF>
<IMPORTANT_DELIMITER_TYPE_2> <STUFF>
Even Nicer bunch of Words <STUFF>
<IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
<IMPORTANT_DELIMITER_TYPE_1><STUFF>
and then you say that you want to replace the delimiters with the contents before the first angle bracket:
Nice bunch of words <STUFF> <STUFF>
Nice bunch of words <STUFF>
Nice bunch of words <STUFF>
Even Nicer bunch of Words <STUFF>
Even Nicer bunch of Words <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
Wonderful bunch of Words<STUFF>
but you have clearly made a distinction between the "nice bunch of words" and "<STUFF>", otherwise the output would have been
Nice bunch of words <STUFF> <STUFF>
Nice bunch of words <STUFF> <STUFF> <STUFF>
So, do you want everything up to the first delimiter, or do you want everything up to <STUFF> in the replacement? If you only want the "nicer words" then you need some way to distinguish between them and "stuff" programmatically.
edit
Here's a trivial script that will split the lines along the delimiters and replace them with the contents of the line before the first delimiter:
#!/usr/bin/env python3
import re
import sys
def main(args=None):
for line in sys.stdin:
# Trim trailing newline.
line = line.rstrip('\n')
# Split by delimiters.
parts = re.split(r'<[^>]+>', line)
print(parts[0])
for p in parts[1:]:
print(parts[0] + p)
if __name__ == '__main__':
try:
main()
except (KeyboardInterrupt, BrokenPipeError):
pass
Usage
path/to/script < /path/to/input file
Last edited by Xyne (2013-09-01 18:34:55) -
Hi,
I want to replace FM GUI_DOWNLOAD with CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD in one of our old program, however parameter FIELDNAMES is used, and this parameter is no longer available in CL_GUI_FRONTEND_SERVICES.
Any idea is there any other parameter for this? HEADER might be, but I don't think so, as it has a different purpose in FM 'GUI_DOWNLOAD' also.
Thanks in advance,
PeterHi Peter
One work around will be to use the method twice,
first to download the header to file and then in append
mode to download the data.
Kind Regards
Eswar
Message was edited by: Eswar Rao Boddeti
Maybe you are looking for
-
How do I install Version 11.1.4 of iTunes successfully?
I received an update to iTunes which I tried to install on my Windows 7 desktop, as I always have, but found that there was a file MSVCR80.dll missing - it couldn't open the service. I followed the advice from Apple of clearing a Temp folder, uninsta
-
I can see my thumbnails for my events in iphoto, but when I click to open the folder, no photos show up. However, when I hover over the thumbnail, it shows the flicker of images that should be inside the folder, as well as # of images in each folder.
-
Trial Version: Fail to Start JStart.exe
Hi, I installed the trial version of the CE System. The jstart.exe is stopped. I have read other threads and make sure my MaxDB is online. But I still failed to start Application Server. I appreciate your help. Here is the jstart file: trc file: "D
-
I've had my iPod classic for some time now, and up to now have been connecting it to my laptop to sync any downloaded tunes from iTunes. Unfortunately, the laptop has died and I'm thinking of buying a iPad.....but how do I now get any songs download
-
Update on a Table is Slow After a New Trigger is Applied on Table.
Hi All, Here is the situation: 1. Table A - we have INSURANCE Records. If we have to cancel Insurance for an agent we have to update cancellation_date & INS_Flag sysdate & 'N' respectively. It is having thousands of records. - > Every time we update