General :: Write A Script To Convert All DOS Style Backslashes To UNIX Style Slashes?

May 20, 2011

How do I write a script to convert all DOS style backslashes to UNIX style slashes in a list of files /

View 3 Replies


ADVERTISEMENT

General :: Scripting To Convert DOS To UNIX Style Slashes

Dec 17, 2010

Write a script to convert all DOS style backslashes to UNIX style slashes in a list of files

View 2 Replies View Related

Debian Multimedia :: Notification In Bar Style Instead Of Box Style?

Nov 14, 2015

which kind of package enables the notification bar ("(A) Connection Established I'm running Code: Select allLinux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux on two machines with i3 window manager but one have notifications in a box, the other one in a bar on the top of the screen. I would like two enable the "bar style" on the second machine as well.

View 4 Replies View Related

Ubuntu Security :: Understanding Unix Style Permissions

Jul 20, 2010

On Windows, you can go to a file's permissions and it's clearly stated who can do what. You can choose between individual users or groups such as 'everyone' or certain types of users such as 'domain users'. You could create a clear cut list of every single user/group on the system and what their permissions for a file are and have it neatly displayed in a list.On Unix, we have octal permissions and sticky bits. I understand the whole concept of rwxrwxrwx (777). The first three are what the file owner can do, the second is what the main group the user belongs to can do, and the third is what other users can do.

But, when you view a file's permissions you are only getting the permissions as they apply to the user that owns the file. For example, as I understand it, if I viewed a file that only the root user had rwx permissions on and everyone else could only read. The permissions would show up as rwxr--r-- (744). But, those same permissions would show up to any user as 744 as well. Since the last 3 characters are what applies to "other users" (pretty vague). How would someone know what users in particular those permissions apply to? There could be one "other user" that can rwx that file and another "other user" that can't.Also, why just stop with the main group? What about other groups? A the user Foo's main group he belongs to might be Foo. But he could also belong to the groups Boo and Zoo, which belong to other users and would give him full rwx permissions over Boo and Zoo's files just as if he were Boo or Zoo.

Then you have the whole sticky bit thing that makes it so that files can be owned by the same person and at the same time be made use of (to varying degrees) by other users. To chmod the UID you'd chmod 2777 or for GID 4777 (just an an example). I did this for a file and it allowed a standard user account who was previously unable to run the command to be able to run it. But, how can that work when I didn't anywhere specify what particular user (or groups of users) that sticky bit applies to?

I'm confused about this whole thing to the point that I'm not even sure exactly what questions I should be asking or even if my examples are even 100% correct. I just sort of ranted about some specific things that floated to the top of my head. Permissions are easy to understand when your running a Unix-like system on a single user desktop. Because the only users/groups you have are root, the single user, and various system users/groups that you don't really need to worry about. So a file with rwxr--r-- means that only the Root user (not even members of his group) can edit the file and you can't unless you use sudo. Because the "other user" in the last 3 characters always just means you. But, things seem to get a whole lot more complicated when you start adding in multiple users. Can someone explain this or link to a "for dummies" article that can explain all of this to me in a way that someone who's used to Windows style permissions can make a connection between the two OS families and their way of handling these things?

View 9 Replies View Related

General :: Vim : Change Code Style?

Mar 22, 2011

Code...

I want to change the code style the way below code...

How can I do this with the help of powerful vim.

View 1 Replies View Related

General :: DU Style Directory Listing With File Numbers

Sep 6, 2010

Is there a command to return a recursive listing of sub-directories and the number of files in them? I have found plenty of ways to give me the total number of files in a directory structure, but none that gives a list of the sub-directories with the number of files in them. "du" gives me a listing of directories with their sizes, but I couldn't find an option (or any other way) to give me the number of files as well. Ideally, I'd like to get list with "Size" "Files" "Dir name" - And the order of the columns doesn't matter. Is there a "simple" command line solution or do I need a shell script for that?

View 5 Replies View Related

General :: Gnome - Plug-ins To Let Me Do `<Win>`+`<Num>` Style App Switching (like Windows 7's Superbar)?

Mar 2, 2011

Using Windows 7's superbar, I can select/launch the 2nd application group by <Win>+<2>. We have DockbarX in GNOME, which is nice (grouping the windows like Windows 7), but it doesn't enable the <Win>+<2> style keybaord shortcuts.This is not restricted to making Linux like Windows. But I just find the <Win>+<2> style shortcut very useful. Are there similar ways in Linux to quickly switch between specific apps without pressing <Alt>+<Tab> many many times?

View 1 Replies View Related

General :: Any Tool To Format My C Code To Unified Coding Style?

Jul 21, 2010

I need a tool to convert lots of C codes to a unified coding style. What tool can I use in Linux ?

View 1 Replies View Related

General :: Turn Off The 'launcher' Style Desktop On Ubuntu Netbook

Jul 10, 2011

Is there a way to turn off the 'launcher' style desktop on ubuntu netbook remix, that doesn't involve reinstalling?

View 3 Replies View Related

General :: Search & Replace Back Slashes To Forward Slashes In Windows

Feb 11, 2011

Lately I've been needing to delete new untracked files from my versioning system. Being in linux I use: hg status -un|xargs rm And it works nice, but when doing it in windows, hg status lists paths with backslash so that is where stuff goes wrong. So then I try: hg status -un|sed 's/\///g' ...but I get the error: sed: -e expression #1, char 8: unterminated `s' command

Then I try some ascii: `hg status -un|sed 's/o134/o57/g'`...that gets me: sed: -e expression #1, char 14: Trailing backslash And some scripting: hg status -un|sed 's/`echo `/`echo /`/g' ...that gets me: sed: -e expression #1, char 19: unknown option to `s'

I try all the last with any other characters and I get the expected output... so I'm completely lost. I have cygwin, of course, and I want to avoid using a file (that is what I've been doing).

View 2 Replies View Related

Ubuntu :: Get A Mac OS X Style Dock?

Apr 24, 2010

I'm looking for a way to get a Mac OS X style dock on Xubuntu, I tried cairo and it was ok but I just got a black border around the dock which was annoying. And I tried looking up how to fix it and most places recommend turning on compositing which I had already had on in xfce. I'm not necessarily looking for animated stuff, just an icon based dock like that.

View 9 Replies View Related

Debian :: Backports.org 'SID' Style Breakage?

Mar 31, 2010

For the 2nd time in a year. I really need v3.xx because 2.4 breaks formatting when opening v3 files. Why did i go back to 2.4 ? 3.1 was slower with calc. Now I'm stuck with 2.4 because of the ongoing stupidity in backports.org.

# aptitude install openoffice.org -t lenny-backports
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:

[Code]...

View 2 Replies View Related

Fedora :: F14 And White End Style In GTK Apps?

Nov 3, 2010

I'm upgraded F13 to F14 and now all the GTK+ apps have this "white end" style in the menu. My question is, is that the new GTK+ style or is something wrong? [URL] I'm using KDE in F14 with QtCurve style for GTK+ apps.

View 14 Replies View Related

Fedora :: Change The 15 Login Box Style?

Jun 11, 2011

i'm running F15 with the Gnome 3 shell and also changed the shell's style to a theme called 'Zukitwo', it can be found here..

[code]....

follow the instructions in the 'Install' document closely, i found after installing a different package manager called 'Yum Extender' which made things simpler for me, i installed the 'Gnome tweak tool', 'gnome-shell-extensions-user-theme'' and 'gnome-shell-extension-common'', but i also had to install the latest 'Murrine GTK2 engine' for the 'Zukitwo' theme to be recognised in the 'Gnome tweak tool', the location i chose to copy the Zukitwo folders to was.. /home/your username/.theme I'd like to now change just the style of the Fedora 15 login window(as in username/password popup box), but without changing my background wallpaper that being used, i have found a 'login' box style from a website below which i'd like to use.

[URL]

is changing just this part of the 'login' box style possible without altering the exsisting background, and how might this be done?

View 14 Replies View Related

OpenSUSE :: Inconsistent Style In Help Center

May 16, 2010

I am trying to read the info for Groff using KDE Help Center. The paragraphs take turns in using monospace and sans-serif. There is no apparent logic behind this variability. Additionally, several lists are misplaced (not indented).

View 9 Replies View Related

Ubuntu :: KDE-style App Launcher For XFCE?

Aug 14, 2010

I was wondering if anyone knew if there is an KDE-style app launcher for XFCE, preferably in the repos. I'm using KDE on my main system, and would love to have the same ALT+Space launcher on my laptop. Only without having to install (and run) all of the KDE libraries.

Closest I came was a couple of Mac-OS style docks.

View 7 Replies View Related

Ubuntu :: KDE Apps In Gnome Look Different From What Qt Style Looks Like

Nov 28, 2010

I use a few KDE apps in gnome, and I like them to look as in KDE with elegant qt style buttons and controls,however they look like whatever but what qt applications look like.

View 2 Replies View Related

Ubuntu :: Is There 'Outlook' Style Calendar?

Dec 11, 2010

The only reason I keep a dual-boot on my computer is because I need the calendar in Outlook. Is there a outlook-style calendar I can use in Ubuntu 10.04? Here is the catch, it MUST be able to sync with my Google calendar. Because I use an android phone that syncs with Google. I would love to totally leave windoze behind me.Maybe I can use Wine to install the entire 2007 MS office suite into Linux?

View 9 Replies View Related

Ubuntu :: New Themes For GUI / DEFCON Style?

Feb 3, 2011

I know that there are different themes available and they are really easy to implement, however I would like to find a theme or UI that looks like our old favourite game DEFCON. I love those old-school vector graphics and DEFCON looks so good. Who wouldn't love a GUI based on vector graphics! Where should I look or start?

View 1 Replies View Related

Ubuntu Multimedia :: ZEN Style 300 Not Recognized?

Apr 3, 2011

My Creative ZEN Style 300 player is not recognized in Ubuntu 10.10 through media players (Rhythembox, Banshee, Gnomad2...etc) . it is recognized correctly as a removable media like any flash drive ,but not as a media player though.

I've searched a the issue and found some solutions to other Creative ZEN models ,but none worked for me.

here is my lsusb output:

Code:
Bus 002 Device 006: ID 041e:2016 Creative Technology, Ltd
I've edited the /lib/udev/rules.d/45-libmtp8.rules
file and added
Code:
# Creative ZEN Style 300

[Code].....

View 4 Replies View Related

Ubuntu :: Desktop Style Is Sometimes Different When Boot Up?

Jun 12, 2011

Several times now I've for some reason had a different style on my desktop when I boot until I power the computer down. Frames still look the same but applications look different and the panel at the top changes. I tried changing the appearance but the frames are the only things that change. I've attached some screen shots. It should look just like it does after a fresh install.

View 5 Replies View Related

Programming :: What Is Called The Old Style Of The GUI Interfaces

Nov 27, 2010

I'm wondering about this kind of GUI Interfaces like Slackware setup program

What is called ? Also, Can it be used with Python?

View 6 Replies View Related

Software :: Mac-Style Application Switcher

Aug 18, 2010

I use Linux (Arch Linux with KDE) and Mac, and one of the things I really miss in Linux is OS X's application switcher: one keyboard shortcut (by default Cmd-Tab) switches between applications, and a different one (by default Cmd-`) switches between windows of the application you're currently using. For instance, to switch from Firefox to Terminal I would use Cmd-Tab, and to switch between multiple Terminal windows I'd use Cmd-`.

In KDE, at least, the default behavior is simply to switch between any open windows when you use Alt-Tab. Can anyone recommend an application switcher that would provide Mac-like functionality? Or perhaps a window manager that would do so?

View 4 Replies View Related

Programming :: What's Best Practice For C-Style Stings?

Apr 22, 2011

I have searched the net for The Best Practice of C-Style Stings, but the examples i have found aren't sufficient.Can someone please show me The Best Practice for C-Style Stings, or direct me to something i can read that shows in details the best practice.

View 12 Replies View Related

Debian Multimedia :: Change Style Of Window But Not 'look'

Jul 26, 2010

I would like to change the style of window but not "look".do I need install : GTK + ??

View 4 Replies View Related

OpenSUSE :: What's The Name Of The Package That Provides Suse-style Submenus

Dec 3, 2010

Back in the day when I was using openSUSE and KDE3 I really loved the way the menu entries were organized into submenus. (For example: the Multimedia menu used to have the following submenus: Audio, TV, Video, etc.) I've been using neither openSUSE nor KDE3 for more than a year (switched to Arch + KDE4).

Not that I have anything against openSUSE. On the contrary, I think it's a fantastic distro, but the time came when I needed to move on (going rolling release was what finally sold Arch to me). However, I have taken with me many of the things I learned to love on Suse. One of them was the menu's layout, which for me works better that vanilla kde's. What I would like to know is:

1) If that menu layout was something from KDE3 that got lost in the move to KDE4, or something SUSE added.

