[solved]Removing Xfce4
I initially installed Xfce4, but I have moved to gnome. Can I uninstall it without messing up my system?
Last edited by Gauvenator (2008-05-04 03:50:12)
OK so I run that, get an error about dependencies. I modified it to this:
pacman -Rs xfce4 xfce4-goodies
and now it says screenlets is dependent on notification-daemon. When I try to remove everything but the notification-daemon-xfce, then the notification-daemon is dependant on another package.
How can I configure screenlets to be dependant on something else? I'm pretty sure it doesn't require Xfce.
Last edited by Gauvenator (2008-04-30 20:06:01)
Similar Messages
-
Hi.
Im having some little problems with xfce, the problems doesn's affect the functionality at all but are starting to be really anoying, since i cannot solve them. Since they are small things, i didn't want to open separate topics for them. If this is bad, please tell me.
Ok the most anoying problem is that i keep getting a notification in the desktop saying that my weather plugin cannot find the data. This notification occurs every hour or so. I tended to ignore it, but it keeps appearing. Im not using the weather app and i have uninstalled completely from my system. Also i have uninstalled and reinstalled both libnotify and xfce4-notifyd. I have cleared the XFCE sessions cache inmy home folder. I have no idea what else to do. Also i have done " pacman -S xfce4 xfce4-goodies" to reinstall the whole desktop just in the hope that the notification will dissapear. I have no idea what file to remove. ¿Can anyone point me in the right direction?
The second issue comes regarding the xfce options to logout. In the xfce panel there is an option that says logout. This option is supossed to display a menu that gives you options to shutdown, reboot or suspend the computer. I dont get this menu at all, and the logout button just lets me in lxdm sesssion manager. Thus im not able to poweroff the computer directly, and I always use a terminal with the "sudo poweroff" command to poweroff
However i really want the suspend option from this menu. ¿Am i missing some package ?
I have Arch linux installed in another computer, an old netbook, also with xfce4 .Iḿ sure that the logout menu appears in this arch installation.
I just can't think what's wrong. Any help??
Last edited by hydrosIII (2013-11-29 17:20:47)hydrosIII wrote:
eyemonen: Thank you, in fact when i said logout menu i was refering to the applications menu. Just in the bottom there is a logout entry. this entry normally (i think) displays an action menu when you click on it.
But i just discovered the plugin that you said and it works fine, to logout and change user, etc. I will investigate about the applications menu. to see if it works
Another question, where is the "save session for the future logins" option???
Ah, I have forgot that there is a log out entry in the application menu since I don't use menu myself. To display the logout dialog command xfce4-session-logout is executed without any options. Check if you the logout dialog is displayed when executing this command in terminal. Then take a look at your xfce4-session-logout.desktop file to see if it contains "Exec=xfce4-session-logout" and not something like "Exec=xfce4-session-logout --logout"? Also make sure that your application menu file refers to that desktop file.
The logout dialog contains that "save session for future logins" option. -
White Macbook 2006 random shutdown solved removed cpu heatsink and more
I picked up a cheap macbook from a secondhand retailer for $300 and it regularly shutdown, froze, restarted as well as the grey kernel panic screen completely random no real pattern. I set about trying to solve the problem swapping ram and hard drive with my identical 2006 macbook (which I had similar problems with last year, fixed that one with a new battery connector cable). The ram and hard drive made no difference so I downloaded istat menus to see if any combination of cpu voltage, current and temperature were causing the random shutdowns. It seemed when the temperature reached certain values the computer would shutdown or freeze(around 30 to 50 degrees). I'd read on other forums about faulty cpu temperature diodes so I reapplied heatsink compound to the cpu heatsink and checked all the wiring for shorts but nothing seemed to solve the problem. I was ready to retire the computer and use it for spares for my other macbook when needed but I pulled the keyboard off one more time and tried something completely radical. This fix requires some forward planning and software installation but it has completely solved my Random shutdowns completely.
for instructions see my next post *Fix for random shutdowns white macbook*Ok this is not for the non technical person but it is quite a simple process with the right instructions.
This first step is very important install the software coolbook($10) and fan control (Free)( not smc fan control). Set up coolbook to operate the cpu at the lowest speed and voltage for both power adapter and battery(1002MHz and .95Volts). Remove the keyboard to access the computer logic board (instructions can be found at iFixit). Remove the four screws and two connectors holding the heatsink to the logicboard and gently lift the heatsink out (very important that you leave the fan screwed in and connected). Close the computer back up if you wish to test just gently connect the keyboard and loosly sit the keyboard back in. Restart and reset the pram immediately. Let the computer boot up and then open system preferences and configure Fan Control to your liking. So far no random shutdowns for over a week (was getting many a day previously. -
[SOLVED] Remove / Uninstall 'supersonic' AUR package
Hi guys, I am setting up a home server which will have OwnCloud and some music streaming with Subsonic.
I read that Supersonic was a fork of Subsonic and was available on AUR so I installed that - though I cannot seem to get it to work, it starts OK but I cannot browse to MYHOMEURL:4040.
Anyways, I am now gonna install the actual subsonic from AUR but I cannot seem to uninstall supersonic using pacman.
Pacman -Rsnc supersonic
...returns 'error: target not found: supersonic'
This is my first time using Arch and of course AUR so I cannot see how to remove this package.
Last edited by kaipee (2012-07-11 19:32:59)kaipee wrote:
Aah, right thanks Inxsible.
Turns out it was 'supersonic-git'
this forum needs a thanks button
Don't forget to mark thread as [SOLVED] -
Too many deps while trying to remove xfce4-xfapplet-plugin - normal?
I noticed that pacgraph -c shows that xfce4-xfapplet-plugin is taking up 119 MB of space. When I look it up, I see that it only allows gnome applets to run which I don't care about (http://www.archlinux.org/packages/extra … et-plugin/). When I queue up the recursive removal of it via a pacman -Rs xfce4-xfapplet-plugin there are a bunch of packages that I wouldn't expect to be in the list:
# pacman -Rs xfce4-xfapplet-plugin
checking dependencies...
Remove (27): xfce4-xfapplet-plugin-0.1.0-6 gnome-panel-2.30.0-1 libcanberra-0.23-1 libbonoboui-2.24.3-1 libgnomecanvas-2.30.1-1
libgnome-2.30.0-1 libbonobo-2.24.3-1 gvfs-1.6.1-1 gnome-disk-utility-2.30.1-1 udisks-1.0.1-1 sg3_utils-1.28-1
lsof-4.83-1 libatasmart-0.17-1 fuse-2.8.4-1 gnome-vfs-2.24.3-2 gnome-mime-data-2.18.0-4 gnome-menus-2.30.0-1
gnome-desktop-2.30.0-1 evolution-data-server-2.30.1-1 libical-0.44-1 libgweather-2.30.0-1 libsoup-gnome-2.30.1-1
libproxy-0.3.1-1 libgnome-keyring-2.30.1-1 gnome-icon-theme-2.30.2.1-1 icon-naming-utils-0.8.90-1 perl-xml-simple-2.18-2
Total Removed Size: 119.36 MB
Do you want to remove these packages? [Y/n] n
I don't believe it's safe to remove some of these like fuse for example. Also, why would lsof be in the list?Those packages are either direct dependencies of xfce4-xfapplet-plugin or in a chain of dependencies.
For example lsof is required by udisks which is required by gnome-disk-utility which is required by gvfs which is required by libgnome which is required by libbonoboui which is required by gnome-panel which is required by xfce4-xfapplet-plugin.
Last edited by anonymous_user (2010-05-17 21:54:37) -
[solved]Removing applet from kdemod [my bad]
Well I had a clean install of KDE mod, tried to install xfce, then E, rebooted broke X, tried to troubleshoot, gave up reinstalled, messed that up, next day, reinstalled again.....
Went back to kde mod for now, but I have a question.
While trying to add an application to the panel, I accidentally added an applet "System monitor". How in the heck do I remove it, as it isn't nearly as informative as conky, or anything else for that matter...
Right clicking and removing isn't there, when I right click on it.
Thanks in advance, and btw I think I may have learned a thing or two during the last two re-installs, lol.
Last edited by dunc4n (2008-03-14 07:34:37)It would have been nice if you wrote how you solved the problem: this way it will be a reference for future users with the same issue.
futureguy "Cool, this guy had my same problem, let's see how he solved it!"
you "Nevermind, I solved it!"
futureguy "Damn!"
Even if this was a trivial problem (as you probably forgot to unlock the panel), you can't really say.
Last edited by carlocci (2008-03-14 16:13:53) -
[SOLVED] Removing/replacing freetype2-infinitality
Hello, I am trying to replace freetype2-infinality with freetype2-ubuntu and I am getting the following error:
[darksector@arch freetype2-ubuntu]$ sudo pacman -U freetype2-ubuntu-2.4.10-1-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...
:: freetype2-ubuntu and freetype2-infinality are in conflict (freetype2). Remove freetype2-infinality? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: fontconfig-infinality: requires freetype2-infinality
Can anyone tell me what am I doing wrong or haven't done something important? Appreciate it.
Last edited by DarkSector (2012-07-27 16:00:14)DarkSector wrote:
karol wrote:Please remember to mark the thread as solved.
How do I do that? Sorry new to FluxBB and the forum.
Please read The forum rules :-) -
[solved] remove grub timeout doesn't work
i am trying to remove the grub timeout by editing /etc/default/grub and setting grub_timeout to 0, but it doesn't work, is there anything else i should change?
p.s. should i run grub-mkconfig?
Last edited by aldoiljazi (2013-09-18 07:35:11)okay i run 'sudo grub-mkconfig'
this is my /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
and this is my /boot/grub/grub.cfg
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
else
search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6b44daaa-610c-4f23-a632-569d091e4d43' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
else
search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=6b44daaa-610c-4f23-a632-569d091e4d43 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
p.s. i didn't think you needed those, because i thought they had default values.
edit: i guess i need 'grub-mkconfig -o /boot/grub/grub.cfg '
Last edited by aldoiljazi (2013-09-18 07:31:39) -
[SOLVED] Removing gnome
Hey guys and girls,
I have finally become comfortable enough in openbox that i am ridding my laptop of gnome for good!
I have run these commands so far
pacman -Rns gnome gnome-extra
pacman -Runs gnome
this has done a pretty good job of removing the stuff i dont need.
however, when i sudo pacman -Syu
i get 129 targets and 1039.67 MB to install because it wants to reinstall/update everything I've just removed...
how can I run pacman -Syu without reinstalling all that gnome junk?
I assume I need to edit my repo, but Im not sure how, and Im also not sure what to remove and what to leave..
any help at all is much appreciated
Last edited by CoolWhip (2011-05-06 08:52:50)CoolWhip wrote:
yeh, I thought that, but it seems that everything still works fine.. and if I come across any thing that needs reinstalling ill reinstall it. And if thats true, apparently wicd was dependent on gnome packages.. but im still online, so go figure.
Anyway, peace love and chicken gravy
ah probably is wicd-gtk (just a front end for wicd), you can run wicd-curses from a terminal -
[SOLVED] Remove hard drive
I set up Arch Linux with a hard drive /dev/sdc connected to the computer. I now want to remove this hard drive completely. However on boot (using Syslinux with no chain for this hard drive) the system stops at the start job for that device.
If I plug the hard drive back in (connect sata cable) all works well again.
Where do I remove the device so that the boot process does not expect it to be connected.
Thanks
Last edited by peterpeter (2013-08-25 12:46:58)Hi Jrussell,
lblsk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 99.1G 0 part
└─sda2 8:2 0 12.7G 0 part /
sdb 8:16 0 37.3G 0 disk
└─sdb1 8:17 0 37.3G 0 part
sdc 8:32 0 55.9G 0 disk
├─sdc1 8:33 0 18.7G 0 part
├─sdc2 8:34 0 1K 0 part
└─sdc5 8:37 0 37.3G 0 part
sdd 8:48 0 465.8G 0 disk
├─sdd1 8:49 0 417G 0 part /mnt/Windata
└─sdd2 8:50 0 48.8G 0 part /home
sr0 11:0 1 1024M 0 rom
sdc is the drive I don't want
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=6cc28dce-2d88-40da-b307-5573a0103aad / ext4 rw,relatime,data=ordered 0 1
# /dev/sdd2
UUID=e6c8090f-e7fe-43b9-aa7b-6fcc39764242 /home ext4 rw,relatime,data=ordered 0 2
10.1.1.3:/homes/peter /mnt/backup nfs rw,user,hard,intr 0 0
# Windata
/dev/sdd1 /mnt/Windata ntfs-3g defaults,rw 0 0
and syslinux
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
# * poweroff.com - shutdown the system
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples
DEFAULT arch
PROMPT 0 # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl
# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32
# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border 30;44 #40ffffff #a0000000 std
MENU COLOR title 1;36;44 #9033ccff #a0000000 std
MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel 37;44 #50ffffff #a0000000 std
MENU COLOR help 37;40 #c0ffffff #a0000000 std
MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07 37;40 #90ffffff #a0000000 std
MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
# boot sections follow
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda2 rw
INITRD ../initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/sda2 rw
INITRD ../initramfs-linux-fallback.img
LABEL windows
MENU LABEL Windows
COM32 chain.c32
APPEND hd0 1
LABEL hdt
MENU LABEL HDT (Hardware Detection Tool)
COM32 hdt.c32
LABEL reboot
MENU LABEL Reboot
COM32 reboot.c32
LABEL off
MENU LABEL Power Off
COMBOOT poweroff.com -
[SOLVED] Remove completely Gnome and GDM (without messing MATE)
Hi everybody,
I wanted to try the new Gnome on my laptop and I installed it following the wiki with the command:
sudo pacman -S gnome gnome-shell gnome-extra gdm
I really like it (both the "standard" and the classic interfaces), but unfortunately it makes my laptop quite slow,
therefore I would like to remove it leaving only MATE on my desktop.
I noticed that Gnome partially conflicts with my MATE desktop (for example in a Gnome Classic session I would expect Nautilus
to be the default file browser, instead caja is opened), therefore I would like to know if there is some safe way to remove
all the installed packages without messing out with MATE.
Thanks in advance!
Solution here: https://bbs.archlinux.org/viewtopic.php?id=117144
Last edited by lucacerone (2014-04-02 00:16:29)Ok I think I found out on my own (searching on google send me to an Arch forum thread https://bbs.archlinux.org/viewtopic.php?id=117144, but I was looking for it in the wrong section).
Sorry for the pointless post. -
[SOLVED]Removing gnome 3.x now that cinnamon 2.x no longer requires it
I've had gnome and cinnamon on my system for a while but am no longer really using gnome.
From cinnamon 2.0, there are various reports that cinnamon is independent of gnome (although I think it still depends on some other gnome-* packages).
I'm trying to remove gnome as a DE, while retaining whatever packages are required by cinnamon.
I tried running the following command:
# pacman -Rns gnome gnome-extra
...I get the following output:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: anjuta: requires gnome-icon-theme
:: cinnamon: requires gnome-icon-theme
:: cinnamon: requires gnome-themes-standard
:: evolution: requires gnome-desktop
:: gnome-clocks: requires gnome-desktop
:: gnome-clocks: requires gnome-themes-standard
:: gnome-devel-docs: requires yelp
:: gnome-documents: requires evince
:: gnome-documents: requires gnome-desktop
:: gnome-documents: requires tracker
:: gnome-getting-started-docs: requires yelp
:: gnome-online-miners: requires tracker
:: gnome-panel: requires gnome-desktop
:: gnome-photos: requires gnome-desktop
:: gnome-photos: requires tracker
:: gnome-screensaver: requires gnome-desktop
:: gnome-settings-daemon-compat: requires gnome-settings-daemon
:: gnome-tweak-tool: requires gnome-settings-daemon
:: gtkhtml4: requires gnome-icon-theme
:: libgweather: requires gnome-icon-theme
:: nemo: requires gnome-icon-theme
:: network-manager-applet: requires gnome-icon-theme
:: rhythmbox: requires gnome-icon-theme
:: system-config-printer: requires gnome-icon-theme
:: vinagre: requires gnome-icon-theme
:: virt-manager: requires gnome-icon-theme
Is there an easy way to remove gnome that ensures cinnamon isn't broken in the process?
Last edited by multipitch (2013-10-30 22:34:59)Thanks karol,
Running 'pacman -Sqg gnome gnome-extra' produced a fairly long list, I removed the above 'requires <package>' packages from the list and ran pacman -Rns <long list!>
This threw up a few more errors, which were resolved by removing one or two more packages from the list until pacman would run
The following ran fine:
pacman -Rns baobab empathy eog epiphany evince gnome-backgrounds gnome-calculator gnome-contacts gnome-control-center gnome-dictionary gnome-disk-utility gnome-font-viewer gnome-icon-theme-extras gnome-keyring gnome-screenshot gnome-session gnome-shell gnome-system-log gnome-system-monitor gnome-terminal gnome-user-docs gnome-user-share mousetweaks mutter nautilus sushi totem tracker vino xdg-user-dirs-gtk yelp accerciser aisleriot anjuta brasero cheese devhelp evolution file-roller five-or-more four-in-a-row gnome-chess gnome-clocks gnome-color-manager gnome-devel-docs gnome-documents gnome-getting-started-docs gnome-klotski gnome-mahjongg gnome-mines gnome-nettool gnome-nibbles gnome-photos gnome-robots gnome-sudoku gnome-tetravex gnome-weather iagno lightsoff nautilus-sendto orca quadrapassel rygel swell-foop tali vinagre
pacman -Rns gnome-tweak-tool
As a result, I've removed about 950 MB of unwanted packages.
Thanks for the help. -
[solved]remove backslashes from file names?
Hi!
I have a lot of files that contain backslashes in file name, spread over many many folders.
How do I remove that character from all file names? The approaches / scripts / programs I usually work with can't handle the invalid file names (e.g. loose the '\' and then 'cant stat()' -.-").
Thanks!
edit: Argh... now I've got copies of half of the files without the "\" in the same folders, because copying did work on most but deleting only on some... also multiple \\\ because I messed up one sed line. and "echo" failed to warn me about the result, just dropping a few \ while mv didn't... or something. So confused.
Last edited by whoops (2011-02-22 00:22:58)sisco311 wrote:#!/usr/bin/env bash
while IFS= read -rd '' file; do
dirname="${file%/*}"
basename="${file##*/}"
mv --backup=numbered -- "${file}" "${dirname}/${basename//\\/_}"
done < <(find /full/path/to/dir -depth -name '*\\*' -print0)
Thanks, that did it!
Don't know what exactly I've been doing wrong, but it seems not to happen any more since I try to do stuff with "while, read, ${}" instead of "for, $(), echo, sed"
pulce wrote:Not sure that's the point, but backslash is an escape
Yes, I know, that was the problem. That's why those stupid things always keep either disappearing or multiplying - I guess I just suck at keeping track of what program handles them which way and depending on what.
Last edited by whoops (2011-02-22 00:15:30) -
[solved] Remove words from file using a list variable?????
Is it possible with bash, to create a script that will scan a text file and remove words that are set in a list?
I have a file with words like so:
word1
word2
word3
I would like to be able to set script to scan file and remove only the words (and spaces left) that are in a list,
that is inside script. Is this possible???
Last edited by orphius1970 (2010-04-22 12:05:45)sorry I am new to scripting and Have NEVER used sed.
Can you explain a little better?
Ok i tried it and understand a little better. However,
It left space behind. How do I fix that?
Also, how do I get it to save the file with the changes?
Sorry If I seem so noobie
Last edited by orphius1970 (2010-04-22 11:27:18) -
[solved] remove packages from a txt file list
as the subject header says, I want to run "pacman -R" and have it read a list of packages from a text file.
Is this possible????
text file is formatted as such....
file1
file2
file3
Last edited by orphius (2013-07-09 08:11:53)Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Maybe you are looking for
-
How to add multiple annotation in selection one by one
Hi, I want to add annotation one by one to selection thru code. I tried to use AVDocSetSelection (avDoc, ASAtomFromString( "Annotation"), (void *)pdAnnot, true); but this clear the previous selection.And I am not able to add multiple annotation. So
-
BAPI_BASICPAY_CHANGE problem
Hi, I am using the FM BAPI_BASICPAY_CHANGE to change basic pay of an employee. Not sure what to pass for the fields OBJID and RECORDNUMBER. Can anybody has an idea on this? Thanks bpr
-
When I'm attempting to launch designer from All Programs -> BusinessObjects XI 3.1 -> Designer, the designer did not launch as expected. No error message prompt and nothing at all. Here is detail of my machine. 1.) OS = WIndows 7 enterprise 32- bits
-
Material Movements between location
Hi Gurus, A Particular material has to be controlled to move/ transfer between particular location/Plant, (For Ex Plant 1000, Material Glass, When i receive from customer as returns, i have to receive the material to the particular location, it shoul
-
Kotoeri Kanji Problems (Japanese input)
Hi all, nice to meet you! I've been having a problem with Kotoeri (specifically, the kanji input). I have been using kotoeri for months with no problems... but alll of a sudden, the kanji has simply stopped working. When I hit the space bar to change