[SOLVED] Hiding Desktop Environment Text in SLiM

I did the prerequisite search, and have read the arch wiki's customization instructions for SLiM over and over, but I can't figure out if it's possible/how to hide the text SLiM has at the bottom of the login that tells you what DE you're logging into.  I'm sure it's a simple fix but it really is bothering me.  Google hasn't helped much either!
Apologies if it's a stupid question, I've never used linux before and this is literally the first thing I can't get past.
Last edited by scionix (2014-05-12 19:36:14)

I don't use SLiM myself, but are you saying this didn't work? If not, then it's probably hard-coded into the SLiM theme you're using. Incidentally, if you're the only one using the machine and have only one environment installed, there's no real reason for a graphical login manager. They really only exist in the *NIX world to let people choose between multiple installed desktop environments/window managers.

Similar Messages

  • [Solved]deepin desktop environment.

    Hello everyone. I am trying to install deepin desktop environment. And for the last step I'm installing deepin-webkit form aur. It has been 4 hours now.
    Can that take that much time? Or is there a problem with it? Should I cancel or wait?
    Last edited by thedeli (2013-12-28 17:13:34)

    Browser engines can take a very long time to compile even on the fastest machines. Four hours isn't surprising for some computers.
    Last edited by skottish (2013-12-28 16:47:45)

  • [SOLVED]LXQT Desktop Environment, few questions.

    Welcome everyone. I know it is maybe a little bit to soon but i've got few questions.
    I'm searching for modern and good looking desktop necessairly lightweight and smooth. There is of course enlightenment (trying, didn't like this' strange look with very strange panel), Mate (based on GTK2 so no), Hawaii (i've got no idea how to install it, something is not installing properly in yaourt but this would be the best choice because of qt5), Pantheon (didn't try that but i don't think so this is lightweight) and LXQT which is OK but i've got few question.
    First of all, this will be added to official arch repo or users will be forced to use not comfortable yaourt install?
    Is this environment will be ported to qt5?
    Another question not related with LXQT is this,  XFCE look like desktop from 90's (don't understand me wrong) it's great enviroment but this modern look is missing.
    Maybe it is not the best place to ask about all these things but maybe you know more than i do.
    Last edited by maslascher (2014-06-12 19:51:20)

    maslascher wrote:this will be added to official arch repo or users will be forced to use not comfortable yaourt install?
    It's not even released yet, so you're a bit premature. My guess would be that it will turn up in community at some stage after iits release, just as lxde did.
    maslascher wrote:Is this environment will be ported to qt5?
    Ask the developers.
    maslascher wrote:Another question not related with LXQT is this,  XFCE look like desktop from 90's (don't understand me wrong) it's great enviroment but this modern look is missing.
    Not a question.

  • [Solved]What desktop environment is this?

    I saw a link to a cool looking linux DE while surfing the SomethingAwful forum: http://shostakovich.mirror.waffleimages … a80768.jpg
    Can you tell me what DE this is?
    Last edited by jordanwb (2008-08-18 13:03:55)

    jordanwb wrote:
    moljac024 wrote:
    The icons on the bottom are shortcuts (or launchers) but also open windows (past the separator)
    Installing awn is pretty easy. Just a "pacman -Sy avant-window-navigator" away.
    You could also try cairo-dock from AUR. You can find it here: http://aur.archlinux.org/packages.php?ID=15201
    So which one is in the picture? awn or cairo?
    I think it's AWN, but does it matter which one it is ? Try both and see which one you like more. They're both great

  • [Solved] Setting my own desktop environment

    Hi, I'm trying to setup my own desktop environment with the following packages:
    * slim
    * metacity
    * compton
    * wbar
    This is my slim conf:
    # Path, X server and arguments (if needed)
    # Note: -xauth $authfile is automatically appended
    default_path /bin:/usr/bin:/usr/local/bin
    default_xserver /usr/bin/X
    xserver_arguments -nolisten tcp vt07
    # Commands for halt, login, etc.
    halt_cmd /sbin/shutdown -h now
    reboot_cmd /sbin/shutdown -r now
    console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
    #suspend_cmd /usr/sbin/suspend
    # Full path to the xauth binary
    xauth_path /usr/bin/xauth
    # Xauth file for server
    authfile /var/run/slim.auth
    # Activate numlock when slim starts. Valid values: on|off
    numlock on
    # Hide the mouse cursor (note: does not work with some WMs).
    # Valid values: true|false
    # hidecursor false
    # This command is executed after a succesful login.
    # you can place the %session and %theme variables
    # to handle launching of specific commands in .xinitrc
    # depending of chosen session and slim theme
    # NOTE: if your system does not have bash you need
    # to adjust the command according to your preferred shell,
    # i.e. for freebsd use:
    # login_cmd exec /bin/sh - ~/.xinitrc %session
    login_cmd exec /bin/bash -login ~/.xinitrc %session
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    # sessionstart_cmd some command
    # sessionstop_cmd some command
    # Start in daemon mode. Valid values: yes | no
    # Note that this can be overriden by the command line
    # options "-d" and "-nodaemon"
    # daemon yes
    # Set directory that contains the xsessions.
    # slim reads xsesion from this directory, and be able to select.
    sessiondir /usr/share/xsessions/
    # Executed when pressing F11 (requires imagemagick)
    screenshot_cmd import -window root /slim.png
    # welcome message. Available variables: %host, %domain
    welcome_msg Bienvenido a %host
    # Session message. Prepended to the session name when pressing F1
    # session_msg Session:
    # shutdown / reboot messages
    shutdown_msg The system is halting...
    reboot_msg The system is rebooting...
    # default user, leave blank or remove this line
    # for avoid pre-loading the username.
    #default_user simone
    # Focus the password field on start when default_user is set
    # Set to "yes" to enable this feature
    #focus_password no
    # Automatically login the default user (without entering
    # the password. Set to "yes" to enable this feature
    #auto_login no
    # current theme, use comma separated list to specify a set to
    # randomly choose from
    current_theme archlinux-slim-theme-whitey
    # Lock file
    lockfile /var/lock/slim.lock
    # Log file
    logfile /var/log/slim.log
    Now, my desktop entry for the sessions, which is located $HOME/.config/joelDE/joelDE.desktop:
    [Desktop Entry]
    Name=joelDE
    Comment=Mi entorno de escritorio
    Exec=/home/joel/.config/joelDE/joelDE
    TryExec=/home/joel/.config/joelDE/joelDE
    Icon=/home/joel/.config/joelDE/joelDE.png
    Type=Application
    I made the symlink: ln -s /home/joel/.config/joelDE/joelDE.desktop /usr/share/xsessions/joelDE.desktop and it DOES appears in slim sessions (F1), now jolDE script:
    #!/bin/bash
    # mi propio entorno
    (sleep 1s && metacity --replace &)
    bash $HOME/.fehbg &
    xscreensaver -no-splash &
    (sleep 1s && compton --config $HOME/.config/compton.conf -b) &
    (sleep 1s && wbar) &
    and finally my .xinitrc:
    #!/bin/bash
    # ~/.xinitrc
    if [[ ! "$1" ]]; then
    WM_Name=startxfce4
    else
    WM_Name=$1
    fi
    setxkbmap -layout latam
    if [ -z "$GTK_PATH" ] ; then
    GTK_PATH="/usr/lib/gtk-2.0"
    else
    GTK_PATH="$GTK_PATH:/usr/lib/gtk-2.0"
    fi
    export GTK_PATH
    if [ -z "$GTK_MODULES" ] ; then
    GTK_MODULES="canberra-gtk-module"
    else
    GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
    fi
    export GTK_MODULES
    export LANG=es_MX.UTF-8
    echo ${WM_Name} >$HOME/DE_name.txt
    if [ ${WM_Name} != "startxfce4" ]; then
    export DESKTOP_SESSION=${WM_Name}
    export GTK2_RC_FILES=$HOME/.gtkrc-2.0
    exec dbus-launch --sh-syntax --exit-with-session ${WM_Name} >$HOME/xinitrc-log.txt 2>&1
    else
    exec ${WM_Name} >$HOME/xinitrc-log.txt 2>&1
    fi
    # :~ EOF
    This is the thing: after choosing "joelDE" in slim sessions it shows a black screen and rerun slim...
    1.- Doesn't SLim run x11?
    2.- If not, how do I call it?
    Thanks!
    Last edited by Joel (2014-07-14 04:37:30)

    Try moving the metacity line in joelDE to the end of the file and remove the last '&':
    #!/bin/bash
    # mi propio entorno
    bash $HOME/.fehbg &
    xscreensaver -no-splash &
    (sleep 1s && compton --config $HOME/.config/compton.conf -b) &
    (sleep 1s && wbar) &
    sleep 1s && metacity --replace
    With startx, and I think that this is true for SLiM as well, your X session will last as long as your ~/.xinitrc (or, I think more technically, the exec $whatever that may be at the end of the file).  So if everything in ~/.xinitrc forks (or in your case, your joelDE script), that script will complete immediately, and the X session will exit with it.

  • Tty & Desktop Environment in azerty, but slim in qwerty o_0

    Hi Archers
    I've a little problem
    On my system, TTY arent in azerty, my desktop environment is in azerty too, but slim login is still in qwerty mode...
    Do you know how can i fix it ?
    Thx !

    EvasiveFR wrote:
    Hi Archers
    I've a little problem
    On my system, TTY arent in azerty, my desktop environment is in azerty too, but slim login is still in qwerty mode...
    Do you know how can i fix it ?
    Thx !
    You need to set your keyboard layout in a HAL information file.  See the Dvorak Wiki for the relevant instructions, but put azerty there, instead.
    Last edited by Wintervenom (2009-07-27 15:45:13)

  • [SOLVED] root gets desktop environment, user gets bare-bones window ma

    Installed everything, following (as best I could) step-by-step instructions in beginners guide...
    Everything works ok, except it was all installed by myself as 'root', and I want to start day-to-day operation as a user called 'piers'.
    When 'root' logs in and invokes startx, desktop environment fires up.
    When 'piers' logs in and invokes startx, all I get is the rudimentary windows-manager screen of three xorg windows, as installed earlier in the proceedings for testing purposes...
    How does 'piers' get to see the desktop?  I'm sorry, I must be missing something terribly obvious! 
    TIA!
    Last edited by pierssnell (2011-11-21 11:08:25)

    Thanks SS4 and karol, you're very kind; that seems to have done the trick.
    For some reason, the 'piers' startx only gets the Gnome fallback, where 'root' gets full service, but I had an idea I hadn't gone the full distance yet with my display driver, which is what Gnome tells me is deficient.  I'll try to do battle with that next!
    Thanks again.

  • [SOLVED] xfce bold desktop icon text

    Hi!
    I'm still using xfce 4.8 (gonna upgrade soon) and since about a week  i noticed that my desktop icon text is bold...this is quite annoying and i don't understand why, because i did not change anything.
    There are no options about this behaviour and my system characters are not bold.
    I have no ~/.gtkrc2.0 and in /etc/gtk2.0/gtkrc there is no reference to that.
    Where can i look for a solution? Any ideas?
    Thanks!
    Last edited by nierro (2012-04-30 12:26:32)

    1) i'm using greybird from aur
    2) i'll tell you when i'll upgrade
    EDIT: 2) it remains
    Last edited by nierro (2012-04-30 07:54:09)

  • [SOLVED] X server and desktop environment?

    ok I have 2 Q now I've been studding this quite a long time
    well 1. Q
    if I want to have a desktop I have to install X server and Desktop environment?
    well2. Q
    according to this article:
    http://en.gentoo-wiki.com/wiki/Intel_GMA
    I'd ask do I have to create a new file or is this an old topic for an old X server?
    as I have now like this:
    /etc/X11/
    /twm
    system.twmrc
    /xinit
    xinitrc
    xserverrc
    /xorg.conf.d
    10-evdev.conf
    10-monitor.conf
    10-quirks.conf
    Last edited by psihokiller4 (2010-08-07 13:50:03)

    psihokiller4 wrote:
    1. ok thanks
    2.
    it's sad:
    X11 Configuration
    If you find yourself needing to tell X11 to use the intel driver, set Driver to "intel" in /etc/X11/xorg.conf as in the example below,
    File: /etc/X11/xorg.conf
    Section "Device"
    Identifier "My Intel Video Card"
    Driver "intel"
    EndSection
    but I don't have it there so... do I need to create a new file or do I get this 4 lines in to
    /etc/X11/xorg.conf.d/10-evdev.conf
    Depends what works for you. You should do away with xorg.conf, but some setups are easier to pull off with it.
    How about creating a new file named 20-intel.conf, just as you do with nvidia?

  • KDE Trinity desktop environment installation problem

    I had Arch running very well with xfce4. I installed trinity kdemod3-complete as described in wiki. On starting there is blank blue screen with dialog boxes (one after the other) stating that that 'kstartconfig not found- check your installation' and 'kdeinit not found, check your installation'. After that it comes back to login screen.
    I removed slim login manager to get command line at start. On starting /opt/kde3/bin/startkde, there are error messages: libpng14.so.14 not found. I have libpng 1.5.10-1 installed.
    I checked in wiki, there is no reference to this. Please help.
    Edit:
    I copied libpng15.so.15 to libpng14.so.14.  The trinity started and the desktop has appeared. But only text is visible, there are no icons, even in toolbars like that of konqueror. Also repeated messages of missing libs are coming. I am not sure what to do.
    Last edited by rnarch (2012-04-24 01:37:10)

    I guess Trinity desktop environment is not being supported by most in Archlinux.
    If I have to remove these packages (which are now unnecessary) will following command work all right?
    sudo pacman -Rs kdemod3-complete
    I am asking this because it involves a very large number of packages (a full desktop environment) and I hope it does not break my system which is working well at this time.
    Last edited by rnarch (2012-04-25 00:20:19)

  • What's a good desktop environment/general system UI for a television?

    So right now I just upgraded to Arch (without planning to do so, but that's another story) on my media station, and I'm trying to figure out what desktop environment to use with it.  It is hooked up to an old analog TV as the only display (I do most of my configuration via ssh and the command line), and my wife (who's not a Linux user by any stretch) uses it a lot.
    I'm finding Gnome 3 (since it had Gnome on it before I just went with that) is really not suited to this purpose.  It seems to want things like a higher resolution than what can be readable easily on the TV, and if I set it to a lower resolution setting menus will get pushed off the screen.  I also prefer something where I can do all the configuration from the command line, because I'm usually going to be configuring it remotely.
    What the media station does normally is play videos in VLC (either saved video files or DVDs), play YouTube videos in a browser, and move around and delete files on the desktop with a mouse.  The way the keyboard is set up it's hard to use as well.  So I'm wanting something that makes all of those really simple with the constraints of a low resolution TV, and avoids needing the keyboard if at all possible.
    Any suggestions?
    Bonus points if people can come up with a way that someone can easily move around and delete the files from a browser on a Windows machine, as that's what my wife has with her a lot when she's sitting at the couch.  She doesn't want to install anything on that computer or use things like Windows filesharing though.

    LXDE isn't optimal if CLI configuration matters to you... but does this really matter if you expect to set it up once and be done with it?
    Openbox' XML syntax is needlessly annoying if you don't want to use the optional GUIs or other little helpers, I'd go with a simple window manager rather than a DE.
    Fluxbox is easy, text-friendly and doesn't require a DE on top to meet modern expectations. Personally, I think a well-tweaked FVWM beats the pants off anything else.
    Nevertheless, debugging the wife seems to be a higher priority for now... with good suggestions already.

  • I want some KDE apps, but not the KDE desktop environment....

    I'm on a laptop running Arch (yay!) and I am wanting to install Amarok and KTorrent. However, I don't want the KDE desktop environment, KWin (I use fluxbox), or things like KDM (I use SLiM). Is there a package, like kde-base in Debian, that allows just essential Qt/KDE libraries for applications like Amarok and KTorrent?
    Thanks in advance.

    Aakko wrote:
    I'am running Xfce4 and only KDE app I use is Kaffeine for tv-viewing.
    I would like to change KDE theme. Is there a way to get to KDE control panel from Xfce so I could change the theme?
    Assuming you have it installed,
    $ kcontrol
    or you can use kcmshell with the name of the options module you want to use, eg:
    $ kcmshell style
    to change the GUI theme.

  • Impossible to start the desktop environment after upgrade failure

    Hello, after a long time without doing upgrades on my archlinux, I tried it once today. The upgrade failed, there were some packages conflit. Then nautilus and terminal were unable to be launched, so I restarted my PC. But when it's supposed to display the login window, the screen became black with a little clock instead of the mouse point.
    Anyone can tell me how can I recovery my desktop environnement please?
    If it isn't possible, how can I copy my data on a USB disk?
    Thank you.

    First question, is the gdm daemon in your rc.conf or your inittab?
    If it is in the inittab, then append the number 3 to the end of the grub kernel init string. This will boot to runlevel 3, and leave you in a text console.
    If it is in rc.conf...well, if you can Ctrl+Alt+Bkspc out of the X session with the little clock, then just run from the console, then that's easy. Otherwise switch to another console (Ctrl+Alt+F1) and log in, then try doing
    killall gdm
    As a last resort, you can always boot to single user by putting 1 at the end of the grub init string instead of 3.
    After you are in the console, then try doing xinit /usr/bin/gnome-session and see if it works. If not, then you can try rolling back packages and whatnot.
    Also, check /var/log/pacman.log and paste the failures you got.

  • Rox Desktop Environment

    Hi All
    For those of you who may not know, the rox file manager can be pretty much ran as a smallish desktop environment.
    I have started putting together a little repo that has rox and some of it's useful counterparts.  More will be added over the weekend.  Please let me know of any rox parts you would like to see in the repo.
    Add this to pacman.conf to access the repo
    [rox]
    Server = http://www.foxjames.co.uk/linux/rox
    Follow it with pacman -Sy of course.
    The few packages in the repo so far are
    archive - archive handler for rox-filer
    edit - text editor based on rox
    mplayer-rox - rox wrapper for mplayer
    oroborox - window manager for rox
    ripper - cd ripper for rox
    rox - rox filer obviously
    rox-lib - rox libraries
    rox-mime - rox mime type editor
    rox-session - rox-session manager (if you use a ~.xinitrc back it up first)
    roxterm - a lightweight terminal for rox
    videothumbnail - video thumbnail viewer for rox
    I would recommend installing all the packages that are there so far.  Running rox-session will create a .xinitrc to run the rox-desktop, you will be asked which window manager you would like to use.  I typed in oroborox, you can use openbox or any other wm you like.
    Like I say it is incomplete, and probably will break, (considering I have never even made a package for AUR yet).  Feedback would be nice on improvements etc etc.
    Enjoy
    Last edited by gazj (2008-12-14 10:59:43)

    I didn't know abour desktop2app, so I wrote my own script for conversions, with a -a option to process all your system-wide .desktop files. It mostly uses messy heuristics based on own my partial understanding of freedesktop.org conventions, but still seems to work alright.
    Run it with -h to see its options.
    #!/bin/dash
    # Configuration
    APPSDIR=/usr/share/applications/
    ROXDIR=~/ROXApps/.Auto/
    ROXCONFIG=~/.config/rox.sourceforge.net/
    # leave blank for the default language (en_US)
    LANGUAGE=""
    # if you want another, then for example
    # LANGUAGE=fr
    # command line to run an application in a terminal
    TERMCOMMAND="roxterm -e"
    # acceptable icon sizes, by decreasing preference
    ICONSIZES="scalable 256x256 128x128 64x64 48x48 32x32 24x24 22x22 16x16"
    # End configuration
    makeapp () {
    if [ -e "$DESTDIR" ]; then
    if [ "$FORCE" ]; then
    rm -r "$DESTDIR" && echo "Removed already existing directory: $DESTDIR" > $OUT || return 1
    elif [ $ASK ]; then
    read -p "$DESTDIR: An application directory with this name already exists. Overwrite? (y/n) [n] " answer
    [ ! "y" = "$answer" ] && echo "Skipping $APP" && return 1
    rm -r "$DESTDIR" || return 1
    echo "Removed $DESTDIR" > $OUT
    else
    echo "$DESTDIR: Directory exists, skipping" > /dev/stderr
    return 1
    fi
    fi
    mkdir "$DESTDIR" || return 1
    echo "Created $DESTDIR" > $OUT
    echo "#!/bin/dash" > "${DESTDIR}/AppRun"
    if [ "`echo $COMMAND | grep "%u"`" ]; then
    echo 'if [ "$1" ]; then' >> "${DESTDIR}/AppRun"
    echo " `echo $COMMAND | sed -e 's/%u/\"\$@\"/'`" >> "${DESTDIR}/AppRun"
    echo 'else' >> "${DESTDIR}/AppRun"
    echo " `echo $COMMAND | sed -e 's/%u/ /'`" >> "${DESTDIR}/AppRun"
    echo 'fi' >> "${DESTDIR}/AppRun"
    else
    echo 'if [ "$1" ]; then' >> "${DESTDIR}/AppRun"
    echo " $COMMAND \"\$@\"" >> "${DESTDIR}/AppRun"
    echo 'else' >> "${DESTDIR}/AppRun"
    echo " $COMMAND" >> "${DESTDIR}/AppRun"
    echo "fi" >> "${DESTDIR}/AppRun"
    fi
    chmod +x "${DESTDIR}/AppRun"
    echo "Created executable AppRun file, contents:" > $OUT
    cat "${DESTDIR}/AppRun" > $OUT
    echo '<?xml version="1.0"?>' > ${DESTDIR}/AppInfo.xml
    echo '<AppInfo>' >> ${DESTDIR}/AppInfo.xml
    [ "$DESC" ] && echo "<Summary>$DESC</Summary>" >> ${DESTDIR}/AppInfo.xml || echo "<!--<Summary>Insert tooltip here</Summary>-->" >> ${DESTDIR}/AppInfo.xml
    echo '<About>' >> ${DESTDIR}/AppInfo.xml
    [ "$PURPOSE" ] && echo " <Purpose>$PURPOSE</Purpose>" >> ${DESTDIR}/AppInfo.xml||echo ' <!--<Purpose></Purpose>-->' >> ${DESTDIR}/AppInfo.xml
    echo ' <!--<Version></Version>-->' >> ${DESTDIR}/AppInfo.xml
    echo ' <!--<Authors></Authors>-->' >> ${DESTDIR}/AppInfo.xml
    echo ' <!--<License></License>-->' >> ${DESTDIR}/AppInfo.xml
    echo ' <!--<Homepage></Homepage>-->' >> ${DESTDIR}/AppInfo.xml
    echo '</About>' >> ${DESTDIR}/AppInfo.xml
    echo '<AppMenu>' >> ${DESTDIR}/AppInfo.xml
    echo " <!-- You can define items in the left-click menu which call the program with different arguments. Here's an example: -->" >> ${DESTDIR}/AppInfo.xml
    echo ' <!-- <Item option="-v"> -->' >> ${DESTDIR}/AppInfo.xml
    echo ' <!-- <Label>Verbose output</Label> -->' >> ${DESTDIR}/AppInfo.xml
    echo ' <!-- </Item> -->' >> ${DESTDIR}/AppInfo.xml
    echo '</AppMenu>' >> ${DESTDIR}/AppInfo.xml
    echo '</AppInfo>' >> ${DESTDIR}/AppInfo.xml
    echo "Created AppInfo.xml file, contents:" > $OUT
    cat "${DESTDIR}/AppInfo.xml" > $OUT
    [ "$ICON" ] && ICON=`echo $ICON | line` && cp "$ICON" "${DESTDIR}/.DirIcon" && echo "Copied $ICON to ${DESTDIR}/.DirIcon" > $OUT
    echo "Done with this application" > $OUT
    return 0
    setvars () {
    DESTDIR=""
    [ "$LANGUAGE" ] && DESTDIR=`grep "^Name\[${LANGUAGE}\]=" $APP | cut -c$(($LANGUAGELEN + 6))-`
    [ ! "$DESTDIR" ] && DESTDIR=`grep "^Name=" $APP | cut -c6-`
    DESTDIR=$ROXDIR/$DESTDIR/
    echo "Destination: $DESTDIR" > $OUT
    PRECOMMAND=`grep '^Exec=' $APP | cut -c6- | sed -e 's/ %U/ %u/g' | sed -e 's/ %F/ %u/g' | sed -e 's/ %f/ %u/'`
    if [ "true" = "`grep "^Terminal=" $APP | cut -c10-`" ]; then
    echo "Application runs in a terminal" > $OUT
    COMMAND="$TERMCOMMAND $PRECOMMAND"
    else
    COMMAND="$PRECOMMAND"
    fi
    echo "Command: $COMMAND" > $OUT
    DESC=""
    [ "$LANGUAGE" ] && DESC=`grep "^Comment\[${LANGUAGE}\]=" $APP | cut -c$(($LANGUAGELEN + 9))-`
    [ ! "$DESC" ] && DESC=`grep "^Comment=" $APP | cut -c9-`
    [ "$DESC" ] && echo "Description: $DESC" > $OUT || echo "No description found" > $OUT
    PURPOSE=""
    [ "$LANGUAGE" ] && PURPOSE=`grep "^GenericName\[${LANGUAGE}\]=" $APP | cut -c$(($LANGUAGELEN + 13))-`
    [ ! "$PURPOSE" ] && PURPOSE=`grep "^GenericName=" $APP | cut -c13-`
    [ "$PURPOSE" ] && echo "Purpose: $PURPOSE" > $OUT || echo "No purpose (GenericName) found" > $OUT
    ICONNAME=`grep "^Icon=" $APP | cut -c6-`
    if [ $ICONNAME ]; then
    [ "/" = "`echo $ICONNAME | cut -c1`" ] && FULLICONNAME=$ICONNAME || FULLICONNAME=""
    ICONNAME=`basename $ICONNAME`
    EXTENSION=`echo $ICONNAME | grep -o '\.\w\w*$'`
    [ "$EXTENSION" ] && ICONNAME=`basename $ICONNAME $EXTENSION`
    echo "Will look for the following icon: $ICONNAME" > $OUT
    if [ "$ICONTHEME" ]; then
    TFILE=/tmp/makeroxapp-`uuidgen`
    find $ICONTHEME -name "$ICONNAME.*" -fprint $TFILE
    for size in $ICONSIZES; do
    ICON=`grep "/${size}/" $TFILE`
    [ -n "$ICON" ] && echo "Icon found: $ICON" > $OUT && rm $TFILE && return 0
    done
    echo "Couldn't find icon in the ROX icon theme" > $OUT
    rm $TFILE
    fi
    if [ "$FULLICONNAME" ]; then
    ICON=$FULLICONNAME
    [ -e "$ICON" ] && echo "Icon found: $ICON" > $OUT && return 0
    echo "Couldn't find icon at $ICON" > $OUT
    fi
    ICON=/usr/share/pixmaps/$ICONNAME.svg
    [ -e "$ICON" ] && echo "Icon found: $ICON" > $OUT && return 0
    ICON=/usr/share/pixmaps/$ICONNAME.png
    [ -e "$ICON" ] && echo "Icon found: $ICON" > $OUT && return 0
    ICON=/usr/share/pixmaps/$ICONNAME.xpm
    [ -e "$ICON" ] && echo "Icon found: $ICON" > $OUT && return 0
    echo "Couldn't find icon in /usr/share/pixmaps" > $OUT
    ICON=""
    TFILE=/tmp/makeroxapp-`uuidgen`
    find /usr/share/icons/hicolor/ -name "$ICONNAME.*" -fprint $TFILE
    for size in $ICONSIZES; do
    ICON=`grep "/$size/" $TFILE`
    [ -n "$ICON" ] && echo "Icon found: $ICON" > $OUT && rm $TFILE && return 0
    done
    echo "Couldn't find icon in the default theme" > $OUT
    rm $TFILE
    echo "No icon found" > $OUT
    ICON=""
    else
    echo "No icon" > $OUT
    ICON=""
    fi
    return 0
    findicontheme () {
    ICONTHEME=`grep '"icon_theme"' ${ROXCONFIG}ROX-Filer/Options`
    ICONTHEME=`echo $ICONTHEME | grep -o '>..*<'`
    ICONTHEME=`basename $ICONTHEME "<" | cut -c2-`
    if ([ "$ICONTHEME" ] && [ "`ls ~/.icons | grep \"^$ICONTHEME\$\"`" ]); then
    ICONTHEME=~/.icons/${ICONTHEME}/
    elif ([ "$ICONTHEME" ] && [ "`ls /usr/share/icons | grep \"^$ICONTHEME\$\"`" ]); then
    ICONTHEME=/usr/share/icons/${ICONTHEME}/
    else ICONTHEME=""
    fi
    [ "$ICONTHEME" ] && echo "ROX icon theme found: $ICONTHEME" > $OUT || echo "ROX icon theme not found" > $OUT
    return 0
    dispatch () {
    [ "$MANUAL" ] && [ "$ALL" ] && echo "Incompatible options: -a -m" && usage && exit 1
    if [ "$ALL" ]; then
    echo "Processing all applications in $APPSDIR" > $OUT
    findicontheme
    for APP in `ls $APPSDIR | grep "..*\.desktop"`; do
    APP=$APPSDIR/$APP
    if [ "Application" = `grep "^Type=" $APP | cut -c6-` ]; then
    echo "Application found: $APP" > $SOUT
    setvars
    makeapp
    fi
    done
    echo "Done" > $OUT
    elif [ "$MANUAL" ]; then
    echo "Manually creating app dir" > $OUT
    DESTDIR=~/ROXApps/$1/
    echo " destination: $DESTDIR" > $OUT
    COMMAND=$1
    echo " command: $COMMAND" > $OUT
    ICON=$2
    [ "$ICON" ] && echo " icon: $ICON" > $OUT || echo " no icon" > $OUT
    makeapp
    echo "Done" > $OUT
    else
    APP=$1
    if [ "`basename \"$APP\" .desktop`" = "$APP" ]; then
    APP=$APPSDIR/$APP.desktop
    fi
    echo "Making application directory for application $APP" > $OUT
    [ ! -e $APP ] && echo "Cannot find application" > /dev/stderr && exit 1
    findicontheme
    setvars
    makeapp
    echo "Done" > $OUT
    fi
    return 0
    usage () {
    echo 'Usage: makeroxapp [OPTIONS] APPLICATION'
    echo ' makeroxapp -a [OPTIONS]'
    echo ' makeroxapp -m [OPTIONS] COMMAND [ICON]'
    echo ' -a: process all .desktop files in the default applications directory'
    echo ' -h, --help: print this message'
    echo ' -v: verbose output'
    echo ' -q: silent'
    echo ' -l LANGUAGE: try to use names and information in this language'
    echo ' -m: manually provide a command and an (optional) icon'
    echo ' -i DIR: look for .desktop files in the directory DIR instead'
    echo ' of the default'
    echo ' -d DIR: create application directories in DIR instead of the'
    echo ' default'
    echo ' -f: overwrite the application directory if it already exists'
    echo ' -k: asks whether to overwrite the app dir if it already exists'
    return 0
    ALL=""
    MANUAL=""
    SILENT=""
    VERBOSE=""
    FORCE=""
    ASK=""
    COMMAND=""
    ICON=""
    APP=""
    while getopts ad:fhi:kl:mqv opt; do
    case $opt in
    a) ALL=true;;
    d) ROXDIR=$OPTARG;;
    f) FORCE=true;;
    h) usage; exit 0;;
    i) APPSDIR=$OPTARG;;
    k) ASK=true;;
    l) LANGUAGE=$OPTARG;;
    m) MANUAL=true;;
    q) SILENT=true;;
    v) VERBOSE=true;;
    \?) echo "Unknown option: $opt"
    usage()
    exit 1
    esac
    done
    shift $(($OPTIND - 1))
    [ "$VERBOSE" ] && OUT=/dev/stdout || OUT=/dev/null
    [ "$SILENT" ] && SOUT=/dev/null || SOUT=/dev/stdout
    LANGUAGELEN=$((`echo $LANGUAGE | wc -c` + 1)) # we're counting the brackets
    [ ! -e "$ROXDIR" ] && mkdir "$ROXDIR" && echo "$ROXDIR didn't exist, created it"
    dispatch "$@"
    exit 0
    Last edited by Arkane (2008-06-19 13:34:26)

  • I just want to get into the desktop environment!

    After recently installing Arch Linux0.7.2 , I am stuck at this "myhost login" screen. I type in root, but all it does is log me into root.
    I've googled this issue as "my host login arch linux help" to no avail.
    I've added users and passwds for users but am unable to get desktop access.
    Is there a command I must know in order to access the desktop environment? Perhaps similar to 'startx' as it is in DamnSmallLinux.I cannot last much longer in this DOS environment where i seem only to be chasing my tail!!!

    magistrate wrote:I come with peace to the arch forum.
    And in peace we have greeted you. Arch linux is what you make of it. If you need to install a desktop environment than do it.
    Most guys prefer only Window Managers. Window manager just manages windows so you just add software you need to have a functional environment. No programs you will never use, just the ones you need.
    Most of us like this way.
    Arch linux is all about choices...that's why there isn't a complete desktop environment provided by install disks. Not anybody need it. If you need it just install it.
    Other guys have provided you the links to information you need. But, if you do not want to learn and get your hands dirty than you should probably choose Ubuntu.
    Ubuntu install provides you a functional desktop environment. Most choices are made for you by Ubuntu developers and the desktop environment you obtain is ready and functional.
    But chances are that still in Ubuntu linux, sometimes, you will have to read a wiki to make things work.  So RTFM is a tip you could get also in Ubuntu forum.
    And trust me, nobody cares if you choose Windows ME over Arch linux. It's your system, it's your choice.
    If you have real problems that cannot be solved by searching on wiki than ask and plenty of Arch users will try to help you for free.
    Last edited by ArchArael (2009-09-01 15:59:11)