2) Which Suse package provides the layout (the default menu layout is given by menu files on /etc/xdg). I would like to take a look and copy it to my Arch install.

View 3 Replies View Related

Ubuntu :: Mouse Pointer Style Won't Change?

May 6, 2010

I just installed Kubuntu on my machine, but on returning to gde I still have the oxy-white pointer from kde. I went to preferences>appearance>themes>customize>pointer, and changed it back to DMZ White, yet the pointer still looks like oxy-white. I tried it with all of the different pointer options, but none of them will override oxy-white.

View 9 Replies View Related

Ubuntu Servers :: Centos 'Setup' Style App

Sep 30, 2010

CentOS has a awesome little command line tool 'setup' which allows you to quickly setup networking etc without a GUI and is far more user friendly than anything Ubuntu has right now out of the box.

View 1 Replies View Related

Ubuntu :: Gnome Style Is Not Working In Nautilus?

Mar 5, 2011

i installed my ubuntu in a VM, unexpectedly it crashed down, when i tried to turn it on, my nautilus doesnt show theme icons and look and feel correctlyas you can see in this screenshot[URL]

View 2 Replies View Related

Ubuntu Multimedia :: Rhythmbox Style Mediaplayer For DTS

Apr 2, 2011

I am looking for a Rhythmbox style mediaplayer that plays dts music.VLC works excellent but it would be very nice with a GUI more suited for a music library (Artist/Album/Genre/..).I have a dual screen setup and I have the music on a separate 8" touch screen (MyhtTv on the other screen - the tv) so if there is a software handling both reular mp3/flac/ogg music and dts with a touch screen adapted gui that would be ideal.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved