General :: Vim : Change Code Style?
Mar 22, 2011Code...
I want to change the code style the way below code...
How can I do this with the help of powerful vim.
Code...
I want to change the code style the way below code...
How can I do this with the help of powerful vim.
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 RelatedHow do I write a script to convert all DOS style backslashes to UNIX style slashes in a list of files /
View 3 Replies View Relatedi'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?
I would like to change the style of window but not "look".do I need install : GTK + ??
View 4 Replies View RelatedI 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 RelatedWhen I go to the appearance preferences in Ubuntu 10.04 w/GNOME and try to select a cursor different from the default, nothing happens, the cursor refuses to change. Logging out and in doesn't work. Over the weeks I've played around with this machine a bit, installing and uninstalling various DEs such as Kubuntu and LXDE; I have a feeling something messed up my cursor config while I was changing stuff, but I don't know what or where. Is there any quick way to troubleshoot why the cursor isn't changing?
View 5 Replies View RelatedI just installed SUSE 11.3 on my PC and used KDE desktop. But the default color and style of the task manager bar looks not so good to me. It's a back and gray bar. How to change its color and style? Should I install something else or just do some settings? I look through the system setting but can not find a way. Could you kindly please tell me how to do that?
View 9 Replies View RelatedIf you set your mouse for double click is it possible to change cursor style for hover icons?Currently the cursor looks like it is going to do single click:This does not make sense. It should show regular cursorAnd another misbehavior for double click occurs in Power Applet.Sleep and Hibernate icons require single click, but Settings icon requires double click:
View 3 Replies View RelatedI'm trying to play with different control style at application settings-controlstyle, after change a little bit of settings, the desktop freeze nothing can click,so I goto control+alt+f2,hit control+alt +delete, after restart, It freeze again, so where it store the settings about that so I can change it to default control style from terminal only acess since dekstop freeze all the time?
View 2 Replies View RelatedI I just discovered that I can change the start menu to more like the old KDE 3.5 style by right clicking the K icon and selecting classic menu style..
View 10 Replies View Relatedwhich 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 RelatedI am from Chinese, when I finished the install of the latest version of debian and use the default browser to access google, I put some Chinese into the google search, the horrible thing is it displayed in unreadable code. I know maybe the default language of debian is not UTF-8, how and where to change it into UTF-8.
View 2 Replies View RelatedI have the following php code to print the output in the browser
1) <?php
$one=exec("pwd");
echo $one; //output : /root/docs
$two=exec("ls -l");
echo $two; //output :drwxr-xr-x 9 root root 4096 Apr 3 04:40 .
$three=exec("smbpasswd -a bob");
echo $three; //output : prints some garbage values ..
?>
but when i execute the above code , $three is not working ... I am in a situation to change a password for samba users from php code.
I need a way to change the machine MAC address via a C code in linux. Ive find a way to retrieve it but not to change it.
View 4 Replies View RelatedDo you know a Consola Code to change the Fedora Language?
View 2 Replies View RelatedI want to modify the source of cd (the 'change directory' command) to do a little extra for me, but I can't seem to find the source code anywhere.. maybe I didn't look for it well enough, and googling "source code cd" and variants of that doesn't exactly help... I was wondering if anyone knew where I could find the src?
View 14 Replies View RelatedIs 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 RelatedWrite a script to convert all DOS style backslashes to UNIX style slashes in a list of files
View 2 Replies View RelatedI am dealing with one FORTRAN 90 code, have made small changes.
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
milenko@milenkons:~/mt4$ ifort -c MT2DDIB1.FOR
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
I go for make command but it does not see that the source code has been modified.Than I do compilation from command line,try make again but no use.
F95=ifort
FFLAFGS= -O1
mt3: driver_mt2ddi.o constants.o settings.o params.o mt2dmod.o fdsystem.o mt2ddat.o mt2dsens.o
$(F95) -o $(FFLAGS) mt3 constants.o settings.o params.o mt2dmod.o fdsystem.o mt2ddat.o mt2dsens.o driver_mt2ddi.o
driver_mt2ddi.o: driver_mt2ddi.for constants.o settings.o params.o mt2dmod.o fdsystem.o mt2ddat.o mt2dsens.o
$(F95) -c $(FFLAGS) driver_mt2ddi.for
I have a question about choice of library to be used on low-end systems. I've so far been using SDL to create a user interface for a media system, and it's been working fantastically on my development machine, a dual core 2GHz machine with 2Gb RAM and an Intel graphics card. I get a frame rate of up to 100fps, and there is no slowdown at all. However when I run the exact same program on an embedded motherboard, the VIA EPIA EN15000G, which has a 1.5GHz processor, and a VIA P4M800 graphics chip (possibly the worst graphics chip ever invented as far as Linux support goes), I get a frame rate of less than 5fps. This makes the entire program totally unusable, and I've been left in a bit of a pickle. I've looked into alternatives like SFML, but that looks like it won't help at all on an unaccelerated system. I've also tried using OpenChrome drivers on it, and that made a negligible or nonexistent difference.
Can anybody suggest anything I could look into re: optimising my code or changing libraries goes? I already use SDL_DisplayFormatAlpha to convert my surfaces to the correct format. I haven't looked into Dirty Rectangles yet massively, as there's not much movement at all on the GUI, just the changing of button states.
Would use of OpenGL help at all if using the OpenChrome driver, which apparently has 2D acceleration? I'm more than willing to totally overhaul the code if needs be.
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 RelatedIs there a way to turn off the 'launcher' style desktop on ubuntu netbook remix, that doesn't involve reinstalling?
View 3 Replies View RelatedOPENSUSE11.3. install all default. at this time - codepage=UTF-8 How i can change to CP1251?
View 9 Replies View RelatedI'm having issue when trying to change a line in a file
[Code]....
can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)Maybe , through some hardware interrupts or anything like that?Also if possible I need the solution to be in C/C++.
View 4 Replies View RelatedI need to rewrite the selenium java code into its equivalent php code.
View 5 Replies View RelatedI'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 Relatedfor reset Facebook password,facebook send a code to e-mail,this code can be sniffed by sniff software?
View 2 Replies View RelatedFor 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]...