Maybe you are looking for

  • Free goods in PO & STO

    Hi Friends I have one scenario where I get article as free with other Articles, the same free article may get from with out free from some other vendor also. but this free article should be distributed to store with STO and Inter company PO. problem

  • Adding a user in Active Directory

    Hi fellows, I am having a serious problem in creating a new user in active directory. i am using LDAP JNDI code. I can delete and update users attributes, but fail to create users. ctx.createSubcontext("newuser,full domain", attributes); when i speci

  • Airplay no longer plays video just audio on most apps

    Hello all, I have a 3rd gen ipad and a 3rd gen aptv. I have had them both for about 2 months and have enjoyed streaming the nbc, abc, safari and netflix apps to the aptv from the ipad using airplay(not mirror mode). Yesterday i was gettingd ready to

  • Problems using access control in sender agreement for SOAP adapter 7.1

    I am trying to use Access Control Lists to restrict user access to web services/interfaces which are exposed via PI. This can be configured via the Integration Builder Directory using the u201CAssigned Usersu201D tab of both Communication Components

  • TcLookupOperationsIntf method usage in OIM 10g JSP

    We are trying to use the tcLookupOperationsIntf in OIM-10g to populate few lookup fields on manual selection. But while trying to use getLookupValues, getLookupValuesForColumn we couldn't achieve the same. Both the above quoted methods require differ